1 2004-04-19 Angus Leeming <leeming@lyx.org>
3 * BufferView_pimpl.C (setBuffer): changed preview interface.
5 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
8 2004-04-19 John Levon <levon@movementarian.org>
11 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
13 2004-04-05 Angus Leeming <leeming@lyx.org>
15 * text.C (redoParagraphs): add call to updateCounters(), thereby
16 fixing the missing "Figure #:" label from the caption of a
19 2004-04-13 Angus Leeming <leeming@lyx.org>
21 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
22 cursor is clicked out of an inset.
24 2004-04-13 Angus Leeming <leeming@lyx.org>
26 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
29 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * format.[Ch]: add editor to Format
32 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
33 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
35 2004-04-08 André Pönitz <poenitz@gmx.net>
37 * metricsinfo.h: remove PainterInfo::width member
39 2004-04-08 Angus Leeming <leeming@lyx.org>
41 * lyx_sty.C (boldsymbol_def): modify so that it outputs
42 "\providecommand" rather than "\newcommand", thereby preventing
43 clashes with packages that define "\boldsymbol" themselves.
46 2004-04-08 Angus Leeming <leeming@lyx.org>
48 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
49 thereby squashing an unnecessary warning.
51 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
56 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
58 * BufferView.C (setCursor): call redoParagraph (some insets could
60 (putSelectionAt): remove the 'double update' trick
62 * BufferView_pimpl.C (fitCursor): call refreshPar
63 (workAreaDispatch): remove an uneeded update call
64 (dispatch): remove some manual update calls
66 * cursor.[Ch]: remove cached_y_, updatePos
67 (selHandle): set noUpdate when appropriate
69 * lyxfunc.C (dispatch): track if we need an update
71 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
73 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
74 (paintSelection): cheap optimization, do not call cursorX when not
76 (paintPars): change signature
79 (paintTextInset): adjust
83 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * lengthcommon.C: compilation fix: remove explicit array size from
86 unit_name[] and friends
88 2004-04-05 Angus Leeming <leeming@lyx.org>
90 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
92 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
93 present only for the preferences dialog.
94 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
96 2004-04-05 Angus Leeming <leeming@lyx.org>
98 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
99 to enable the frontends to export changes to lyxrc correctly.
101 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
103 2004-04-07 André Pönitz <poenitz@gmx.net>
105 * cursor.[Ch] (selClear, adjust): remove math
107 * cursor_slice.C: more agressive assert
110 * BufferView_pimpl.C: rework mouse event dispatch
117 2004-04-05 André Pönitz <poenitz@gmx.net>
119 * cursor.[Ch] (valign, halign...): remove unneeded functions
121 2004-04-05 Angus Leeming <leeming@lyx.org>
123 * lyxlength.[Ch] (unit_name et al.): const-correct.
125 2004-04-05 Angus Leeming <leeming@lyx.org>
127 * BufferView_pimpl.C:
136 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
138 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
140 * text3.C (getStatus): add LFUN_BEGINNINGBUF
142 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
144 * lyxfind.C: add a couple of inTexted() tests + other small fixes
145 * BufferView_pimpl.[Ch] (getStatus)
146 * BufferView.[Ch] (getStatus): add
147 * lyxfunc.C (getStatus): move lfuns handled in
148 BufferView::dispatch to te function above
149 * Cursor.C (setSelection): set selection() = true
151 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
153 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
155 2004-03-31 Angus Leeming <leeming@lyx.org>
157 * lyxfunc.C (dispatch): Fall through to the generic
158 Dialogs::show("preamble").
160 2004-03-31 Angus Leeming <leeming@lyx.org>
162 * lyxfunc.C (dispatch): Fall through to the generic
163 Dialogs::show("spellchecker").
165 2004-03-31 Angus Leeming <leeming@lyx.org>
167 * lyxfunc.C (getStatus, dispatch): changed invocation of the
170 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
175 * insetiterator.[Ch]:
180 * undo.[Ch]: s/DocumentIterator/DocIterator/g
182 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
184 * BufferView.C (setCursor, putSelectionAt): call edit to open the
185 insets where we are putting the cursor.
187 2004-03-31 Angus Leeming <leeming@lyx.org>
190 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
192 * lyxrc.[Ch] (read, write): overloaded member functions taking
193 a std::[io]stream arguments.
195 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
197 2004-03-31 Angus Leeming <leeming@lyx.org>
199 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
200 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
202 * lyxtextclass.C (load): if the text class couldn't be loaded, then
203 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
205 2004-03-31 Angus Leeming <leeming@lyx.org>
207 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
208 the LFUN_ALL_INSETS_TOGGLE code.
210 2004-03-30 Angus Leeming <leeming@lyx.org>
212 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
213 has died. Fall through to the generic Dialogs::show("document").
215 2004-03-30 Angus Leeming <leeming@lyx.org>
218 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
219 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
221 * lyxfunc.C (getStatus, dispatch): define the actions for these
222 lfuns. Little more than a cut and pste job from ControlDocument.C
224 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
226 2004-03-30 Angus Leeming <leeming@lyx.org>
229 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
230 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
232 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
233 open/closed state of ollapsable insets. Usage:
235 all-inset-toggle <state> <name>, where
236 <state> == "open" || "closed" || "toggle" and
237 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
239 * lyxtext.h, text2.C (toggleInset): removed.
241 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
242 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
243 now passes LFUN_INSET_TOGGLE to the found inset.
245 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
246 is now invoked as "all-insets-toggle toggle branch".
248 2004-03-30 Angus Leeming <leeming@lyx.org>
252 * pariterator.[Ch]: added/corrected header blurb.
254 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
256 * dociterator.[Ch]: add an inset_ member
257 (backwardPos): implemented
258 (backwardPos, forwardPos): use inset_ when the stack is empty.
259 (doc_iterator_begin, doc_iterator_end): implemented
260 * pariterator.[Ch]: adjust, add begin, end
261 * insetiterator.[Ch]: adjust, add begin, end
265 * BufferView_pimpl.C:
266 * CutAndPaste.C: adjust
268 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * buffer.C: increment file format to 232.
271 * LaTeXFeatures.C: add bibtopic package.
272 * bufferparams.[Ch]: param \use_bibtopic.
274 * lyxrc.[Ch]: add lyxrc bibtex_command
275 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
277 * buffer.C: increment file format to 231.
279 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
281 * dociterator.C: implement forwardPar
282 * iterators.[Ch]: remove, replaced by
283 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
285 * BufferView_pimpl.C:
288 * bufferview_funcs.C:
294 * Makefile.am: adjust
296 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
298 * CutAndPaste.C (pasteSelection): fix 2 crashes
299 (eraseSelection): fix a crash
300 * paragraph_funcs.C: remove a warning
302 2004-03-28 Angus Leeming <leeming@lyx.org>
305 * LyXAction.C (init): new LFUN_PRINT.
307 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
309 2004-03-27 Angus Leeming <leeming@lyx.org>
312 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
314 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
316 2004-03-27 Angus Leeming <leeming@lyx.org>
318 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
319 insetlist always contains non-null pointers to insets.
321 2004-03-26 Angus Leeming <leeming@lyx.org>
323 * src/BufferView_pimpl.C:
327 * src/output_plaintext.C:
328 * src/outputparams.h:
329 * src/paragraph_funcs.C:
333 * src/frontends/controllers/ControlErrorList.C:
334 * src/frontends/gtk/FileDialogPrivate.C:
335 * src/frontends/gtk/GPainter.C:
336 * src/frontends/gtk/GToolbar.C:
337 * src/frontends/qt2/QRef.C:
338 * src/mathed/math_scriptinset.C: squash compiler warnings.
340 2004-03-26 Angus Leeming <leeming@lyx.org>
342 * ispell.C (LaunchIspell::start):
343 * lyx_cb.C (AutoSaveBuffer::start):
344 invoke run(DontWait) rather than runNonBlocking().
346 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
348 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
350 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * kbsequence.C (print): adjust
354 * kbmap.C (printKeySym): rename and change signature
355 (printKey): use LyXKeySym::print()
357 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
359 * undo.C: add using std::advance to compile for stlport
361 2004-03-24 Angus Leeming <leeming@lyx.org>
363 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
364 it leads to a crash when no buffer is present.
366 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 Martin Vermeer <martin.vermeer@hut.fi>
369 * lyxfunc.C (dispatch):
370 * bufferparams.C (readToken): use the new LColor::setColor
372 * LColor.[Ch] (setColor): new version that takes two strings as
373 argument and creates a new color entry if necessary
375 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
377 * buffer.C (makeLaTeXFile): if the main latex file that is
378 processed is usually a subdocument of some master, then pretend
379 for a while that it is actually the master
381 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
383 * buffer.C (getLabelList):
384 (getBibkeyList): use getMasterBuffer()
385 (getMasterBuffer): new method. Returns the main document in the
386 case where one is using included documents.
388 2004-03-25 André Pönitz <poenitz@gmx.net>
392 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
394 * ParagraphList_fwd.h: change ParagraphList to a std::vector
396 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
397 text*.C over here. Rename namespace CutAndPaste to lyx::cap
399 * ParameterStruct.h: merge with ParagraphParameters
401 * lyxtext.h: remove LyXText::parOffset() and getPar()
403 * text3.C: Remove all 'manual' update calls. We do now one per user
404 interaction which is completely sufficient.
408 * BufferView_pimpl.C:
411 * ParagraphParameters.[Ch]:
423 * output_docbook.[Ch]:
425 * output_linuxdoc.[Ch]:
426 * output_plaintext.[Ch]:
428 * paragraph_funcs.[Ch]:
429 * paragraph_pimpl.[Ch]:
437 * frontends/controllers/ControlDocument.C:
438 * frontends/controllers/ControlErrorList.C:
439 * frontends/controllers/ControlSpellchecker.C:
442 * insets/insetbase.h:
443 * insets/insetbibitem.C:
445 * insets/insetbranch.C:
446 * insets/insetcaption.C:
447 * insets/insetcharstyle.C:
448 * insets/insetcharstyle.h:
449 * insets/insetcollapsable.C:
450 * insets/insetcollapsable.h:
452 * insets/insetfloat.C:
453 * insets/insetfoot.C:
454 * insets/insetmarginal.C:
455 * insets/insetnote.C:
456 * insets/insetoptarg.C:
457 * insets/insettabular.C:
458 * insets/insettext.C:
459 * insets/insettext.h:
460 * insets/insetwrap.C:
461 * mathed/math_mboxinset.C:
462 * mathed/math_nestinset.C:
463 * mathed/math_scriptinset.C:
464 * mathed/math_scriptinset.h:
467 2004-03-24 Angus Leeming <leeming@lyx.org>
469 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
470 deal with any child processes that have finished but are waiting to
471 communicate this fact to the rest of LyX.
473 2004-03-24 Angus Leeming <leeming@lyx.org>
475 64-bit compile fixes.
477 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
478 (c-tor): pass lyx::pos_types rather than ints.
480 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
483 * text.C (Delete): compile fix.
484 (getPar): ensure that function declaration is the same as that in
487 2004-03-23 Angus Leeming <leeming@lyx.org>
489 * ispell.C (LaunchIspell):
490 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
491 a boost::shred_ptr rather than a std::auto_ptr.
493 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * lyxfunc.C (getStatus): handle read-only buffers correctly;
496 handle LFUN_FILE_INSERT_*
498 * lyxrc.C (setDefaults, getDescription, output, read):
499 * lyxrc.h: remove ps_command
501 2004-03-22 Angus Leeming <leeming@lyx.org>
503 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
504 Ensure that error_handler is processed once only and that all data
505 is saved before attempting to output any warning messages.
507 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
509 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
511 * tabular.C (TeXRow): crash fix (from Kayvan and André)
513 2004-03-19 André Pönitz <poenitz@gmx.net>
515 * cursor.[Ch] (reset): take main text inset as argument
518 * BufferView_pimpl.C: adjust
520 * paragraph.[Ch]: fix completely broken operator=()
522 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * LColor.C (getFromLyXName): make sure that the color name is used
527 2004-03-17 Angus Leeming <leeming@lyx.org>
530 * LyXAction.C (init): remove LFUN_FORKS_KILL.
532 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
533 dialog and to kill a forked process.
535 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
537 * text2.C (setCursorFromCoordinates): fix font problem
539 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
541 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
542 bogus "rebuild cursor" code
544 2004-03-11 André Pönitz <poenitz@gmx.net>
546 * buffer.[Ch]: use InsetText instead of LyXText as container for
549 * dociterator.[Ch]: drop the BufferView * member which is not needed
550 anymore after the change to buffer.C
556 * BufferView_pimpl.[Ch]:
558 * cursor_slice.[Ch]: adjust
560 * text3.C: fix bug in mathDispatch
562 2004-03-08 André Pönitz <poenitz@gmx.net>
564 * undo.[Ch]: use 'StableDocumentIterator' as base for
567 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
570 * bufferparams.[Ch]: add jurabib support and param.
572 * LaTeX.C: add FIXME/comment.
574 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * buffer.C: increment file format to 230.
578 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
580 * cursor.C (dispatch): avoid infinite loops
582 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
584 * rowpainter.C (paintSelection): fix x coordinates
586 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
588 * text.C (rowBreakPoint): fix breaking before displayed insets
590 2004-03-01 André Pönitz <poenitz@gmx.net>
592 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
594 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
598 * BufferView_pimpl.C:
606 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
612 * BufferView_pimpl.C: rename textwidth -> maxwidth,
613 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
615 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
617 * Bidi.[Ch] (computeTables): const correctness
618 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
619 fill_hfill, fill_label_hfill and x from Row
620 * lyxtext.h: prepareToPrint returns a RowMetrics
621 * rowPainter.C: adjust
622 * text.C (prepareToPrint): use width, not textWidth. adjust
623 (redoParagraphInternal, cursorX): adjust
624 * text2.C (getColumnNearX): adjust
625 (init): put a default value to the top LyXText::width
627 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
629 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
631 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
633 * lyxtext.h: add FontIterator class
635 * text.C (FontIterator, operator*, operator->, operator++): add
636 (rowBreakPoint, setRowWidth): adjust (fixing a
639 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * BufferView_pimpl.C (workAreaDispatch): allow also
642 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
644 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
646 * text.C (rowBreakPoint): fix a bug showing with very large insets
648 2004-02-25 André Pönitz <poenitz@gmx.net>
651 * cursor.[Ch]: move some mathed specific code to mathed
653 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
655 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
656 use_tempdir in preferences
657 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
659 * lyx_main.C: ensure that tempdir is valid
660 * lyxlex.h: correct typo
661 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
662 * paragraph.[Ch] (isMultiLingual): make const
663 * cursor.[Ch] (openable): make const
665 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
667 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
669 2004-02-20 André Pönitz <poenitz@gmx.net>
671 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
673 * cursor.[Ch]: prepare for localized getStatus()
679 * text3.C: streamlines the LyXText cursor movement handlers a bit.
681 2004-02-20 André Pönitz <poenitz@gmx.net>
683 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
685 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
687 * text2.C (setCursorFromCoordinates): switch to absolute coords
690 * text3.C (dispatch): adjust
692 2004-02-16 André Pönitz <poenitz@gmx.net>
694 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
697 * cursor_slice.[Ch]: remove unneeded acessor function
699 * lyxtext.h: rename rtl() to isRTL()
707 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
709 * rowpainter.C (paintSelection): coord fix
711 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * Spacing.C: compile fix
715 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
717 * cursor.C (dispatch): restore current_ before returning
719 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
721 * text2.C (cursorUp, cursorDown): fix coords
724 2004-02-12 André Pönitz <poenitz@gmx.net>
729 * text3.C: add LCursor & parameter to most cursor movement functions
730 remove usage of LyXText::cursorRow() and cursorPar()
732 * cursor.[Ch]: add textRow() needed members
735 * BufferView_pimpl.C:
738 * BufferView_pimpl.C: adjust
740 2004-02-11 André Pönitz <poenitz@gmx.net>
744 * BufferView_pimpl.C: shift undo/redo handling
746 * cursor.[Ch]: fix mathed crash
749 * lyxtext.h: move selectionAsText to LCursor
757 * rowpainter.C: fix excessive drawing
759 2004-02-06 André Pönitz <poenitz@gmx.net>
762 * BufferView_pimpl.[Ch]:
763 * text3.C: move some text specific LFUN handling
765 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
767 * text3.C (checkInsetHit): adjust coords
768 * text2.C (getColumnNearX): adjust coords
769 (edit): adjust coords
770 * text.C (getRowNearY): add two asserts
772 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
775 * format.C: add using std::distance to compile on gcc 2.95/stlport
777 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
779 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
781 2004-02-04 André Pönitz <poenitz@gmx.net>
783 * BufferView.[Ch] (insertInset):
784 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
789 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
791 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
792 on the default clause of the switch
793 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
794 wasn't catched by LCursor::dispatch
796 2004-02-03 André Pönitz <poenitz@gmx.net>
799 * cursor.[Ch]: some additional asserts
801 * undo.[Ch]: remove LyXText dependency in interface
805 * lyxtext.h (firstPar, lastPar): remove dead functions
810 * paragraph.[Ch]: adjust
812 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
814 * lyxfind.C (find): fix argument order in call to ::find
816 2004-02-02 André Pönitz <poenitz@gmx.net>
818 * cursor.[Ch]: remove direct access to anchor
820 * text.C: remove findText() hack
822 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
824 * iterators.[Ch] (lockPath): remove in favour of...
825 * BufferView.[Ch] (setCursor): this addition
826 * BufferView.C (putSelectionAt): adjust
827 * undo.C (performUndoOrRedo): adjust
828 * lyxfunc.C (dispatch): adjust
830 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
832 * iterators.C (lockPath): add a missing slice
833 * undo.C (performUndoOrRedo): remove redundant positioning code
835 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * vc-backend.C (scanMaster): ";" -> ';'
839 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
844 * lyxtextclass.C (compare_name): rename to...
845 (LayoutNamesEqual): ...this
847 * lyxlex_pimpl.C (compare_tags): inherit from
848 std::binary_function, put back into anon namespace
850 * lyxfind.C (MatchString): inherig from std::binary_function
851 (findChange): use empty() istead of !size()
853 * format.C (FormatNamesEqual): new functor
860 * converter.C (compare_Converter): rename to...
861 (ConverterEqual): ...this, and fixup a bit.
862 (getConverter): use it, and make function const
863 (getNumber): use it, and make function const
867 * bufferlist.C: add using boost::bind
869 * MenuBackend.C (MenuNamesEqual): new functor
870 (hasMenu): use it, and make function const
871 (hasSubmenu): use nested bind to get rid of compare_memfun.
873 2004-01-30 André Pönitz <poenitz@gmx.net>
875 * BufferView_pimpl.C:
886 * text3.C: move some of the edit(x,y) handling to the insets
887 some coordinate changes.
889 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * text.C: add using statements for std::advance and std::distance
893 * paragraph.C: add using statement for std::distance
895 * lyxfind.C: add using statement for std::advance
897 * cursor.C (region): remove std:: from swap
898 (openable): use nucleus in stead of operator->
900 * BufferView.C: add using statements for std::distance and std::swap
902 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
904 * iterators.C: Remove the pimple, move the needed structures to
905 the header file. Create accessor for the positions stack.
906 (asPosIterator): remove function
908 * PosIterator.C (PosIterator): move constructors to top of file
909 (PosIterator): reimplement the constructor taking a ParIterator in
911 (setFrom): new function
912 (operator!=): inline it
914 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
916 * lyxfind.C (replaceAll): use std::advance
918 * iterators.h: inherit from std::iterator.
920 * PosIterator.C (advance, distance): remove
921 * PosIterator.h: interit from std::iterator.
923 2004-01-26 André Pönitz <poenitz@gmx.net>
926 * BufferView_pimpl.[Ch]:
930 * bufferview_funcs.C:
941 * output_plaintext.C:
943 * paragraph_funcs.[Ch]:
944 * paragraph_pimpl.[Ch]:
950 * text3.C: more IU: dumps most of the rest of the mathcursor
951 implementation into cursor.[Ch]; "globalize" a bit of it.
953 2004-01-25 Angus Leeming <leeming@lyx.org>
955 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
957 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * LaTeXFeatures.h: add nice_ and nice() const
960 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
962 2004-01-20 André Pönitz <poenitz@gmx.net>
965 * BufferView_pimpl.C:
967 * bufferview_funcs.C:
980 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
981 LCursor and mathcursor parts to LCursor and InsetBase.
983 2004-01-15 André Pönitz <poenitz@gmx.net>
985 * cursor_slice.[Ch]: add a few covienience functions
987 * funcrequest.[Ch]: remove BufferView * member
989 * BufferView_pimpl.C:
996 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
998 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1000 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1001 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1003 2004-01-13 André Pönitz <poenitz@gmx.net>
1006 * lyxtext.h: hide cursor and selection anchor behind accessor function
1009 * BufferView_pimpl.[Ch]:
1011 * bufferview_funcs.C:
1021 * cursor_slice.[Ch]: some integer type changes for inset unification
1023 * lyxcursor.[hC]: remove, it's CursorSlice now.
1026 * BufferView_pimpl.[Ch]:
1027 * bufferview_funcs.C:
1033 * textcursor.[Ch]: adjust
1035 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1037 * text2.C (undoSpan): add and use
1038 * text.C (breakParagraph): use undoSpan (fix bug 578)
1041 2004-01-08 Angus Leeming <leeming@lyx.org>
1043 * BufferView_pimpl.C (MenuInsertLyXFile):
1044 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1045 * lyxfunc.C (menuNew, open, doImport):
1046 FileFilterList change to the FileDialog open and save functions.
1048 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1050 * ShareContainer.h: make isEqual and isUnique adaptable
1052 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1054 2004-01-07 Angus Leeming <leeming@lyx.org>
1057 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1059 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1061 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1062 functions replacing find, replace and replaceAll.
1064 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1065 LFUN_WORDFIND(FORWARD|BACKWARD).
1067 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1069 * text.C (breakParagraph): remove an outdated #warning
1071 2004-01-07 André Pönitz <poenitz@gmx.net>
1073 * lyxfind.C: somewhat clearer logic
1075 * text.C: prevent crash in cursorX on unitialized row cache
1077 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1079 * lyxcursor.[Ch] (operator>): add
1080 * textcursor.C (selStart, selEnd): use std::min and std::max
1082 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1084 * Chktex.C: include boost/format.hpp
1086 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1088 * InsetList.C: replace functor MathcIt with adaptable functor
1090 (insetIterator): modify accordingly
1092 * BranchList.h: move the BranchNamesEqual functor here from...
1093 * BranchList.C: ... to here
1095 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1097 (add): replace a finding loop with std::find_if.
1099 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1101 * output_docbook.C: moving LatexParam functionality into
1104 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1106 * buffer.C: increment format to 229.
1108 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1111 * lyx_sty.[Ch]: remove minipageindent_def
1117 * text3.C: remove LFUN_INSET_MINIPAGE
1119 2003-12-28 Angus Leeming <leeming@lyx.org>
1121 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1123 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1125 * text2.C (setParagraph): fix off-by-one crash
1127 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1129 * output_docbook.C: header stuff for AGU
1131 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1133 * text2.C (redoCursor): remove
1136 * BufferView_pimpl.C: remove calls to redoCursor and
1137 setCursor(cursor.par(), cursor.pos()) all around
1139 2003-12-15 Angus Leeming <leeming@lyx.org>
1141 * buffer.C: up the format to 228.
1143 2003-12-15 André Pönitz <poenitz@gmx.net>
1145 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1150 * BufferView_pimpl.C:
1159 2003-12-15 Angus Leeming <leeming@lyx.org>
1161 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1162 than getFromGUIName to manipulate the color.
1164 2003-12-14 Angus Leeming <leeming@lyx.org>
1166 * BranchList.[Ch]: minimize the API.
1167 (Branch::getBranch, getColor): now return a 'const &'.
1168 (Branch::setSelected) now returns a bool set to true if the
1169 selection status changes.
1170 (BranchList::clear, size, getColor, setColor, setSelected,
1171 allBranches, allSelected, separator): removed.
1172 (BranchList::find): new functions, returning the Branch with
1174 (BranchList::add, remove): return a bool indicating that
1175 the operation was successful.
1177 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1178 new InsetBranch::isBranchSlected member function.
1180 * LColor.[Ch]: mimimize the API.
1181 (fill): renamed as addColor and made private.
1182 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1183 versions of these functions taking a string arg have been removed.
1185 * bufferparams.C (readToken):
1186 * lyxfunc.C (dispatch):
1187 * lyxrc.C (read): changes due to the altered BranchList and
1190 * factory.C (createInset, readInset): changes due to altered
1193 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * lyxfunc.C: remove insetminipage. "minipage-insert"
1197 now produces a frameless minipage box inset.
1199 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1201 * textcursor.[Ch] (selStart,selEnd): add new methods
1202 remove selection::start, end, use LyXCursor::operator<
1203 * lyxcursor.[Ch] (operator<): add
1204 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1205 * BufferView.[Ch] (unsetXSel): add
1206 * text2.C (clearSelection): use unsetXSel,adjust
1209 * rowpainter.C: adjust
1210 * bufferview_funcs.C (put_selection_at): adjust
1212 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1214 * BufferView_pimpl.C: small coord. correction
1216 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1218 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1219 dragging over the splash screen.
1221 2003-12-11 Angus Leeming <leeming@lyx.org>
1223 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1224 as it is now handled in LyXText::dispatch.
1226 * text3.C (doInsertInset): remove a level of nesting.
1228 2003-12-11 Angus Leeming <leeming@lyx.org>
1230 * factory.C (createInset): changes due to the changed interface to
1231 InsetCommandMailer::string2params.
1233 2003-12-10 Angus Leeming <leeming@lyx.org>
1235 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1236 'dialog-show-new-inset <inset name>'
1238 2003-12-10 Angus Leeming <leeming@lyx.org>
1240 * buffer.C: up the format to 227.
1242 * factory.C: the box inset is now identified simply by 'Box'.
1244 2003-12-10 Angus Leeming <leeming@lyx.org>
1246 * buffer.C: up the format to 226.
1248 * factory.C: the note inset is now identified simply by 'Note'.
1250 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1252 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1253 when a pit is enough. Standarize a couple of loops.
1255 2003-12-05 Angus Leeming <leeming@lyx.org>
1257 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1258 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1259 data to the re-worked "log" dialog.
1261 2003-12-03 André Pönitz <poenitz@gmx.net>
1267 * paragraph_funcs.C:
1269 * text2.C: use Inset::getText instead of Inset::getParagraph
1271 2003-12-03 André Pönitz <poenitz@gmx.net>
1275 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1276 InsetText::read() as LyXText::read()
1278 2003-12-02 Angus Leeming <leeming@lyx.org>
1280 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1281 type. Add a comment in the implementation that the function uses
1282 the stream's bad() function rather than fail() as the std::streams
1285 2003-12-02 André Pönitz <poenitz@gmx.net>
1287 * lyxlex.[Ch]: make interface more similar to std::stream
1289 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1291 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1293 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1295 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1297 * vspace.[Ch]: remove VSpace::NONE
1299 2003-12-01 André Pönitz <poenitz@gmx.net>
1302 * lyxtext.h: move ParagraphList member to LyXText
1303 rename LyXText::ownerParagraphs to LyXText::paragraph
1306 * bufferview_funcs.C:
1316 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1318 * undo.C: fix cursor positioning
1320 2003-12-01 John Levon <levon@movementarian.org>
1322 * BufferView_pimpl.C: fix a crash on exit with
1325 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1327 * BranchList.C: fix setSelected() method.
1329 2003-11-28 André Pönitz <poenitz@gmx.net>
1331 * ParagraphParameters.[Ch]:
1332 * ParameterStruct.h: remove space above/below from Paragraph to
1335 * BufferView_pimpl.C:
1341 * paragraph_funcs.C:
1347 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1349 * factory.C: Syntax change for CharStyles
1351 2003-11-28 André Pönitz <poenitz@gmx.net>
1356 * buffer.[Ch]: move LyXText member
1358 2003-11-28 André Pönitz <poenitz@gmx.net>
1360 * BufferView.[Ch]: make LyXText * text a private member
1362 * BufferView_pimpl.C:
1373 * output_plaintext.C: cleanup
1375 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1378 * lyxtextclass.[Ch]: parametrize SGML document header
1380 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1383 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1386 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1388 * text2.C (setFont): rework using PosIterator (no more recursive)
1389 (setCharFont): no more needed
1390 (setLayout): no more selection cursors fiddling (done by redoCursor)
1391 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1392 destroy remaining ones)
1394 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1396 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1398 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1401 * text3.C: adjust + re-allow multi par depth changes
1402 * textcursor.C: simplify a bit
1404 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1410 * src/output_docbook.C:
1411 * src/output_latex.C:
1416 * src/text2.C: Introducing a number of tags parametrizing various
1417 XML formats that we may want to support
1419 2003-11-25 André Pönitz <poenitz@gmx.net>
1421 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1423 * lyxtext.h (leftMargin/rightMargin): simplify interface
1430 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1432 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1433 master file to any child files. Fixes bug 546.
1435 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1437 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1439 2003-11-24 André Pönitz <poenitz@gmx.net>
1441 * rowpainter.C: simplification
1443 * text2.C (updateCounters): remove call to redoParagraph on
1444 changed labels as this is far too expensive.
1446 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1448 * converter.C (convert): fix a crash: this function gets
1449 called with buffer == 0 from importer code.
1451 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1453 * text3.C (cursorPrevious): make sure that we do not compare
1454 iterators form different containers.
1457 * rowpainter.C (paintSelection): make sure that we do not compare
1458 iterators from different containers.
1460 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1461 iterators from different ParagraphList containers.
1464 * text2.C (LyXText): change order of initialization slightly
1465 (operator=): new function. copy all variables except cache_par_
1466 (moveUp): make sure that we do not compare iterators from
1467 different ParagraphList constainers.
1470 * text.C (firstPar): new function
1471 (lastPar): new function
1472 (endPar): new function
1474 * lyxtext.h: move things around and group public functions, public
1475 variables, private functions, private variables
1477 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1479 * factory.C: change call to InsetERT constructor to avoid
1480 additional invocation of method status
1481 * text2.C (toggleInset): remove redundant update() call
1482 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1483 instead of a Bufferview pointer
1485 2003-11-21 André Pönitz <poenitz@gmx.net>
1487 * rowpainter.C: simplification
1489 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1491 * text3.C (dispatch): make possible to extend a word/row selection
1494 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1496 * lyxtext.h: x0_,y0_ -> xo_,yo_
1497 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1498 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1499 * rowpainter.C (paintRows): paint full paragraphs
1501 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1503 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1506 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1508 * lyxtext.h: add x0_, y0_
1509 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1510 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1512 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1514 * text2.C (setCursorIntern): move the x_target update here *
1515 * text3.C: change some bv() to true/false in calls to
1516 cursorUp/Down/Right/Left
1517 * cursor.C: use helper function.
1519 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1521 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1522 * paragraph_funcs.[Ch]: correct comment
1523 * rowpainter.C: do not paint selections away from bv->cursor()
1524 Fix a long standing selection painting bug.
1525 * text3.C: generalize mouse-selection code to LyXTexts other that
1527 * textcursor.C: do not use y coords if we can use par offsets
1529 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1531 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1532 cursor position after e.g. inset insert)
1534 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1536 * lyxfind.C (replace): adjust to locking removal + some
1539 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1541 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1544 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1547 * output_docbook.C: XML sanitation: new layout
1548 parameters InnerTag and CommandDepth
1550 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1552 * BufferView_pimpl.C:
1554 * text3.C: Fix the insertion and modification of button-style
1557 2003-11-13 André Pönitz <poenitz@gmx.net>
1559 * InsetList.[Ch]: remove deleteLyXText
1561 * paragraph.[Ch]: cache beginOfBody position
1566 * text3.C: remove superfluous update() calls
1570 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1572 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1573 * BufferView.C (fitLockedInsetCursor): remove
1574 * cursor.[Ch] (getDim): add
1575 * text.C (getRowNearY): add faster version
1576 * text3.C: remove some update calls
1578 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1590 * text3.C: The Character Style /XML short element patch.
1592 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1595 * factory.C: Small step to solving 'unable to insert some insets'
1598 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1600 * cursor.[Ch] (updatePos): new function for updating the y
1601 position of the tip inset
1602 * bufferview_funcs.C (put_selection_at):
1603 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1605 2003-11-11 André Pönitz <poenitz@gmx.net>
1607 * text.C: remove big comment on invalid Paragraph pointers as it is
1610 2003-11-11 André Pönitz <poenitz@gmx.net>
1612 * text_funcs.[Ch]: merge with ...
1620 * Makefile.am: remove text_funcs.[Ch]
1622 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1624 * cursor.C (getPos): return absolute cached y coord
1626 * BufferView_pimpl.C (fitCursor): new simplistic code
1627 (workAreaDispatch): add a fitCursor call
1629 2003-11-10 André Pönitz <poenitz@gmx.net>
1632 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1634 2003-11-10 André Pönitz <poenitz@gmx.net>
1636 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1637 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1638 indicate that the cursor needs to leave an inset
1640 * lyxtext.h: remove inset locking
1642 * cursor.[Ch]: re-implement functionality provided by inset locking
1645 * BufferView_pimpl.[Ch]:
1647 * bufferview_funcs.[Ch]:
1659 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1661 * PosIterator.[Ch]: replace the stack with a vector, add inset
1663 * iterators.[C]: adjust
1665 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1667 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1669 * paragraph_funcs.C (readParToken): put the correct id in the
1670 error item, not the id of the top paragraph
1672 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1674 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1675 * bufferview_funcs.C (put_selection_at): use the above
1677 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1679 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1681 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * output_linuxdoc.h:
1684 * output_plaintext.h:
1686 * output_docbook.h: add #include statements
1688 2003-11-05 José Matos <jamatos@lyx.org>
1690 * output_docbook.[Ch]:
1691 * output_latex.[Ch]:
1692 * output_linuxdoc.[Ch]:
1693 * output_plaintext.[Ch]: New files for output formats.
1694 * output.[Ch]: New file for helper functions.
1697 * paragraph_funcs.[Ch]: output functions moved to new files.
1699 * outputparams.h: rename of latexrunparams.h
1707 * paragraph_funcs.[Ch]:
1708 * paragraph_pimpl.[Ch]:
1709 * tabular.[Ch]: rename ascii to plaintext
1710 and LatexRunParams to OutputParams.
1712 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1714 * iterators.[Ch] (text): require bv argument
1715 * undo.C (recordUndo):
1716 * lyxfunc.C (dispatch):
1717 * bufferview_funcs.C (put_selection_at): adjust
1719 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1721 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1723 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1725 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1728 2003-11-04 André Pönitz <poenitz@gmx.net>
1730 * cursor.[Ch]: restructure
1733 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1735 * iterators.[Ch] (asCursor): remove
1737 * lfuns.h: remove LFUN_INSET_EDIT
1743 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1745 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1747 * lyxfind.[Ch]: complete overhaul
1748 * BufferView_pimpl.C:
1750 * paragraph.[Ch] (insert): add
1752 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1756 * text.C: remove dead spellcheck code
1758 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * dispatchresult.h: add a val setter
1762 * cursor.C (dispatch): use a tempvar for data_[i]
1764 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1766 * PosIterator.[Ch]: compile fix
1768 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1770 * text.C (cursorPar): deactivate the cursor cache
1772 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1774 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1776 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * text3.C (dispatch): adjust for new DisptchResult semantics.
1780 * lyxfunc.C (dispatch): handle update when return from
1781 Cursor::dispatch, adjust for new DispatchResult semantics.
1783 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1784 DispatchResult(true) mean to not update. Add class functions for
1785 setting dispatched and update, as well as reading.
1787 * cursor.C (dispatch): don't handle update here
1789 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1791 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1792 * trans_mgr.C: adjust
1794 * paragraph_funcs.C (readParToken): exception safety
1796 * lyxvc.h: store the vcs pointer in a scoped_ptr
1799 * lyxsocket.C (serverCallback): exception safety
1801 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1803 * ispell.C (clone): make it return a auto_ptr
1805 * factory.C (createInset): exception safety
1806 (readInset): exception safety
1808 * bufferlist.C (newBuffer): exception safety
1810 * Thesaurus.C (Thesaurus): use initialization for aik_
1812 * MenuBackend.C (expandToc): exception safety.
1814 2003-11-03 André Pönitz <poenitz@gmx.net>
1818 * bufferview_funcs.C: remove getInsetFromId()
1821 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1827 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1829 * PosIterator.C (distance, advance): new
1830 * bufferview_funcs.[Ch] (put_selection_at): new
1831 * iterators.[Ch] (lockPath): new
1833 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1835 * iterators.[Ch] (asPosIterator): added
1836 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1837 * PosIterator.[Ch]: added
1839 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * cursor.C (dispatch):
1844 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1846 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1847 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1848 contructor, add a class function dispatched. Remove operator>=
1850 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * debug.C: only use the default constructor for debugstream
1855 * main.C (main): include debug.h and setup the lyxerr streambuf
1858 2003-10-31 José Matos <jamatos@lyx.org>
1860 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1862 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1863 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1864 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1865 * paragraph_pimpl.C (simpleTeXSpecialC):
1866 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1867 add LatexRunParams argument.
1869 * exporter.C (Export): change call accordingly.
1871 * latexrunparams.h: add new member to take care of the other backends.
1872 2003-10-30 José Matos <jamatos@lyx.org>
1874 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1875 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1876 factorise code for paragraph output.
1878 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1881 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * text3.C (dispatch):
1884 * lyxfunc.C (dispatch):
1885 * cursor.C (dispatch):
1886 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1888 * dispatchresult.h: make the dispatch_result_t ctor explicit
1890 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1893 * buffer.C: small refactoring of docbook stuff
1895 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1900 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1903 operator dispatch_result_t, and operators for == != and >=
1905 * cursor.C (dispatch): adjust for operator dispatch_result_t
1906 removal. comment out call to update
1908 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1910 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1921 * dispatchresult.h: new file, DispatchResult broken out of
1924 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1926 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1928 * text.C (rowBreakPoint): put a hack inside #if 0
1930 2003-10-28 André Pönitz <poenitz@gmx.net>
1934 * paragraph_funcs.C:
1937 * text2.C: general cleanup (lots of small stuff)
1939 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1941 * text2.C (cursorEnd): simple fix to the "end key goes to one
1942 before the end on last row" bug
1944 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1946 * text.C (backspace): fix the "zombie characters"
1948 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1950 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1952 2003-10-27 André Pönitz <poenitz@gmx.net>
1954 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1956 * factory.C: handle new InsetPagebreak, InsetLine
1958 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1959 and move handling into new InsetPagebreak, InsetLine
1961 * BufferView_pimpl.C:
1963 * ParagraphParameters.C:
1964 * ParameterStruct.h:
1969 * paragraph_funcs.C:
1970 * paragraph_pimpl.C:
1976 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1979 * lyxrow_funcs.[Ch]:
1985 * text3.C: remove lastPos uses in favour of Row::endpos
1987 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1989 * undo.C (performUndoOrRedo): fix two crashes by setting a
1990 cursor by hand and reordering some calls. Use bv->lockInset instead
1991 of inset->edit because the latter loses cursor information
1993 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1995 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1997 (rowBreakPoint): fix width. change point to point + 1.
1998 Add a missing check.
2000 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2003 * lyxfunc.C: fix (at least partly) the problems
2004 with the Nav menu and headers inside branch insets
2007 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2009 * paragraph.C (getChar): add strong asserts
2011 * lyxrow_funcs.C (lastPos): remove hideous hack
2013 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2014 (fill): adjust to that (avoid an infinite loop)
2016 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2018 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2020 2003-10-23 André Pönitz <poenitz@gmx.net>
2022 * RowList_fwd.h: change list<> to vector<> to gain speed
2023 after suggestion from Alfredo
2025 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2027 * lyxtext.h: move the bidi stuff from here...
2030 * Bidi.[Ch]: ... to here
2032 2003-10-23 André Pönitz <poenitz@gmx.net>
2035 * text.C (isLastRow, isFirstRow): new functions
2037 * paragraph.h: new width cache member
2039 * rowpainter.C: replace RowList::iterator with Row & where possible
2041 * lyxfunc.C: replace several view()->text with a single call
2043 * toc.C: fix 'unused' warning
2045 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2047 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2048 when woring with stream::pos_type
2049 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2051 2003-10-22 André Pönitz <poenitz@gmx.net>
2054 * text.C: use Row & instead of RowList::iterator
2056 * lyxrow.h: rename end() to endpos()
2062 2003-10-22 Angus Leeming <leeming@lyx.org>
2064 * buffer.[Ch] (fully_loaded): new member function, returning true
2065 only when the file has been loaded fully.
2066 Used to prevent the premature generation of previews and by the
2067 citation inset to prevent computation of the natbib-style label.
2069 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2070 templates are all set up.
2072 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2074 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2076 * text.C: fixed an "oops" in the "is a bit silly"
2079 2003-10-21 André Pönitz <poenitz@gmx.net>
2081 * FuncStatus.[Ch]: small stuff, whitespace
2083 * lyxfont.[Ch]: operator<<() for debug reasons
2087 * lyxtext.h: whitespace, spelling
2089 * paragraph.C: naming of variables
2092 * text2.C: small stuff
2095 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2097 * text.C: (1) finish off the inset display() work;
2098 (2) fix the "is a bit silly" bug (accessing char
2101 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2103 * text.C: re-introduce display() for insets, fixing the
2104 various bugs (stretch of line above, math inset
2107 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * text.C (rightMargin): remove spurious semicolon
2111 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2114 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2116 * text3.C: fix one crash due to wrong cursor def
2118 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * vc-backend.C (scanMaster): make the regex static
2122 * LaTeX.C (scanAuxFile): make the regexs static
2124 * text3.C (doInsertInset, dispatch, dispatch):
2125 * text2.C (cursorUp, cursorDown):
2126 * text.C (selectNextWordToSpellcheck):
2127 * BufferView_pimpl.C (dispatch):
2128 * lyxfunc.C (dispatch): localDispatch -> dispatch
2130 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2132 * lyxsocket.C: include <cerrno>
2134 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * lyxfunc.C (dispatch): remove textcache stuff
2138 * bufferlist.C (release): remove textcache stuff
2141 * TextCache.C: delete file
2142 * TextCache.h: delete file
2144 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2146 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2147 delete of the bv_->text.
2148 (resizeCurrentBuffer): remove texcache stuff
2149 (workAreaResize): ditto
2151 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2156 2003-10-16 André Pönitz <poenitz@gmx.net>
2163 * text3.C: speed up by storing y positions per paragraph plus per-row
2164 offset instead of having a 'full' y position in the row.
2166 2003-10-15 André Pönitz <poenitz@gmx.net>
2170 * undo.[Ch]: make undo aware of inner insets
2172 2003-10-14 Angus Leeming <leeming@lyx.org>
2174 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2175 static member functions LyX::ref() and LyX::cref.
2176 (lastfiles): new accessor functions for the new lastfiles_ member var.
2177 (addLyXView, views_): add a new LyXView to the list of views_.
2178 (updateInset): loop over all LyXViews to call their own updateInset
2179 member function, returning a pointer to the Buffer owning the inset.
2181 * BufferView_pimpl.C (loadLyXFile):
2182 * MenuBackend.C (expandLastfiles):
2183 * bufferlist.C (MenuWrite, QuitLyX):
2184 lastfiles is no longer a global variable.
2185 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2187 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2188 static function. Access through LyX::cref().emergencyCleanup().
2190 2003-10-14 André Pönitz <poenitz@gmx.net>
2192 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2194 * undo.[Ch]: restoring part of 'undo in insets'
2197 * undo_funcs.[Ch]: merge with undo.[Ch]
2199 * tabular.C: small cleansing stuff
2201 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2203 * paragraph_funcs.C (readParToken): report unknown insets as error
2204 boxes. Use the outer paragraph as location (also for unknown
2207 * factory.C (readInset): do not abort on reading an unknown inset.
2208 Eat it and return 0.
2210 2003-10-13 Angus Leeming <leeming@lyx.org>
2212 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2214 * lyxrc.C: displayTranslator is now a function,
2215 declared in GraphicsTypes.h.
2217 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2219 * format.C: new placeholder $$a to pass the socket address.
2221 * bufferlist.[Ch]: new function getBufferFromTmp.
2223 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2224 files in the temporary dir.
2226 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2228 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2230 * Makefile.am: add lyxsocket.[Ch].
2232 * lyx_main.C (error_handler): handle SIGPIPE.
2234 2003-10-13 André Pönitz <poenitz@gmx.net>
2236 * BufferView_pimpl.C:
2241 * undo_funcs.[Ch]: use paroffset_type instead of
2242 ParagraphList::iterators to prevent multiple conversion
2243 (and get a more robust interface)
2245 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2249 * text3.C (dispatch): ditto
2251 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2254 move the onlyfile, use onlyfile instead of foundfile in a couple
2257 * DepTable.C (update): flush the error stream a bit more
2259 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * lyxserver.C (callback): adjust
2263 * lyxfunc.C (getStatus): add a missing brace in commented code
2264 (ensureBufferClean): reindent
2265 (dispatch): delete version taking a string
2267 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * LaTeX.C (deplog): move found file handlig from here...
2270 (handleFoundFile): .. to new function here.
2271 (deplog): make sure to discover several files mentioned on the
2274 2003-10-10 André Pönitz <poenitz@gmx.net>
2281 * text3.C: fix some of the tabular crashes
2283 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2285 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2287 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2289 2003-10-09 André Pönitz <poenitz@gmx.net>
2291 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2294 * BufferView_pimpl.C:
2295 * bufferview_funcs.C:
2306 * undo_funcs.C: adjust
2308 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * text2.C (incrementItemDepth): new function, use a backtracking
2311 algorithm to discover the correct item depth.
2312 (resetEnumCounterIfNeeded): new function, use a backtracking
2313 algorithm to discover if counter reset is needed.
2314 (setCounter): use them. Simplify a bit. Add different labels for
2315 different item depths for itemize.
2317 * paragraph.C (Paragraph): remove initialization of enumdepth
2320 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2321 enumerate and itemize. Change the type of itemdepth to signed char.
2323 2003-10-08 André Pönitz <poenitz@gmx.net>
2325 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2330 * tabular.[Ch]: fix crash after 'row-insert'
2332 2003-10-08 Angus Leeming <leeming@lyx.org>
2334 Fix doxygen warnings.
2336 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2337 Remove CutAndPaste:: prefix from header file declaration.
2339 * LColor.h (fill): remove LColor:: prefix from declaration.
2341 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2342 use lyx::depth_type rather than Paragraph::depth_type so that
2343 header file and .C file match.
2345 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2347 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2348 * aspell.C: \file aspell_local.C -> \file aspell.C
2349 * gettext.C: \file gettext.C -> \file src/gettext.C
2350 * gettext.h: \file gettext.h -> \file src/gettext.h
2351 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2352 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2353 * text.C: \file text.C -> \file src/text.C
2355 * toc.C: move comment so that doxygen is not confused.
2357 2003-10-07 Angus Leeming <leeming@lyx.org>
2359 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2361 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2364 * aspell_local.h: add forgotten std::string's.
2366 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2373 * text3.C: The Box patch. Fancybox support, minipage, parbox
2375 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2381 * ParagraphParameters.h:
2391 * lyxtextclasslist.h:
2394 * paragraph_pimpl.C:
2395 * textcursor.h: add <string> and other small fixes to make Lars'
2396 std::string patch compile with STLport.
2398 2003-10-06 Angus Leeming <leeming@lyx.org>
2400 * LColor.h: Add missing #include <string>.
2402 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * All most all file in all subdirs: Make <string> be the prefered
2405 way of getting to std::string, add using declarations.
2407 2003-10-06 André Pönitz <poenitz@gmx.net>
2409 * metricsinfo.C: initialize LyXFont before changing attribute.
2410 (fixes the 'math in \emph is upright' bug)
2412 2003-10-06 André Pönitz <poenitz@gmx.net>
2414 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2416 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2419 * paragraph_pimpl.C: Small fixes to build using STLport
2421 2003-10-02 André Pönitz <poenitz@gmx.net>
2424 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2426 2003-10-01 André Pönitz <poenitz@gmx.net>
2428 * factory.C: assert early
2430 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * lyx_main.C: remove the global debug object
2434 * debug.h: adjust for new debugstream
2436 * debug.C: adjust for new debugstream and keep the global debug
2439 2003-09-22 Angus Leeming <leeming@lyx.org>
2441 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2442 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2443 an incomplete class LyXFont.
2445 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2447 * factory.C: bug fix in branches
2449 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * lyxfunc.C (processKeySym): adjust
2453 (dispatch): change arg name from ev to func, adjust
2454 (sendDispatchMessage): ditto
2456 * lyx_main.C (defaultKeyBindings): adjust keybindings
2457 (deadKeyBindings): ditto
2459 * kbsequence.C (addkey): return a FuncRequest
2461 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2463 * kbmap.C (bind): take a FuncRequest as arg, adjust
2466 (defkey): change to take a FuncRequest as arg, adjust
2467 (findbinding): take a FuncRequest as arg, adjust.
2469 * funcrequest.h (operator=): added
2471 * funcrequest.C (FuncRequest): default kb_action changed from
2472 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2474 * buffer.C (dispatch): simplify
2475 (dispatch): adjust to take a FuncRequest as arg, adjust
2477 * boost.C (assertion_failed): change assertion message slightly
2479 * ToolbarBackend.C (read): simplify
2481 * MenuBackend.C (binding): adjust call to findbinding, add a
2482 message if no binding is found.
2484 (expandToc): correct by adding a empty FuncRequest
2486 * LyXAction.C: include <boost/assert.hpp>
2487 (isPseudoAction): delete function
2488 (LookupFunc): change name to...
2489 (lookupFunc): this. change return type to FuncRequest.
2490 (getActionName): take kb_action as arg, simplify
2491 (funcHasFlag): add an assert, simplify.
2493 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * toc.C (action): return a FuncRequest, simplify
2497 * lyxfunc.C (processKeySym): adjust
2498 (getStatus): delete version that takes an int.
2500 (dispatch): delete version that takes action as int
2502 (sendDispatchMessage): simplify and adjust
2504 * funcrequest.C (getArg): take unsigned int as arg
2506 * ToolbarBackend.C (read): adjust
2507 (add): delete version that takes func as a string.
2508 (getIton): take a FuncRequest as arg
2510 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2513 * MenuBackend.C (MenuItem): add a new construct that only takes a
2514 Kind, simplify the constructor use for submenus.
2516 (expandLastfiles): adjust
2517 (expandDocuments): adjust
2518 (expandFormats): adjust
2519 (expandFloatListInsert): adjust
2520 (expandFloatInsert): adjust
2521 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2523 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2524 Remove class variables lyx_pseudo_map and lyx_arg_map
2526 * LyXAction.C (searchActionArg): delete function
2527 (getPseudoAction): delete function
2528 (retrieveActionArg): delete function
2529 (LookupFunc): make it return kb_action, simplify.
2530 (getActionName): simplify
2532 * factory.C (createInset): fix new bug
2534 2003-09-19 Angus Leeming <leeming@lyx.org>
2536 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2537 masterFilename_ parameter in the include inset.
2539 * factory.C (createInset): changes due to the changes to InsetInclude.
2541 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2543 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2545 2003-09-18 Angus Leeming <leeming@lyx.org>
2548 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2549 Inset::fillWithBibKeys.
2550 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2552 2003-09-18 Angus Leeming <leeming@lyx.org>
2554 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2556 (ctor): pass and store a 'Buffer const &'
2557 (buffer): new member function.
2559 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2560 '*this' to the LaTeXFeatures ctor.
2562 2003-09-18 Angus Leeming <leeming@lyx.org>
2568 * text.C: rename EnumLColor as LColor_color.
2570 2003-09-18 Angus Leeming <leeming@lyx.org>
2572 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2573 remove #include "insets/insetbase.h" from cursor.h.
2575 2003-09-18 Angus Leeming <leeming@lyx.org>
2577 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2578 InsetOld_code to remove #include "inset.h".
2580 * iterators.C: add #include "insets/inset.h"
2582 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2584 * BufferView.C: remove more locking stuff that apparently doesn't
2585 do anything sensible.
2587 2003-09-16 André Pönitz <poenitz@gmx.net>
2590 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2593 2003-09-16 Angus Leeming <leeming@lyx.org>
2595 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2597 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2600 * paragraph.h: remove #include "lyxfont.h". Forward declare
2603 2003-09-16 Angus Leeming <leeming@lyx.org>
2605 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2606 of support/textutils.h.
2607 (isWord): move the contents of support/textutils.h's IsWordChar here.
2613 * text2.C: add #include "paragraph.h".
2616 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2618 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * LaTeX.C: use namespace alias for lyx::support::os
2626 2003-09-16 Angus Leeming <leeming@lyx.org>
2629 * bufferview_funcs.C:
2632 * paragraph_pimpl.C:
2634 * text.C: add #include "LColor.h".
2636 2003-09-16 Angus Leeming <leeming@lyx.org>
2638 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2639 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2641 Store the FontBits::color variable as an int rather than as an
2642 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2645 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2646 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2647 string calls together.
2649 * lyxrc.C: add #include "LColor.h".
2651 2003-09-15 Angus Leeming <leeming@lyx.org>
2653 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2656 2003-09-15 Angus Leeming <leeming@lyx.org>
2658 * LColor.h: add an EnumLColor wrapper for LColor::color.
2660 * lyxfont.[Ch] (color, setColor, realColor):
2661 * lyxtext.h, text.C (backgroundColor):
2662 pass EnumLColor args to/from the functions, rather than LColor::color
2666 * lyxtext.h: forward declare EnumLColor.
2668 * lyx_main.C: add #include "LColor.h".
2670 2003-09-15 Angus Leeming <leeming@lyx.org>
2672 * .cvsignore: add lyx-gtk.
2674 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * ParagraphParameters.C
2683 * bufferview_funcs.C
2693 * vc-backend.C: remove usage of STRCONV
2695 2003-09-15 Angus Leeming <leeming@lyx.org>
2697 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2698 explicitly define the color passed to the painter.
2700 2003-09-15 Angus Leeming <leeming@lyx.org>
2702 * bufferparams.C (BufferParams): reorder member initializers to avoid
2705 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2707 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2708 * text.C (updateRowPositions): remove an unusual nop
2710 2003-09-12 André Pönitz <poenitz@gmx.net>
2712 * BufferView_pimpl.C:
2721 * Counters.[Ch]: finish the 'automatic counters' job
2723 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2725 * aspell.C: include <boost/assert.cpp> (compile fix)
2727 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2729 * boost.C (assertion_failed): use lyx::support::abort instead of
2732 2003-09-10 Angus Leeming <leeming@lyx.org>
2734 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2735 with their _fwd progeny.
2737 2003-09-09 Angus Leeming <leeming@lyx.org>
2739 134 files throughtout the source tree: replace 'using namespace abc;'
2740 directives with the appropriate 'using abc::xyz;' declarations.
2742 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2744 * boost.C (emergencyCleanup): moved here from LAssert.c
2745 (assertion_failed): new function, called by BOOST_ASSERT
2747 * several files: change Assert to BOOST_ASSERT
2749 2003-09-09 Angus Leeming <leeming@lyx.org>
2751 * buffer.[Ch]: Add an Impl class and move Buffer's member
2752 variables into it. As a result move several header files out of
2755 Add header files to lots of .C files all over the tree as a result.
2757 2003-09-09 Angus Leeming <leeming@lyx.org>
2759 * buffer.[Ch]: make Buffer's member variables private. Add
2762 Lots of changes all over the tree as a result.
2764 2003-09-08 Angus Leeming <leeming@lyx.org>
2766 * graph.C: #include <config.h>.
2768 2003-09-08 Angus Leeming <leeming@lyx.org>
2772 * BufferView_pimpl.C:
2801 * toc.C: remove redundant using directives.
2803 2003-09-07 Angus Leeming <leeming@lyx.org>
2805 * LaTeXFeatures.h: remove #include "support/types.h".
2806 * ToolbarBackend.h: remove #include <algorithm>.
2807 * changes.h: remove #include <ctime>.
2808 * debug.h: remove #include <iosfwd>.
2809 * graph.h: remove #include "support/std_string.h".
2810 * lyx_main.h: remove #include <csignal>.
2811 * lyxlex_pimpl.h: remove #include <fstream>.
2812 * sgml.h: remove #include <algorithm>, <utility>.
2813 * toc.h: remove #include "support/std_ostream.h".
2814 Add #include <iosfwd>.
2816 2003-09-07 Angus Leeming <leeming@lyx.org>
2818 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2820 * converter.h: forward declare LatexRunParams.
2821 * encoding.h: remove #include "lyxrc.h".
2822 * lyxtext.h: remove #include "LColor.h".
2823 * lyxtextclass.h: remove #include "support/types.h".
2824 * trans.h: remove #include "tex-accent.h".
2825 * trans_mgr.h: remove #include "tex-accent.h".
2826 * insets/inset.h: remove #include "support/types.h", <vector>.
2827 * insets/insetcollapsable.h: remove #include "LColor.h".
2828 * insets/insetinclude.h: remove #include "dimension.h".
2829 * insets/insetlatexaccent.h: remove #include "dimension.h".
2830 * insets/insetoptarg.h:: remove #include "insettext.h".
2831 * insets/insettext.h: remove #include "dimension.h",
2832 <boost/shared_ptr.hpp>
2834 * insets/renderers.h: add #include "dimension.h".
2835 * insets/updatableinset.h: add #include "support/types.h".
2837 * many .C files: Associated changes.
2839 2003-09-06 Angus Leeming <leeming@lyx.org>
2841 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2842 one, inside testInvariant.
2844 * PrinterParams.C: new file.
2845 * PrinterParams.[Ch]: move the function bodies out of line.
2847 2003-09-06 Angus Leeming <leeming@lyx.org>
2849 * ParagraphParameters.h: forward declare ParameterStruct rather than
2850 including its header file.
2851 (depth): moved out-of-line.
2853 2003-09-06 Angus Leeming <leeming@lyx.org>
2855 * BufferView_pimpl.h:
2858 * lyxfunc.h: forward declare LyXKeySym rather than
2859 #include "frontends/LyXKeySym.h".
2861 * BufferView_pimpl.C:
2864 * lyxfunc.C: associated changes.
2866 2003-09-06 Angus Leeming <leeming@lyx.org>
2868 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2869 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
2882 * bufferview_funcs.C:
2883 * BufferView_pimpl.C:
2888 * ParagraphParameters.C:
2893 * frontends/controllers/ControlDocument.C:
2894 * insets/insetcaption.C: rearrange the #includes into some sort of
2897 * buffer.h: remove #includes ErrorList.h, undo.h
2899 2003-09-06 Angus Leeming <leeming@lyx.org>
2901 * support/types.h: add a 'depth_type' typedef, used to store the
2902 nesting depth of a paragraph.
2905 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2906 defining explicitly.
2909 * paragraph_funcs.h:
2910 * ParagraphParameters.h:
2911 * sgml.h: use lyx::depth_type rather than Paragraph or
2912 ParameterStruct's depth_type.
2915 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2918 * BufferView_pimpl.C:
2920 * ParagraphParameters.C:
2923 * bufferview_funcs.C:
2930 * frontends/LyXView.C:
2931 * frontends/controllers/ControlDocument.C:
2932 * frontends/controllers/ControlErrorList.C:
2933 * insets/insetbibitem.C:
2934 * insets/insetbranch.C:
2935 * insets/insetcaption.C:
2936 * insets/insetcollapsable.C:
2937 * insets/insetenv.C:
2938 * insets/insetert.C:
2939 * insets/insetfloat.C:
2940 * insets/insetfoot.C:
2941 * insets/insetfootlike.C:
2942 * insets/insetnewline.C:
2943 * insets/insetquotes.C:
2944 * insets/insettabular.C:
2945 * insets/insettext.C:
2946 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2948 * frontends/controllers/ControlChanges.C: #include "changes.h".
2950 2003-09-06 Angus Leeming <leeming@lyx.org>
2952 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2953 than #including paragraph.h.
2956 * RowList.h: deleted. Superfluous.
2966 * insets/insettext.h: use ParagraphList_fwd.h rather than
2969 * paragraph.h: don't forward declare ParagraphList.
2972 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2973 rather than ParagraphList.h. paragraph.h is still needed for the
2974 Paragraph::depth_type parameters.
2976 * textcursor.h: enable it to compile stand-alone in light of the
2979 * bufferview_funcs.C:
2991 * frontends/controllers/ControlParagraph.C:
2992 * frontends/controllers/ControlTabular.C:
2993 * insets/insetmarginal.C:
2994 * insets/insetminipage.C:
2995 * insets/insetnote.C:
2996 * insets/insetoptarg.C: add header files needed to compile again.
2998 2003-09-06 Angus Leeming <leeming@lyx.org>
3000 * RowList_fwd.h: new file, forward-declaring Row rather than
3001 #including lyxrow.h.
3006 * insets/insettext.h: use it instead of RowList.h
3008 * bufferview_funcs.C:
3015 * text3.C: #include "RowList.h".
3017 2003-09-05 Angus Leeming <leeming@lyx.org>
3019 * factory.C (createInset):
3020 * vspace.C (c-tor): replace sscanf call with an istringstream.
3021 * ispell.C: re-add missing HP/UX headers.
3022 * lyxserver.C: re-add missing os2 headers.
3024 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3033 * text3.C: re-add missing system headers, needed for 2.95.2.
3035 2003-09-05 Angus Leeming <leeming@lyx.org>
3037 Changes most place everywhere due to the removal of using directives
3038 from support/std_sstream.h.
3040 2003-09-05 Angus Leeming <leeming@lyx.org>
3042 Replace LString.h with support/std_string.h,
3043 Lsstream.h with support/std_sstream.h,
3044 support/LIstream.h with support/std_istream.h,
3045 support/LOstream.h with support/std_ostream.h.
3047 Changes resulting throughout the tree.
3049 2003-09-05 Angus Leeming <leeming@lyx.org>
3051 * sgml.h: ensure that the header file can be compiled stand-alone.
3052 * *.C: strip out redundant #includes. (320 in total.)
3054 2003-09-04 Angus Leeming <leeming@lyx.org>
3056 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3057 here (from getPackages).
3059 * debug.[Ch]: add a new EXTERNAL tag.
3061 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3063 * text2.C (cursorEnd): simplify
3065 (getColumnNearX): adjust
3067 * text.C (computeBidiTables): adjust
3070 * rowpainter.C (paintChars): adjust
3071 (paintSelection): adjust
3072 (paintChangeBar): adjust
3075 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3077 (numberOfSeparators): adjust
3079 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3085 * text3.C: Restricts the mouse click functionality
3086 of insets like bibtex, include, toc and floatlist to the visible
3087 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3088 up the dialogs. Cursor has to be in front of the inset (i.e.
3089 start of row) for this to function.
3091 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3093 * bufferview_funcs.C (currentState): output row information
3095 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3097 * bufferview_funcs.C (currentState): output paragraph position
3099 2003-09-04 Angus Leeming <leeming@lyx.org>
3101 * FloatList.h: move out #include "Floating.h".
3102 * LaTeX.h: move out #include "DepTable.h".
3103 * LyXAction.h: move out #include "funcrequest.h".
3104 * buffer.h: move out #include "author.h", "iterators.h".
3105 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3106 * lyx_main.h: move out #include "errorlist.h".
3107 * lyxfunc.h: move out #include "FuncStatus.h".
3108 * lyxtext: move out #include "lyxcursor.h".
3109 * paragraph_pimpl.h: move out #include "counters.h".
3111 2003-09-03 Angus Leeming <leeming@lyx.org>
3113 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3114 preamble_snippets list, enabling us to add snippets to the preamble
3115 only if the snippet was not there already.
3117 2003-09-04 Angus Leeming <leeming@lyx.org>
3119 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3121 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3126 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3128 * BranchList.C: point fix, earlier forgotten
3130 2003-09-02 Angus Leeming <leeming@lyx.org>
3132 * box.C (contains): renamed from 'contained' after a fantastic
3135 2003-09-02 John Levon <levon@movementarian.org>
3141 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3143 2003-09-02 John Levon <levon@movementarian.org>
3145 * text2.C: simplification of cursorEnd(), including partial
3148 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * buffer.C (readFile): add a space
3152 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3154 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3156 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * buffer.C (readFile): new function, take a filename and a
3159 ParagraphList::iterator
3161 (readFile): adjust, make it private. don't use setStream, make
3162 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3163 always contain the filename.
3165 * BufferView.C (insertLyXFile): simplify and make it work for
3168 2003-08-30 John Levon <levon@movementarian.org>
3170 * Makefile.am: fix dist (from Kayvan)
3172 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * most files: change to use const Buffer refs
3176 2003-08-27 André Pönitz <poenitz@gmx.net>
3178 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3179 on top of ownerPar().
3181 2003-08-27 John Levon <levon@movementarian.org>
3183 * funcrequest.C: properly initialise POD members
3185 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3187 * lyxtext.h (top_y): move top_y from here
3192 * BufferView_pimpl.[Ch]: to here
3193 * frontends/screen.C:
3194 * insets/insettabular.C:
3195 * insets/insettext.C: adjust
3196 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3198 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3201 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3203 2003-08-26 André Pönitz <poenitz@gmx.net>
3205 * paragraph_func.[Ch] (outerPar): new function
3208 * paragraph_funcs.C:
3209 * paragraph_funcs.h:
3210 * paragraph_pimpl.C:
3211 * text2.C: remove Inset::par_owner
3213 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3218 * text2.C: eliminates the needFullRow/display() stuff
3219 altogether, putting the logic in metrics/draw in the insets.
3221 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3223 * text2.C (redoParagraphInternal, redoParagraphs):
3224 * text.C (redoParagraph): add a call to updateRowPositions at the
3225 end of each 'metrics-like' call. Remove all others.
3226 (getRow): remove the 'y-computing' version.
3227 (getRowNearY): do not compute nor return the real y. Solve the
3228 'y < 0' problem and simplify.
3230 2003-08-22 Angus Leeming <leeming@lyx.org>
3232 * *.[Ch]: clean-up of licence and author blurbs.
3233 Also move config.h out of a few .h files and into a few .C files.
3235 2003-08-22 André Pönitz <poenitz@gmx.net>
3237 * lyxrow.[Ch]: add x_ and *fill_ members
3242 * text2.C: adjust/remove prepareToPrint() calls
3244 2003-08-22 André Pönitz <poenitz@gmx.net>
3246 * lyxrow.[Ch]: add end_ member
3248 * lyxrow_funcs.C: use LyXRow::end_
3250 * lyxtext.h (singleWidth): add LyXFont parameter
3253 * text2.C: adjust LyXText::singleWidth() calls
3255 * text.C (redoParagraph): simplify row breaking logic
3258 2003-08-19 André Pönitz <poenitz@gmx.net>
3260 * funcrequest.C: initialize button_ member
3263 * rowpainter.[Ch]: interface consolidation
3265 2003-08-18 André Pönitz <poenitz@gmx.net>
3268 * BufferView_pimpl.C:
3270 * paragraph_funcs.C:
3272 * text3.C: remove LyXScreen::draw() and fitCursor calls
3274 * BranchList.h: remove spurious semicolons
3276 * MenuBackend.C: fix branchlist related crash
3278 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3286 * bufferparams.[Ch]:
3290 * text3.C: implements the 'branch inset'
3291 idea. This allows the output of various versions of a document
3292 from a single source version, selectively outputing or suppressing
3293 output of parts of the text.
3294 This implementation contains a 'branch list editor' in a separate
3295 tab of the document settings dialog. Branches are user definable
3296 and have a "display colour" to distinguish them on-screen.
3298 ColorHandler was somewhat cleaned up.
3299 (1) make possible a dynamically growing LColor list by allowing
3300 the graphic context cache to grow along (vector);
3301 (2) eliminate an IMHO unnecessary step in colour allocation.
3303 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3305 * BufferView_pimpl.C: compile fix
3307 2003-08-15 André Pönitz <poenitz@gmx.net>
3309 * rowpainter.C: remove extra metrics calls
3311 * lyxtext.h: merge the two constructors into a single one,
3312 pass reference to owner's par list
3314 * BufferView_pimpl.C:
3318 2003-08-15 André Pönitz <poenitz@gmx.net>
3320 * lyxrow_funcs.[Ch]:
3323 * paragraph_funcs.C:
3328 * text_funcs.C: split LyXText::rowlist_ into individual
3329 Paragraph::rows_ chunks
3332 * BufferView_pimpl.[Ch]:
3335 * text3.C: remove toggleSelection()
3337 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3339 * bufferlist.C: beautify two alerts (shorter text of buttons)
3340 * buffer.C: Remove redundant ' ' from message
3342 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3343 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3344 rename VALIGN_CENTER to VALIGN_MIDDLE
3346 2003-08-11 André Pönitz <poenitz@gmx.net>
3348 * lyxtext.h (getPar):
3349 * text.C: new function
3351 2003-08-11 André Pönitz <poenitz@gmx.net>
3354 * tracer.[Ch]: remove unneeded files
3356 * InsetList.[Ch]: remove resizeInsetsLyXText()
3361 * text3.C: merge insertParagraphs() and appendParagraph()
3362 remove breakAgain(), update()
3364 * BufferView_pimpl.[Ch]:
3365 * bufferview_funcs.[Ch]:
3369 * tabular.C: adjust after text & InsetList changes.
3371 2003-08-08 André Pönitz <poenitz@gmx.net>
3373 * text.C (insertChar, backspace): replace rowlist fiddling
3374 with rebreak of full par
3377 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3378 checkParagraph, updateInset): removed
3380 2003-08-07 André Pönitz <poenitz@gmx.net>
3383 * text3.C: merge some LFUN handlers, remove dead code
3385 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3387 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3389 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3391 * text2.C (DEPM): fix part of bug 1255 and 1256
3393 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3395 * BufferView_pimpl.C (workAreaDispatch): change to use
3396 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3397 that are no mouse related.
3399 2003-08-05 André Pönitz <poenitz@gmx.net>
3402 * BufferView_pimpl.[Ch]:
3403 * bufferview_funcs.C:
3405 * text3.C: rip out "deep update"
3407 * textcursor.[Ch] (last_sel_cursor): remove unused member
3409 2003-08-04 André Pönitz <poenitz@gmx.net>
3412 * BufferView_pimpl.[Ch]:
3413 * ParagraphParameters.C:
3414 * bufferview_funcs.C:
3420 * text3.C: replace "complicated" BufferView::update(...) calls with
3423 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3425 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3427 * Makefile.am (lyx_SOURCES): add paper.h
3429 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * Makefile.am: move things around so that both lyx-qt and
3432 lyx-xforms can be built (according to --with-frontend). Then lyx
3433 is a symbolic link to lyx-[firstfrontend]
3435 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3437 * Always use std::endl with lyxerr
3439 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3441 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3443 2003-08-01 André Pönitz <poenitz@gmx.net>
3446 * BufferView_pimpl.[Ch]:
3448 * text3.C: merge BufferView::repaint() and BufferView::update()
3450 2003-08-01 José Matos <jamatos@lyx.org>
3452 * buffer.[Ch]: file_format is no longer a buffer data element.
3454 2003-08-01 André Pönitz <poenitz@gmx.net>
3459 * text2.C: make redoParagraph more independent of current cursor
3461 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3463 * text2.C: remove unneeded members
3465 2003-07-30 André Pönitz <poenitz@gmx.net>
3467 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3469 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3470 create a single function...
3472 * paragraph_funcs.C (moveItem): ... here.
3475 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3477 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3479 * LColor.[Ch]: Add comment and greyedout logical colors.
3481 2003-07-30 André Pönitz <poenitz@gmx.net>
3483 * tabular.C: don't use Assert too heavily. This crashes where it
3486 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3488 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3489 is disabled (bug 1232)
3491 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3493 * factory.C: limited 'arg' scope
3495 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3497 * factory.C: fixed Note submenu issues
3499 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3501 * factory.C: submenu for Note/Comment/Greyedout
3503 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3506 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3508 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3511 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3512 greyedout. Patch provided by Jürgen Spitzmüller.
3514 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3516 * kbmap.C (read): fix error message when reading bind files
3518 2003-07-29 Angus Leeming <leeming@lyx.org>
3520 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3521 certainly does not do what it purports to do. I am doing it, and
3522 us, a favour by killing it.
3524 2003-07-28 José Matos <jamatos@lyx.org>
3526 * buffer.C (readBody, do_writeFile):
3527 * paragraph.C(readParagraph): \end_document replaces \the_end.
3529 2003-07-29 André Pönitz <poenitz@gmx.net>
3532 * BufferView_pimpl.[Ch]:
3536 * textcursor.[Ch]: remove toggleToggle & Co
3538 2003-07-28 José Matos <jamatos@fep.up.pt>
3540 * buffer.C (readParagraph):
3541 * params_func (readParToken, readParagraph):
3542 * paragraph.C (write): \layout -> \begin_layout.
3544 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * lyxlex_pimpl.C (setFile): clean up slightly.
3548 * bufferparams.h: add compressed var
3550 * buffer_funcs.C (readFile): adjust for LyXLex change
3551 (newFile): ditto + simplify
3553 * buffer.C (writeFile): handle writing of compressed files
3555 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3556 Check if the file is compressed and set a bufferparm if so.
3558 * Makefile.am (lyx_LDADD): remove explicit -lz
3560 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3562 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3563 makeDocBookFile): put the real LyX version in the first line of
3567 * version.C.in: remove lyx_docversion
3569 * tabular.C (write_attribute): add a template-based version to
3570 write enums properly
3572 2003-07-28 André Pönitz <poenitz@gmx.net>
3577 * text3.C: use doubles again for x-coordinates. They are needed.
3579 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * messages.C (getLocaleDir): use lyx_localedir()
3583 * lyxlex_pimpl.C (setFile): compress stuff
3585 * buffer.C (writeFile): add some compression stuff
3586 (do_writeFile): new func, dont call expliti close... will this
3589 * Makefile.am (lyx_LDADD): add -lz
3591 2003-07-28 José Matos <jamatos@fep.up.pt>
3593 * buffer.C: increment file format.
3594 * paragraph_funcs (readParagraph, readParToken):
3595 * paragraph.C (readParagraph): add \end_layout.
3597 2003-07-27 Angus Leeming <leeming@lyx.org>
3599 * Makefile.am: remove special casing for configure-time setting of
3600 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3602 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3603 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3605 2003-07-26 André Pönitz <poenitz@gmx.net>
3607 * paragraph_func.[Ch]:
3608 * paragraph.C (realizeFont): inline it whereever it is used
3613 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3616 2003-07-26 André Pönitz <poenitz@gmx.net>
3620 * text2.C: get rid of LyXText::need_break_row
3622 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * toc.[Ch]: put namespace toc inside namespace lyx
3626 * MenuBackend.C (expandToc2): adjust for lyx::toc
3629 * lyxfunc.C (dispatch): adjust for lyx::find
3631 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3632 lyx::find instead. Reorganize a bit.
3633 (LyXReplace): rename to replace
3634 (LyXFind): rename to find
3636 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3639 2003-07-26 André Pönitz <poenitz@gmx.net>
3641 * text.C (setHeightOfRow): restrict scope of temporary variable
3643 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3644 code (never has been used?)
3646 2003-07-27 Asger Alstrup <alstrup@local>
3648 * text.C (fill): Optimise algorithm to exploit that we can reuse
3649 the LyXFont for many characters.
3650 (setHeightOfRow): Same thing.
3651 (rowBreakPoint): Same thing.
3653 2003-07-26 Asger Alstrup <alstrup@local>
3655 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3657 * text.C (singleWidth): Spurious font copying in hot-spot
3658 singleWidth avoided. Reorder tests for arabic for efficiency.
3660 * text.C (fill): handle empty paragraphs better.
3662 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3665 * encoding.h: add includes
3667 * lyxrc.C: remove reading of bind files
3669 * lyx_main.C (init): setup bindings and menus only if we have a
3672 * kbmap.C (read): new method. Do the actual reading of bind
3675 * converter.C (dvipdfm_options):
3678 (output): adapt PAPER_* enums.
3680 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3682 * bufferparams.h: remove paper-related enums from there
3684 * paper.h: New file. A trivial header file to hold paper-related
3685 enums. It should later expand to contain many paper-related
3688 * lyxrc.C: declare extern displayTranslator
3690 2003-07-27 José Matos <jamatos@fep.up.pt>
3692 * tabular.[Ch] (linuxdoc): add support for tables and figures
3695 2003-07-27 José Matos <jamatos@fep.up.pt>
3697 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3698 consistency in both functions.
3699 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3701 2003-07-26 Asger Alstrup <alstrup@local>
3703 * rowpainter.C (paintRows): Change algorithm to work directly on
3704 the insets rather than asking every character in the document
3705 whether its an inset.
3707 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3709 * buffer.C (openFileWrite): factorize some code
3711 2003-07-26 Angus Leeming <leeming@lyx.org>
3714 * lyx_main.[Ch]: replace occurances of system_tempdir with
3717 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * rename Inset to InsetOld
3721 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3723 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3724 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3725 which I think is a bit clearer. EDIT is gone, since it was
3726 premature optimisation, and broken for mathed anyway.
3727 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3728 with cursor positioning in insets as well (math insets still do not
3729 work, but that's a different story anyway.) It mysteriously
3730 crashes sometimes with undo in the first paragraph, but I'm fairly
3731 confident that this is a compiler bug.
3733 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * paragraph.C (Paragraph): adjust for new clone return type
3737 (copyIntoMinibuffer): ditto
3739 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3741 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3742 by not having a special case, and always doing a full rebreak of
3743 the document after undo.
3745 2003-07-23 Angus Leeming <leeming@lyx.org>
3747 * factory.C (createInset): InsetExternal::setParams now takes a
3750 2003-07-23 Angus Leeming <leeming@lyx.org>
3752 * factory.C (createInset): changed interface to the external and
3753 graphics mailers' string2params functions.
3755 2003-07-23 Angus Leeming <leeming@lyx.org>
3757 * factory.C (createInset): pass a
3758 Buffer const * parameter to InsetExternalMailer's string2params.
3760 2003-07-22 John Levon <levon@movementarian.org>
3762 * Thesaurus.h: include the right aiksaurus header
3764 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3766 * MenuBackend.C (expand): check menu shortcuts unconditionally
3768 2003-07-21 Angus Leeming <leeming@lyx.org>
3770 * factory.C (createInset): pass a
3771 buffer_path parameter to InsetGraphicsMailer's string2params.
3773 2003-07-21 Angus Leeming <leeming@lyx.org>
3775 * BufferView_pimpl.C (buffer):
3778 * lyxfunc.C (dispatch):
3779 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3780 rather than the grfx shortcut.
3782 2003-07-21 André Pönitz <poenitz@gmx.net>
3784 * rowpainter.C: remove unused variables
3787 * tabular_funcs.h: move to tabular.C
3788 * Makefile.am: adjust
3790 * tabular.[Ch]: basic optical cleaning
3792 * author.h: pass references, not values
3794 2003-07-18 André Pönitz <poenitz@gmx.net>
3802 * text3.C: two-phase drawing for InsetText and InsetTabular
3803 some float -> int changes.
3805 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3807 * lyx_main.C: fix the fix
3809 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3811 * lyx_main.C: fix a crash in batch mode if no files specified
3814 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3816 * format.[Ch] (papersize): moved to BufferParams
3817 * converter.[Ch] (dvips_options): moved to BufferParams
3818 (dvipdfm_options): moved to anon namespace
3819 * bufferparams.[Ch]: added above functions.
3821 2003-07-17 André Pönitz <poenitz@gmx.net>
3825 * text2.C: don't call inset->update() anymore
3827 * metricsinfo.[Ch]: add convenience constructor
3829 2003-07-16 André Pönitz <poenitz@gmx.net>
3834 * text2.C: replace the LyXCursor::irow_ member with
3835 on-demand computation of the value
3837 2003-07-16 John Levon <levon@movementarian.org>
3839 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3841 2003-07-15 André Pönitz <poenitz@gmx.net>
3844 * text2.C: remove no more needed refresh_row
3846 2003-07-15 André Pönitz <poenitz@gmx.net>
3851 * text3.C: refresh_status tristate -> need_update bool
3853 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3855 * lyxtext.h (init): remove reinit argument (act as if always true)
3856 * text2.C: adjust to that
3858 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3860 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3861 * text3.C: use it to delete selections in some cases
3862 (bugs 441, 673, 702, 954).
3864 2003-07-14 André Pönitz <poenitz@gmx.net>
3866 * rowpainter.[Ch]: reduce interface
3868 2003-07-14 André Pönitz <poenitz@gmx.net>
3870 * BufferView_pimpl.C:
3871 * text2.C: adjust after removing unused BufferView * argument
3873 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3875 * text2.C (init): fix a crash fired on resize
3877 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3879 * buffer.[Ch]: added new closing signal
3880 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3881 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3882 BufferView::Pimpl via the closing the signal
3884 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3886 * buffer.[Ch]: take out all bv-related from buffer
3888 * BufferView_pimpl.[Ch]: connect to new signals
3889 * CutAndPaste.C: removed useless asserts
3890 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3893 * lyxfunc.C: moved view-related funciontality from vc here
3894 * paragraph.C: removed outdated comments
3897 2003-07-10 André Pönitz <poenitz@gmx.net>
3899 * BufferView_pimpl.C:
3903 * text2.C: remove InsetText::InnerCache, clean up consequences
3905 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3907 * ispell.C: fix two typos in error messages
3909 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3911 * Extend Note inset to other forms of annotation like Comment
3912 and Greyedout. Right button click gives dialog.
3914 Files modified or added (+):
3918 * ControlNote.[Ch] +
3920 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3921 frontends/controllers
3925 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3927 * aspell.C: add missing namespace lyx::support
3929 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3931 * BufferView.[Ch] (newFile): Add
3932 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3933 * LaTeX.[Ch] (message): added this signal and use it
3934 * buffer.[Ch] (busy, message): added these signals and use them
3935 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3939 * importer.C: use buffer signals instead of direct bv calling
3940 * lyx_cb.[Ch] (ShowMessage): removed
3943 * paragraph_funcs.C:
3944 * text2.C: use buffer signals
3946 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * introduce namespace lyx::graphics
3950 2003-07-02 André Pönitz <poenitz@gmx.net>
3952 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3954 2003-07-01 André Pönitz <poenitz@gmx.net>
3961 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3962 text*.C to text_func.C
3964 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * introduce namespace lyx::support
3968 2003-06-30 André Pönitz <poenitz@gmx.net>
3973 * text.C: re-enable --with-included-string
3975 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * textcursor.C: add <config.h>
3979 * text.C (getWord): remove const from word_location arg
3981 * lyxvc.C (getLogFile): fix const type order
3983 * lyxtext.h: remove const from word_location arg, add arg name
3985 * lyxlayout.h: currect type on labeltype.
3987 * importer.C: correct \file
3989 * converter.C (intToFormat): use std:: on ret val, ws changes
3991 * bufferlist.h: correct \file
3993 * buffer.C (makeLinuxDocFile): fix const type order
3994 (makeDocBookFile): ditto
3995 (fillWithBibKeys): use std:: on stdlib args.
3997 * CutAndPaste.C: fix authors.
3998 (availableSelections): use std:: on return vector
4000 2003-06-27 André Pönitz <poenitz@gmx.net>
4002 * BufferView_pimpl.C:
4003 * bufferview_funcs.C:
4011 * text3.C: remove LyXCursor::row_ member
4014 * text.C: rename fullRebreak() to partialRebreak() and implement
4015 a fullRebreak() that really bereks fully
4017 * textcursor.h: new struct for cursor-related data
4019 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4021 * lyx_main.C (LyX): get full path of document loaded on the
4024 2003-06-26 André Pönitz <poenitz@gmx.net>
4026 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4027 remove unused/broken operator>,<,>=.
4029 * text.C: remove only use of broken operator<= in an Assert().
4031 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4033 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4034 moved errorlist_.clear to showErrorList
4036 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4038 * converter.C (scanLog, runLaTeX):
4039 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4040 move the bv->showErrorList call to the callers
4041 * lyxfunc.C: i.e. here...
4043 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4044 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4045 namespace, the second to...
4046 * buffer_funcs (BufferFormat, parseErrors): added
4047 * errorlist.C (ErrorList(TeXErrors const &)): removed
4049 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4053 2003-06-24 "Garst R. Reese" <reese@isn.net>
4057 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4059 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4061 * version.C.in: change docversion to 1.4
4063 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4065 * buffer.C: fix a bug just introduced
4067 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4069 * buffer.[Ch]: added the parseError signal and use it, removed
4071 * BufferView.[Ch] (addError): moved to ...
4072 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4073 to the Buffer::parseError signal to catch (guess what) parse errors
4074 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4076 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4078 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4079 ability to create a buffer and to return an existing one from
4080 the list. Moved these functions to...
4081 * buffer_funcs.[Ch]: added
4082 * BufferView.[Ch] (loadLyXFile): added
4083 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4084 job removed from bufferlist::loadLyXFile.
4085 * buffer.C (setReadOnly): make it work without view
4086 (i.e added an if (users))
4088 2003-06-19 Angus Leeming <leeming@lyx.org>
4091 * LyXAction.C (init):
4092 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4093 with LFUN_DIALOG_SHOW <name> <data>.
4095 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4097 * CutAndPaste.C (availableSelections): small compilation fix for
4098 ancient (gcc 2.9x) compilers
4100 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * text3.C (cursorNext): add tmp var
4104 * text2.C (updateCounters): for function calling out of for clause
4105 (replaceSelectionWithString): ditto
4106 (insertStringAsParagraphs): ditto
4107 (getColumnNearX): add tmp var
4108 (setCursorFromCoordinates): add tmp var
4109 (cursorDownParagraph): add tmp var
4110 (deleteEmptyParagraphMechanism): add tmp var
4112 * text.C (insertChar): add tmp var
4114 * rowpainter.C (paintDepthBar): add tmp var
4116 * CutAndPaste.C (availableSelections): potentially check all
4117 paragraphs in a cut to fill the shown strings.
4119 2003-06-18 André Pönitz <poenitz@gmx.net>
4121 * kbmap.[Ch]: use vector<> instead of list<>
4123 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4125 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4126 pasteSelection with index
4128 * text2.C (pasteSelection): modify, call pasteSelection with index
4130 * paragraph.C (asString): reimplement version with no interval to
4131 call the one with interval.
4133 * lyxtext.h: add index arg to pasteSelection
4135 * MenuBackend.C (MenuItem): handle PasteRecent
4136 (Menu::read::Menutags): add md_pasterecent
4138 (expandPasteRecent): new function
4141 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4143 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4145 (availableSelections): new function
4147 2003-06-17 Angus Leeming <leeming@lyx.org>
4149 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4151 2003-06-17 Angus Leeming <leeming@lyx.org>
4154 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4156 * lyxfunc.C (dispatch): invoke it.
4158 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4160 * iterators.C (operator++, ParPosition): reintroduce some
4161 const_cast for the benefit of older compilers.
4163 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4165 * text3.C (dispatch): do not modify clipboard when doing
4166 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4167 LFUN_DELETE_SKIP on a selection selection
4169 2003-06-16 André Pönitz <poenitz@gmx.net>
4175 * tabular.[Ch]: IU of clone() and getLabelList();
4177 2003-06-13 André Pönitz <poenitz@gmx.net>
4179 * tabular.h: compactification
4181 2003-06-12 André Pönitz <poenitz@gmx.net>
4185 * tabular_funcs.h: some renaming plus whitespace
4187 2003-06-12 André Pönitz <poenitz@gmx.net>
4190 * BufferView_pimpl.C:
4196 * toc.C: Return a Paragraph & for ParIterator::operator*()
4198 2003-06-11 John Levon <levon@movementarian.org>
4202 * ToolbarBackend.C: add "Toolbars" section and
4205 2003-06-10 Angus Leeming <leeming@lyx.org>
4208 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4210 * lyxfunc.C (dispatch): invoke it.
4212 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * main.C: protect <ios> with HAVE_IOS
4215 (main): protect sync_with_stdio with HAVE_IOS
4217 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4219 * text2.C (cutSelection): adjust
4220 (pasteSelection): adjust
4222 * messages.C: handle get of empty string
4224 * main.C (main): use sync_with_stdio(false)
4226 * lyxfunc.C (dispatch): adjust
4228 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4229 (WriteAs): remove unneeded BufferView arg.
4231 * bufferparams.h: use correct types on papersize, papersize2 and
4234 * bufferparams.C (readToken): adjust for type
4235 (writeLaTeX): add missing cases to switch.
4237 * bufferlist.C (quitWriteBuffer): adjust
4240 * buffer.C (asciiParagraph): remove some commented code.
4242 * CutAndPaste.C: remove current_view extern variable.
4243 (cutSelection): add BufferParams arg.
4244 (eraseSelection): add BufferParams arg.
4245 (pasteSelection): add Buffer const & arg
4247 2003-06-07 John Levon <levon@movementarian.org>
4250 * paragraph_funcs.C:
4251 * paragraph_pimpl.C:
4255 * paragraph.C: allow InsetERT to freely space lines,
4256 and some consolidation of code
4258 2003-06-06 José Matos <jamatos@fep.up.pt>
4260 * buffer.C (makeDocBookFile): fix bug #821
4262 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4264 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4266 2003-06-04 Angus Leeming <leeming@lyx.org>
4268 * buffer.C: bump format to 224.
4270 2003-06-05 André Pönitz <poenitz@gmx.net>
4272 * text2.C (redoParagraphs): remove two const_cast<>
4274 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4276 * ParagraphList.h: remove last remnants of NO_STD_LIST
4278 2003-06-03 Angus Leeming <leeming@lyx.org>
4280 * factory.C (createInset): small change to the way InsetExternal's params
4283 2003-06-04 André Pönitz <poenitz@gmx.net>
4285 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4287 * paragraph_pimpl.h:
4288 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4290 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4292 * undo_funcs.C: make some simple cases of undo work again
4294 2003-06-03 John Levon <levon@movementarian.org>
4296 * ispell.C: HPUX doesn't have sys/select.h
4299 2003-06-03 John Levon <levon@movementarian.org>
4301 * CutAndPaste.C: update tabular and include inset
4306 * paragraph.C: remove owningBuffer(), don't pass Buffer
4309 * factory.C: insetGraphicsParams changed
4311 2003-06-02 John Levon <levon@movementarian.org>
4317 * text3.C: remove insetparent
4319 2003-06-02 John Levon <levon@movementarian.org>
4322 * buffer.C: fix inset_iterator.end(), move out of line
4325 2003-06-01 John Levon <levon@movementarian.org>
4327 * text3.C: use a proper cut/paste when doing inset
4328 insert (from Jürgen Spitzmüller)
4330 2003-06-01 John Levon <levon@movementarian.org>
4332 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4334 2003-05-30 André Pönitz <poenitz@gmx.net>
4336 * rowpainter.C: unify second drawing phase
4338 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * trans_mgr.C: remove one case of current_view
4342 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4344 * paragraph_funcs.h: remove paragraph.h include
4346 * paragraph.h: delete NO_STD_LIST stuff
4348 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4350 * buffer.h: remove paragraph.h include
4352 * ParagraphList.C: delete file
4354 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4356 * toc.C (getTocList): adjust
4358 * paragraph_pimpl.C (validate): adjust
4360 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4362 * paragraph.C (Paragraph): adjust
4363 (getPositionOfInset): use const_iterator, adjust
4364 (bibitem): use const_iterator, adjust
4365 (setInsetOwner): adjust
4367 * iterators.C (operator++): adjust
4369 * InsetList.[Ch]: Replace selfmade iterator with standard
4370 vector::iterator also introduce const_iterator. Remove getPos,
4371 getInset and setInset from InsetTable. Adjust accordingly.
4373 * BufferView.C (lockInset): adjust
4374 (ChangeInsets): adjust
4376 * tabular.[Ch]: delete commented same_id functions
4378 2003-05-28 John Levon <levon@movementarian.org>
4380 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4382 2003-05-28 André Pönitz <poenitz@gmx.net>
4384 * metricsinfo.[Ch]: remove 'fullredraw' member
4386 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4388 * lyxtextclass.C (operator): remove caching.
4390 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * text2.C (cursorBottom): adjust
4395 (setCounter): use ParagraphList::find, adjust
4397 * text.C (workWidth): use ParagraphList::find, adjust
4399 * lyxcursor.C (LyXCursor): adjust
4401 * buffer.C (inset_iterator): adjust
4403 * ParagraphList.h: make iterator(value_type) private, make
4404 ParagraphList a friend of iterator.
4406 * ParagraphList.C (find): new function
4408 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4410 2003-05-27 André Pönitz <poenitz@gmx.net>
4412 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4414 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4416 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4418 2003-05-26 John Levon <levon@movementarian.org>
4420 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4422 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * remove same_id from function signatures, adjust.
4426 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4430 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4432 * paragraph.C (Paragraph): get rid of same_ids parameter
4434 * ParagraphList.C (insert): adjust
4437 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * paragraph_funcs.C (breakParagraph): adjust
4440 (breakParagraphConservative): adjust
4442 * buffer.C (readParagraph): adjust
4444 * ParagraphList.C (insert): take a reference instead of a pointer
4447 * paragraph.[Ch] (id): new function
4449 * bufferlist.C (newFile): adjust
4451 * ParagraphList.C (ParagraphList): adjust
4453 (push_back): take a reference instead of a pointer.
4455 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4457 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4460 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4461 set else use old code.
4463 * ParagraphList.C: remove all NO_NEXT code and only compile this
4464 code of NO_STD_LIST is set.
4466 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4468 * BufferView_pimpl.C:
4478 * graphics/GraphicsConverter.C:
4479 * graphics/PreviewLoader.C: header adjustment
4481 2003-05-23 Angus Leeming <leeming@lyx.org>
4483 * LaTeXFeatures.[Ch] (useBabel): new method.
4484 * bufferparams.C (writeLaTeX): use it.
4486 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * ParagraphList.h (set): remove unused function.
4490 2003-05-23 André Pönitz <poenitz@gmx.net>
4493 * BufferView_pimpl.C:
4497 * undo_funcs.C: setUndo reworked
4499 * iterators.[Ch]: add access to topmost ParagraphList
4501 * lyxtext.[Ch] (workWidth): add a const
4503 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4505 * texrow.[Ch] (increasePos): remove function
4506 * exporter.C (export): removed unused var and outdated comment
4508 2003-05-23 Angus Leeming <leeming@lyx.org>
4510 * latexrunparams.h: rename fragile as moving_arg.
4511 * paragraph.C (simpleTeXOnePar): ditto.
4512 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4514 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4518 (textUndoOrRedo): comment out a currently unused var.
4520 * paragraph.h (NO_NEXT): enable NO_NEXT
4522 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4524 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4526 * exporter.C (Export): adjust for removeAutoInsets removal.
4528 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4530 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4532 * BufferView.[Ch] (removeAutoInsets): delete function
4534 2003-05-22 Angus Leeming <leeming@lyx.org>
4536 * latexrunparams.h: add a free_spacing variable.
4538 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4539 to pass moving_arg, as the data is stored in runparams.fragile.
4541 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4542 to Inset::latexOptional or to simpleTeXOnePar.
4544 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4545 free_spacing arg to Inset::latexOptional.
4547 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4550 2003-05-22 Angus Leeming <leeming@lyx.org>
4552 * latexrunparams.h: add fragile and use_babel variables.
4554 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4555 * buffer.C (makeLaTeXFile): store this returned value in
4556 runparams.use_babel, thus passing it to the inset::latex methods.
4558 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4559 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4561 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4562 longer has a fragile arg, as it is stored in runparams.fragile.
4564 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4565 moving_arg parameter as the data is stored in runparams.fragile.
4567 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4568 a fragile parameter as the data is stored in runparams.fragile.
4570 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4572 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4574 2003-05-22 Angus Leeming <leeming@lyx.org>
4576 * latexrunparams.h: add a 'bool nice' which defaults to false.
4578 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4579 now encapsulated within runparams.
4581 * bufferlist.C (updateIncludedTeXfiles):
4582 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4584 2003-05-22 Angus Leeming <leeming@lyx.org>
4586 * latexrunparams.h: new file containing struct LatexRunParams.
4587 * Makefile.am: add new file.
4589 * LaTeX.[Ch] (c-tor, run):
4590 * buffer.[Ch] (makeLaTeXFile):
4591 * bufferlist.[Ch] (updateIncludedTeXfiles):
4592 * converter.C (convert, scanLog):
4593 * converter.[Ch] (runLaTeX):
4594 * exporter.C (Export):
4595 * paragraph.[Ch] (simpleTeXOnePar):
4596 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4597 * paragraph_funcs.[Ch] (latexParagraphs):
4598 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4599 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4600 pass around a LatexRunParams parameter.
4602 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * paragraph.[Ch]: remove unused constructor
4606 * ParagraphList.C (erase): new function, taking two iterators
4608 2003-05-22 André Pönitz <poenitz@gmx.net>
4610 * undo_funcs.C: remove duplicated code
4612 * iterator.[Ch]: operator=
4614 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * tabular.C (SetMultiColumn): ws changes
4618 * rowpainter.C (paintFirst): get rid of a ->previous
4620 * lyx_cb.C (getPossibleLabel): parlist simplification
4622 * BufferView.C (ChangeInsets): simplify slightly.
4624 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4626 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4627 * lfuns.h: new LFUN_SPACE
4628 * lyxfunc.C: protected space has a new lfun
4629 * paragraph_funcs.C: read new space insets
4631 * factory.C: handle new space insets
4633 2003-05-22 André Pönitz <poenitz@gmx.net>
4636 * BufferView_pimpl.C:
4639 * undo_funcs.C: return a ParIterator from getParFromID.
4641 * iterators.[Ch]: add two const's
4643 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4645 * toc.C (getTocList): adjust
4647 * iterators.[Ch]: rework for parlist
4649 * buffer.C (par_iterator_begin): adjust
4650 (par_iterator_end): adjust
4652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4654 * BufferView.C (removeAutoInsets): adjust
4655 (ChangeInsets): adjust
4657 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4659 * text.C (top_y): fix bug 1110
4661 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4663 * errorlist.[Ch]: added
4666 * BufferView_pimpl.C:
4667 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4670 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * Makefile.am: ensure that lyx is relinked upon changes to the
4673 various "convenience" libs.
4675 2003-05-20 Angus Leeming <leeming@lyx.org>
4677 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4678 files are compiled in alphabetical order again.
4680 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4682 2003-05-19 Angus Leeming <leeming@lyx.org>
4684 * gettext.[Ch]: remove "char const * _(char const *)".
4686 2003-05-19 André Pönitz <poenitz@gmx.net>
4688 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4697 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4699 2003-05-19 André Pönitz <poenitz@gmx.net>
4703 * lyxtextclass.[Ch]:
4705 * paragraph_funcs.[Ch]:
4707 * text3.C: more insetenv work
4709 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4711 * ParagraphParameters.C (params2string): small bug fixed
4713 2003-05-16 André Pönitz <poenitz@gmx.net>
4716 * bufferview_funcs.C: patch from Kornel Benko to prevent
4717 crash when _(...) is called twice in a statement
4719 2003-05-16 André Pönitz <poenitz@gmx.net>
4726 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4728 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4730 * lyx_main.C (init): remove spurious static_cast
4732 2003-05-14 André Pönitz <poenitz@gmx.net>
4734 * BufferView.C: fix format string
4736 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4738 * BufferView.[Ch] (insertErrors): removed
4739 * BufferView.[Ch] (showErrorList): added
4740 * buffer.C (runChkTeX):
4741 * converter.C (scanLog): call showErrorList instead of inserterrors
4743 2003-05-13 André Pönitz <poenitz@gmx.net>
4745 * BufferView_pimpl.C:
4747 * bufferview_func.C:
4754 * tabular_funcs.h: tostr() from its own header
4756 * ParagraphParameters.C:
4761 * text3.C: STRCONV()
4763 2003-05-12 André Pönitz <poenitz@gmx.net>
4766 * BufferView_pimpl.C:
4770 * ParagraphParameters.C:
4774 * bufferview_funcs.C:
4787 * paragraph_funcs.C:
4791 * text3.C: boost::format -> bformat all over the place
4794 2003-05-09 André Pönitz <poenitz@gmx.net>
4796 * LColor.[Ch]: Pimpl the #include <map> away
4798 2003-05-09 John Levon <levon@movementarian.org>
4800 * bufferlist.C: never remove emergency saves
4802 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * Makefile.am: better lib building
4806 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4810 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4811 (simpleTeXSpecialChars): adjust
4812 (simpleTeXSpecialChars): adjust
4813 * paragraph.C (simpleTeXOnePar): adjust
4814 * buffer.C (makeLaTeXFile): adjust
4816 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4818 * text2.C (changeDepth): parlist cleanup
4819 (getColumnNearX): ditto
4821 * rowpainter.C (getLabelFont): parlist cleanup
4823 * bufferlist.C (newFile): parlist cleanup
4825 * CutAndPaste.C (eraseSelection): parlist cleanup
4827 * BufferView_pimpl.C (trackChanges): parlist cleanup
4830 * BufferView.C (lockInset): parlist cleanup.
4831 (ChangeInsets): ditto
4833 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * CutAndPaste.h: Update file header.
4837 * CutAndPaste.C: Update file header.
4838 Store the parts cut out of the Document in a limited_stack.
4839 (copySelection): adjust
4840 (pasteSelection): new function, takes the index in the limited stack.
4841 (nrOfParagraphs): adjust
4842 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4843 simplify error inset insertion.
4844 (checkPastePossible): adjust
4846 2003-05-06 John Levon <levon@movementarian.org>
4848 * text2.C: don't cast wrap inset to float
4850 2003-05-05 André Pönitz <poenitz@gmx.net>
4853 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4855 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4856 few naked Paragraph *.
4858 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4860 * bufferparams.C: Output warning if a document with missing
4861 TeX document class is loaded
4862 * exporter.C: Disable TeX exports if the document class is missing
4865 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4866 isTeXClassAvailable()
4868 2003-05-03 John Levon <levon@movementarian.org>
4871 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4872 explicit cursor show/hide
4874 * BufferView_pimpl.h:
4875 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4876 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4878 * lyxfunc.C: hide cursor before dispatching.
4883 * text3.C: remove explicit cursor hides
4885 2003-05-02 André Pönitz <poenitz@gmx.net>
4887 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4890 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4893 * text2.C: tiny whitespace
4895 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * undo_funcs.C: almost only ws changes.
4899 * ParagraphList.C (splice): just return if pl is empty.
4901 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * ParagraphList.C (splice): new function.
4905 * CutAndPaste.C (pasteSelection): use it
4907 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * CutAndPaste.C (pasteSelection): remove the last next and
4910 previous from this file.
4912 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * CutAndPaste.C (pasteSelection): more clean up, user proper
4915 ParagraphList functions for pasteing.
4917 * ParagraphList.C (insert): new function, three arg insert
4919 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * ParagraphList.C (insert): new function, three arg insert
4923 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4926 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4930 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4934 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4936 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4937 (copySelection): clean up a bit.
4938 (pasteSelection): use make_pair
4940 * ParagraphList.C (ParagraphList): implement copy constructor
4941 (operator=): implement, base on copy constructor.
4944 * paragraph.C (erase): return a bool
4946 * paragraph_pimpl.C (erasePos): remove function, move contents...
4947 (erase): ... here. Return a bool.
4948 (erase): call erase instead of erasePos.
4950 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4952 * ParagraphList.h: define PitPosPair
4953 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4954 ParagraphList, fix a bug on pasting multiple pars
4955 * text2.C: change interface to C&P
4957 2003-04-30 André Pönitz <poenitz@gmx.net>
4959 * undo_func.C: revert part of yesterday's patch 2
4961 2003-04-30 John Levon <levon@movementarian.org>
4963 * LColor.C: s/tabular/table/
4965 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4967 * text3.C (dispatch): do not convert iterator -> pointer
4968 * undo_funcs.C (setCursorParUndo): ditto
4969 * text_funcs.C (transposeChars): ditto
4971 * text2.C (setLayout): ws changes only
4973 * text.C (breakParagraph): do not convert iterator -> pointer
4975 (acceptChange): ditto
4976 (rejectChange): ditto
4981 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4984 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4986 * text3.C (gotoInset): YABG (yet another bad getChar)
4988 2003-04-29 André Pönitz <poenitz@gmx.net>
4990 * paragraph.h: make operator= private unimplemented as long as
4993 * ParagraphList.C: whitespace
4996 * paragraph_pimpl.[Ch]:
4997 * paragraph_funcs.C:
4999 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5002 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5004 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5006 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5007 * paragraph.[Ch] (erase):
5008 * paragraph_pimpl.[Ch] (erase): change return type and value
5009 * text2.C (cutSelection): some rework
5011 2003-04-28 John Levon <levon@movementarian.org>
5013 * bufferlist.C: changes for unsaved changes dialog
5015 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * bufferlist.C (newFile): set language (messages_) for new
5020 * buffer.C (readFile): ws changes only.
5022 2003-04-28 André Pönitz <poenitz@gmx.net>
5027 * BufferView_pimpl.C:
5028 * BufferView.C: getParFromID related ParagraphList::iterator changes
5030 2003-04-28 André Pönitz <poenitz@gmx.net>
5032 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5035 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * messages.C: remove one more localedir class variable.
5039 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * messages.C (getLocaleDir): singleton generation function
5043 (Messages): add a default constructor.
5045 * main.C (main): do not setup localedir here, do not call
5048 * gettext.C (_): use it.
5049 (gettext_init): delete funciton
5051 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * gettext.C (getLyXMessages): new singleton generating function.
5055 * buffer.C (updateDocLang): adjust
5057 * Makefile.am (messages.o): add target
5058 (main.o): remove target
5060 2003-04-27 John Levon <levon@movementarian.org>
5065 * lyxvc.C: specify cancel button in Alert::prompt
5067 2003-04-26 John Levon <levon@movementarian.org>
5072 * LyXAction.C: add LFUN_INSET_SETTINGS
5074 * lyxfunc.C: don't enable tabular-feature when there's
5075 just any locking inset
5077 2003-04-26 John Levon <levon@movementarian.org>
5079 * bufferlist.C: re-add Cancel to buffer close question
5081 * lyxfunc.C: fix import UI a bit
5083 2003-04-25 John Levon <levon@movementarian.org>
5085 * gettext.C: remove the broken asserts for now
5087 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * messages.C: make case where setlocale cannot comply work better.
5091 * buffer.C (updateDocLang): new function
5092 (changeLanguage): use it
5095 * text2.C (setCounter): use B_ a bit.
5097 * lyxlayout.C (Read): be sure to trim the label strings.
5099 * messages.C (Messages): fix typo in comment
5101 * buffer.C (readFile): set message_ after file is loaded.
5102 (makeDocBookFile): remove double return
5103 (changeLanguage): reset message_ upon language change.
5104 (B_): new func, use this to get translated buffer strings.
5106 * main.C: add myself and Jean Marc as authors.
5108 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * messages.[hC]: pimplify Messages, and three different pimpls to be
5111 used in different circumstances.
5113 * gettext.[Ch]: change for use with new message code.
5115 2003-04-24 André Pönitz <poenitz@gmx.net>
5117 * factory.C: support for eqref
5119 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * messages.[Ch]: add missing char
5123 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5125 * messages.[Ch]: New files
5127 2003-04-18 John Levon <levon@movementarian.org>
5131 * BufferView_pimpl.C:
5135 * text2.C: remove layout-copy/paste (bug 778)
5137 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5139 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5141 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5143 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5144 if they succeed. Act accordingly.
5146 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * text2.C (setCharFont): adjust
5149 (setCounter): adjust
5150 (insertStringAsLines): adjust
5152 * text.C (leftMargin): adjust
5153 (setHeightOfRow): adjust
5155 * rowpainter.C (paintFirst): adjust
5158 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5160 (isFirstInSequence): ditto
5161 (getEndLabel): ditto
5164 * paragraph.C (getParLanguage): comment out some hard stuff.
5166 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5168 (simpleDocBookOnePar): ditto
5169 (makeDocBookFile): use ParagraphList::iterator
5171 * CutAndPaste.C (pasteSelection): adjust
5173 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * text2.C (getFont): adjust
5176 (getLayoutFont): adjust
5177 (getLabelFont): adjust
5179 * paragraph_funcs.C (TeXOnePar): adjust
5181 * buffer.C (simpleLinuxDocOnePar): adjust
5182 (simpleDocBookOnePar): adjust
5184 * CutAndPaste.C (pasteSelection): adjust
5186 * BufferView.C (getEncoding): adjust
5188 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5190 2003-04-16 John Levon <levon@movementarian.org>
5192 * lyxfind.C: use parlist stuff for search/changes
5194 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5198 * text2.C (deleteEmptyParagraphMechanism): adjust
5200 * text2.[Ch] (ownerParagraph): delete func (both of them
5202 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5206 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * ParagraphList.C: prepare for NO_NEXT
5210 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * text2.C (getFont): adjust
5213 (getLayoutFont): adjust
5214 (getLabelFont): adjust
5216 * paragraph.C (getFont): adjust
5217 (getLabelFont): adjust
5218 (getLayoutFont): adjust
5220 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5222 2003-04-15 John Levon <levon@movementarian.org>
5226 * lyx_main.C: handle Include in .ui files
5228 2003-04-15 John Levon <levon@movementarian.org>
5230 * MenuBackend.C: make the doc files length shorter
5233 * ToolbarBackend.C: handle toolbar placement flags,
5236 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5241 * paragraph_funcs.C (TeXOnePar): adjust
5243 * paragraph.C (getLabelFont): add outerfont arg, adjust
5244 (getLayoutFont): ditto
5245 (simpleTeXOnePar): adjust
5247 * paragraph_pimpl.C (realizeFont): delete func
5249 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5251 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5252 row argument, constify cur argument.
5254 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * text2.C (getFont): adjust
5257 (getLayoutFont): adjust
5258 (getLabelFont): adjust
5260 * paragraph_funcs.C (TeXOnePar): adjust
5261 (outerFont): new func...
5262 (realizeFont): ...moved out from here, changed this to facilitate
5265 * paragraph.C (getFont): take outerfont as arg, adjust
5266 (simpleTeXOnePar): add outerfont arg, adjust
5268 * buffer.C (simpleLinuxDocOnePar): adjust
5269 (simpleDocBookOnePar): adjust
5271 * CutAndPaste.C (pasteSelection): adjust
5273 * BufferView.C (getEncoding): adjust
5275 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * text2.C (setCharFont): adjust
5278 (setCounter): adjust
5280 * text.C (leftMargin): adjust
5281 (setHeightOfRow): adjust
5283 * rowpainter.C (paintFirst): adjust
5286 * paragraph_pimpl.C (realizeFont): adjust
5288 * paragraph.C (isFirstInSequence): move from here...
5289 * paragraph_funcs.C (isFirstInSequence): ...to here
5291 * paragraph.C (outerHook): move from here...
5292 * paragraph_funcs.C (outerHook): ...to here
5294 * paragraph.C (depthHook): move from here...
5295 * paragraph_funcs.C (depthHook): ...to here
5297 * paragraph.C (getEndLabel): move from here...
5298 * paragraph_funcs.C (getEndLabel): ...to here
5300 * text2.C (realizeFont): move from here...
5301 * paragraph_funcs.C (realizeFont): ...to here
5303 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5307 2003-04-14 Angus Leeming <leeming@lyx.org>
5309 * LColor.[Ch]: scrap LColor mathcursor.
5311 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * lyxlex.[Ch] (text): delete function
5314 * trans.C (Load): adjust
5315 * paragraph_funcs.C (readParToken): adjust
5317 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5320 vector<char> instead of a char[].
5322 * lyxlex_pimpl.C (getString): adjust
5324 (lex): use getString
5328 * lyxlex.C (text): use pimpl_->getString()
5332 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5335 (makeFontEntriesLayoutSpecific): temp var for par.size()
5336 (setLayout): temp var for ownerParagraphs().end()
5337 (fullRebreak): temp var for rows().end()
5338 (selectionAsString): temp var for boost::next(startpit), realize
5339 that the while really is a regular for loop.
5340 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5341 setCursor in one place.
5342 (setParagraph): temp vr for ownerParagraphs().end()
5343 (updateCounters): make the while loop a for loop
5344 (cutSelection): temp var for ownerParagraphs().end()
5345 (updateInset): make the do {} while() a regular for loop
5346 (getCursorX): use temp vars
5347 (setCurrentFont): use temp vars
5348 (getColumnNearX): use temp vars
5350 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * text.C (transformChar): use temp var for getChar
5353 (computeBidiTables): use temp var for row->par()
5354 (fill): move temp vars for row->par() and pit->layout() earlier in
5356 (labelFill): use temp var for row->par()
5357 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5358 asc and desc, realize that pit never changes and that firstpit is
5359 just a duplicate and not needed. Exchange rit->par() with pit in a
5361 (breakAgain): use a temp var for boost::next(rit)
5362 (breakAgainOneRow): ditto
5363 (breakParagraph): use a temp var for rows().begin()
5364 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5365 (cursorRightOneWord): use temp var for cursor.par() and
5366 cursor.pos(), remove usage of tmpcursor.
5367 (cursorLeftOneWord): use temp var for cursor.par() and
5368 cursor.pos() only set cur at end of function.
5370 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * text.C, text2.C: exchange all usage of Paragraph::next with
5373 boost::next(ParagraphList::iterator)
5375 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5377 * text2.C (cursorTop): simplify implementation
5378 (cursorBottom): ditto
5379 (setParagraph): use ParagraphList::iterator
5380 (setCurrentFont): adjust
5381 (getColumnNearX): adjust
5382 (cursorRight): adjust
5383 (cursorLeft): remove usage of Paragraph::previous
5384 (cursorUpParagraph): ditto
5385 (deleteEmptyParagraphMechanism): slight cleanup
5387 * text.C (isBoundary): take a Paragraph const & instead of a
5389 (addressBreakPoint): ditto
5390 (leftMargin): remove usage of Paragraph::previous.
5391 (setHeightOfRow): ditto
5392 (cursorLeftOneWord): ditto
5393 (selectNextWordToSpellcheck): ditto
5396 (breakParagraph): remove one usage of Paragraph::next
5397 (redoParagraph): ditto
5398 (acceptChange): ditto
5399 (insertChar): adjust
5400 (rowBreakPoint): adjust
5402 * bufferview_funcs.C (toggleAndShow): adjust
5404 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5406 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5407 methods to access it.
5409 * text.C: Added updateRowPositions to compute all row positions.
5410 Make top_y and getRowNearY() to use the cached y position
5412 2003-04-11 John Levon <levon@movementarian.org>
5414 * text.C (rowBreakPoint): reintroduce the labelEnd
5415 checks, code copied from the row fill stuff. Deep voodoo.
5417 * text.C (fill): add a comment and debugging for the
5420 2003-04-11 John Levon <levon@movementarian.org>
5422 * text.C: make sure fullrow insets get wrapped to the next line,
5423 even when they're in a manual label
5425 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * text2.C (insertParagraph): make it take ParagraphList::iterator
5429 (setLayout): make it return ParagraphList::iterator
5430 (redoParagraphs): ditto
5432 (checkParagraph): ditto
5434 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5436 * text2.C: adjust several funcs.
5437 (realizeFont): take a ParagraphList::iterator as arg.
5438 (getLayoutFont): ditto
5439 (getLabelFont): ditto
5440 (setCharFont): ditto
5442 * text.C: adjust several funcs.
5444 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5446 * text.C (selectNextWordToSpellcheck): don't accidentally
5449 2003-04-10 John Levon <levon@movementarian.org>
5451 * ToolbarBackend.C (getIcon): special handling for
5454 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5456 * text2.C (cursorRight): a getChar assert fixed
5458 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * text2.C (getFont): change to take a ParagraphList::iterator
5461 instead of Paragraph*
5462 Adjust several functions.
5464 * text.C (transformChar): change to take a ParagraphList::iterator
5465 instead of Paragraph*
5466 (singleWidth): ditto
5467 Adjust several functions.
5469 * rowpainter.C: adjust several functions
5470 * rowpainter.h:store a ParagraphList::iterator and not a
5474 2003-04-09 John Levon <levon@movementarian.org>
5479 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5480 and the "help" bits as well
5482 2003-04-09 John Levon <levon@movementarian.org>
5485 * ToolbarBackend.C: allow multiple toolbars
5487 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * undo_funcs.C (setCursorParUndo): adjust
5491 * text_funcs.C (transposeChars): adjust
5493 * text3.C (gotoNextInset): adjust
5496 * text2.C (setLayout): adjust
5497 (changeDepth): adjust
5499 (redoParagraphs): adjust
5500 (selectionAsString): adjust
5501 (setParagraph): adjust
5502 (insertInset): adjust
5503 (cutSelection): adjust
5504 (copySelection): adjust
5505 (pasteSelection): adjust
5506 (insertStringAsLines): adjust
5507 (updateInset): adjust
5508 (setCursor): change to take a ParagraphList::iterator parameter
5509 (setCursorIntern): change to take a ParagraphList::iterator parameter
5510 (setCurrentFont): adjust
5511 (cursorLeft): adjust
5512 (cursorRight): adjust
5513 (deleteEmptyParagraphMechanism): adjust
5515 * text.C (breakParagraph): adjust
5516 (insertChar): adjust
5517 (acceptChange): adjust
5518 (rejectChange): adjust
5519 (selectNextWordToSpellcheck): adjust
5520 (changeCase): adjust
5524 * lyxfind.C (SearchForward): adjust
5525 (SearchBackward): adjust
5526 (nextChange): adjust
5528 * lyxcursor.C (par): adjust
5530 * lyxcursor.h: store a ParagraphList::iterator instead of a
5533 * lyx_cb.C (getPossibleLabel): adjust
5535 * bufferview_funcs.C (toggleAndShow): adjust
5537 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5540 * BufferView.C (removeAutoInsets): adjust
5541 (lockedInsetStoreUndo): adjust
5543 2003-04-09 John Levon <levon@movementarian.org>
5545 * ToolbarBackend.C: try icon without argument
5546 if with argument fails
5548 2003-04-08 John Levon <levon@movementarian.org>
5551 * ToolbarBackend.C: add getIcon(), handle tooltip,
5552 and change from "Icon" to "Item".
5554 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5556 * BufferView.C (lockInset): another bad getchar crunched
5558 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5560 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5563 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5565 * lyxfind.C (searchForward, searchBackwards): bug 782
5567 2003-04-07 John Levon <levon@movementarian.org>
5569 * paragraph.C: remove dead comment
5571 * text.C: remove troublesome depth-fiddling code
5572 in leftMargin() and rightMargin() (bug 1017)
5574 * text.C: fix breaking of rows in nested lists
5577 * text2.C (updateCounters): fix up depth values
5580 2003-04-07 John Levon <levon@movementarian.org>
5582 * BufferView_pimpl.C: clear message when doc finishes resizing,
5583 and after a mouse event
5585 * lyxfunc.C: clear message after exiting inset
5587 2003-04-07 John Levon <levon@movementarian.org>
5589 * bufferview_funcs.C: show math status not outside
5590 status in the statusbar
5592 2003-04-07 John Levon <levon@movementarian.org>
5594 * lyxfunc.C: note status changed after a depth change
5596 2003-04-04 Angus Leeming <leeming@lyx.org>
5598 * LaTeX.h: move AuxInfo operator==, != out of line.
5599 Remove LaTeX virtual destructor; nothing derives from it.
5600 Move operator()() out of public area and rename it startscript().
5601 Change protected for private.
5603 2003-04-04 Angus Leeming <leeming@lyx.org>
5606 * text2.C: remove unneeded #includes.
5608 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5610 * text2.C (dEPM): fix the heigth of the next row
5612 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5614 * text.C: squashed an invalid getChar requester + some ws changes
5616 2003-04-03 John Levon <levon@movementarian.org>
5618 * bufferview_funcs.h:
5619 * bufferview_funcs.C:
5622 * text2.C: make getStatus work for the env depth lfuns
5624 2003-04-03 John Levon <levon@movementarian.org>
5626 * bufferview_funcs.h:
5627 * bufferview_funcs.C:
5630 * text2.C: parlistize decDepth(), by merging it with incDepth()
5632 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * lyxrow.h: store a ParagraphList::iterator instead of a
5635 Paragraph* and adjust other class functions to suit.
5637 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5640 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5642 * text2.C (setCursor): do not anchor to cursor row for the time being
5644 2003-04-02 John Levon <levon@movementarian.org>
5651 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5653 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * paragraph.h: make ParagraphList and ParagraphList::iterator
5656 friends of Paragraph.
5658 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5660 * ParagraphList.C: Use the private next_ and previous_ from
5663 2003-04-01 John Levon <levon@movementarian.org>
5667 * Makefile.am: rename, remove defaults gunk
5670 * MenuBackend.C: remove defaults gunk
5673 * Languages.C: remove defaults gunk
5676 * lyx_main.C: error out if files couldn't be found.
5678 2003-04-02 John Levon <levon@movementarian.org>
5680 * text2.C: make incDepth() use parlist
5682 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * undo_funcs.C (firstUndoParagraph): adjust
5686 * text3.C (gotoInset): adjust
5687 (dispatch): adjust, and rewrite loop.
5689 * text2.C (init): adjust, and rewrite loop.
5690 (redoParagraphs): adjust
5691 (updateInset): adjust, and rewrite loop.
5692 (deleteEmptyParagraphMechanism): adjust
5694 * tabular.C (LyXTabular): adjust
5695 (SetMultiColumn): adjust
5698 * lyxtext.[Ch] (ownerParagraph): delete function
5699 (ownerParagraphs): new function returns a ParagraphList.
5701 * BufferView.C (removeAutoInsets): adjust
5702 (insertErrors): adjust
5703 (setCursorFromRow): adjust
5705 2003-04-01 Angus Leeming <leeming@lyx.org>
5707 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5710 2003-04-02 John Levon <levon@movementarian.org>
5716 * text_funcs.C: make transposeChars a free function
5718 * lyxrow_funcs.C: remove wrong comment
5720 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * rowpainter.C: adjust
5728 * lyxrow_funcs. [Ch]: new files
5730 * lyxrow.[Ch]: remove next and previous pointers
5731 (next,previous): remove accessor functions
5732 (isParEnd): move to lyxrow_funcs
5733 (lastPos): move to lyxrow_funcs
5734 (nextRowIsAllInset): move to lyxrow_funcs
5735 (lastPrintablePos): move to lyxrow_funcs
5736 (numberOfSeparators): move to lyxrow_funcs
5737 (numberOfHfills): move to lyxrow_funcs
5738 (numberOfLabelHfills): move to lyxrow_funcs
5739 (hfillExpansion): move to lyxrow_funcs
5743 * bufferview_funcs.C (toggleAndShow): adjust
5745 * RowList.h: Remove class RowList from file leave just a
5748 * RowList.C: delete file
5750 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5753 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * text3.C (cursorPrevious): adjust
5756 (cursorNext): adjust
5759 * text2.C (redoHeightOfParagraph): adjust
5760 (redoDrawingOfParagraph): adjust
5763 * text.C (breakParagraph): adjust
5764 (insertChar): adjust
5767 * rowpainter.C (RowPainter): adjust
5768 (leftMargin): simplify and adjust
5769 (most rowpainter functions): adjust.
5771 * rowpainter.h: store the row as RowList::iterator not as Row*
5773 * lyxcursor.C (row): taka RowList::iterator as arg
5776 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5779 2003-04-01 Angus Leeming <leeming@lyx.org>
5781 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5782 stuff like bool Bool.
5784 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5786 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5789 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5794 * lyxtext.h (rows): drop one version and leve a const variant that
5795 returns a RowList::iterator.
5797 2003-03-31 Angus Leeming <leeming@lyx.org>
5799 * text.C (fill): ensure that the signature is the same as that in the
5802 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * text2.C (redoParagraphs): adjust
5805 (updateCounters): adjust
5806 (checkParagraph): adjust
5807 (getColumnNearX): adjust and reformat a bit.
5809 * text.C (top_y): adjust
5811 (leftMargin): adjust
5812 (prepareToPrint): adjust
5814 (getRowNearY): adjust
5816 * lyxtext.h: make rowlist_ mutable.
5818 * RowList.h: add const_iterator
5819 * RowList.C: adjust for RowList::const_iterator.
5821 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5824 2003-03-31 John Levon <levon@movementarian.org>
5827 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5829 * lyx_main.C: set default fonts from using lyx_gui funcs
5831 * exporter.C: pdf_mode moved from lyxrc
5834 * lyxfunc.C: changes from above
5836 2003-03-31 John Levon <levon@movementarian.org>
5838 * lyx_main.C: fix to the last fix
5840 2003-03-31 John Levon <levon@movementarian.org>
5842 * bufferlist.C: "Load original" -> "Load Original"
5848 * format.C: more Alert cleanups
5850 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5852 * text2.C (removeParagraph): make it take a RowList::iterator as
5854 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5855 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5857 * text.C (anchor_row): make it take a RowList::iterator as arg,
5859 (computeBidiTables): make it take a const reference to Row instead
5860 of Row pointer, adjust.
5861 (leftMargin): make it take a RowList::iterator as arg, adjust.
5862 (rowBreakPoint): adjust
5863 (breakAgainOneRow): make it take a RowList::iterator as arg,
5865 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5867 * bufferview_funcs.C (toggleAndShow): adjust
5869 2003-03-30 John Levon <levon@movementarian.org>
5873 * boost-inst.C: moved to support
5875 * several files: changes as a result
5877 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * text2.C (LyXText): adjust.
5881 (removeRow): make it take a RowList::iterator as arg, adjust.
5882 (fullRebreak): adjust
5883 (deleteEmptyParagraphMechanism): adjust
5884 (clearPaint): adjust
5887 * text.C (top_y): adjust
5888 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5889 (breakAgain): make it take a RowList::iterator as arg, adjust.
5890 (breakParagraph): adjust
5891 (insertChar): adjust
5894 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5895 need_break_row, and refresh_row.
5897 * text3.C (dispatch): adjust
5899 * text2.C (checkParagraph): adjust
5901 (setCursorFromCoordinates): adjust
5903 * text.C (top_y): adjust
5905 (getRow): make it return a RowList::iterator, adjust
5906 (getRowNearY): make it return a RowList::iterator, adjust
5908 * text2.C (init): adjust
5909 (insertRow): remove function
5910 (insertParagraph): adjust
5911 (redoParagraphs): adjust
5912 (fullRebreak): adjust
5913 (updateCounters): adjust
5915 * text.C (top_y): rewrite to use RowList iterators.
5917 (setHeightOfRow): rewrite to sue RowList iterators.
5918 (appendParagraph): adjust
5919 (breakAgain): adjust
5920 (breakAgainOneRow): adjust
5921 (breakParagraph): adjust
5923 (getRowNearY): adjust, and remove commented code.
5925 * lyxtext.h (firstRow): delete function
5926 (lastRow): delete function
5927 (rows): new function (const and non-const versions.)
5928 (insertRow): delete function
5930 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5932 2003-03-29 John Levon <levon@movementarian.org>
5934 * BufferView_pimpl.C: always update scrollbar top
5935 because pasting text when we're anchored could mean we
5936 miss an update altogether
5938 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5940 * text2.C (init): use rowlist_.end() and not 0.
5941 (insertRow): change to take a RowList::iterator as arg, adjust
5943 (insertParagraph): change to take a RowList::iterator as arg,
5945 (redoParagraphs): remove some debug msgs.
5947 * text.C (appendParagraph): change to take a RowList::iterator
5948 arg, adjust for this.
5949 (breakAgain): add an assert
5950 (breakAgainOneRow): ditto
5952 2003-03-29 John Levon <levon@movementarian.org>
5954 * text2.C: do not clear selection after inc/decDepth
5957 2003-03-29 John Levon <levon@movementarian.org>
5960 * buffer.C: fix broken strerrors according to Lars
5962 2003-03-29 John Levon <levon@movementarian.org>
5964 * converters.C: more Alert cleanups
5966 2003-03-29 John Levon <levon@movementarian.org>
5968 * bufferview_funcs.C: remove pointless Alert
5970 * buffer.C: fix confusing error message when
5971 a template is chmoded 000
5973 2003-03-29 John Levon <levon@movementarian.org>
5977 * BufferView_pimpl.C: Alert fixes
5981 * tabular-old.C: remove unused table compat reading
5983 2003-03-29 John Levon <levon@movementarian.org>
5988 * lyx_cb.C: more Alert cleanups
5990 * lyxfunc.C: don't allow chktex if not latex document
5992 2003-03-29 John Levon <levon@movementarian.org>
5996 * buffer.C: warnings pushed down from support/,
5999 2003-03-29 John Levon <levon@movementarian.org>
6001 * lyxfunc.C: safety check for C-r (revert)
6003 2003-03-29 John Levon <levon@movementarian.org>
6006 * bufferlist.C: several UI fixes using Alert::prompt.
6007 Fix the pointless looping quit code. Fix stupid revert
6012 * lyx_cb.C: use Alert::prompt
6014 * lyx_main.C: remove a silly question
6016 * lyxfunc.C: remove a couple of silly questions,
6019 2003-03-28 John Levon <levon@movementarian.org>
6021 * text2.C: fix bug 974 (End on empty par)
6023 2003-03-28 John Levon <levon@movementarian.org>
6025 * BufferView_pimpl.C:
6027 * lfuns.h: remove do-nothing math greek lfuns
6029 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6031 * lyxgluelength.h (isValidGlueLength): add default arg on
6032 parameter 2. Remove default arg from friend in class.
6034 * lyxlength.h (isValidLength): add default arg on parameter 2.
6035 Remove default arg from friend in class.
6037 * text2.C (LyXText): adjust, initialize refresh_row.
6041 (insertParagraph): adjst
6042 (redoParagraphs): adjust
6043 (fullRebreak): adjust
6044 (updateCounters): adjust
6045 (deleteEmptyParagraphMechanism): first attempt at fixing a
6048 * text.C (top_y): adjust
6049 (setHeightOfRow): adjust
6051 (getRowNearY): adjust
6053 * lyxtext.h: include RowList.h
6054 (~LyXText): not needed anymore, deleted.
6055 (firstRow): modify for RowList
6056 (lastRow): new function
6057 Delete firstrow and lastrow class variables, add a Rowlist
6058 rowlist_ class variable.
6060 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6063 * RowList.C (insert): fix case where it == begin().
6065 2003-03-26 Angus Leeming <leeming@lyx.org>
6067 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6068 the thesaurus dialog.
6070 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6074 * RowList.[Ch]: new files
6076 * ParagraphList.C (erase): handle the case where it == begin
6079 2003-03-25 John Levon <levon@movementarian.org>
6083 * aspell.C: add new aspell support
6086 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6089 2003-03-25 Angus Leeming <leeming@lyx.org>
6092 * LyXAction.C (init): new LFUN_INSET_INSERT.
6094 * BufferView_pimpl.C (dispatch): split out part of the
6095 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6097 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6100 2003-03-25 Angus Leeming <leeming@lyx.org>
6102 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6104 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6107 * text3.C: remove useless row->height(0)
6109 2003-03-25 John Levon <levon@movementarian.org>
6113 * text3.C: rename the refreshing stuff to better names
6115 2003-03-24 John Levon <levon@movementarian.org>
6117 * BufferView_pimpl.h:
6118 * BufferView_pimpl.C: update layout choice on a mouse
6121 2003-03-23 John Levon <levon@movementarian.org>
6123 * Makefile.am: fix commandtags.h reference
6125 2003-03-22 John Levon <levon@movementarian.org>
6127 * BufferView_pimpl.C:
6132 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6134 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6137 * text.C: take the rtl methods out of line
6139 2003-03-21 André Pönitz <poenitz@gmx.net>
6141 * metricsinfo.[Ch]: new files containing structures to be passed around
6142 during the two-phase-drawing...
6144 2003-03-21 André Pönitz <poenitz@gmx.net>
6146 * lyxtextclass.C: read 'environment' tag.
6148 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6150 * text2.C (removeRow): fix bug 964
6152 2003-03-20 John Levon <levon@movementarian.org>
6156 * text2.C: paint cleanups. Inset::update() dropped font
6159 2003-03-19 John Levon <levon@movementarian.org>
6161 * lyxfunc.C: only fitcursor/markDirty if available()
6163 2003-03-19 John Levon <levon@movementarian.org>
6165 * commandtags.h: rename to ...
6167 * lfuns.h: ... this, and renumber / cleanup
6169 2003-03-19 John Levon <levon@movementarian.org>
6171 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6172 fit the cursor after an lfun
6176 * BufferView_pimpl.h:
6177 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6179 * LyXAction.C: layout-character should have ReadOnly
6181 * ParagraphParameters.C:
6183 * bufferview_funcs.C:
6190 * undo_funcs.C: changes from above
6192 2003-03-18 John Levon <levon@movementarian.org>
6194 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6195 remove it from update()
6197 * lyxfunc.C: update layout choice after an lfun
6199 * text3.C: remove extra updateLayoutChoice()s
6201 2003-03-18 John Levon <levon@movementarian.org>
6203 * text.C: top_y change means full repaint, fix
6204 a drawing bug with cursor movement
6206 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6210 * text2.C: anchor row on setCursor
6212 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6214 * lyxtext.h: remove almost all mutable keywords
6217 * text3.C: remove const keywords accordingly
6219 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6223 (TeXEnvironment): ditto
6226 2003-03-17 John Levon <levon@movementarian.org>
6228 * text.C (rowBreakPoint): remove attempt to fix displayed
6229 math insets inside a manual label
6231 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * lyxtext.h: remove BufferView* as first arg from almost all class
6235 * other files: adjust.
6237 2003-03-17 John Levon <levon@movementarian.org>
6241 * text2.C: more paint cleanups
6243 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6246 * rowpainter.C: remove "smart" background painting code
6248 2003-03-16 John Levon <levon@movementarian.org>
6253 * text3.C: add helper functions for setting refresh_row/y
6255 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6257 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6258 newline inset which *can* get inserted in the pass_thru layouts.
6259 This is primarily for literate documents.
6261 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6263 * buffer.C: increment LYX_FORMAT to 223
6265 2003-03-14 André Pönitz <poenitz@gmx.net>
6267 * textclass.h: prepare for environment handling, ws changes
6268 * lyxlayout.C: read latexheader and latexfooter tags
6270 2003-03-14 John Levon <levon@movementarian.org>
6272 * text2.C: rewrite ::status() a bit
6274 2003-03-13 John Levon <levon@movementarian.org>
6276 * lyxtext.h: add some docs
6278 2003-03-13 John Levon <levon@movementarian.org>
6283 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6285 2003-03-13 John Levon <levon@movementarian.org>
6287 * text3.C: fix appendix redrawing
6289 2003-03-13 John Levon <levon@movementarian.org>
6291 * text.C (setHeightOfRow):
6293 * rowpainter.C: make appendix mark have the text
6294 "Appendix" so the user knows what it is
6297 * LColor.C: s/appendixline/appendix/ from above
6299 2003-03-13 John Levon <levon@movementarian.org>
6301 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6303 * text.C: fix a getChar(pos) bug properly
6305 2003-03-13 Angus Leeming <leeming@lyx.org>
6308 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6309 Probably only temporary. Let's see how things pan out.
6311 * BufferView.C (unlockInset):
6312 * BufferView_pimpl.C (fitCursor):
6313 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6315 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6316 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6318 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6319 new functions that convert ParagraphParameters to and from a string.
6321 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6322 BufferView::Pimpl's dispatch.
6323 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6325 2003-03-13 André Pönitz <poenitz@gmx.net>
6329 * factory.C: make it aware of InsetEnv
6331 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * text2.C (setCursor): never ask for one past last
6334 (setCursor): add some debugging messages.
6336 * text.C (singleWidth): never ask for one past last
6337 (singleWidth): ditto
6339 (rightMargin): ditto
6340 (rowBreakPoint): ditto
6341 (setHeightOfRow): ditto
6342 (prepareToPrint): ditto
6344 * rowpainter.C (paintBackground): never ask for one past last
6345 (paintText): never ask for one past last
6347 * paragraph_pimpl.C (getChar): make the assert stricter, never
6348 allow the one past last pos to be taken
6350 * paragraph.C (getChar): ws changes only
6352 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6353 (numberOfSeparators): ditto
6354 (numberOfHfills): ditto
6356 2003-03-12 John Levon <levon@movementarian.org>
6362 * paragraph_funcs.C: fix per-buffer authorlists
6364 2003-03-12 John Levon <levon@movementarian.org>
6366 * text.C: fix newline in right address
6368 2003-03-12 Angus Leeming <leeming@lyx.org>
6370 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6371 duplicate those in LyXFunc::dispatch.
6375 * ToolbarDefaults.C:
6376 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6377 Add LFUN_FONTFREE_UPDATE.
6379 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6380 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6382 * bufferview_func.[Ch]: several new functions to facilliate
6383 transfer of data to and from the character dialog.
6385 2003-03-12 John Levon <levon@movementarian.org>
6390 * paragraph_funcs.C:
6391 * paragraph_pimpl.C:
6395 * text3.C: remove META_NEWLINE in favour of an inset
6398 * rowpainter.C: remove paintNewline (done by inset)
6400 2003-03-12 John Levon <levon@movementarian.org>
6402 * paragraph_pimpl.C: complain about bad getChar()s
6403 for a while at least
6405 2003-03-12 John Levon <levon@movementarian.org>
6408 * buffer.C: move paragraph read into a separate function,
6409 a little renaming to reflect that.
6412 * bufferparams.C: remove the author_ids map, not necessary now
6415 * factory.C: moved Buffer::readInset to here
6417 * paragraph_funcs.h:
6418 * paragraph_funcs.C: readParagraph free function moved from
6421 * tabular.C: name change
6423 2003-03-12 John Levon <levon@movementarian.org>
6426 * ParagraphParameters.C: move par params input to
6429 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6430 behave like a normal read from the stream wrt reading
6431 a line vs. a \\token
6433 2003-03-12 John Levon <levon@movementarian.org>
6436 * ParagraphParameters.h:
6437 * ParagraphParameters.C: move output code to a
6440 2003-03-12 John Levon <levon@movementarian.org>
6442 * BufferView.C (insertLyXFile):
6445 * tabular.C: use a parlist iterator for creating the
6448 2003-03-12 John Levon <levon@movementarian.org>
6450 * buffer.C: make current_change static local not
6453 2003-03-12 John Levon <levon@movementarian.org>
6455 * buffer.C: fix insertStringAsLines for change tracking
6457 2003-03-12 John Levon <levon@movementarian.org>
6464 * bufferparams.C: move author list into params. Rename some
6465 functions. Move the header reading into a separate token
6466 loop. Move the header token reading into BufferParams.
6468 2003-03-12 John Levon <levon@movementarian.org>
6470 * changes.C: put debug inside lyxerr.debugging() checks
6472 2003-03-11 André Pönitz <poenitz@gmx.net>
6474 * factory.C: make it aware of InsetHFill
6476 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6478 * buffer.C (latexParagraphs): move function from here...
6479 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6482 2003-03-10 Angus Leeming <leeming@lyx.org>
6484 * LyXAction.C (init): fix bug in poplating array with multiple entries
6485 with the same LFUN (spotted by JMarc).
6487 2003-03-10 John Levon <levon@movementarian.org>
6490 * text2.C: move getColumnNearX() near its
6493 2003-03-10 John Levon <levon@movementarian.org>
6495 * text.C: fix break before a minipage
6497 2003-03-10 John Levon <levon@movementarian.org>
6499 * text.C: fix the last commit
6501 2003-03-09 John Levon <levon@movementarian.org>
6505 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6506 bug 365 (don't break before insets unless needed). Don't
6507 return a value > last under any circumstances.
6509 2003-03-09 Angus Leeming <leeming@lyx.org>
6511 * BufferView_pimpl.C (trackChanges, dispatch): call
6512 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6514 2003-03-09 Angus Leeming <leeming@lyx.org>
6516 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6517 than Dialogs::showAboutlyx().
6519 2003-03-09 Angus Leeming <leeming@lyx.org>
6521 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6522 than Dialogs::showTabularCreate().
6524 2003-03-09 John Levon <levon@movementarian.org>
6528 * text2.C: 3rd arg to nextBreakPoint was always the same.
6531 2003-03-08 John Levon <levon@movementarian.org>
6538 * text2.C: Remove the "main" bit from the "main body"
6541 2003-03-08 John Levon <levon@movementarian.org>
6543 * text.C (leftMargin): The left margin of an empty
6544 manual label paragraph should not include the label width
6547 * text.C (prepareToPrint): don't attempt to measure hfills
6548 for empty manual label paragraphs - the answer should be 0
6550 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6552 * CutAndPaste.C: remove commented code and reindent.
6554 2003-03-08 John Levon <levon@movementarian.org>
6557 * lyxfunc.C: move reloadBuffer()
6560 * BufferView.C: to here
6562 * lyxvc.C: add comment
6565 * vc-backend.C: call bv->reload() to avoid
6566 getStatus() check on MENURELOAD
6568 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6570 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6571 to an old format .dep file.
6573 2003-03-07 Angus Leeming <leeming@lyx.org>
6575 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6576 when the LFUN_MOUSE_RELEASE should have been handled by
6577 inset->localDispatch.
6579 2003-03-07 Angus Leeming <leeming@lyx.org>
6581 * BufferView_pimpl.C (dispatch):
6582 * LyXAction.C (init):
6583 * ToolbarDefaults.C (init):
6585 * lyxfunc.C (getStatus):
6586 remove LFUN_INSET_GRAPHICS.
6588 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6590 2003-03-07 Angus Leeming <leeming@lyx.org>
6593 * LyXAction.C (init):
6594 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6596 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6599 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6601 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6602 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6604 2003-03-07 Angus Leeming <leeming@lyx.org>
6606 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6609 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6611 * ParagraphList.C (front): new function
6614 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6616 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6617 and top_row_offset_. removed var first_y.
6619 * text2.C (LyXText, removeRow):
6621 * BufferView_pimpl.C:
6622 use these methods instead of using first_y
6624 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * text2.C (pasteSelection): adjust for checkPastePossible
6628 * CutAndPaste.C: remove Paragraph * buf and replace with
6629 ParagraphList paragraphs.
6630 (DeleteBuffer): delete
6631 (cutSelection): change the tc type to textclass_type
6632 (copySelection): change the tc type to textclass_type
6633 (copySelection): adjust for ParagraphList
6634 (pasteSelection): change the tc type to textclass_type
6635 (pasteSelection): adjust for Paragraphlist
6636 (nrOfParagraphs): simplify for ParagraphList
6637 (checkPastePossible): simplify for ParagraphList
6638 (checkPastePossible): remove unused arg
6640 * ParagraphList.C (insert): handle the case where there are no
6643 * CutAndPaste.h: make CutAndPaste a namespace.
6645 * text3.C (dispatch): adjust
6647 * text.C (breakParagraph): add a ParagraphList as arg
6649 * paragraph_funcs.C (breakParagraph): change to take a
6650 BufferParams and a ParagraphList as args.
6651 (breakParagraphConservative): ditto
6652 (mergeParagraph): ditto
6653 (TeXDeeper): add a ParagraphList arg
6654 (TeXEnvironment): ditto
6657 * buffer.C (readLyXformat2): adjust
6658 (insertStringAsLines): adjust
6659 (latexParagraphs): adjust
6661 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6662 (cutSelection): adjust
6663 (pasteSelection): adjust
6665 * BufferView_pimpl.C (insertInset): adjust
6667 2003-03-05 Angus Leeming <leeming@lyx.org>
6670 * LyXAction.C (init):
6671 * BufferView_pimpl.C (dispatch):
6672 * lyxfunc.C (getStatus):
6673 remove LFUN_CHILD_INSERT.
6675 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6677 2003-03-05 Angus Leeming <leeming@lyx.org>
6680 * LyXAction.C (init):
6681 * src/factory.C (createInset):
6682 * lyxfunc.C (getStatus):
6683 * text3.C (dispatch):
6684 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6686 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6688 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * ParagraphList.C (insert): handle insert right before end()
6691 (erase): fix cases where it can be first or last paragraph.
6693 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6696 Paragraph::next and Paragraph::previous
6699 * text.C (breakParagraph): adjust
6701 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6702 BufferParams& as arg.
6703 (breakParagraph): use ParagraphList::insert
6704 (breakParagraphConservative): take a Buffer* instead of a
6705 BufferParams& as arg.
6706 (breakParagraphConservative): use ParagraphList::insert.
6708 * buffer.C (insertStringAsLines): un-const it
6709 (insertStringAsLines): adjust
6711 * ParagraphList.C (insert): new function
6713 * CutAndPaste.C (pasteSelection): adjust
6715 * text.C (backspace): adjust
6717 * tabular.C (SetMultiColumn): adjust
6719 * CutAndPaste.C (cutSelection): adjust
6720 (pasteSelection): adjust
6722 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6723 Buffer const * as arg
6725 * ParagraphList.C (erase): new function
6726 * paragraph_funcs.C (mergeParagraph): use it
6727 (mergeParagraph): make it take a Buffer* instead of a
6728 BufferParams* as arg
6730 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6732 (breakParagraphConservative): ditto
6734 * paragraph.h: remove the breakParagraph friend
6736 * paragraph.C (eraseIntern): new function
6737 (setChange): new function
6739 * paragraph_funcs.C (mergeParagraph): make it take a
6740 ParagraphList::iterator instead of a Paragraph *, adjust
6743 * paragraph.h: move an #endif so that the change tracking stuff
6744 also works in the NO_NEXT case.
6746 2003-03-04 Angus Leeming <leeming@lyx.org>
6749 * LyXAction.C: new LFUN_INSET_MODIFY.
6751 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6752 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6754 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * several files: ws changes only
6758 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6759 (TeXEnvironment): ditto
6762 * buffer.C (makeLaTeXFile): adjust
6763 (latexParagraphs): make it take ParagraphList::iterator as args
6765 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * buffer.C (latexParagraphs): adjust
6769 * paragraph.C (TeXOnePar): move function...
6770 (optArgInset): move function...
6771 (TeXEnvironment): move function...
6772 * paragraph_pimpl.C (TeXDeeper): move function...
6773 * paragraph_funcs.C: ...here
6775 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6777 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * buffer.C (readInset): remove compability code for old Figure and
6782 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * buffer.C: ws changes
6787 * BufferView_pimpl.C: ditto
6790 * bufferlist.h: ditto
6794 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6796 * converter.[Ch]: split into itself +
6799 * Makefile.am: += graph.[Ch] + format.[Ch]
6806 * lyxrc.C: added #include "format.h"
6808 2003-02-27 Angus Leeming <leeming@lyx.org>
6810 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6813 * factory.C (createInset): add "label" to the factory.
6815 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6816 string and do no more.
6818 2003-02-27 Angus Leeming <leeming@lyx.org>
6821 * LyXAction.C (init):
6822 * factory.C (createInset):
6823 * BufferView_pimpl.C (dispatch):
6824 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6826 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6828 * lyxfunc.C (dispatch):
6829 * text3.C (dispatch): pass name to params2string.
6831 2003-02-26 Angus Leeming <leeming@lyx.org>
6833 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6835 Rearrange the ~includes. Strip out the unnecessary ones.
6837 * factory.C (createInset): reformat.
6838 create new insets for the various LFUN_XYZ_APPLY lfuns.
6840 2003-02-26 John Levon <levon@movementarian.org>
6843 * lyxrow.C: add isParStart,isParEnd helpers
6845 * paragraph.h: make isInserted/DeletedText take refs
6847 * paragraph_funcs.h:
6848 * paragraph_funcs.C: remove #if 0'd code
6853 * text.C: use lyxrow helpers above.
6854 Move draw and paint routines to RowPainter.
6855 Make several methods use refs not pointers.
6856 Make backgroundColor() const.
6857 Add markChangeInDraw(), isInInset().
6858 Merge changeRegionCase into changeCase.
6859 Make workWidth() shouldn't-happen code into an Assert.
6862 * rowpainter.C: new class for painting a row.
6865 * vspace.C: make inPixels take a ref
6867 2003-02-26 Angus Leeming <leeming@lyx.org>
6869 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6872 2003-02-25 John Levon <levon@movementarian.org>
6874 * ispell.C: give the forked command a more accurate name
6876 2003-02-22 John Levon <levon@movementarian.org>
6879 * toc.C: make TocItem store an id not a Paragraph *
6882 2003-02-21 Angus Leeming <leeming@lyx.org>
6884 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6885 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6886 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6887 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6888 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6889 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6891 * BufferView_pimpl.C (dispatch):
6892 * LyXAction.C (init):
6893 * factory.C (createInset):
6894 * lyxfunc.C (getStatus, dispatch):
6895 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6897 2003-02-21 Angus Leeming <leeming@lyx.org>
6899 * BufferView_pimpl.C (MenuInsertLyXFile):
6900 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6901 * lyxfunc.C (menuNew, open, doImport):
6902 no longer pass a LyXView & to fileDlg.
6904 2003-02-21 Angus Leeming <leeming@lyx.org>
6906 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6907 * LyXAction.C: change, BIBKEY to BIBITEM.
6908 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6909 Change InsetBibKey to InsetBibitem.
6910 Change BIBKEY_CODE to BIBITEM_CODE.
6911 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6912 * factory.C: replace insetbib.h with insetbibitem.h.
6913 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6914 * paragraph.C: replace insetbib.h with insetbibitem.h.
6915 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6916 Change bibkey() to bibitem().
6917 * text.C: remove insetbib.h.
6918 * text2.C: replace insetbib.h with insetbibitem.h.
6919 change bibkey() to bibitem().
6920 * text3.C: remove insetbib.h.
6921 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6923 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6925 * lyxrc.C (output): enclose user email in quotes (in case there are
6928 2003-02-18 John Levon <levon@movementarian.org>
6930 * buffer.h: add std::
6932 2003-02-17 John Levon <levon@movementarian.org>
6938 * pspell.C: reworking. Especially in ispell, a large
6939 number of clean ups and bug fixes.
6941 * lyxfunc.C: fix revert to behave sensibly
6943 2003-02-17 André Pönitz <poenitz@gmx.net>
6946 * commandtags.h: new LFUN_INSERT_BIBKEY
6956 * paragraph_func.C: remove special bibkey handling
6958 2003-02-17 John Levon <levon@movementarian.org>
6960 * text.C (Delete): fix case where delete at the end of
6961 the very first paragraph would not merge the pars
6963 2003-02-17 John Levon <levon@movementarian.org>
6965 * lyxrow.C: fix lastPrintablePos()
6967 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6969 * bufferparams.C (writeLaTeX): add a std:here
6971 * buffer.C: and remove a using directive there
6973 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6975 * buffer.C (makeLaTeXFile): move the code that generates the
6978 * bufferparams.C (writeLaTeX): ... in this new method
6980 * LaTeXFeatures.C (getEncodingSet): make const
6981 (getLanguages): make const
6983 * MenuBackend.C (binding): returns the binding associated to this
6985 (add): sets the status of each item by calling getStatus. Adds
6987 (read): add support for OptSubMenu
6988 (expand): remove extra separator at the end of expanded menu
6990 2003-02-15 John Levon <levon@movementarian.org>
6993 * BufferView_pimpl.C:
6995 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6996 inset code that had no actual effect. Remove unneeded status
6999 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7001 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7004 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7006 * text.C (drawLengthMarker): also draw an arrow marker for
7007 symbolic lengths (medskip...)
7009 2003-02-14 John Levon <levon@movementarian.org>
7012 * tabular.C: better method names
7014 2003-02-14 John Levon <levon@movementarian.org>
7016 * BufferView_pimpl.C:
7021 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7022 it's a more accurate name. Remove some pointless uses.
7024 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * text2.C (LyXText): change order of initilizers to shut off
7029 2003-02-14 John Levon <levon@movementarian.org>
7031 * buffer.C: use ParIterator for getParFromID()
7035 * paragraph_pimpl.h:
7036 * paragraph_pimpl.C: remove unused getParFromID()
7038 2003-02-14 John Levon <levon@movementarian.org>
7040 * buffer.C: remove some very old #if 0'd parse code
7042 2003-02-13 John Levon <levon@movementarian.org>
7046 * text2.C: move hfillExpansion(), numberOfSeparators(),
7047 rowLast(), rowLastPrintable(), numberofHfills(),
7048 numberOfLabelHfills() ...
7051 * lyxrow.C: ... to member functions here.
7056 * text.C: remove LyXText::beginningOfMainBody(), and call
7057 p->beginningOfMainBody() directly. Move the check for
7058 LABEL_MANUAL into the latter.
7065 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7071 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7072 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7074 2003-02-13 John Levon <levon@movementarian.org>
7076 * CutAndPaste.C: remove debug
7078 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7080 * paragraph.C (asString): remove two unused variables
7082 * lyxtextclass.C (readTitleType):
7084 (LyXTextClass): handle new members titletype_ and titlename_
7086 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7088 2003-02-09 John Levon <levon@movementarian.org>
7091 * buffer.C: replace hand-coded list with a map for the dep clean
7093 2003-02-08 John Levon <levon@movementarian.org>
7095 * LaTeX.C: consolidate code into showRunMessage() helper
7097 2003-02-08 John Levon <levon@movementarian.org>
7102 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7103 and pass the size in explicitly
7105 * BufferView_pimpl.h:
7106 * BufferView_pimpl.C:
7108 * BufferView.C: add getCurrentChange()
7110 * BufferView_pimpl.h:
7111 * BufferView_pimpl.C: handle change lfuns
7113 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7114 for changes. Mark pasted paragraphs as new.
7116 * support/lyxtime.h:
7117 * support/lyxtime.C:
7118 * DepTable.C: abstract time_t as lyx::time_type
7121 * LColor.C: add colours for new text, deleted text, changebars
7123 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7124 package use "usenames" option.
7128 * LyXAction.C: add change lfuns
7132 * author.C: author handling
7135 * buffer.C: add a per-buffer author list, with first entry as
7136 current author. Handle new .lyx tokens for change tracking. Output
7137 author list to .lyx file. Output dvipost stuff to .tex preamble.
7138 Bump lyx format to 222.
7141 * bufferlist.C: add setCurrentAuthor() to reset current author details
7145 * bufferparams.C: add param for tracking
7147 * bufferview_funcs.C: output change info in minibuffer
7151 * changes.C: add change-tracking structure
7154 * debug.C: add CHANGES debug flag
7157 * lyxfind.C: add code for finding the next change piece
7160 * lyxrc.C: add user_name and user_email
7163 * lyxrow.C: add a metric for the top of the text line
7166 * text.C: implement accept/rejectChange()
7169 * text.C: paint changebars. Paint new/deleted text in the chosen
7170 colours. Strike through deleted text.
7174 * paragraph_pimpl.h:
7175 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7176 in the current change to the insert functions. Rework erase to
7177 mark text as deleted, adding an eraseIntern() and a range-based
7178 erase(). Implement per-paragraph change lookup and
7181 * paragraph_funcs.C: Fixup paste for change tracking.
7183 * tabular.C: mark added row/columns as new.
7185 * text.C: fix rowLast() to never return -1. Don't allow
7186 spellchecking of deleted text. Track transpose changes. Don't
7187 allow paragraph break or merge where appropriate.
7189 * text2.C: leave cursor at end of selection after a cut.
7191 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7193 * text.C (getLengthMarkerHeight):
7194 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7195 visible on screen too.
7197 2003-02-07 John Levon <levon@movementarian.org>
7199 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7201 2003-02-05 Angus Leeming <leeming@lyx.org>
7203 * lyxserver.C (read_ready): revert my patch of 11 September last year
7204 as it sends PC cpu through the roof. Presumably this means that
7205 the lyxserver will no longer run on an Alpha...
7207 2003-01-30 Angus Leeming <leeming@lyx.org>
7209 * factory.C (createInset): create an InsetCommandParam of type "index"
7210 and use it to 'do the right thing'.
7212 * text2.C (getStringToIndex): ensure that cursor position is always
7213 reset to the reset_cursor position.
7215 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7220 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7224 * lyxfunc.C: Output messages with identical spelling, punctuation,
7227 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7229 * MenuBackend.C (expandFormats): List only viewable export formats
7232 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7235 * lyxfunc.C (getStatus): Make sure that formats other than
7236 "fax" can also be disabled
7238 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7240 * text3.C (dispatch): put the lfuns that insert insets in 3
7241 groups, and call doInsertInset with appropriate arguments.
7242 (doInsertInset): new function, that creates an inset and inserts
7243 it according to some boolean parameters.
7245 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * buffer.C (readFile): remember to pass on 'par' when calling
7248 readFile recursively.
7250 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7252 * MenuBackend.C (expandFormats): add "..." to import formats.
7254 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7256 * paragraph.C (asString): Remove XForms RTL hacks.
7258 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7259 * buffer.C: fix typo
7261 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * Makefile.am (LIBS): delete var
7264 (lyx_LDADD): add @LIBS@ here instead.
7266 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7268 * Clarify the meaning of "wheel mouse jump"
7270 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7272 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7275 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7277 * importer.C (Loaders): do not preallocate 3 elements in the
7278 vector, since one ends up with 6 elements otherwise
7280 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7282 * DepTable.C (write): write the file name as last element of the
7283 .dep file (because it may contain spaces)
7284 (read): read info in the right order
7286 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7288 * paragraph_pimpl.C (simpleTeXBlanks):
7289 (simpleTeXSpecialChars):
7290 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7292 * tabular.C (latex): add some missing case statements. Reindent.
7294 * MenuBackend.C (expandToc): remove unused variable.
7296 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7305 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7308 2003-01-05 John Levon <levon@movementarian.org>
7311 * BufferView.C: add getEncoding()
7314 * kbsequence.C: do not store last keypress
7317 * lyxfunc.C: store last keypress here instead. Pass encoding
7320 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * lyx_main.C (init): remove annoying error message when following
7323 symbolic links (bug #780)
7325 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * text.C (insertChar):
7328 * lyxrc.C (getDescription): remove extra spaces
7330 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * lyxrc.C (getDescription): remove extra spaces
7334 2002-12-20 John Levon <levon@movementarian.org>
7336 * text3.C: hack fix for page up/down across tall rows
7338 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7340 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7343 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7345 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7346 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7347 thesaurus is not compiled in
7349 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7351 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7353 2002-12-16 Angus Leeming <leeming@lyx.org>
7356 * lyx_main.C (init): remove override_x_deadkeys stuff.
7358 2002-12-12 John Levon <levon@movementarian.org>
7360 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7361 insert. Only remove shift modifier under strict
7364 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * MenuBackend.C (expandToc): fix crash.
7368 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * MenuBackend.C (expandToc): gettext on float names.
7372 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7374 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7375 implement bool empty() [bug 490]
7377 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7381 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * several files: ws changes
7385 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * text2.C (setCounter): clean up a bit, use boost.format.
7388 (updateCounters): initialize par upon declaration.
7390 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7391 if the layout exists. We do not just store the layout any more.
7392 (SwitchLayoutsBetweenClasses): use boost.format
7394 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7396 * converter.C (convert): if from and to files are the same, use a
7397 temporary files as intermediary
7399 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7402 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7404 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7406 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7408 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * tabular.C (asciiPrintCell): use string(size, char) instead of
7413 * sgml.C (openTag): fix order of arguments to string constructor
7416 * lyxfunc.C (dispatch): use boost.format
7418 * lots of files: change "c" -> 'c'
7420 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7422 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7424 2002-11-25 Angus Leeming <leeming@lyx.org>
7426 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7428 * lyx_main.C (init): compile fix.
7430 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7432 * lyx_cb.C (start): boost.formatify
7433 do not include <iostream>
7435 * lengthcommon.C: ws only
7437 * boost-inst.C,BoostFormat.h: add more explict instantations
7439 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * lots of files: handle USE_BOOST_FORMAT
7443 2002-11-21 John Levon <levon@movementarian.org>
7445 * pspell.C: fix compile
7447 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7449 * lyxfunc.C (dispatch): use boost::format
7453 * lyxfont.C (stateText): use boost::format
7455 * lyx_main.C (LyX): use boost::format
7457 (queryUserLyXDir): ditto
7460 (typedef boost::function): use the recommened syntax.
7462 * importer.C (Import): use boost::format
7464 * debug.C (showLevel): use boost::format
7466 * converter.C (view): use boost::format
7471 * bufferview_funcs.C (currentState): use boost::format
7473 * bufferlist.C (emergencyWrite): use boost::format
7475 * buffer.C (readLyXformat2): use boost::format
7476 (parseSingleLyXformat2Token): ditto
7478 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7480 * LaTeX.C (run): use boost::format
7482 * Chktex.C (scanLogFile): use boost::format
7484 * BufferView_pimpl.C (savePosition): use boost::format
7485 (restorePosition): ditto
7486 (MenuInsertLyXFile): ditto
7488 * BoostFormat.h: help file for explicit instation.
7490 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7492 * tabular.C (latex): Support for block alignment in fixed width
7495 2002-11-17 John Levon <levon@movementarian.org>
7497 * BufferView_pimpl.C:
7499 * lyxfunc.C: split filedialog into open/save
7501 2002-11-08 Juergen Vigna <jug@sad.it>
7503 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7504 by my last patch (hopefully).
7506 2002-11-08 John Levon <levon@movementarian.org>
7515 * toc.C: ParConstIterator, and use it (from Lars)
7517 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7519 * lyxtextclass.[Ch]: revise and add doxygen comments
7521 2002-11-07 John Levon <levon@movementarian.org>
7523 * text.C: fix progress value for spellchecker
7525 * toc.C: fix navigate menu for insetwrap inside minipage
7527 * paragraph_funcs.C: added FIXME for suspect code
7529 2002-11-07 John Levon <levon@movementarian.org>
7531 * BufferView_pimpl.C: fix redrawing of insets
7534 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7536 * text2.C (updateCounters): fix bug 668
7538 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7540 * text3.C (dispatch): Do not make the buffer dirty when moving the
7543 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * vc-backend.C: STRCONV
7548 * text2.C (setCounter): STRCONV
7550 * paragraph.C (asString): STRCONV
7552 * lyxlength.C (asString): STRCONV
7553 (asLatexString): ditto
7555 * lyxgluelength.C (asString): STRCONV
7556 (asLatexString): ditto
7558 * lyxfunc.C (dispatch): STRCONV
7561 * lyxfont.C (stateText): STRCONV
7563 * importer.C (Import): STRCONV
7565 * counters.C (labelItem): STRCONV
7566 (numberLabel): ditto
7567 (numberLabel): remove unused ostringstream o
7572 * bufferview_funcs.C (currentState): STRCONV
7574 * buffer.C (readFile): STRCONV
7575 (asciiParagraph): ditto
7576 (makeLaTeXFile): ditto
7578 * Spacing.C (writeEnvirBegin): STRCONV
7580 * LaTeXFeatures.C (getLanguages): STRCONV
7581 (getPackages): ditto
7583 (getBabelOptions): ditto
7584 (getTClassPreamble): ditto
7585 (getLyXSGMLEntities): ditto
7586 (getIncludedFiles): ditto
7590 (scanAuxFile): ditto
7593 * LString.h: add the STRCONV macros
7595 * BufferView_pimpl.C (savePosition): STRCONV
7596 (restorePosition): ditto
7597 (MenuInsertLyXFile): ditto
7599 * vc-backend.C (scanMaster): change from submatch[...] to
7602 * funcrequest.C: include config.h
7604 * factory.C: include config.h
7606 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7608 * box.C: include config.h
7610 * LaTeX.C (scanAuxFile): change from submatch[...] to
7614 2002-10-25 Angus Leeming <leeming@lyx.org>
7616 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7618 * ispell.[Ch] (setError): new method.
7619 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7620 Use setError() insetead of goto END.
7622 * lyx_cb.C (AutoSave): move out child process into new class
7625 2002-10-30 John Levon <levon@movementarian.org>
7627 * text3.C: make start appendix undoable
7629 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7631 * lyxlength.C (inPixels): Fix returned value.
7633 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7636 2002-10-24 Angus Leeming <leeming@lyx.org>
7638 * lyxgluelength.h: no need to forward declare BufferParams
7639 or BufferView, so don't.
7641 2002-10-21 John Levon <levon@movementarian.org>
7643 * BufferView.C: menuUndo ->undo, redo
7645 * BufferView.h: document, remove dead, make some methods private
7647 * paragraph_funcs.h:
7648 * paragraph_funcs.C:
7649 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7654 * sgml.C: move sgml open/close tag into sgml.C
7656 * bufferview_funcs.h: unused prototype
7659 * lyxfunc.C: remove unused
7662 * text.C: remove unused
7664 2002-10-21 John Levon <levon@movementarian.org>
7668 * BufferView_pimpl.h:
7669 * BufferView_pimpl.C: fix mouse wheel handling based on
7670 patch from Darren Freeman
7672 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7674 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7676 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7678 * lyxlength.C (inPixels): Fix hanfling of negative length.
7679 Fix LyXLength::MU case.
7681 2002-10-16 John Levon <levon@movementarian.org>
7683 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7685 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * converter.C (view): add support for $$i (file name) and $$p
7688 (file path) for the viewer command. If $$i is not specified, then
7689 it is appended to the command (for compatibility with old syntax)
7691 2002-10-14 Juergen Vigna <jug@sad.it>
7693 * undo_funcs.C (textHandleUndo): alter the order in which the
7694 new undopar is added to the LyXText, as we have to set first
7695 the right prev/next and then add it as otherwise the rebuild of
7696 LyXText is not correct. Also reset the cursor to the right paragraph,
7697 with this IMO we could remove the hack in "redoParagraphs()".
7699 2002-10-09 Angus Leeming <leeming@lyx.org>
7701 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7702 to turn off an optimisation if a new inset is to be inserted.
7704 2002-10-11 André Pönitz <poenitz@gmx.net>
7706 * lyxtext.h: make some functions public to allow access
7707 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7709 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * text3.C (dispatch): when changing layout, avoid an infinite loop
7714 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7716 * lyxrc.C (read): treat a viewer or converter command of "none" as
7719 * MenuBackend.C (expandFormats): for an update, also allow the
7720 formats that are not viewable
7722 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7723 script if it is newer than the lyxrc.defaults in user directory
7725 2002-10-07 André Pönitz <poenitz@gmx.net>
7727 * text.C: Vitaly Lipatov's small i18n fix
7729 2002-09-25 Angus Leeming <leeming@lyx.org>
7731 * ispell.h: doxygen fix.
7733 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7735 * buffer.h (readFile): Add a new argument to the method, to allow
7736 reading of old-format templates.
7738 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7740 * toc.C (getTocList): Get TOC from InsetWrap.
7742 2002-09-16 John Levon <levon@movementarian.org>
7744 * lyxfunc.C: check tabular for cut/copy too
7746 2002-09-12 John Levon <levon@movementarian.org>
7751 * factory.C: add header
7753 * paragraph_funcs.h:
7754 * paragraph_funcs.C: cleanup
7756 2002-09-11 John Levon <levon@movementarian.org>
7758 * PrinterParams.h: odd/even default to true
7760 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7762 * PrinterParams.h: update printer parameters for new xforms dialog
7764 2002-09-11 Angus Leeming <leeming@lyx.org>
7766 * lyxserver.C (read_ready): re-write to make it more transparent
7767 and to make it work in coherent fashion under Tru64 Unix.
7769 2002-09-11 André Pönitz <poenitz@gmx.net>
7773 * text3.C: implement LFUN_WORDSEL
7775 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7777 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7778 make floatlist_ a boost::shared_ptr<FloatList>
7780 * lyxtextclass.C: include FloatList.h
7781 (LyXTextClass): initialize floatlist_
7782 (TextClassTags): add TC_NOFLOAT
7783 (Read): match "nofloat" to TC_NOFLOAT and use it.
7784 (readFloat): modify call to floatlist_
7788 * FloatList.[Ch] (FloatList): remove commented out float
7790 (erase): new function
7792 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7794 * MenuBackend.C (expandToc): fix crash when there is no document
7797 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7799 * many files: Add insetwrap.
7801 2002-09-09 John Levon <levon@movementarian.org>
7803 * text2.C: remove confusing and awkward depth wraparound
7805 2002-09-09 John Levon <levon@movementarian.org>
7807 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7810 * buffer.C: remove getIncludeonlyList()
7813 * lyxfunc.C: remove headers
7815 2002-09-09 Juergen Vigna <jug@sad.it>
7817 * text.C (getColumnNearX): fix form Michael this is most
7818 probably a cut&paste bug.
7820 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7822 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7824 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7825 references, ws changes.
7827 * text2.C (init): update counters after init
7828 (insertParagraph): no need to set counter on idividual paragraphs.
7829 (setCounter): access the counters object in the textclass object
7830 on in the buffer object.
7831 (updateCounters): ditto
7833 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7834 shared_ptr<Counters> to avoid loading counters.h in all
7836 (LyXTextClass): initialize ctrs_
7837 (TextClassTags): add TC_COUNTER, and ...
7838 (Read): use it here.
7839 (CounterTags): new tags
7840 (readCounter): new function
7841 (counters): new funtion
7842 (defaultLayoutName): return a const reference
7844 * counters.C (Counters): remove contructor
7845 (newCounter): remove a couple of unneeded statements.
7846 (newCounter): simplify a bit.
7847 (numberLabel): some small formatting changes.
7849 * buffer.[Ch]: remove all traces of counters, move the Counters
7850 object to the LyXTextClass.
7852 2002-09-06 Alain Castera <castera@in2p3.fr>
7854 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7855 package to set the horizontal alignment on fixed width columns.
7858 * lyx_sty.h: added tabularnewline macro def.
7860 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7862 2002-09-06 John Levon <levon@movementarian.org>
7864 * LyXAction.C: tooltips for sub/superscript
7866 * MenuBackend.C: a bit more verbose
7868 * lyxfunc.C: tiny clean
7870 * undo_funcs.C: document undo_frozen
7872 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * counters.C (Counters): add missing algorithm counter.
7876 * text2.C (setCounter): lookup the counter with layouts latexname
7877 instead of by section number.
7878 (setCounter): use a hackish way to lookup the correct enum
7880 a float name->type change
7881 reset enum couners with counter name directly instead of depth value.
7883 * counters.C (Counters): remove the push_backs, change to use the
7884 float type not the float name.
7885 (labelItem): remove unused string, float name->type change
7887 * counters.h: don't include vector, loose the enums and sects vectors
7889 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7891 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7892 (Read): add float->TC_FLOAT to textclassTags
7893 (Read): and handle it in the switch
7894 (readFloat): new function
7896 * FloatList.C (FloatList): comment out the hardcoded float
7899 * lyxlayout.h: ws change.
7901 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7903 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7905 2002-09-03 Angus Leeming <leeming@lyx.org>
7907 * BufferView_pimpl.h: qualified name is not allowed in member
7908 declaration: WorkArea & Pimpl::workarea() const;
7910 * factory.C: added using std::endl directive.
7912 * text3.C: added using std::find and std::vector directives.
7914 2002-08-29 André Pönitz <poenitz@gmx.net>
7917 * text2.C: remove unused member number_of_rows
7920 * BufferView2.C: remove file, move contents to...
7921 * BufferView.C: ... here
7923 * BufferView_pimpl.C:
7924 * factory.C: move more inset creation to factory
7926 * vspace.C: avoid direct usage of LyXText, ws changes
7929 don't provide direct access to WorkArea, use two simple
7930 acessors haveSelction() and workHeight() instead
7933 2002-08-29 John Levon <levon@movementarian.org>
7935 * BufferView_pimpl.C (dispatch): do not continue when
7938 2002-08-28 André Pönitz <poenitz@gmx.net>
7940 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7943 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7945 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7947 * buffer.C: increment LYX_FORMAT to 221
7949 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7950 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7952 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7954 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7956 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7958 * factory.C (createInset): use LyXTextClass::floats
7960 * MenuBackend.C (expandFloatListInsert):
7961 (expandFloatInsert):
7964 * text2.C (setCounter):
7966 * LaTeXFeatures.C (useFloat):
7967 (getFloatDefinitions):
7969 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7971 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7972 floatlist_, with accessor floats().
7974 * FloatList.h: remove global FloatList
7976 2002-08-26 André Pönitz <poenitz@gmx.net>
7978 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7982 * BufferView_pimpl.C:
7983 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7985 2002-08-25 John Levon <levon@movementarian.org>
7987 * LyXAction.C: fix margin note description
7989 2002-08-24 John Levon <levon@movementarian.org>
7993 * bufferview_funcs.C:
7995 * undo_funcs.C: cleanups
7997 * lyxfunc.C: disable CUT/COPY when no selection
7999 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8001 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8002 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8004 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8005 Add backward compatibility to "mono", "gray" and "no".
8007 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8009 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8010 (and file_format >= 200).
8012 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8016 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8018 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8020 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8022 * BufferView_pimpl.C:
8029 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8030 inset and code to make it work with the paragraph code. The inset
8031 can be anywhere in the paragraph, but will only do the expected
8032 thing in LaTeX if the layout file contains the parameter line
8034 (or more generally, a nonzero value) for that layout.
8036 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * paragraph.h: remove the declaration of undefined counters class
8041 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8043 * text2.C (setCounter): fixed enumeration mis-count as reported by
8044 Dr. Richard Hawkins.
8046 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * paragraph_funcs.h: remove some unneeded includes
8050 * text.C (backspace): pasteParagraph now in global scipe
8052 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8053 (pasteSelection): ditto
8055 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8056 * paragraph_funcs.C (pasteParagraph): ... here
8058 2002-08-20 André Pönitz <poenitz@gmx.net>
8060 * commandtags.h: new LFUNs for swapping/copying table row/colums
8063 * lyxfunc.C: support for new lfuns
8065 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8068 * buffer.[Ch]: remove NO_COMPABILITY stuff
8070 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * boost.C (throw_exception): new file, with helper function for
8073 boost compiled without exceptions.
8078 * ParameterStruct.h:
8079 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8081 * bufferlist.C (emergencyWriteAll): use boost bind
8083 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8085 * text.C: include paragraph_funcs.h
8086 (breakParagraph): breakParagraph is now in global scope
8088 * paragraph_funcs.[Ch]: new files
8090 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8093 * buffer.C: include paragraph_funcs.h
8094 (insertStringAsLines): breakParagraph is now in global scope
8096 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8099 * CutAndPaste.C: include paragraph_funcs.h
8100 (cutSelection): breakParagraphConservative is now in global scope
8101 (pasteSelection): ditto
8103 * buffer.h: declare oprator== and operator!= for
8104 Buffer::inset_iterator
8106 * bufferlist.C (emergencyWrite): don't use fmt(...)
8108 * text3.C: add using std::endl
8110 * BufferView.C (moveCursorUpdate): remove default arg
8112 2002-08-20 André Pönitz <poenitz@gmx.net>
8114 * buffer.[Ch]: move inline functions to .C
8117 * BufferView_pimpl.C:
8119 * buffer.[Ch]: use improved inset_iterator
8122 * paragraph.[Ch]: write one paragraph at a time
8124 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8126 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8127 style if style is not specified.
8129 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8131 * text2.C (setCounter): when searching for right label for a
8132 caption, make sure to recurse to parent insets (so that a caption
8133 in a minipage in a figure float works) (bug #568)
8135 2002-08-20 André Pönitz <poenitz@gmx.net>
8137 * text3.C: new file for LyXText::dispatch() and helpers
8139 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8141 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8143 2002-08-19 André Pönitz <poenitz@gmx.net>
8146 * text.C: new LyXText::dispatch()
8148 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8150 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8152 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8154 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8157 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * Makefile.am: use $(variables) instead of @substitutions@
8161 2002-08-15 André Pönitz <poenitz@gmx.net>
8164 * BufferView_pimpl.C: streamlining mathed <-> outer world
8168 * LyXAction.C: remove unused LFUN_MATH
8170 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8174 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * paragraph.C (Paragraph): reformat a bit
8177 (cutIntoMinibuffer): use builtin InsetList function instad of
8181 * buffer.C: include boost/bind.hpp, add using std::for_each
8182 (writeFileAscii): use ParagraphList iterators
8183 (validate): use for_each for validate traversal of paragraphs
8184 (getBibkeyList): use ParagraphList iterators
8185 (resizeInsets): use for_each to resizeInsetsLyXText for all
8187 (getParFromID): use ParagraphList iterators
8189 * BufferView2.C (lockInset): use paragraph list and iterators
8191 2002-08-14 John Levon <levon@movementarian.org>
8193 * lyxserver.C: remove spurious xforms include
8195 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8197 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8199 2002-08-13 André Pönitz <poenitz@gmx.net>
8202 * lyxfunc.C: further cleaning
8204 2002-08-13 André Pönitz <poenitz@gmx.net>
8206 * funcrequest.h: new constructor
8208 * funcrequest.C: move stuff here from .h
8211 * BufferView_pimpl.C:
8214 * lyxfunc.C: subsequent changes
8216 * lyxfunc.h: new view() member function
8218 * lyxfunc.C: subsequent changes
8220 2002-08-13 Angus Leeming <leeming@lyx.org>
8223 * BufferView_pimpl.C:
8231 changes due to the changed LyXView interface that now returns references
8232 to member variables not pointers.
8234 2002-08-13 Angus Leeming <leeming@lyx.org>
8236 * WordLangTuple (word, lang_code): return references to strings,
8241 * lyxtext.h: forward-declare WordLangTuple.
8246 * text.C: #include "WordLangTuple.h".
8249 * text.C: (selectNextWordToSpellcheck): constify return type.
8251 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8257 * paragraph_pimpl.h:
8260 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8262 Made updateCounter always count from start of buffer, and removed
8263 second argument (par).
8264 Reverted floats number display to '#'. Perhaps I'll try again when the
8265 code base is sanitized a bit.
8267 2002-08-12 Angus Leeming <leeming@lyx.org>
8269 * buffer.[Ch] (getLabelList): constify.
8271 2002-08-07 André Pönitz <poenitz@gmx.net>
8273 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8275 * funcrequest.h: extension to keep mouse (x,y) position
8277 2002-08-12 Juergen Vigna <jug@sad.it>
8279 * BufferView2.C (insertErrors): forbid undo when inserting error
8282 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8284 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * ParagraphList.[Ch]: new files
8288 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8290 * BufferView2.C (lockInset): ParagraphList changes
8293 * bufferlist.C: ditto
8297 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8299 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8300 unused class variable counter_,
8302 * paragraph.[Ch] (getFirstCounter): delete unused function
8304 * counters.C: include LAssert.h
8305 (reset): add a new function with no arg, change other version to
8306 not have def. arg and to not allow empty arg.
8308 * text2.C (setCounter): remove empty arg from call to Counters::reset
8310 2002-08-11 John Levon <levon@movementarian.org>
8312 * Makefile.am: add WordLangTuple.h
8314 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8317 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8319 * insets/insettext.C: InsetList changes
8321 * graphics/GraphicsSupport.C (operator()): InsetList changes
8323 * toc.C (getTocList): InsetList changes
8325 * paragraph_pimpl.[Ch]: InsetList changes
8327 * paragraph.[Ch]: InsetList changes
8329 * buffer.C (inset_iterator): InsetList changes
8330 (setParagraph): ditto
8331 * buffer.h (inset_iterator): ditto
8332 * iterators.C (operator++): ditto
8333 * iterators.h: ditto
8335 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8337 * InsetList.[Ch]: new files, most InsetList handling moved out of
8340 * BufferView2.C (removeAutoInsets): InsetList changes
8342 (ChangeInsets): ditto
8344 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * paragraph_pimpl.h (empty): new function
8348 * paragraph.[Ch] (empty): new function
8350 * other files: use the new Paragraph::empty function
8352 2002-08-09 John Levon <levon@movementarian.org>
8354 * lyxtext.h: remove unused refresh_height
8356 2002-08-09 John Levon <levon@movementarian.org>
8363 * paragraph.C: move sgml char escaping out of paragraph
8366 * paragraph.C: remove id setter
8370 * paragraph_pimpl.C: remove dead tex_code_break_column
8372 * bufferview_funcs.C: small cleanup
8374 * lyxfunc.C: remove dead proto
8376 * lyxtext.h: make some stuff private. Remove some dead stuff.
8378 * lyxgluelength.C: make as[LyX]String() readable
8380 2002-08-08 John Levon <levon@movementarian.org>
8385 * ToolbarDefaults.C:
8388 * toc.C: lyxaction cleanup
8390 2002-08-08 John Levon <levon@movementarian.org>
8392 * BufferView2.C: small cleanup
8395 * lyxfind.C: move unnecessary header into the .C
8397 2002-08-08 John Levon <levon@movementarian.org>
8399 * funcrequest.h: just tedious nonsense
8402 * lyx_main.C: cleanups
8405 * vspace.C: remove dead header lyx_main.h
8407 2002-08-07 Angus Leeming <leeming@lyx.org>
8410 * paragraph_pimpl.h:
8411 Forward declare class Counters in paragraph.h by moving the ctrs member
8412 variable into Paragraph::Pimpl.
8413 (counters): new method, returning a reference to pimpl_->ctrs.
8415 * text2.C: ensuing changes.
8417 2002-08-07 John Levon <levon@movementarian.org>
8419 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8421 * BufferView_pimpl.C: announce X selection on double/triple
8424 * lyx_main.C: use correct bool in batch dispatch
8426 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8428 2002-08-07 André Pönitz <poenitz@gmx.net>
8430 * funcrequest.h: new class to wrap a kb_action and its argument
8433 * BufferView_pimpl[Ch]:
8437 * lyxrc.C: subsequent changes
8440 2002-08-07 John Levon <levon@movementarian.org>
8442 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8443 document options change.
8445 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8450 * makefile.am: move counters functionality over from
8451 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8453 2002-08-06 John Levon <levon@movementarian.org>
8455 * WordLangTuple.h: new file for word + language code tuple
8466 * BufferView2.C: use WordLangTuple
8469 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8471 2002-08-06 John Levon <levon@movementarian.org>
8473 * lyx_main.C: fix cmdline batch handling
8475 2002-08-06 André Pönitz <poenitz@gmx.net>
8477 * lyxrc.C: set default for show_banner to true
8479 2002-08-06 John Levon <levon@movementarian.org>
8481 * pspell.C: fix a crash, and allow new aspell to work
8483 2002-08-06 John Levon <levon@movementarian.org>
8486 * kbmap.C: small cleanup
8489 * vspace.C: add const
8491 2002-08-05 John Levon <levon@movementarian.org>
8493 * LyXAction.C: back to tabular-insert
8495 2002-08-04 John Levon <levon@movementarian.org>
8498 * BufferView.C: cosmetic change
8500 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8510 * BufferView2.C: purge all "Lyx" not "LyX" strings
8513 * lyxcursor.C: attempt to add some documentation
8518 * ToolbarDefaults.C:
8519 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8520 merge with LFUN_TABULAR_INSERT
8527 * pspell.C: split up i/pspell implementations into separate
8528 files, many cleanups
8530 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8532 * text2.C: some cleanup
8534 * lyxfunc.C: don't check for isp_command == "none" any more, it
8535 didn't make any sense
8537 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8542 * makefile.am: move counters functionality over
8543 from text2.C/paragraph.[Ch] to counters.[Ch], and
8545 2002-08-02 John Levon <levon@movementarian.org>
8547 * buffer.C: s/lyxconvert/lyx2lyx/
8549 2002-08-02 Angus Leeming <leeming@lyx.org>
8551 * lyxlex.C: revert John's change as it breaks reading of the user
8554 2002-08-02 Angus Leeming <leeming@lyx.org>
8556 * importer.C (Import):
8557 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8558 changes due to LyXView::view() now returning a boost::shared_ptr.
8560 2002-08-02 John Levon <levon@movementarian.org>
8562 * lyxlex.C: small cleanup
8564 2002-08-02 John Levon <levon@movementarian.org>
8566 * text2.C (status): small cleanup, no logic change
8568 2002-08-01 John Levon <levon@movementarian.org>
8571 * buffer.C (writeFile): don't output alerts, caller
8575 * lyx_cb.C: from above
8577 * lyxfunc.C: allow to open non-existent files
8579 2002-07-31 John Levon <levon@movementarian.org>
8581 * lyxserver.C: don't let incidental errors get
8584 2002-07-30 John Levon <levon@movementarian.org>
8586 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8588 2002-07-30 John Levon <levon@movementarian.org>
8591 * lyxserver.C: remove I/O callback too
8593 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8598 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8600 * many files: strip,frontStrip -> trim,ltrim,rtrim
8602 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8604 * PrinterParams.h: remove extern containsOnly, and include
8605 support/lstrings.h instead.
8607 * LaTeX.C (scanAuxFile): modify because of strip changes
8609 * buffer.C (makeLaTeXFile): ditto
8610 * bufferparams.C (writeFile): ditt
8611 * lyxfont.C (stateText): ditto
8612 * lyxserver.C (read_ready): ditto
8613 * vc-backend.C (scanMaster): ditto
8615 * BufferView_pimpl.h: ws changes
8617 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8619 2002-07-26 André Pönitz <poenitz@gmx.net>
8621 * kb_sequence.C: remove unnedred usings
8623 2002-07-26 Juergen Vigna <jug@sad.it>
8625 * lyxfind.C (LyXReplace): we have to check better if the returned
8626 text is not of theLockingInset()->getLockingInset().
8628 2002-07-25 Juergen Vigna <jug@sad.it>
8630 * lyxfind.C (LyXReplace): don't replace if we don't get the
8633 * undo_funcs.C (createUndo): remove debugging code.
8635 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8637 * buffer.C (parseSingleLyXformat2Token): Use default placement
8638 when reading old floats.
8640 * FloatList.C (FloatList): Change the default placement of figure
8641 and tables to "tbp".
8643 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8645 * MenuBackend.C: using std::max
8647 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * MenuBackend.C (expandToc):
8650 (expandToc2): code moved from xforms menu frontend. It is now
8651 generic and TOCs are transparent to menu frontends.
8653 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * toc.C (getTocList): protect against buf=0
8657 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8658 Menu as first parameter. Now, this calls itself recursively to
8659 expand a whole tree (this will be useful for TOC handling)
8660 (expandFloatInsert): remove 'wide' version of floats
8662 * MenuBackend.h (submenuname): returns the name of the submenu.
8663 (submenu): returns the submenu itself, provided it has been
8664 created by MenuBackend::expand
8666 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8668 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8669 insets which have noFontChange == true. (bug #172)
8671 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8673 * BufferView_pimpl.C: add connection objects and use them...
8676 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8678 * MenuBackend.C (expandLastfiles):
8681 (expandFloatListInsert):
8682 (expandFloatInsert):
8683 (expand): split expand in parts
8685 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8687 * lyx_gui.C: use lyx_gui::exit()
8689 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8691 * LyXAction.C: show the failing pseudo action
8693 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8695 * buffer.C (readFile): Run the lyxconvert script in order to read
8698 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8702 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8704 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8708 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8710 2002-07-22 Herbert Voss <voss@lyx.org>
8713 * lyxlength.[Ch]: add support for the vertical lengths
8715 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8717 * toc.[Ch]: std:: fixes
8719 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * lyxrc.C: do not include lyx_main.h
8723 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8729 * BufferView2.C: include "lyxlex.h"
8732 * bufferparams.h: do not #include "lyxlex.h"
8734 * lyxtextclasslist.C (Add): remove method
8735 (classlist): renamed to classlist_
8737 * paragraph_pimpl.C:
8741 * bufferview_funcs.C:
8746 * toc.C (getTocList): use BufferParams::getLyXTextClass
8748 * toc.C (getTocList): use InsetFloat::addToToc
8750 * toc.[Ch]: new files, containing helper functions to handle table
8753 * lyxfunc.C (dispatch): no need to remove spaces around command
8755 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8756 first command of the sequence; it is not very clever, but I do not
8757 have a better idea, actually
8759 * LyXAction.C (LookupFunc): make sure to remove space at the
8760 beginning and end of the command
8762 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * MenuBackend.C (getMenubar): new method: return the menubar of
8766 (read): treat differently reading of menu and menubar (in
8767 particular, the menubar has no name now)
8768 (Menu::menubar): remove
8770 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8773 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8775 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8776 a bibitem inset in a RTL paragraph.
8778 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8780 * paragraph_pimpl.C: constify
8782 * BufferView_pimpl.C:
8784 * lyxfunc.C: fix dispatch in a nicer way
8786 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8788 * lyxfunc.C (dispatch):
8789 * BufferView_pimpl.C:
8790 * BufferView_pimpl.h:
8792 * BufferView.h: rename Dispatch() to dispatch()
8794 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8796 * lyxlayout.C (Read): honor DependsOn tag
8798 * lyxlayout.[Ch] (depends_on): new method
8800 * version.C.in: update lyx_docversion
8802 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8804 * paragraph.C (validate): remove from here...
8805 * paragraph_pimpl.C (validate): ... and move here
8806 (isTextAt): make it const
8808 * buffer.C (getLists): ws cleanup
8810 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8812 * language.C (read): Use iso8859-1 encoding in latex_lang
8813 (this prevents LyX from crashing when using iso10646-1 encoding).
8815 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * text2.C (toggleInset): if cursor is inside an inset, close the
8818 inset and leave cursor _after_ it
8820 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8822 * lyxfunc.C: move minibuffer completion handling out of here
8824 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8826 * BufferView_pimpl.C:
8827 * LaTeX.C: fix dispatch calls
8829 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8831 * text.C (drawChars): Fix Arabic text rendering.
8833 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8837 * lyxfunc.C: remove message-push/pop
8841 * lyxfunc.C: rationalise some code by removing verboseDispatch
8842 in favour of a bool argument to dispatch()
8844 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * lyx_main.C (init): make sure to read symlinks as absolute paths
8848 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8851 * lyxfunc.C: no need for commandshortcut to be a member
8853 2002-07-15 André Pönitz <poenitz@gmx.net>
8855 * converter.C: add support for $$s (scripts from lib/scripts dir)
8856 * lyx_main.C: white space
8858 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8862 * lyxrc.C: remove second exit confirmation
8864 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8869 * BufferView_pimpl.h:
8870 * BufferView_pimpl.C:
8871 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8873 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8875 * MenuBackend.C (expand): add numeric shortcuts to document menu
8877 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8879 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * lyxfont.C (setLyXFamily):
8888 * buffer.C (asciiParagraph): use ascii_lowercase
8890 2002-07-15 Mike Fabian <mfabian@suse.de>
8892 * lyxlex_pimpl.C (search_kw):
8893 * lyxlex.C (getLongString):
8894 * converter.h (operator<):
8895 * converter.C (operator<):
8896 * buffer.C (parseSingleLyXformat2Token):
8898 * ToolbarDefaults.C (read):
8899 * MenuBackend.C (checkShortcuts):
8901 * LColor.C (getFromGUIName):
8902 (getFromLyXName): use the compare_ascii_no_case instead of
8903 compare_no_case, because in turkish, 'i' is not the lowercase
8904 version of 'I', and thus turkish locale breaks parsing of tags.
8906 2002-07-16 Angus Leeming <leeming@lyx.org>
8908 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8909 now takes a Buffer const & argument.
8911 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8913 * BufferView.C (resize): check there's a buffer to resize
8915 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8917 * lyxfunc.C: remove dead code
8920 * lyxserver.C: use lyx_guii::set_read_callback
8922 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8924 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8925 an inset in a RTL paragraph.
8927 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8929 * lyxfunc.C: repaint after a font size update
8931 2002-07-15 André Pönitz <poenitz@gmx.net>
8933 * lyxlength.C: inBP should be able to return negative values
8935 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8937 * lyxfunc.C: use lyx_gui::update_fonts()
8939 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8941 * lyxfunc.C: use lyx_gui::update_color()
8943 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8949 * lyxrc.C: remove file->new asks for name option, and let
8950 buffer-new take an argument
8952 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8954 * BufferView_pimpl.C: remove unneeded extra repaint()
8956 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8958 * LyXAction.C: allow command-sequence with NoBuffer
8960 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8962 2002-07-10 Angus Leeming <leeming@lyx.org>
8964 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8966 2002-07-09 Angus Leeming <leeming@lyx.org>
8968 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8970 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8972 * lengthcommon.h: whitespace
8974 * lyxfunc.C: update scrollbar after goto paragraph
8976 * lyxtext.h: factor out page break drawing, and fix it so
8977 page break/added space paints as selected nicely
8979 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C: add FIXMEs, clean up a little
8983 2002-07-09 André Pönitz <poenitz@gmx.net>
8985 * lyxfont.[Ch]: support for wasy symbols
8987 2002-07-08 André Pönitz <poenitz@gmx.net>
8989 * BufferView_pimpl.C: apply John's patch for #93.
8991 2002-07-05 Angus Leeming <leeming@lyx.org>
8993 * BufferView_pimpl.C (buffer): generate previews if desired.
8995 * LColor.h: add "preview" to the color enum.
8997 * LColor.C (LColor): add a corresponding entry to the items array.
8999 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9002 2002-07-05 Angus Leeming <leeming@lyx.org>
9004 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9005 The body of the code is now in the method that is passed an ostream &
9006 rather than a file name.
9007 Pass an additional only_preamble parameter, useful for the forthcoming
9010 2002-07-03 André Pönitz <poenitz@gmx.net>
9012 * lyxfunc.C: simplify getStatus() a bit for math stuff
9014 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9018 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * text.C (changeRegionCase): do not change case of all the
9021 document when region ends at paragraph end (bug #461)
9023 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * paragraph.C (startTeXParParams):
9026 (endTeXParParams): add \protect when necessary
9028 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * BufferView_pimpl.C (workAreaExpose): remove warning
9032 2002-06-27 Angus Leeming <leeming@lyx.org>
9034 * Makefile.am: add lyxlayout_ptr_fwd.h.
9036 2002-06-26 André Pönitz <poenitz@gmx.net>
9038 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9040 2002-06-25 Angus Leeming <leeming@lyx.org>
9042 * lyxfunc.C (dispatch): Comment out the call to
9043 grfx::GCache::changeDisplay. The method no longer exists now that the
9044 pixmap generation part of the graphics loader has been moved into
9047 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9049 * text2.C: layout as layout
9051 * text.C: layout as layout
9053 * tabular.C (OldFormatRead): layout as layout
9055 * paragraph_pimpl.C (TeXDeeper): layout as layout
9056 (realizeFont): layout as layout
9058 * paragraph.C (writeFile): layout as layout
9059 (validate): layout as layout
9060 (getFont): layout as layout
9061 (getLabelFont): layout as layout
9062 (getLayoutFont): layout as layout
9063 (breakParagraph): layout as layout
9064 (stripLeadingSpaces): layout as layout
9065 (getEndLabel): layout as layout
9066 (getMaxDepthAfter): layout as layout
9067 (applyLayout): layout as layout
9068 (TeXOnePar): layout as layout
9069 (simpleTeXOnePar): layout as layout
9070 (TeXEnvironment): layout as layout
9071 (layout): layout as layout
9072 (layout): layout as layout
9074 * lyxtextclass.C (compare_name): new functor to work with
9075 shared_ptr, layout as layout
9076 (Read): layout as layout
9077 (hasLayout): layout as layout
9078 (operator): layout as layout
9079 (delete_layout): layout as layout
9080 (defaultLayout): layout as layout
9082 * lyxlayout_ptr_fwd.h: new file
9084 * lyxlayout.C (Read): layout as layout
9086 * lyx_cb.C (MenuInsertLabel): layout as layout
9088 * bufferlist.C (newFile): layout as layout
9090 * buffer.C (readLyXformat2): layout as layout
9091 (parseSingleLyXformat2Token): layout as layout
9092 (insertStringAsLines): layout as layout
9093 (asciiParagraph): layout as layout
9094 (latexParagraphs): layout as layout
9095 (makeLinuxDocFile): layout as layout
9096 (simpleLinuxDocOnePar): layout as layout
9097 (makeDocBookFile): layout as layout
9098 (simpleDocBookOnePar): layout as layout
9099 (getLists): layout as layout
9101 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9103 * CutAndPaste.C (cutSelection): layout as layout
9104 (pasteSelection): layout as layout
9105 (SwitchLayoutsBetweenClasses): layout as layout
9107 * BufferView_pimpl.C (Dispatch): layout as layout
9108 (smartQuote): layout as layout
9110 * BufferView2.C (unlockInset): layout as layout
9112 2002-06-24 André Pönitz <poenitz@gmx.net>
9114 * lyxfunc.C: fix #487
9116 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9120 * lyxfunc.C: remove display_shortcuts, show_banner
9122 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9124 * Buffer_pimpl.C: oops, update on resize
9126 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9133 * BufferView.C: use repaint()
9135 * BufferView_pimpl.h:
9136 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9137 as it's a clearer description. Remove superfluous
9140 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9142 * text.C: fix bug 488. Not ideal, but getting
9143 getWord() to work properly for the insets that
9144 matter is more difficult ...
9146 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9148 * BufferView_pimpl.C:
9151 * lyxfunc.C: remove the six million index lyxfuncs to just
9152 one, and DTRT (bug 458)
9154 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9158 * BufferView_pimpl.h:
9159 * BufferView_pimpl.C: clean up resize() stuff,
9160 and unnecessary updateScreen()s
9162 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9166 * BufferView_pimpl.h:
9167 * BufferView_pimpl.C:
9170 * minibuffer.C: remove focus management of workarea,
9171 not needed. Use screen's greyOut()
9173 2002-06-17 Herbert Voss <voss@lyx.org>
9175 * converter.C: (convert) do not post a message, when converting
9176 fails, let the calling function decide what to do in this case
9178 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9180 * lyxfunc.C: tidy up a little
9182 2002-06-16 <alstrup@diku.dk>
9184 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9185 Got rid of FORMS_H_LOCATION include. Now we are
9188 2002-06-15 LyX Development team <lyx@rilke>
9190 * buffer.[Ch] (sgmlOpenTag):
9191 (sgmlCloseTag): Added support for avoiding pernicious mixed
9192 content. Return number of lines written.
9195 (makeDocBookFile): Fixed calls to sgml*Tag.
9196 Simple white space clean.
9198 (simpleDocBookOnePar): Simple white space clean.
9200 * tabular.[Ch] (docBook): Renamed to docbook and got another
9201 argument to related with the pernicious mixed content.
9203 (docbookRow): Fixed calls for docbook inset method.
9205 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9207 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9208 so it's X11 independent.
9212 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9214 2002-06-15 Lyx Development team <lyx@electronia>
9216 * intl.h: Renamed getTrans to getTransManager.
9218 2002-06-14 Angus Leeming <leeming@lyx.org>
9220 * Makefile.am: nuke forgotten stl_string_fwd.h.
9222 2002-06-12 Angus Leeming <leeming@lyx.org>
9224 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9226 2002-06-13 Angus Leeming <leeming@lyx.org>
9229 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9231 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9233 * kbmap.C (getiso): add support for cyrillic and greek
9235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9239 * BufferView_pimpl.h:
9240 * BufferView_pimpl.C: move bogus scrolling logic
9243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9246 * BufferView_pimpl.C: view->resize() change
9248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9250 * BufferView_pimpl.C: topCursorVisible
9253 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9257 * lyx_gui.C: move to frontends/
9261 * lyx_main.C: changes from above
9263 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9270 * lyx_main.C: minor tidy
9272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9274 * BufferView_pimpl.h:
9275 * BufferView_pimpl.C:
9277 * BufferView.C: make painter() const,
9280 * BufferView2.C: use screen() accessor
9283 * lyx_main.C: some minor cleanup
9285 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9287 * BufferView_pimpl.h:
9288 * BufferView_pimpl.C: remove enter/leaveView,
9291 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9296 * BufferView_pimpl.h:
9297 * BufferView_pimpl.C: only construct screen once,
9300 * lyxrc.C: remove pointless comment
9302 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9305 * BufferView.C: remove active() and belowMouse()
9307 * BufferView_pimpl.h:
9308 * BufferView_pimpl.C: use workarea() not workarea_,
9309 and make it use a scoped_ptr instead
9311 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9313 * lyx_gui.C: add debug message on BadWindow
9315 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * sp_spell.C: fdopen is not part of the C++ standard.
9319 * paragraph.C (InsetIterator): use >= instead of ==
9321 2002-06-07 Angus Leeming <leeming@lyx.org>
9323 Fixes needed to compile with Compaq cxx 6.5.
9324 * BufferView_pimpl.C:
9331 * lyxtextclasslist.C:
9336 all c-library variables have been moved into namespace std. Wrap
9337 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9342 Add a using std::abs declaration.
9344 * kbmap.h (modifier_pair):
9345 * paragraph.h (InsetTable, InsetList):
9346 * lyxfont.h (FontBits):
9347 type definition made public.
9349 * bufferlist.C (emergencyWriteAll): the compiler complains that
9350 there is more than one possible lyx::class_fun template to choose from.
9351 I re-named the void specialisation as lyx::void_class_fun.
9353 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9355 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9356 the compiler is is unable to find tostr in write_attribute.
9358 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9360 * buffer.C (sgmlError): hide #warning
9362 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * xtl/*: get rid of xtl, which is not in use anyway
9366 * LyXAction.C (init):
9367 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9368 were unimplemented xtl experimentation
9370 2002-06-04 André Pönitz <poenitz@gmx.net>
9372 * lyxfunc.C: disable array operation on simple formulae
9374 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9376 * converter.C: constify a bit
9378 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9380 * lyx_gui.C: check xforms version correctly
9382 2002-04-30 Herbert Voss <voss@lyx.org>
9384 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9387 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9389 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9390 attempt to register it with a VCS)
9392 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * lyx_main.C (init): honor variables LYX_DIR_13x and
9397 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9401 * lyx_main.C: fix a crash on bad command line,
9402 and give a useful exit status on error
9404 * lyxfunc.C (doImport): allow -i lyx to work
9406 2002-03-30 André Pönitz <poenitz@gmx.net>
9408 * lyxfunc.C: mathed font changes
9410 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9425 * trans_mgr.h: srcdocs, and some minor cleanups
9427 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9430 call getFont all the time)
9432 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9434 * switch from SigC signals to boost::signals
9436 2002-05-29 André Pönitz <poenitz@gmx.net>
9438 * paragraph_pimpl.C (getChar): don't call size() too often...
9440 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * paragraph_pimpl.C (insertChar): do not try to update tables when
9443 appending (pos == size())
9445 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9446 in order to reduce drastically the number of comparisons needed to
9447 parse a large document
9449 2002-05-29 André Pönitz <poenitz@gmx.net>
9455 * textclasslist.[Ch]:
9456 * sp_ispell.h: whitespace change
9458 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9461 lyxaction directly now.
9463 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9467 * lyxvc.C: remove unused headers
9469 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9476 * undo_funcs.C: some cleanups. Use shared_ptr
9477 and a template for the undo stacks.
9479 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9481 * BufferView_pimpl.h:
9482 * BufferView_pimpl.C:
9489 * text2.C: use key_state/mouse_state
9491 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9496 * chset.C: change include order
9497 (loadFile): use boost regex and get rid of LRegex and LSubstring
9499 * Makefile.am (BOOST_LIBS): new variable
9502 * LaTeX.C: change include order.
9503 (scanAuxFile): use boost regex and get rid of LRegex and
9507 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9512 * FontInfo.C: moved to frontends/xforms/
9515 * FontLoader.C: moved into frontends for GUIIzation
9520 * lyxfunc.C: changes from above
9522 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9524 * LColor.C: remove spurious X include
9526 * BufferView_pimpl.C:
9531 * text2.C: move font metrics to frontends/
9533 2002-05-24 Juergen Vigna <jug@sad.it>
9535 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9536 setting the undo_cursor.
9538 * ParagraphParameters.h: include local includes first.
9540 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9542 * BufferView_pimpl.C:
9543 * BufferView_pimpl.h:
9547 * screen.C: move WorkArea into frontends/
9553 * BufferView2.C: move LyXScreen into frontends/
9557 * lyx_gui.C: move lyxlookup into frontends/xforms/
9559 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9562 * BufferView_pimpl.C:
9572 * bufferview_funcs.C:
9585 * vc-backend.C: move LyX/XFormsView into frontends/
9587 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9599 * text2.C: move Painter to frontends/
9601 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * buffer.C: comment out some some code that depend upon lyx_format
9606 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9607 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9609 * buffer.h (NO_COMPABILITY): turn off compability
9611 * ColorHandler.C: include scoped_array.hpp
9613 * font.C: Use more specific smart_ptr header.
9616 * ShareContainer.h: ditto
9620 * BufferView_pimpl.h: ditto
9621 * ColorHandler.h: ditto
9623 * kbmap.C (defkey): change call to shared_ptr::reset
9625 2002-05-21 Juergen Vigna <jug@sad.it>
9627 * buffer.C (insertErtContents): fix to insert ert asis if it is
9628 non empty. Skip it completely if it contains only whitespaces.
9630 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9632 * BufferView_pimpl.C:
9633 * BufferView2.C: clear selection on paste (bug 393)
9635 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * DepTable.C: include ctime
9639 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9641 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9643 2002-05-14 Juergen Vigna <jug@sad.it>
9645 * text.C (breakParagraph): fixed function to honor the keepempty
9646 layout in the right maner and also to permit the right breaking
9647 algorithm on empty or non empyt keepempty paragraphs.
9649 * paragraph.C (breakParagraph): we have to check also if the par
9650 is really empty (!size()) for isempty otherwise we do the wrong
9653 2002-05-10 Juergen Vigna <jug@sad.it>
9655 * buffer.[Ch] : The following are only changes to the ert
9656 compatibility read reading old LaTeX layout and font stuff and
9657 convert it to ERTInsets.
9659 * buffer.h: added isErtInset().
9661 * buffer.C (struct ErtComp): add a fromlayout bool to check
9662 if we're inside a LaTeX layout.
9663 (isErtInset): new helper function.
9664 (insertErtContents): look for other ert insets before this one
9665 and insert the contents there, so that we don't have subsequent
9666 ERT insets with nothing between them. This way we create only one
9667 inset with multiple paragraphs. Also check if we don't insert only
9668 spaces ' ' as they are ignored anyway afterwards in the .tex file
9669 so if we have only spaces we will ignore this latex part in the
9671 (parseSingleLyXformat2Token \\layout): better compatibility when
9672 reading layout-latex stuff.
9673 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9675 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9676 stuff after reading the inset only get the information back from
9679 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9681 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9683 * LaTeXFeatures.C (getBabelOptions): New method.
9685 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9687 * BufferView_pimpl.C (Dispatch): work around missing argument for
9690 2002-05-08 Juergen Vigna <jug@sad.it>
9692 * text.C (leftMargin): handle paragraph leftindent.
9694 * paragraph.C (writeFile): write the new \\leftindent tag.
9695 (validate): handle leftindent code.
9696 (TeXEnvironment): handle paragraphleftindent code again.
9698 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9700 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9701 for paragrap_extra indent code and new token \\leftindent.
9702 (latexParagraphs): handle the leftindent as environment.
9704 * ParameterStruct.h: added leftindent support.
9706 * ParagraphParameters.C (leftIndent): added support functions for
9707 the paragraph left indent.
9709 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9712 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9714 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9717 * text.C (computeBidiTables): No bidi in insetERT.
9719 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9722 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9724 * version.C.in: pre 5
9726 2002-05-02 José Matos <jamatos@fep.up.pt>
9727 * buffer.C (makeDocBookFile): white space changes, add newline to
9729 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9731 * tabular.C (docBook): fix typo.
9733 2002-05-03 Juergen Vigna <jug@sad.it>
9735 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9736 change in LyXText as we can not be sure it was not freed.
9737 (drawOneRow): remove unused code.
9739 * text.C (drawInset): redo the calculation of the need_break_row as
9740 it could have a row which was already freed.
9741 (draw): look at the return value of drawInset and return false if
9742 it also returned false.
9743 (paintRowText): look at the return value of draw and return false if
9744 it also returned false.
9746 * lyxtext.h: added bool return type to drawInset() and draw() so that
9747 if we have a change in the row so that the rowbreak has to be redone
9748 we abort drawing as it will be called again.
9750 2002-05-02 Juergen Vigna <jug@sad.it>
9752 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9753 a change in the maintext also if we're inside an inset.
9754 (Dispatch): set the cursor again after a break line and after the
9755 screen has been updated as it could be we're in a different row.
9757 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9758 to set the cursor behind the pargraph with > size().
9759 (setCursor): check also for the same paragraph when checking where
9760 to put the cursor if we have a NFR inset.
9762 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9763 parts of layout read further up as it still was in the wrong
9766 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * screen.C (drawFromTo): change sine fullRebreak always return
9771 * buffer.C (parseSingleLyXformat2Token): reindent some
9773 * BufferView_pimpl.C (update): change since fullRebreak always
9775 (Dispatch): git rid of the last hardcoded "Standard"s.
9777 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9779 * text2.[Ch] (fullRebreak): make it return void now that we always
9782 2002-04-30 Juergen Vigna <jug@sad.it>
9784 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9785 ert compatibility check for "latex" layout.
9787 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9789 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9790 minipages: use col% instead of p%, and also use the current font.
9791 (makeLaTeXFile): Fix use babel condition.
9792 (parseSingleLyXformat2Token): Correct font when reading old floats.
9794 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9796 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9797 inserting list of floats.
9799 2002-04-25 Herbert Voss <voss@lyx.org>
9801 * MenuBackend.C (expand): don't add the graphics extensions to the
9804 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9807 non-existing layout, do not complain if it was the default layout
9808 of the original class (bug #342)
9810 2002-04-24 Juergen Vigna <jug@sad.it>
9812 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9813 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9815 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9817 * buffer.C (getBibkeyList): If using \bibliography, return the
9818 option field with the reference itself. Enables us to provide natbib
9819 support when using \bibliography.
9821 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9823 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9825 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9826 natbib is provided by the LaTeX class.
9828 2002-04-23 Juergen Vigna <jug@sad.it>
9830 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9833 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9835 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9839 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9840 ensuremath around textordmasculine, textordfeminine and
9843 2002-04-19 Juergen Vigna <jug@sad.it>
9845 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9846 reinitializing the buffer otherwise row-dimensions may be wrong.
9847 (update): reset also the selection cursors if they do exits otherwise
9848 their x/y positions may be wrong.
9850 * text2.C (cursorDown): don't enter the inset if we came from a row
9851 above and are one row over the inset.
9853 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9854 really leaving an inset.
9856 2002-04-18 Juergen Vigna <jug@sad.it>
9858 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9859 of the selected paragraph does not have the selected layout also if
9862 * text2.C (setLayout): fixed bug which did not change last selected
9865 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9866 changed the read and substituted \\end_float with \\end_inset!
9868 * BufferView_pimpl.C (cursorPrevious):
9869 (cursorNext): fixed to make it work with rows heigher than the work
9870 area without moving the cursor only the draw of the row.
9871 (workAreaMotionNotify): fix jumping over high rows.
9873 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9878 2002-04-16 Juergen Vigna <jug@sad.it>
9880 * text2.C (setCursor): set also the irow().
9881 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9883 (cursorDown): support for locking an inset if the x_fix value goes
9884 inside it. That way I can transverse insets too with cursor up/down.
9886 * lyxrow.h: added irow helper function same as other (i) functions.
9888 * BufferView_pimpl.C (cursorPrevious):
9889 (cursorNext): fixed for insets!
9891 2002-04-15 Juergen Vigna <jug@sad.it>
9893 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9894 position otherwise it is wrong in some cases.
9896 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9897 inside the inset before the call.
9899 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9901 * buffer.[Ch] (getBibkeyList): make it const.
9903 2002-04-12 Juergen Vigna <jug@sad.it>
9905 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9907 * text2.C (getCursorX): new helper function
9908 (setCursor): compute also ix_
9909 (setCursorFromCoordinates): set also ix.
9911 * lyxcursor.h: added ix_ and helper functions.
9913 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9915 * buffer.C (insertStringAsLines): dont break paragraph if the this
9916 paragraph is inside an inset which does not permit it!
9918 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9919 also with no chars on this paragraph.
9920 (paintRowText): only paint stuff if it's inside the workarea!
9922 * paragraph.C (breakParagraph): honor keepempty flag and break the
9923 paragraph always below not above.
9925 * BufferView2.C (unlockInset): update the paragraph layout on inset
9926 unlock as we changed paragraph in such a case.
9928 * lyxfind.C (LyXFind): clear the former selection if not found!
9930 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9931 again called in insertChar().
9933 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9934 an inset which uses the whole row!
9935 (rightMargin): ditto.
9936 (insertChar): force a rebreak if we inserted an inset!
9938 2002-03-28 Herbert Voss <voss@lyx.org>
9940 * lyxlength.[Ch]: add inBP() to get the right PS-point
9941 units (BigPoint). With inPixels we have rounding errors
9943 2002-04-11 Juergen Vigna <jug@sad.it>
9945 * text2.C (setCursorFromCoordinates): set iy to the right value.
9946 (setCursor): add check if row->previous exists!
9948 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9949 an old float_type as this was the case in the old code!
9951 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9953 * BufferView2.C (showLockedInsetCursor): use iy
9954 (fitLockedInsetCursor): ditto
9956 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9957 locked insets as there we have the right value now.
9959 * lyxcursor.C: added iy_ variable and iy functions to set to the
9960 baseline of cursor-y of the locked inset.
9962 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9963 (setCursor): fixed for insets which need a full row.
9965 * text.C (rowLastPrintable): don't ignore the last space when before
9966 an inset which needs a full row.
9967 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9968 as last character of a row when before a inset which needs a full row.
9970 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * version.C.in: update date
9974 * text2.C (fullRebreak): try to always return true and see what
9977 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9979 * MenuBackend.C (expand): use Floating::listName
9981 * FloatList.C (FloatList): add listName argument to the built-in
9984 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9985 text associated with the float.
9987 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9991 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * ShareContainer.h: add a couple of missing typenames.
9995 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9997 * lyxrc.C (getDescription): use _() correctly rather than N_().
9999 2002-03-28 Herbert Voss <voss@lyx.org>
10001 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10002 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10004 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10007 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10009 2002-03-29 Juergen Vigna <jug@sad.it>
10011 * lyxfunc.C (dispatch): add a missing fitCursor call.
10013 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10014 it was scrolled by a cursor move, so return the bool status.
10016 * BufferView.C (fitCursor): return the bool flag also to the outside
10017 world as this is needed.
10019 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10021 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10022 call the edit() as it is not needed (and wrong) IMO.
10023 (workAreaButtonPress): set the screen_first variable before evt.
10024 unlock the inset as this may change screen_first and then we have
10025 a wrong y position for the click!
10027 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * MenuBackend.C (expand): another translation that I missed
10031 2002-03-28 Juergen Vigna <jug@sad.it>
10033 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10035 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10037 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10041 * MenuBackend.C (expand): fix export/view/update when there is no
10044 2002-03-27 Herbert Voss <voss@lyx.org>
10046 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10049 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * bufferview_funcs.C (currentState): only show paragraph number
10052 for is DEVEL_VERSION is set.
10054 * lyxfunc.C (dispatch): put warning in INFO channel
10056 * MenuBackend.C (expand): translate the name of floats
10058 * FloatList.C (FloatList): mark the float names for translation
10060 * converter.C (convert): use LibScriptSearch
10062 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10064 * MenuBackend.C (defaults): fix default menu (we might as well get
10067 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10072 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * lyxvc.C: reorder includes.
10076 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10078 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10081 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10083 * CutAndPaste.C: change layouts earlier on paste
10084 to avoid crashing when calling getFont()
10086 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10088 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10091 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * WorkArea.C: remove 'Pending' debug message.
10095 * most files: ws cleanup
10097 * buffer.[Ch]: ws changes
10099 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10101 2002-03-21 Juergen Vigna <jug@sad.it>
10103 * tabular.C (SetMultiColumn): collapse also the contents of the
10104 cells and set the last border right. Added a Buffer const * param.
10106 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10111 2002-03-19 Juergen Vigna <jug@sad.it>
10113 * text2.C (clearSelection): reset also xsel_cache.
10115 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10116 where it needs to be called (John tells us to do so too :)
10117 (selectionLost): reset sel_cache.
10119 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10121 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * text2.C (setCursorIntern): put debuging code in INSETS channel
10125 2002-03-19 André Pönitz <poenitz@gmx.net>
10127 * lyxfunc.C: tiny whitespace change
10129 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * ToolbarDefaults.C (init):
10132 * LyXAction.C (init):
10134 * BufferView_pimpl.C (Dispatch):
10135 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10137 2002-03-19 Allan Rae <rae@lyx.org>
10139 * exporter.C (Export): removeAutoInsets before doing anything else.
10140 While I've just introduced a dependency on BufferView this really is
10141 the best place to clean the buffer otherwise you need to cleanup in
10142 a dozen places before calling export or cleanup in a dozen functions
10145 * converter.C (runLaTeX):
10146 (scanLog): Better handling of removeAutoInsets and screen updates.
10148 * lyxfunc.C (dispatch): small whitespace changes
10150 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * WorkArea.C (C_WorkAreaEvent): return a value.
10153 (event_cb): return 1 if we handled the event, 0 otherwise.
10155 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10157 2002-03-18 Juergen Vigna <jug@sad.it>
10159 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10160 (GetAdditionalWidth): ditto.
10161 (RightLine): ditto.
10164 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10165 inset if we're there actually (probably not used right now but this
10166 is the direction to go for unifying code).
10167 (paste): disable code to clear the selection.
10169 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10170 inside an InsetText and move the check further up as it is in the
10173 * text2.C (pasteSelection): set a selection over the pasted text.
10175 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10177 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10178 and libgraphics to build on Cygwin.
10180 2002-03-15 Juergen Vigna <jug@sad.it>
10182 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10183 inserting an Inset into the paragraph. I know this is not the best
10184 fix but we already use current_view in CutAndPaste so we will remove
10185 all of it's using at the same time.
10187 * buffer.C (sgmlError): deactivated function till it is rewritten in
10188 the right mode, now it can create problems.
10190 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10191 before accessing it.
10193 2002-03-14 Juergen Vigna <jug@sad.it>
10195 * undo_funcs.C (textHandleUndo): do the right thing when updating
10196 the inset after the undo/redo.
10198 * text2.C (setCursor): just some testcode for #44 not ready yet.
10200 * undo_funcs.C (textHandleUndo): set the next() and previous()
10201 pointers of the paragraph to 0 before deleting otherwise we have
10202 problems with the Paragraph::[destructor].
10204 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10205 on a paragraph insertion.
10207 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * buffer.C (asciiParagraph): use += operator for char append to
10212 * paragraph.C (getFontSettings): compare >= not just >
10213 (highestFontInRange): ditto
10216 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * paragraph.C: change several algorithm to be more appripriate for
10219 the problem domain. This is lookip in FontList and in the InsetList.
10221 2002-03-13 André Pönitz <poenitz@gmx.net>
10224 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10226 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10231 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10233 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * Painter.C (display): anon helper function, adjust code for this
10237 (pixmap): remove function.
10239 * Painter.h: remove private display variable.
10241 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10243 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10245 * WorkArea.[Ch]: remove figinset_canvas cruft.
10247 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * lyxtextclass.C (operator): add one item cache optimization.
10251 * bufferlist.h: doxy changes
10253 * bufferlist.C: ws changes
10255 * DepTable.[Ch] (ext_exist): place const in the right spot.
10257 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10259 (workAreaExpose): call resizeInsets when the with BufferView changes.
10260 (Dispatch): adjust for protectedBlank removal
10261 (specialChar): call updateInset if the insert went ok.
10263 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10264 specialChar instead.
10266 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10268 * BufferView.h: doxy change
10270 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10272 * lyxtextclass.C (operator[]): remove non-const version
10273 (defaultLayout): remove non-const version
10275 2002-03-12 Juergen Vigna <jug@sad.it>
10277 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10278 did resize the LyXText too.
10280 * buffer.C (readLyXformat2): set layout information on newly allocated
10283 * tabular.C (OldFormatRead): set layout information on the paragraph.
10285 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10287 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10289 2002-03-11 Juergen Vigna <jug@sad.it>
10291 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10293 (resizeCurrentBuffer): force also the insets to resize themselfes.
10294 (moveCursorUpdate): fixed up for InsetText.
10296 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10299 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10300 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10301 value of Dialogs::tooltipsEnabled().
10302 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10304 2002-03-08 Juergen Vigna <jug@sad.it>
10306 * BufferView_pimpl.C (updateInset): update inset inside inset also
10307 if it isn't inside theLockingInset().
10309 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * buffer.C (asciiParagraph): redo some of the word and line length
10313 (getLists): look for Caption instead of caption.
10315 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10317 * buffer.C (Buffer): initialize niceFile to true
10319 (makeLinuxDocFile):
10320 (makeDocBookFile): make sure niceFile is true on exit
10322 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10326 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10328 * LyXSendto.C: remove.
10329 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10330 * lyx_gui.C: remove now-redundant comment.
10331 * ColorHandler.h: remove forward declaration of class WorkArea.
10332 * lyxfunc.C: remove #include "WorkArea.h".
10334 2002-03-07 Juergen Vigna <jug@sad.it>
10336 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10337 got moved away with the DEPM and also set the inset_owner always
10338 right which before could have been omitted.
10340 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10343 wanted layout is not found.
10345 2002-03-07 Juergen Vigna <jug@sad.it>
10347 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10349 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * paragraph.C (breakParagraph): use default layout not layout of
10353 (Paragraph): clear ParagraphParameters.
10355 2002-03-06 Juergen Vigna <jug@sad.it>
10357 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10358 otherwise it would not be a valid lenght. Fixed a special case in
10359 the minipage compatibility read where we end the document with a
10362 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10363 was set as it could be 0 for InsetTexts first entry.
10365 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * paragraph.C (writeFile): if layout is empty write out
10368 defaultLayoutName().
10370 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10371 file without named layout we set layout to defaultLayoutName().
10373 2002-03-06 Juergen Vigna <jug@sad.it>
10375 * CutAndPaste.C (copySelection): set layout for new paragraph.
10377 * text.C (prepareToPrint): leave ERT inset left aligned
10378 (leftMargin): don't indent paragraphs inside ERT insets
10380 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10382 * paragraph.C (breakParagraph): dont call clear do the work manually
10384 * paragraph.[Ch] (clear): remove function
10386 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * paragraph.C (Paragraph): dont call clear, the work has already
10391 * lyxtextclass.C (operator): assert if n is empty
10393 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10394 work manually instead.
10396 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10398 * BufferView_pimpl.C: protect selectionLost against text == 0
10400 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * text.C (breakParagraph): fix a setting layout to '0' problem.
10404 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10406 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10407 final location of file, for the included files, and graphics.
10409 2002-03-05 Juergen Vigna <jug@sad.it>
10411 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10413 2002-03-04 Juergen Vigna <jug@sad.it>
10415 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10417 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10418 last column of multicolumn cells.
10419 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10421 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10423 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10424 file if it doesn't go to a temporary file.
10426 * buffer.C (sgmlOpenTag):
10427 (sgmlCloseTag): remove extra newline insertion.
10429 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * text.C (getRowNearY): comment out debug msg
10433 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * text2.C: first -> first_y
10437 * text.C (getRowNearY): add some attemts at a possible
10438 optimization, not working.
10440 * tabular.[Ch]: add BufferParams to several function so that newly
10441 created paragraph can be initialized to he default layotu for the
10444 * tabular-old.C (ReadOld): add buf->params to call of Init
10446 * screen.C: rename text->first to text->first_y
10448 * paragraph.C (breakParagraph): always set layout in the broken
10451 * lyxtextclass.C (Read): remove lowercase
10454 (delete_layout): ditto
10456 * lyxtext.h: rename first -> first_y
10458 * lyxlayout.C (Read): remove lowercase
10461 (obsoleted_by): ditto
10463 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10465 * buffer.C (insertErtContents): add params are to InsetERT
10466 (parseSingleLyXformat2Token): add code to check if a paragraphs
10467 layout really exist.
10468 (parseSingleLyXformat2Token): add params to several inset
10470 (asciiParagraph): remove lowercase, do the layout comparisons with
10473 * BufferView_pimpl.C (cursorNext): first -> first_y
10474 (resizeCurrentBuffer): first -> first_y
10475 (updateScrollbar): first -> first_y
10476 (scrollCB): first -> first_y
10477 (workAreaMotionNotify): first -> first_y
10478 (workAreaButtonPress): first -> first_y
10479 (checkInsetHit): first -> first_y
10480 (cursorPrevious): first -> first_y
10481 (cursorNext): first -> first_y
10482 (Dispatch): add buffer_->params to severl inset contructors
10484 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * lyxlayout.C (Read): remove some debug info that I forgot.
10488 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10489 clean up the code slightly.
10490 (makeLinuxDocFile): ditto
10491 (makeDocBookFile): ditto
10493 * text2.C: layout as string
10495 * text.C: layout as string
10497 * paragraph_pimpl.C: layout as string
10499 * paragraph.[Ch]: layout as string
10501 * lyxtextclasslist.[Ch]: layout as string
10503 * lyxtextclass.[Ch]: layout as string
10505 * lyxtext.h: layout as string
10507 * lyxlayout.[Ch]: layout as string
10509 * lyx_cb.C: layout as string
10511 * bufferview_funcs.C: layout as string
10513 * bufferparams.C: layout as string
10515 * buffer.C: layout as string
10517 * LyXView.[Ch]: layout as string
10519 * LaTeXFeatures.[Ch]: layout as string
10521 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10523 * BufferView_pimpl.C: change current_layout to string, remove
10528 (workAreaButtonRelease): layout as string
10530 * BufferView2.C (unlockInset): adjust
10532 * vspace.C (asLatexCommand): use an explict temp variable.
10534 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10536 * Makefile.am: use FRONTEND_*
10538 2002-03-01 Juergen Vigna <jug@sad.it>
10540 * tabular.C (SetWidthOfMulticolCell): changed to something better
10541 I hope but still work in progress.
10542 (recalculateMulticolumnsOfColumn): renamed function from
10543 recalculateMulticolCells as it is more appropriate now.
10544 (SetWidthOfCell): calculate multicols better.
10546 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10550 * lyxfunc.C (processKeySym): print sequence also if it is
10551 `deleted' (complete)
10553 * kbsequence.C (print): print sequence even if it is deleted
10554 (complete would be a better word, actually).
10556 * lyxfunc.C (dispatch): print complete options after a prefix key
10558 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10560 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10562 * text2.C (setCharFont): eliminate setCharFont code duplication.
10564 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10567 LFUN_TABULAR_FEATURE (bug #177)
10569 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10571 * Makefile.am: remove figure.h
10573 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10575 * Bufferview_pimpl.C:
10587 * text2.C: remove #include "lyx_gui_misc.h".
10589 * LaTeX.C: added #include <cstdio>
10591 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10594 that the paragraph following this one can have.
10596 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10598 * vspace.C (asLatexCommand): fix bogus gcc warning
10600 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10602 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10604 * text2.C (setLayout): get rid of redundant code
10606 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10608 * text2.C (incDepth): make sure depth cannot be increased beyond
10611 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10613 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10614 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10616 * PainterBase.h (image):
10617 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10618 a LyXImage const *.
10620 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10624 * BufferView_pimpl.C:
10625 * BufferView_pimpl.h:
10645 * sp_spell.C: remove fig inset, and the crap house of
10646 cards that follows it
10648 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10653 * os2_errortable.h:
10654 * nt_defines.h: move .h into support/
10656 * vms_defines.h: remove
10658 * WorkArea.C: add space in debug output
10662 * buffer.C: add WITH_WARNINGS
10666 * bufferlist.C: s/retrive/retrieve/, add docs
10675 * chset.C: add docs
10677 * lyxgui.C: add ID to X error handler
10679 * lyxtestclass.c: fix typo
10681 2002-02-26 Juergen Vigna <jug@sad.it>
10683 * tabular_funcs.C (write_attribute): changed so that some default
10684 attributes are not written at all.
10685 (getTokenValue): set default values before trying to read the
10686 value so we have the return value always set as default if we don't
10687 find the token we search for.
10689 * tabular.C (Write): write bools as bools not as strings!
10691 2002-02-22 Juergen Vigna <jug@sad.it>
10693 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10694 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10696 * text.C (leftMargin): don't add an indent for paragraphs inside
10697 tabular cells (fix #208).
10699 2002-02-21 José Matos <jamatos@fep.up.pt>
10701 * tabular.C (docBook): fixed support for long tables.
10703 2002-02-20 Juergen Vigna <jug@sad.it>
10705 * text2.C (getFont): get the drawing font of the Inset if this
10706 paragraph is inside an inset (only important for InsetERT for now).
10708 * buffer.C (insertErtContents): use new lanugage params in ERT
10711 * CutAndPaste.C: commenting out seemingly uneeded code.
10713 2002-02-19 Allan Rae <rae@lyx.org>
10715 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10716 Iterators might be simple to use but they also get invalidated.
10717 (removeAutoInsets): renamed saved cursor tracking variables and added
10718 some comments to clarify what everything does.
10720 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10727 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10728 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10731 * vc-backend.h: remove #include "support/syscall.h"
10735 * converter.C: rearrange #includes in Lars' approved fashion.
10737 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10738 forward declare class Timeout in the header file.
10740 * XFormsView.C: changes due to the above.
10742 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10743 similar to LyXView.
10745 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10746 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10748 2002-02-18 José Matos <jamatos@fep.up.pt>
10750 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10753 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10755 * a lot of small ws changes
10756 * add a lot of using std::XXX
10757 * use std construcs some places where approp.
10758 * use some exisint stuff from lyxfunctional where approp.
10759 * Make file changes to use partial linking (lets test this now...)
10761 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10765 remove #include "support/syscontr.h" as it's redundant. Always has been.
10773 change Systemcalls::System to Systemcalls::Wait and
10774 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10775 No change of functionality, just reflects the stripped down Systemcalls
10778 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10780 * debug.[Ch]: add a GRAPHICS type to the enum.
10782 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10786 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10789 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10791 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10792 match the changes below.
10794 * text2.C (toggleInset): if there is not editable inset at cursor
10795 position, try to see if cursor is _inside_ a collapsable inset
10798 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10801 document menu has a nice checkbox
10803 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * lyxlength.C (asLatexString): change PW to output as percent of
10808 * lengthcommon.C: change '%' to 't%'
10810 * lyxfunc.C (dispatch): a few comments from Martin
10812 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10816 * BufferView_pimpl.h:
10817 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10820 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10822 * vspace.C (inPixels): fix compiler warning
10824 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * lyxfunc.C (getStatus): fix status message for disabled commands.
10828 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10830 * BufferView_pimpl.C: fix crash on close buffer
10831 during selection (#227)
10833 2002-01-27 Herbert Voss <voss@lyx.org>
10835 * buffer.C: link old Figure to new graphic inset
10837 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10839 * FontLoader.C (getFontinfo): Change the latex font names in order
10840 to match the names of type1inst.
10842 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10846 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10847 (extchanged): ditto
10849 (remove_files_with_extension): ditto
10850 (remove_file): ditto
10853 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10854 document is smaller than the work area height. Do not initialize
10855 static variables to 0.
10857 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10859 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10861 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10862 LFUN_LAYOUT_PARAGRAPHS.
10864 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10865 tabular. It is possible to provide a possible cell, which will
10866 typically be the actcell from the corresponding insettabular
10868 * lyxfunc.C (getStatus): small cleanup; disable
10869 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10872 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10876 * paragraph.C (startTeXParParams):
10877 (endTeXParParams): new methods. The LaTeX code to
10878 start/end paragraph formatting
10879 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10880 empty (fixes bug #200)
10882 * vspace.C (inPixels): adapt to the change below
10883 (inPixels): [later] more cleanups (remove unused variables)
10885 * lyxlength.C (inPixels): change to use a width and a height as
10888 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10891 Replaced with \paperwidth
10893 * DepTable.C (insert): add std:: qualifier
10895 2002-01-18 Allan Rae <rae@lyx.org>
10897 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10900 * text.C (drawInset): Turned out I didn't know enough about how
10901 rebreaking worked. This fixes most of the redraw problems. I see
10902 an occasional cursor trail when a line is broken now and the cursor
10903 placement can seem out by a few pixels also after a rebreak.
10905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * buffer.C (parseSingleLyXformat2Token): update because minipage
10908 width is now a LyXLength
10910 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10912 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10915 2002-01-17 Juergen Vigna <jug@sad.it>
10917 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10919 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10920 is set correctly and the inset is updated correctly.
10922 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10925 the beginning of the loop.
10927 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10929 * lyxrc.C: improve help for use_scalable_fonts
10931 2002-01-17 Allan Rae <rae@lyx.org>
10933 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10935 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10937 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10938 make sure to set their inset_owner to the right value (bug #171)
10940 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10943 * DepTable.C: Implement mtime checking to reduce time spent doing
10946 2002-01-16 Juergen Vigna <jug@sad.it>
10948 * tabular.C (GetAdditionalHeight): one of error fixed.
10950 * lyxrc.C (output): small fix in writing use_pspell.
10952 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10954 * sp_base.h: #include LString.h
10956 2002-01-16 Allan Rae <rae@lyx.org>
10958 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10959 Can someone check this please?
10961 * text.C (drawInset): It was possible that p.row would be removed by
10962 breakAgainOneRow upsetting a few other settings. There may be another
10963 small tweak possible by setting need_break_row = 0 when p.row has been
10964 removed but I don't know enough about the logic here.
10966 2002-01-15 Allan Rae <rae@lyx.org>
10968 * text.C (insertChar): removed conditional truism.
10970 * BufferView2.C (removeAutoInsets): More tweaks.
10971 cur_par_prev could be a stray pointer. Check for trailing empty line
10972 in case last line was cur_par and only had an error inset on it.
10974 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10979 * vc-backend.C (most methods):
10980 * exporter.C (Export):
10981 * converter.C (convert):
10983 * LyXSendto.C (SendtoApplyCB):
10984 * lyxfunc.C (dispatch):
10988 * lyx_cb.C (AutoSave):
10990 * BufferView_pimpl.C (MenuInsertLyXFile):
10991 * buffer.C (runChktex): use Buffer::filePath().
10993 * buffer.h: rename filename to filename_; rename filepath to
10994 filepath_ and make it private
10995 (filePath): new method
10997 * buffer.C (writeFile): use fileName()
11000 * lyx_main.C (init): fix starting of LyX when the binary is a
11001 link from so,ewhere else.
11003 * minibuffer.C: include <cctype> for isprint
11005 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11007 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11008 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11009 name clash with InsetCollapsable's width function.
11011 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * lastfiles.C: include <iterator>
11015 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11017 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11020 * buffer.C (makeLaTeXFile): ditto.
11021 Also make loop operation more transparent.
11023 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11025 * ToolbarDefaults.C: remove trailing comma closing namespace.
11027 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11029 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11032 * trans.C (Load): comment out unused variable, allowed.
11034 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11036 * minibuffer.[Ch] (append_char): new method to recieve input from the
11037 drop-down completion browser. If a key was pressed, then recieve this
11038 char and append it to the existing string.
11039 (peek_event): modify the positioning data passed to the completion
11040 browser so that it can be placed above the minibuffer rather than below.
11041 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * LyXAction.C (init): alloe error-next for readonly documents.
11045 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11048 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * bufferlist.C (readFile): create the buffer _after_ checking that
11053 * lyxfunc.C (verboseDispatch): fix handling of arguments
11055 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11057 * lyxrc.C: use string::erase() instead of initializing to "".
11060 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView_pimpl.h:
11063 * BufferView_pimpl.C:
11066 * text2.C: tell X when we have made a selection for copying
11068 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * BufferView_pimpl.C (MenuInsertLyXFile):
11071 * lyxfunc.C (menuNew):
11073 (doImport): add shortcuts to directory buttons
11075 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11078 * lyxfunc.C (setStatusMessage):
11079 (getStatusMessage): new methods
11080 (getStatus):use setStatusMessage instead of setErrorMessage
11081 (dispatch): when function is disabled, set error message here
11082 [instead of in getStatus previously]
11084 * BufferView_pimpl.C (workAreaButtonRelease): update
11085 toolbar/menubar here too.
11087 2002-01-13 Allan Rae <rae@lyx.org>
11089 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11090 Now seems indestructible. Remaining task is to audit all other
11091 code affected by deleteEmptyParagraphMechanism. One small quirk
11092 left is that an empty document with an error in the preamble can
11093 be made to report an error but no error box appears. I don't know
11095 (removeAutoInsets): Improved comments.
11097 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11100 * Thesaurus.C: update for Aiksaurus 0.14
11102 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11104 * text2.C (firstParagraph): removed member function, all uses
11105 replaces with ownerParagraph
11106 (redoParagraphs): here
11107 (updateInset): here
11108 (toggleAppendix): here
11109 * BufferView2.C (insertErrors): here
11110 (setCursorFromRow): here
11112 2002-01-13 Allan Rae <rae@lyx.org>
11114 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11115 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11116 There is still a way to segfault this although you may have to do this
11117 multiple times: Have an InsetERT with an unknown command in it.
11118 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11119 <down-arrow>, <Enter> again, View->DVI, BANG!
11121 * text2.C (setCursor):
11122 (deleteEmptyParagraphMechanism):
11123 * lyxtext.h (setCursor):
11124 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11125 Making use of the return value may help fix other bugs.
11127 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11129 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11131 * LyXView.C (updateMenubar): call MenuBar::update here
11132 (updateToolbar): but not here
11133 (showState): do not update toolbar/menubar
11135 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11136 should need to care about that.
11138 * lyxfunc.C (verboseDispatch): simplify a bit
11139 (getStatus): have a version which takes a pseudoaction, and
11140 another which requires a (kb_action,string).
11142 * LyXAction.C (retrieveActionArg): make it work also when action
11143 is not a pseudo-action.
11144 (getActionName): simplify a bit
11147 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxfunc.C (verboseDispatch): new families of methods with
11150 several ways to specify a command and a bool to indicate whether
11151 the command name and shortcut should be displayed in minibuffer
11152 (eventually, we could extend that to a finer bitmask like
11153 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11154 (dispatch): the pristine dispatch command which just, well,
11155 dispatchs! Note it still sets its result to minibuffer; I'm not
11158 * lyxfunc.h: remove setHintMessage
11160 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11162 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * BufferView_pimpl.C (specialChar): delete new inset if we have
11165 not been able to insert it.
11167 * kbmap.C: revert to using int instead of kb_action, since all we
11168 are dealing with is pseudo-actions.
11170 * LyXAction.C (searchActionArg): change to return int instead of
11171 kb_action, since the result is a pseudoaction.
11173 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11175 * buffer.C (insertErtContents): Fix (partially) the font bug.
11177 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11179 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11180 as the other one is broken on my machine!
11182 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11185 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11187 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11189 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11190 reflect their actual use. Provide compatibility code for older lyxrc
11193 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11195 change names of popup font variables in line with the changes to lyxrc.C
11197 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * buffer.C (asciiParagraph): avoid outputing a word twice after
11202 * lyxrc.C (getDescription): document that document_path and
11203 template_path can be empty.
11205 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11207 * LaTeXFeatures.C (getMacros):
11208 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11210 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11212 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11214 (getPackages): rename feature "floats" to "float". Use an array to
11215 iterate over 'simple' features (i.e. just a \usepackage). Add
11216 handling of "amsmath" (renamed from "amsstyle").
11218 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11220 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11223 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11225 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11226 FuncStaus::FuncStatus & FuncStaus::some_method().
11228 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11230 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11231 of the func_satus stuff. Edited and massaged in various ways by
11234 * lyxfunc.C (getStatus): use FuncStatus
11236 2002-01-08 Juergen Vigna <jug@sad.it>
11238 * text.C (nextBreakPoint): use function Inset::isChar().
11240 * paragraph.C (TeXOnePar): use function
11241 Inset::forceDefaultParagraphs.
11243 * buffer.C (latexParagraphs): use function
11244 Inset::forceDefaultParagraphs.
11246 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11248 * lyx_gui.C (init): set the style of the menu popups to
11249 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11251 2002-01-07 Juergen Vigna <jug@sad.it>
11253 * text.C (setHeightOfRow): small fix
11254 (prepareToPrint): don't look at alignment if we don't have the place
11257 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11259 * box.C: New file. Move the Box methods and functions out of box.h,
11260 following Lars' suggestion.
11262 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11264 * box.h: #include "support/LOstream.h", needed for inlined function.
11267 * lyxtextclasslist.C: added some using std declarations.
11269 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11271 * box.h: make signed dimensions to allow insets wider than
11272 the screen (bug #162)
11274 * BufferView_pimpl.C: add some insetHit debug
11276 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11278 * vc-backend.C: add FIXME
11280 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * lyxfunc.C (getStatus): enable code for showing math font status
11285 2002-01-07 Juergen Vigna <jug@sad.it>
11287 * text.C (nextBreakPoint): removed debug output not needed anymore.
11289 2002-01-06 Juergen Vigna <jug@sad.it>
11291 * text.C (nextBreakPoint): fixed up this function we had this bug
11292 since ever but now hopefully we break row better.
11293 (insertChar): we have to check if an inset is the next char as it
11294 could now happen that a large inset is causing a break.
11296 2002-01-05 Juergen Vigna <jug@sad.it>
11298 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11299 if it doesn't like to be drawed.
11301 2002-01-04 Juergen Vigna <jug@sad.it>
11303 * BufferView2.C (lockInset): forgot to set a cursor.
11305 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11307 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11309 * FormMathsPanel.C:
11312 * form_maths_panel.C:
11313 * form_maths_panel.h:
11314 * form_maths_panel.fd: implemented sub- and super- buttons in math
11317 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11318 (or ^ space) to be used as in TeX (req'd by André).
11320 * lyxfunc.C: Allow ^ and _ again to be used both as
11321 super/subscript (mathed) and as themselves (in text).
11323 2002-01-03 Allan Rae <rae@lyx.org>
11325 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11326 "LyX" or the filename of the current buffer if it has one. This is a
11327 modified form of John Levon's patch.
11329 * XFormsView.C (setWindowTitle): also set icon title.
11331 * LyXView.h (setWindowTitle): signature changed.
11332 * XFormsView.h (setWindowTitle): ditto.
11334 2002-01-02 Juergen Vigna <jug@sad.it>
11336 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11338 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * screen.C (topCursorVisible): introduce a temp var for
11341 text->cursor.row(), handle the case where this row is null. (kindo
11344 * text2.C (setCursor): add a couple of asserts.
11346 * paragraph.h (inset_iterator): add -> operator
11348 * paragraph.[Ch] (autoDeleteInsets): remove member function
11350 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11351 cursor pos correctly and handle inset deletion by itself.
11352 (insertErrors): move iterator declaration out of for expression
11354 * lyxtextclass.C: add <algorithm>
11356 * Makefile.am: added the new files to sources, removed layout.C
11358 * layout.C: removed file
11360 * layout.h: remove LYX_DUMMY_LAYOUT
11362 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11366 * lyxtextclass.[Ch]:
11367 * lyxtextclasslist.[Ch]: new files
11369 * include order changes to a lot of files, also changes because of
11372 2001-12-27 Juergen Vigna <jug@sad.it>
11374 * buffer.C (asciiParagraph): more fixes.
11376 * tabular.C (ascii): make ascii export support export of only the
11377 data separated by a column-delimiter.
11378 (ascii): better support for ascii export.
11380 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11382 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11384 * tabular_funcs.C: use a "using std::getline" instead of the
11385 previous fix from Angus (necessary for cxx + lyxstring)
11387 2001-12-24 Juergen Vigna <jug@sad.it>
11389 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11391 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11392 problems. First check a minipage also if we have some ert-contents
11393 (not only on par->size(), second set the right depth of the paragraph
11394 on the relink to the root-paragraph-list!
11396 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11397 which then did not anymore update the main paragraphs on undo/redo!
11399 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11402 code. Support all font-changing funcs (even those which are not in
11403 menu currently). Support for reporting font settings in
11404 mathed (disabled until Andre provides a function on mathed's side).
11406 * func_status.h (toggle): small helper function to set toggle
11409 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11411 * tabular_funcs.C: getline -> std::getline
11413 2001-12-21 Juergen Vigna <jug@sad.it>
11415 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11416 accessed and could be 0 (I couldn't generate this but it seems
11419 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11422 * tabular_funcs.h: here and include iosfwd
11424 2001-12-20 Juergen Vigna <jug@sad.it>
11426 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11427 inside inset but undo_par was.
11429 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * Thesaurus.C: always include <config.h> in sources.
11435 * box.h: do not include <config.h> in header files
11437 * text.C (paintLastRow): remove unused variable
11439 * text.C (transformChar):
11441 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11443 * Painter.C (text):
11444 * font.C (width): rewrite to use uppercase() instead of
11447 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11449 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11451 * lyxfind.C: clean up of find failure position change
11453 2001-12-20 Juergen Vigna <jug@sad.it>
11455 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11457 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11458 (TeXRow): added to LaTeX a single tabular row.
11459 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11460 (Latex): simplified and finally good LT-h/f support.
11461 (various_functions): just small adaptions for LT-h/f support.
11463 * tabular_funcs.[hC]: added and moved here all not classfunctions
11466 2001-12-19 Juergen Vigna <jug@sad.it>
11468 * tabular.[Ch]: better support for longtabular options (not finished
11471 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * text.C (paintLastRow): use the label font instead of the font of
11474 the last character to compute the size of *_BOX. This makes more
11475 sense and avoids a crash with empty paragraphs.
11476 Use Painter::rectangle to draw EMPTY_BOX.
11478 2001-12-19 Juergen Vigna <jug@sad.it>
11480 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11481 the paragraphs if the replaced paragraph is not the first one!
11482 Tried to delete not used paragraphs but does not work yet so for
11483 now it's inside #ifdef's and by default off!
11485 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11487 * MenuBackend.C: include "lyx_main.h" instead of declaring
11488 lastfiles (actually was declared as LastFiles* instead of a
11491 2001-12-17 Juergen Vigna <jug@sad.it>
11493 * tabular.C (AppendColumn): applied John's fix
11495 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11499 * BufferView_pimpl.h:
11500 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11503 * box.h: new start of class for above
11505 * lyxfunc.C: ignore space-only minibuffer dispatches.
11506 Show the command name when it doesn't exist
11508 * minibuffer.C: don't add empty lines to the history
11510 * minibuffer.C: add a space on dropdown completion
11512 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11514 * text.C: fix line above/below drawing in insets
11516 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11518 * lyxlength.C (LyXLength): Initialize private variables.
11520 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11522 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11523 when inserting error insets.
11525 2001-12-13 Juergen Vigna <jug@sad.it>
11527 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11528 actually sometimes the before-paragraph.
11529 (setUndo): don't clear the redostack if we're not actually undoing!
11531 2001-12-06 Juergen Vigna <jug@sad.it>
11533 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11534 and fixed redoing of main paragraph, so we can use it now ;)
11536 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11538 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11543 2001-12-13 André Pönitz <poenitz@gmx.net>
11546 * undo_func.C: minor cleanup
11548 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11551 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11552 font in urw-fonts package which is marked as -urw-fontspecific and
11553 does not work (incidentally, changing the encoding in the
11554 fonts.dir of this package to -adobe-fontspecific fixes the
11557 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11558 is a crash when undoing first paragraph (Juergen, please take a
11559 look). THis does not mean the undo fix is wrong, just that it
11562 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11563 the (Paragraph*) version when needed instead of duplicating the
11566 * text.C (workWidth): use Inset::parOwner to find out where the
11567 inset has been inserted. This is a huge performance gain for large
11568 documents with lots of insets. If Inset::parOwner is not set, fall
11569 back on the brute force method
11571 * paragraph_pimpl.C (insertInset):
11572 * paragraph.C (Paragraph):
11573 (cutIntoMinibuffer): set parOwner of insets when
11574 inserting/removing them
11576 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11578 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11584 * mathed/formulabase.C:
11585 * mathed/math_cursor.[Ch]:
11586 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11589 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * lyxlength.[Ch] (operator!=): new function
11593 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * text.C (workWidth): use Inset::parOwner to find out where the
11596 inset has been inserted. This is a huge performance gain for large
11597 documents with lots of insets. If Inset::parOwner is not set, fall
11598 back on the brute force method
11600 * paragraph_pimpl.C (insertInset):
11601 * paragraph.C (Paragraph):
11602 (cutIntoMinibuffer): set parOwner of insets when
11603 inserting/removing them
11605 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11607 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * tabular-old.C (getTokenValue):
11610 * tabular.C (getTokenValue):
11611 (write_attribute): new versions for LyXLength
11612 (everywhere): adjust the use of widths
11614 * tabular.h: change the type of widths from string to LyXLength
11616 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11618 * paragraph.C: fixed missing line number count when exporting
11619 Environments to LaTeX file
11621 * buffer.C: added informational message for checking line numbers.
11623 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11626 paragraph, do the 'double space' part, but not the 'empty
11629 * text.C (workWidth): small optimization
11630 (getLengthMarkerHeight): use minimal size for negative lengths.
11632 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11634 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11636 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11638 2001-12-11 André Pönitz <poenitz@gmx.net>
11641 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11643 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11645 * text2.C: keep selection on a setFont()
11647 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11649 * lyx_cb.C: another bv->text misuse, from insert label
11651 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11654 * kbsequence.C: re-instate nmodifier mask
11656 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11658 * lyx_main.h: make lyxGUI private.
11660 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11662 * lyxfind.C: place the cursor correctly on failed search
11664 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11666 * text.C (getLengthMarkerHeight): for small heights, the arrows
11667 are not always on top/bottom of the text
11668 (drawLengthMarker): smaller arrows; take the left margin in
11669 account; draw also vfills.
11671 (paintLastRow): remove special code for vfill and standard spaces,
11672 since everything is handled in drawLengthMarker now.
11674 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * buffer.C (insertErtContents): try to handle font and language
11677 interaction a bit better.g
11679 * ColorHandler.C (updateColor): change the hash to cover the whole
11680 LColor enum, ws cleanup
11681 (getGCLinepars): ditto
11682 (getGCLinepars): only lookup in the linecache once.
11684 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11686 * iterators.C (operator++): Make the iterator more robust
11688 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11690 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11695 * text.C: better added space drawing
11697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView2.C: fix layout combo update on inset unlock
11702 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11704 * Makefile.am: don't compile unused files
11706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11710 * LyXAction.C: remove old LFUN_LAYOUTNO
11712 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11714 * paragraph_pimpl.h:
11715 * paragraph_pimpl.C: isTextAt() doesn't need font param
11717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11720 * lyxlex.C: little cleanup
11722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11724 * BufferView_pimpl.C: fix insertAscii for insets
11726 2001-12-05 Juergen Vigna <jug@sad.it>
11728 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11729 set the right font on the "multi" paragraph paste!
11731 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11737 * lyxlength.C: remove out-commented code.
11739 * BufferView_pimpl:
11753 * vc-backend.C: change "while(" to "while ("
11755 * lyxlength.[Ch]: add zero function to check if length is zero or
11757 * lyxgluelength.C: use it
11759 2001-12-05 Allan Rae <rae@lyx.org>
11761 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11762 Works for 2.95.3, from what I understand of Garst's reports this should
11763 work for other g++ versions. We're screwed if the abs(int) definition
11764 changed between bugfix releases of gcc.
11766 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11768 * text.C: fix chapter label offset !
11770 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11773 * text.C: fix hfill at end of line, clean up
11775 2001-12-04 Juergen Vigna <jug@sad.it>
11777 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11778 that we force an update of the inset and it's owners if neccessary.
11780 2001-12-03 Juergen Vigna <jug@sad.it>
11782 * text.C (rowLast): simplified code
11784 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11786 * lyxfunc.C: fix show options on timeout
11788 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * screen.C (topCursorVisible): scroll half a page when the cursor
11791 reached top of bottom of screen
11793 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11795 * minibuffer.C: deactivate on loss of focus
11797 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * vspace.[Ch] (operator!=): add operator.
11801 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView_pimpl.C: refuse to open an inset when
11804 there's a selection.
11806 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.C: allow to click on RHS of full row insets
11810 2001-11-30 Juergen Vigna <jug@sad.it>
11812 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11813 insets for undo reasons.
11815 2001-11-28 André Pönitz <poenitz@gmx.net>
11817 * vspace.[Ch]: cosmetical changes
11819 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11829 * kbsequence.C: part re-write of old kb code
11832 * WorkArea.C: remove Lgb_bug_find_hack
11834 2001-11-30 José Matos <jamatos@fep.up.pt>
11836 * buffer.C (makeDocBookFile): add a comment to point a hack.
11837 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11838 Fixed a double write of labels.
11840 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11843 * LaTeX.h Fixed bug in LaTeX class where it would not
11844 re-run latex if no depfiles were changed, but the .dvi was removed.
11846 2001-11-28 André Pönitz <poenitz@gmx.net>
11848 * all the files from the change on 2001/11/26:
11849 use lyx::layout_type instead of LyXTextClass::size_type
11850 use lyx::textclass_type instead of LyXTextClassList::size_type
11852 2001-11-29 Juergen Vigna <jug@sad.it>
11854 * text.C: added support for paragraph::isFreeSpacing()
11856 * buffer.C: same as above
11858 * paragraph.h: inserted isFreeSpacing() function to enable
11859 FreeSpacing inside InsetERT.
11861 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11862 of the paragraph's in the cut/copy buffer to 0!
11864 * text2.C (removeRow): remove the assert as it can!
11866 * lyxtext.h: added helper function firstRow returning firstrow and
11867 made firstrow private again.
11869 * BufferView2.C (lockInset): don't relock if we're already locked!
11871 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11872 the only paragraph.
11873 (removeRow): added Assert::(firstrow)
11875 * debug.C: forgot to add INSETTEXT here.
11877 2001-11-28 Juergen Vigna <jug@sad.it>
11879 * sp_spell.C (initialize): changed error text to more general
11880 spellchecker command use (not only ispell!)
11882 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11884 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11886 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11888 * vspace.C: initialise lyxgluelength on failure
11890 2001-11-28 Allan Rae <rae@lyx.org>
11892 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11893 declaration & definition that looks like a function declaration.
11895 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11897 * BufferView2.C (copy):
11898 (copyEnvironment): do not clear the selection when doing a copy.
11900 * text.C (paintFirstRow): compilation fix
11902 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11904 * tabular.C (Latex): correct line count when writing latex.
11906 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11908 * paragraph_pimpl.h:
11909 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11912 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11916 * LColor.C: change vfillline->added_space
11918 * text.C: add markers and text for added space
11920 * vspace.C: fix comment
11922 2001-11-28 André Pönitz <poenitz@gmx.net>
11924 * paragraph.C: whitespace changes
11925 * all the other files from the change on 2001/11/26:
11926 change *::pos_type into lyx::pos_type
11928 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11930 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11931 language of the document when inserting error insets.
11933 2001-11-26 André Pönitz <poenitz@gmx.net>
11935 * BufferView_pimpl.[Ch]:
11943 * paragraph_pimpl.[Ch]:
11946 * text2.C: reduce header dependencies, introduce type for positions
11948 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11950 * <various>: change to use Alert.h
11952 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11954 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11955 when encountering an unknown token.
11956 (readLyXformat2): Show an error message if there were unknown tokens.
11958 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11961 * BufferView_pimpl.C:
11965 * text2.C: use par->isInset()
11967 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11969 * paragraph_pimpl.h:
11970 * paragraph_pimpl.C: cleanup
11972 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11974 * text2.C (removeRow):
11975 * text.C (setHeightOfRow): remove useless (and costly) call to
11978 2001-11-20 Allan Rae <rae@lyx.org>
11980 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11981 Now need Inset*::checkInsertChar() to return true for appropriate
11982 cases so that the characters in the minibuffer will actually be
11985 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * text.C: change the order of the includes.
11988 (workWidth): initialize it at once.
11989 (workWidth): make maxw unsigned
11990 (setHeightOfRow): remove unused variable (inset)
11991 (selectSelectedWord): remove unused variable (inset)
11992 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11994 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11997 server is not running.
11999 (closeConnection): add debug info when server is disabled.
12001 * ColorHandler.C (getGCForeground): send debug message to GUI
12004 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12006 * kbmap.C (bind): modify because return conventions of
12007 kb_sequence::parse have changed.
12009 * kbsequence.C (parse): only ignore spaces and not any stupid
12010 control character. This avoids tests like s[i] <= ' ', which are
12011 guaranteed to fail with 8bit characters and signed chars.
12012 Change return code to string::npos when there have been no error
12013 (0 was a bad idea when error is at first character)
12015 2001-11-14 José Matos <jamatos@fep.up.pt>
12018 * buffer.C (simpleDocBookOnePar): removed unused argument.
12020 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12022 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12023 insets which are part of a word. Paragraph::isLetter takes care of
12024 that now. Use Paragraph::isInset to identify insets.
12025 (selectSelectedWord): do not test for hyphenation break.
12027 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12028 that protected spaces are considered as spaces.
12030 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12033 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12036 * lyxserver.C: fix it. and small cleanup.
12038 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12040 * BufferView_pimpl.C: use inline helpers
12043 * LaTeXFeatures.C: fix typos
12046 * Spacing.C: move spacing_string into class
12048 * ToolbarDefaults.C: move stuff into namespace anon
12050 * layout.h: update enum
12052 * lyxfunc.C: use better debug
12054 * minibuffer.h: fix typo
12058 * WorkArea.C: add and use Debug::WORKAREA
12062 * text2.C: code re-organisation, inline helpers
12064 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12066 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12067 std::vector.empty().
12069 2001-11-09 Allan Rae <rae@lyx.org>
12071 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12072 '\n's after tables. Tabular and ERT inset work now makes this no
12075 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12078 * minibuffer.C: fix crash, improve drop-down completion
12080 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12083 * lyxserver.C: invalidate fd's when doing endPipe()
12085 2001-11-08 José Matos <jamatos@fep.up.pt>
12087 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12088 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12091 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12093 2001-11-07 José Matos <jamatos@fep.up.pt>
12096 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12099 * buffer.C (sgmlOpenTag):
12100 * buffer.C (sgmlCloseTag): removed debug info.
12102 * buffer.h (sgmlOpenTag):
12103 * buffer.h (sgmlCloseTag): made public.
12105 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12107 * buffer.C (saveParamsAsDefaults):
12108 * lyx_cb.C (MenuLayoutSave): remove
12110 * LyXAction.C (init):
12112 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12114 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12116 * buffer.C (setPaperStuff): removed from here...
12118 * bufferparams.C (setPaperStuff): ... and moved there.
12120 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12124 * XFormsView.C: add support for drop-down completion
12126 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12128 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12131 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12133 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12136 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12138 * lyx_main.C: change ref to known bugs
12140 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12142 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12143 to work around older babel problems.
12145 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12147 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12149 2001-10-24 Juergen Vigna <jug@sad.it>
12151 * tabular-old.C (ReadOld): below variable changes reflected.
12153 * tabular.[Ch]: added ltType struct for longtable header/footer
12154 defines and changed all instances where they are used. Added
12155 future support for double top/bottom rows.
12157 2001-10-24 José Matos <jamatos@fep.up.pt>
12159 * buffer.h (docbookHandleCaption):
12160 * buffer.C (docbookHandleCaption): removed unused function.
12161 (makeDocBookFile): moved docbook supported version to v4.1.
12163 2001-10-24 José Matos <jamatos@fep.up.pt>
12166 * tabular.C (docbookRow): new function to export docbook code of a row.
12167 (DocBook): now honors the longtable flags.
12169 2001-10-23 José Matos <jamatos@fep.up.pt>
12172 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12173 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12175 * buffer.C (makeLinuxDocFile):
12176 (makeDocBookFile): reworked the preamble, more clean, and with
12177 support for lyx defined entities. Changed the document declaration
12178 to be more XML friendly.
12180 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12181 if we need to output XML that should be done with a filter.
12183 2001-10-22 Juergen Vigna <jug@sad.it>
12185 * sp_pspell.h (class PSpell): add alive function needed in the
12186 controller to see if the spellchecker could be started.
12188 2001-10-22 Juergen Vigna <jug@sad.it>
12190 * buffer.C (insertStringAsLines): modify the font for inserting
12191 chars in certain conditions by calling checkInsertChar(font).
12193 2001-10-19 Juergen Vigna <jug@sad.it>
12195 * text.C (workWidth): use getRow instead of wrong algorithm.
12196 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12198 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12203 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12205 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * text.C (workWidth): do not search for the exact row when
12208 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12209 optimization for big documents.
12211 2001-10-18 Juergen Vigna <jug@sad.it>
12213 * text.C (workWidth): new function with added Inset * parameter.
12215 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12217 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12219 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12220 change return type of getColumnNearX.
12223 * text.C (changeRegionCase): use uppercase/lowercase instead of
12226 (rightMargin): simplify code by factoring out the uses of
12231 (appendParagraph): use Paragraph::size_type
12233 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12235 * vspace.C (asLatexString): add a missing break
12237 2001-10-15 Herbert Voss <voss@perce.de>
12239 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12241 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12243 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12246 2001-10-10 André Pönitz <poenitz@gmx.net>
12248 * lyxfunc.C: removed greek_kb_flag.
12250 2001-10-10 Herbert Voss <voss@perce.de>
12252 * lyx_main.C: delete global string help_lyxdir.
12254 2001-10-09 Herbert Voss <voss@perce.de>
12256 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12258 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12260 * lyx_main.C: added global string help_lyxdir.
12262 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12264 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12266 * lyxrc.C (set_font_norm_type): support iso8859-4
12268 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12270 * LaTeX.C (deplog): add another regex for MikTeX
12272 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12274 * lyxrc.C (set_font_norm_type): support iso8859-3
12276 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12278 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12280 * LaTeXFeatures.C: remove special case of french and index
12282 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12283 before \begin{document}). This solves several incompatibilities.
12285 2001-10-03 Garst Reese <reese@isn.net>
12287 * lyx_cb.C: change CheckTex error msg.
12289 2001-10-03 José Matos <jamatos@fep.up.pt>
12291 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12293 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12295 * .cvsignore: update
12297 * lyx_main.C (commandLineVersionInfo): use new style version info.
12299 * buffer.C (writeFile):
12301 (makeLinuxDocFile):
12302 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12304 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12306 * version.h: update to use stuff in version.C
12308 * version.C.in: new file. Contains version information determined
12309 at compile time. This is a merging of version.h and
12312 2001-10-03 Juergen Vigna <jug@sad.it>
12314 * BufferView_pimpl.C (update): don't change "dirty" status in
12317 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12319 * WorkArea.C (c-tor): re-position version string slightly.
12321 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12323 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12324 revert to previous code.
12326 WorkArea.[Ch]: (show, destroySplash): methods removed.
12328 WorkArea.C: rework code so that it's an amalgam of the codes before and
12329 after the splash screen was moved to WorkArea.
12331 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * vspace.C (inPixels):
12337 * buffer.C (insertStringAsLines):
12338 (asciiParagraph): fix types to be large enough
12340 * lyxlex_pimpl.h: change member status from short to int
12342 * layout.h: fix type of endlabeltype
12345 * kbsequence.C (parse): change return type to string::size_type
12347 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12350 * Bullet.C (bulletSize):
12351 (bulletEntry): do not use short ints as parameters
12353 * BufferView2.C (insertLyXFile): change a char to an int.
12355 * WorkArea.C (WorkArea): remove unneeded floats in computation
12357 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12359 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12361 * paragraph.C (asString): Do not ignore newline/hfill chars when
12362 copying to the clipboard.
12364 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12366 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12367 after a multi-line inset.
12369 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12371 * paragraph.C (validate): Set NeedLyXFootnoteCode
12373 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12375 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12376 and decrease-error to decrease.
12378 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12380 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12381 it more readable (should be equivalent)
12383 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12385 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12387 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12389 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12390 of a cursor (row, etc.) after a character has been deleted
12391 (deleteEmptyParagraphMechanism): call the method above on _all_
12392 cursors held by the LyXText when a double space has been
12395 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12397 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12399 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12401 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12402 background. Use greyOut() and the new show() methods to toggle between
12403 the foreground and background. Add code to remove the splash after
12404 its initial showing.
12406 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12407 (create_forms): no longer call Dialogs::showSplash.
12409 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * .cvsignore: add version_info.h
12413 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12415 * version_info.h.in: new file
12417 * Makefile.am: add version_info.h.in
12419 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12420 version_info.h instead of VERSION_INFO
12422 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12424 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12425 The ERT inset now returns string().
12427 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12429 * lyxtext.h, text.C (selectNextWord): renamed as
12430 selectNextWordToSpellcheck.
12432 * text.C (selectNextWordToSpellcheck): Modified to not select
12433 words inside an ERT inset.
12435 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * lyx_cb.C (MenuLayoutSave): change a bit the question
12439 * sp_base.h: include <sys/types.h>
12441 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12443 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12445 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12447 * several files: fix typos in user-visible strings
12449 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12451 * text2.C (pasteSelection): do not set the selection, since it
12452 will be cleared later. Actually, the intent was to fix the way the
12453 selection was set, but I figured rmoving the code was just as good.
12455 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12457 * FontLoader.C (available): Check if font is available without
12460 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12462 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12464 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12466 * lyxrc.[Ch]: added display_graphics variable and associated code.
12468 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12470 * bufferparams.C (hasClassDefaults): new method. Returns true if
12471 the buffer parameters correspond to known class defaults
12473 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12475 * XFormsView.C (show): set minimum size to the main window.
12477 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * text2.C (copySelection):
12481 * lyxfind.C (LyXReplace):
12482 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12483 LyXText::selectionAsString.
12485 * paragraph.C (asString): add "label" argument to the second form
12487 * text2.C (selectionAsString): add "label" argument and pass it to
12488 Paragraph::asString.
12490 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12492 * lyx_main.C (commandLineHelp): remove version information
12494 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12496 * lyx_main.C: add -version commandline option
12498 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * paragraph.h: make the optional constructor arg required instead.
12501 some modifications to other files because of this.
12503 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12505 * lyxserver.C (C_LyXComm_callback): make it static
12507 * lyx_main.C (error_handler): make it static
12509 * lyx_gui.C (LyX_XErrHandler): make it static
12511 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12513 * WorkArea.C: make the extern "C" methods static.
12515 * Makefile.am (lyx_LDADD): simplify
12517 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12519 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12520 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12522 * LyXAction.C (init):
12523 * lyxfunc.C (dispatch): associated code removal.
12525 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * lyxfont.h (isSymbolFont): shut off warning
12529 * text.C (setHeightOfRow):
12530 (getVisibleRow): fix crash with empty paragraphs which have a
12533 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12535 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12538 2001-09-04 José Matos <jamatos@fep.up.pt>
12541 * tabular.C (docbook): rename docBook method to docbook.
12543 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12545 * Makefile.am: add dependencies to main.o.
12547 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12549 * FontLoader.C (available): Return false if !lyxrc.use_gui
12551 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12553 * FontInfo.C (query):
12554 * converter.C (view):
12555 * importer.C (Import):
12556 * exporter.C (Export): Can not -> cannot.
12558 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.C: allow to create index inset even if
12563 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12565 * buffer.C (getLists): replace boost::tie code with an explicit pair
12566 as boost::tie can break some compilers.
12568 * iterators.h: Added a std:: declaration to the return type of
12571 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12573 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12576 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12578 * iterators.[Ch]: New files. Provide paragraph iterators.
12580 * buffer.C (changeLanguage): Use paragraph iterators.
12581 (isMultiLingual): ditto
12583 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12585 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12587 * FontLoader.C: Support for cmr font.
12589 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12591 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12592 (available): New method.
12594 * FontInfo.C (getFontname): Use scalable fonts even when
12595 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12598 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12600 * converter.C (Formats::view): reverted! Incorrect fix.
12602 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12604 * converter.C (Formats::view): only output the -paper option
12605 if the dvi viewer is xdvi, thereby fixing bug #233429.
12607 2001-08-23 Herbert Voss <voss@perce>
12609 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12611 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12613 * Spacing.h (Spacing): Set space to Default on in the default
12616 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12618 * vc-backend.h (RCS::versionString): add RCS to version
12619 (CVS::versionString): add CVS to version
12621 * vc-backend.C (scanMaster): do not add CVS to version.
12622 (scanMaster): do not add RCS to version
12624 * lyxvc.C (versionString): new method
12626 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12628 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * Spacing.C (set): initialize fval
12632 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12634 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12637 2001-08-16 Juergen Vigna <jug@sad.it>
12639 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12641 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12643 * BufferView_pimpl.C:
12646 * text2.C: setParagraph takes linespacing now
12648 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12650 * LyxAction.C: add internal LFUN_CITATION_INSERT
12652 * LyXView.C: actually apply fix
12654 * bufferlist.C: fix open non-existent file
12656 * lyxfind.C: fix indentation
12658 * lyxfunc.C: remove unneeded assert, fix typo
12660 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12662 * MenuBackend.C: use "Floatname List"
12664 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12666 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12667 when converting LaTeX layout to insetERT.
12668 Generate a non-collapsed float when reading old float
12670 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12672 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12675 2001-08-13 Juergen Vigna <jug@sad.it>
12677 * text.C (fill): return 0 instead of 20 as this seems to be the more
12680 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12682 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12685 2001-08-13 Juergen Vigna <jug@sad.it>
12687 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12689 (SearchBackward): comment out the unlocking of the inset_owner this
12690 should not be needed!
12692 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12694 * Many files: Remove inherit_language, and add latex_language
12696 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12697 collapsible insets.
12699 2001-08-10 Juergen Vigna <jug@sad.it>
12701 * text.C (prepareToPrint): fixed hfill-width in draw!
12703 * BufferView2.C (selectLastWord): save the selection cursor as this
12704 now is cleared in the function LyXText::clearSelection!
12706 2001-08-08 Juergen Vigna <jug@sad.it>
12708 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12709 BACKSPACE type functions.
12711 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12712 is only cutted from the document but not put in the cut-buffer, where
12713 still the old stuff should be.
12715 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12717 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12719 * tabular.C (SetWidthOfCell): fixed special case where the width
12721 (LeftLine): handle '|' in align_special.
12723 (LeftAlreadyDrawed): ditto
12724 (SetWidthOfCell): ditto
12726 2001-08-07 Juergen Vigna <jug@sad.it>
12728 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12730 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12733 * lyxlex.[hC]: ditto
12735 2001-08-06 Juergen Vigna <jug@sad.it>
12737 * text.C (getVisibleRow): fix up row clearing a bit.
12739 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * minibuffer.C: make sure the X server sees the changes in the input.
12743 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * paragraph.C (getFont): split into...
12746 (getLabelFont): this
12747 (getLayoutFont): and this
12748 * paragraph_pimpl.C (realizeFont): calling this
12750 * text2.C (getFont): split into...
12751 (getLayoutFont): this
12752 (getLabelFont): and this
12753 (realizeFont): all three calling this
12755 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12758 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12760 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12762 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12764 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12765 layouts from the Quote inset insertion.
12767 2001-08-03 Juergen Vigna <jug@sad.it>
12769 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12771 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12772 only if status not is already CHANGED_IN_DRAW (second level).
12774 * text.C (draw): don't set the need_break_row when inside an
12777 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * buffer.C (parseSingleLyXformat2Token): handle more latex
12782 * bufferview_funcs.[hC]: change function names to
12783 begin with small char, adjust other files.
12785 2001-08-02 André Pönitz <poenitz@gmx.net>
12788 BufferView_pimpl.C: remove broken special code for math-greek
12790 2001-08-02 Juergen Vigna <jug@sad.it>
12792 * BufferView_pimpl.C (update): redone this function so that we
12793 update the text again if there was a CHANGE_IN_DRAW.
12795 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12796 (drawFromTo): added a new internal bool which is used by draw() and
12798 (general): some cursor drawing problems fixed.
12800 2001-08-01 Juergen Vigna <jug@sad.it>
12802 * lyxfind.C (LyXFind): fixed
12803 (SearchForward): ditto
12804 (SearchBackward): ditto
12806 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12807 spurius drawing of the cursor in the main area.
12809 * text2.C (status): small fix which could lead to a segfault!
12810 (clearSelection): remove unneeded BufferView param.
12812 2001-08-01 André Pönitz <poenitz@gmx.net>
12814 * lyxfunc.C: small change due to changed mathed interface
12816 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12820 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12822 * lyxfunc.c: fail gracefully if file doesn't exist
12827 * BufferView_pimpl.C: IsDirWriteable() proto changed
12829 * LyXView.C: fix updateWindowTitle() to store the last title
12831 2001-07-31 Juergen Vigna <jug@sad.it>
12833 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12834 the font (wrong since using of Paragraph::highestFontInRange).
12836 * paragraph.C (highestFontInRange): added a default_size parameter.
12838 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12839 (setHeightOfRow): reformat
12841 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * converter.[hC] + affected files: move to (inital-char)lowercase
12846 * ParagraphParameters.C (ParagraphParameters): remove commented code
12848 * PainterBase.[Ch]: remove commented code
12850 * LaTeXFeatures.h: add "bool floats" for float.sty
12852 * LaTeXFeatures.C (LaTeXFeatures): init floats
12853 (require): handle float
12854 (getPackages): do it with floats
12856 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * BufferView_pimpl.C (Dispatch): improve handling of
12859 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12861 * commandtags.h: #include lyxfont.h here temporarily to avoid
12864 * bufferlist.h: include LString.h here.
12866 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * text2.C (getStringToIndex): new method.
12870 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12872 * *: Reduced header file dependencies all over.
12874 2001-07-30 Baruch Even <baruch@lyx.org>
12876 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12878 2001-07-29 Baruch Even <baruch@lyx.org>
12880 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12882 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * ParameterStruct.h (endif): add a default constructor to make
12885 sure that all variables is initialized.
12887 * ParagraphParameters.C (ParagraphParameters): adjust
12889 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12891 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12892 index; also, check that there is something to index, and that it
12893 does not span over several paragraphs.
12894 (doubleClick): use WHOLE_WORD_STRICT for double click.
12896 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12898 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12901 2001-07-26 Baruch Even <baruch@lyx.org>
12903 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12904 an InsetFig figure, backwards compatible reading of old figure code.
12906 2001-07-27 Juergen Vigna <jug@sad.it>
12908 * text2.C: font.realize function adaption.
12910 * text.C (draw): add a warnings lyxerr text if needed.
12912 * layout.C: font.realize function adaption.
12914 * language.C: add inherit_language and implement it's handlings
12916 * bufferview_funcs.C (StyleReset): remove language parameter from
12917 font creation (should be language_inherit now).
12919 * bufferparams.C (writeFile): handle ignore_language.
12921 * paragraph.C (getFontSettings): the language has to be resolved
12922 otherwise we have problems in LyXFont!
12924 * lyxfont.C (lyxWriteChanges): added document_language parameter
12925 (update): removed unneeded language parameter
12927 * paragraph.C (validate): fixed wrong output of color-package when
12928 using interface colors for certain fonts in certain environments,
12929 which should not seen as that on the final output.
12931 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12933 * BufferView_pimpl.C:
12938 * LyXAction.C: add thesaurus support
12941 * lyxfind.C: add "once" parameter, for thesaurus, to not
12942 move to the next match
12944 2001-07-26 Juergen Vigna <jug@sad.it>
12946 * lyxfont.C (realize): honor ignore_language too!
12949 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12951 * text.C (draw): one place more for ignore_language to not draw
12954 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12956 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12958 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12961 the minipage conversion problem.
12963 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12968 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * BufferView.h: don't forward declare WorkArea
12972 * BufferView.C: don't include WorkArea.h
12974 2001-07-25 André Pönitz <poenitz@gmx.net>
12978 * lyxfunc.C: new LFUN 'math-space'
12980 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12982 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * text2.C (toggleInset): call open/close
12986 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * lyxfunc.C (dispatch): add debug for the disabled case
12990 * font.C (buttonText): make similar to rectText
12992 * buffer.C (readInset): comment out parsing of insetlist and
12995 * PainterBase.C (rectText): small correction
12997 * BufferView_pimpl.C: comment out insettheorem and insetlist
12998 * LyXAction.C: ditto
12999 * commandtags.h: ditto
13001 2001-07-24 Juergen Vigna <jug@sad.it>
13003 * text.C (draw): honor the ignore_language.
13005 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13007 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13012 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13014 * lyxtext.h: remove unused (and unimplemented) methods
13016 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13018 * text.C (getVisibleRow): honor background color
13021 * Painter.h: remove default color argument for fillRectangle
13023 * text.C (backgroundColor): new method
13025 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * text.C (getVisibleRow): adjust
13029 * font.[Ch] (rectText): new method, metrics
13030 (buttonText): new method, metrics
13032 * PainterBase.[hC]: make rectText and buttonText always draw and take
13035 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13037 * ToolbarDefaults.C (read):
13038 * MenuBackend.C (read): allow escaping in all strings
13040 * BufferView_pimpl.C (insertAndEditInset): new method.
13041 (Dispatch): use insertAndEditInset whenever appropriate.
13043 * BufferView_pimpl.C (insertNote): removed
13045 * BufferView_pimpl.C (smartQuote): new method, moved from
13046 BufferView; if an insetquote cannot be inserted, insert a '"'
13049 * BufferView2.C: remove insertCorrectQuote();
13051 * lyxfunc.C (getStatus): Add support for all remaingin
13052 inset-insert lfuns.
13054 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13056 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13057 command (necessary to pass " as parameter of self-insert.
13059 * text.C (selectWordWhenUnderCursor):
13060 (selectWord): add word_location parameter
13061 (selectWordWhenUnderCursor): same + remove special code for word
13063 (selectNextWord): use kind() to guess type of insetspecialchar,
13066 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13067 (insertErtContents): create ert insets as collapsed.
13068 (readInset): better compatibility code for Info inset.
13070 2001-07-20 Juergen Vigna <jug@sad.it>
13072 * lyxfunc.C (dispatch): use always LyXFind now!
13074 * text2.C (init): add a reinit flag so that the LyXText can be
13075 reinited instead of deleted and reallocated (used in InsetText).
13077 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13083 2001-07-18 Juergen Vigna <jug@sad.it>
13085 * text.C (selectNextWord): handle insets inside inset by calling
13086 always the bv->text functions so that we can go up the_locking_inset!
13088 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13089 in strange locations when inside an inset!
13091 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13092 handling to include insets.
13094 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13096 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13098 * LyXAction.C (init):
13100 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13101 LIGATURE_BREAK, since the name is so stupid.
13103 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13105 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13108 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13110 * sp_form.[Ch]: remove.
13112 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13114 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13117 * src/buffer.C (readInset): ditto.
13119 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13121 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13122 menuSeparator(), endOfSentenceDot(), ldots() and
13123 hyphenationPoint(), which are therefore removed.
13124 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13126 * LyXAction.C (init):
13127 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13129 * paragraph.C (getWord): removed.
13131 * BufferView_pimpl.C (Dispatch): use last word or selection for
13132 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13134 * lyx_main.C (queryUserLyXDir): do not ask before creating
13135 user_dir, except if it has been named explicitely.
13137 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13139 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13140 a document of zero size.
13142 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13144 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13145 approriately in the c-tor and in require().
13146 (getPackages): output the appropriate LaTeX for natbib support.
13148 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13149 variables "use_natbib" and "use_numerical_citations" when reading the
13151 (readInset): read the various natbib cite commands.
13152 (validate): white-space change.
13154 * bufferparams.[Ch]: new variables "bool use_natbib" and
13155 "bool use_numerical_citations".
13156 (writeFile): output them in the LyX file.
13158 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13160 * lyxfunc.C (getStatus): add support for all the inset insertion
13163 * text2.C (insertInset):
13164 * paragraph.C (insetAllowed):
13165 * BufferView_pimpl.C (insertInset): update to take in account the
13166 renaming of insertInsetAllowed
13168 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13170 * text2.C (getInset): new method. returns inset at cursor position.
13172 * BufferView_pimpl.C (Dispatch): changes because of this.
13174 * LyXAction.C (init): rename open-stuff to inset-toggle.
13176 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13178 * text2.C (toggleInset): renamed from openStuff; use
13181 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13183 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13185 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13187 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13189 * buffer.C (readLyXformat2): Add filename to the error dialog
13191 2001-07-18 Juergen Vigna <jug@sad.it>
13193 * tabular.C (GetCellNumber): put an assert here instead of the check!
13195 2001-07-17 Juergen Vigna <jug@sad.it>
13197 * BufferView_pimpl.C (toggleSelection): adapted too.
13199 * text.C (selectNextWord): adapted for use with insets.
13200 (selectSelectedWord): ditto
13202 2001-07-17 Juergen Vigna <jug@sad.it>
13204 * sp_spell.C (PSpell): fix initialitation order.
13206 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13208 * paragraph.C: spacing
13210 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13212 * sp_spell.C: repair language selection for pspell
13214 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * lyxfunc.h: change more methods to begin with lower char.
13218 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13220 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13221 for unknown layouts.
13223 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13225 * buffer.C (readLyXformat2): Generate an error dialog if there are
13228 2001-07-16 Juergen Vigna <jug@sad.it>
13230 * sp_spell.C: always compile ISpell part.
13232 * lyxrc.C: added use_pspell entry and it's handling.
13234 2001-07-13 Juergen Vigna <jug@sad.it>
13236 * sp_spell.C: removed double includes.
13238 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13240 Consistent use of Lsstream.h:
13241 * Lsstream.h: added using std::stringstream for consistencies sake.
13243 * buffer.C: removed using std::stringstream
13245 * lyxfont.C (stateText):
13246 * paragraph.C (asString):
13247 * text.C (selectNextWord, selectSelectedWord):
13248 * text2.C (setCounter):
13249 * vspace.C (asString, asLatexString):
13250 std::ostringstream -> ostringstream.
13252 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13254 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13255 * commandtags.h: add LFUN_HELP_ABOUTLYX
13256 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13258 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13260 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13262 * lyx_gui_misc.C: remove spellchecker
13263 * lyxfunc.C: showSpellchecker
13265 * sp_ispell.h: added
13266 * sp_pspell.h: added
13267 * sp_spell.C: added
13268 * sp_form.[Ch]: removed
13269 * spellchecker.[Ch]: removed
13271 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13273 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13275 (simpleTeXSpecialChars): Simply print the input character without
13276 any special translation if pass_thru is set.
13278 * layout.h: Added bool pass_thru to layout class for being able to
13279 implement pass through of a paragraph for Literate Programming.
13281 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13282 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13283 * layout.C (Read): add "passthru" to list of layout tags and add
13284 code to set the pass_thru boolean when it is read.
13286 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13288 * trans_decl.h: remove allowed from KmodInfo
13290 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13291 remove allowed code
13294 * paragraph_pimpl.C (erase): use boost::prior
13296 * Painter.C (text): use data() instead of c_str() when length is
13298 * WorkArea.C (putClipboard): ditto
13299 * font.h (width): ditto
13301 * BufferView2.C: use it-> instead of (*it). for iterators
13303 * paragraph_pimpl.C: ditto
13304 * paragraph.C: ditto
13305 * minibuffer.C: ditto
13306 * language.C: ditto
13308 * encoding.C: ditto
13309 * counters.C: ditto
13310 * converter.C: ditto
13312 * Variables.C: ditto
13313 * TextCache.C: ditto
13314 * MenuBackend.C: ditto
13315 * LyXAction.C: ditto
13317 * FloatList.C: ditto
13318 * DepTable.C: ditto
13319 * ColorHandler.C (LyXColorHandler): ditto
13321 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13323 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13325 * text2.C (openStuff): reintroduce this method (which had been
13326 nuked in NEW_INSETS frenzy).
13328 * lyxfunc.C (Dispatch): when an action has not been handled, use
13329 its name in the error message, not its number.
13331 * paragraph.C (inInset): change method name to begin with lowercase.
13334 * text2.C: updates because of this.
13336 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * ToolbarDefaults.C (add): add spaces in error message
13340 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13343 (readLyXformat2): rename return_par to first_par, use lyxlex's
13344 pushToken and remove the manual push handling.
13345 (parseSingleLyXformat2Token): add another ert comp. variable:
13346 in_tabular, rename return_par to first_par. handle newlines better
13348 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13350 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13352 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * text2.C (getParFromID): removed
13356 * buffer.C (getParFromID): new method moved form lyxtext.
13357 * BufferView2.C (insertErrors): adjust
13358 (setCursorFromRow): adjust
13359 * BufferView_pimpl.C (restorePosition): adjust
13360 * lyxfunc.C (Dispatch): adjust
13361 * undo_funcs.C (textUndo): adjust
13363 (textHandleUndo): adjust
13364 (textHandleUndo): adjust
13366 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * buffer.C: up' the LYX_FORMAT
13370 * lyxfont.h: turn NO_LATEX on as default
13372 * buffer.C (insertErtContents): new methods of tex style compability.
13373 (parseSingleLyXformat2Token): use it several places.
13374 * tabular.C (OldFormatRead): and here
13376 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13378 * text2.C: remove some commented code.
13381 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13382 * trans.C: changes because of the above.
13384 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13386 * text2.C (setCounter): Fix counters bug with bibliography layout.
13388 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13391 own member functions
13392 (simpleTeXSpecialChars): ditto
13394 2001-07-06 Juergen Vigna <jug@sad.it>
13396 * a lot of files: changed the access to LyXText::status and the
13397 call of undo-functions.
13399 * undo.[Ch]: added a inset_id to the undo informations.
13401 * undo_funcs.[Ch]: added and moved here all undo functions.
13403 * lyxtext.h: give the status enum a weight, made status_ a private
13404 variable and made accessor functions for it, removed the whole bunch
13405 of undo-functions as they are now in their own file, make some
13406 functions publically available. Added function ownerParagraph with
13409 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13410 made InInset() a const function, added getParFromID() function.
13412 * buffer.[Ch]: added const version for inset_iterator functions,
13413 added getInsetFromID() function.
13415 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13416 changed undo functions for new version.
13418 2001-07-05 Juergen Vigna <jug@sad.it>
13420 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13421 unknow mechanism does not call the proper constructor but only this
13422 one also if I request the other!?
13424 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13426 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13428 * text2.C (LyXText): use initialization lists.
13430 * lyxtext.h (Selection): initialize set_ and mark_
13431 (init): remove method
13433 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13435 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13437 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * screen.[Ch]: change method names to begin with lowercase
13441 * BufferView_pimpl.C (updateScrollbar): simplify further and
13442 hopefully make it a bit faster.
13444 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13446 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13447 calling directly xforms functions.
13449 * Painter.C (Painter):
13450 * lyx_cb.C (MenuWrite):
13451 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13454 * lyx_gui.C: remove bogus guiruntime extern declaration.
13456 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13460 (redoDrawingOfParagraph): ditto
13461 (redoParagraphs): ditto
13462 (cutSelection): don't create a object for CutAndPaste use the
13463 static method directly
13464 (pasteSelection): ditto
13466 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13469 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * modifications to some other files because of this.
13473 * Makefile.am (lyx_SOURCES): add XFormsView
13475 * XFormsView.[Ch]: new files
13477 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13478 the main window. Move the gui dependent stuff to XFormsView
13480 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * tabular.C (GetCellInset): update cur_cell also in the row/col
13483 version of this function.
13485 * lyxfunc.C: no need to include figure_form.h here.
13491 * lyxvc.C: no need to include forms.h here.
13493 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13497 * lyxfunc.C (Dispatch):
13499 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13500 constructor argument.
13502 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * paragraph.C (Paragraph): dont't clear, and just set layout.
13505 (makeSameLayout): use params's copy contructor.
13507 * ParagraphParameters.[Ch] (makeSame): delete method
13509 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13511 * Variables.[Ch]: fix indentation, rename set to isSet
13513 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * lyxfunc.C (Dispatch): fix typo
13517 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13519 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13522 * bufferlist.C: include assert.h for emergencyWrite().
13524 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13526 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13527 give up at last (bug #425202) !
13529 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13535 * spellchecker.C: strip spellchecker options and bring up
13536 preferences tab instead
13538 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13540 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13541 the istringstream constructor
13543 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * paragraph.C (getLayout): fix return value
13547 * paragraph.h: do not declare getLayout as inline.
13549 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13551 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * lyxcursor.h (operator<): new func
13554 (operator>): new func
13555 (operator>=): new func
13556 (operator<=): new func
13558 * text.C (changeCase): use selection.start and selection.end
13559 (changeRegionCase): require from to be <= to. Require par to be a
13562 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13564 2001-06-27 Juergen Vigna <jug@sad.it>
13566 * text.C (cursorLeftOneWord): changed to return the cursor and added
13567 overlay with BufferView * parameter which calls this one.
13569 (selectWord): use new getWord function.
13570 (changeCase): renamed from changeWordCase as and extended to work
13571 also on selections.
13573 * lyxtext.h: added enum word_location
13575 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13576 changeCase as this operates now also on selections.
13578 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13580 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13582 * many files: send debug output to Debug::INFO instead of
13585 * converter.C (View):
13587 (Move): send debug output to Debug::FILES instead of console.
13589 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13591 * lyxfunc.C (getStatus): use func_status
13593 * func_status.h: new header, describing the results of
13594 LyXFunc::getStatus;
13596 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13599 2001-06-25 The LyX Project <jug@sad.it>
13601 * buffer.C (sgmlOpenTag):
13603 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13605 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * text2.C: remove some dead code
13609 * tabular.C (GetCellInset): store the last cell checked (gotten)
13611 * tabular.h: add the helper for the speedup
13613 * lyxtext.h: remove some dead code
13615 2001-06-26 The LyX Project <Asger>
13617 * paragraph.C: Change export to LaTeX of alignment to
13618 \begin{center} and family for better roundtrip work with reLyX.
13620 * Tune the math drawing a bit.
13622 2001-06-25 The LyX Project <Asger>
13624 * LColor.C (LColor): New color for math background. New color
13627 2001-06-25 The LyX Project <jug@sad.it>
13629 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13631 * lyxfunc.C (Open):
13632 * bufferlist.C (newFile): do not restrict to files ending with
13635 * BufferView_pimpl.C (MenuInsertLyXFile):
13637 2001-06-24 The LyX Project <jug@sad.it>
13639 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13642 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13644 * lyxtext.h: rename most methods to begin with a small char.
13645 Lots of changes because of this.
13647 * paragraph.C (Paragraph): do not call fitToSize
13648 (erase): call Pimpl::erase
13649 (insertChar): call Pimpl::insertChar
13650 (insertInset): call Pipl::insertInset
13651 (breakParagraph): do not call fitToSize
13652 (breakParagraphConservative): do not call fitToSize
13653 (fitToSize): remove method
13655 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13657 2001-06-24 The LyX Project <Asger>
13659 * Fix Qt compilation^2
13661 2001-06-24 The LyX Project <jug@sad.it>
13663 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13664 depthHook(getDepth()-1).
13667 * ParagraphParameters.h:
13668 * ParameterStruct.h: change type of depth to unsigned int ==
13669 depth_type. Many adaptations to other files before of that.
13671 2001-06-24 The LyX Project <Asger>
13673 * Fix Qt compilation.
13675 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * paragraph.h: renamed several methods to begin with small letter.
13678 several changes to many parts of the code because of this.
13680 2001-06-23 The LyX Project <jug@sad.it>
13682 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13683 rewritten to discard all double spaces when KeepEmpty is off
13684 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13685 to only handle newlines but not fiddle with spaces and friends.
13687 * lyxfunc.C (MenuNew): when doing 'new from template', use
13688 template_path as default directory
13690 2001-06-23 The LyX Project <Asger>
13692 * Clean-up of header file includes all over
13693 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13695 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13697 * paragraph.h: renamed from lyxparagraph.h
13699 2001-06-23 Asger <lyx@violet.home.sad.it>
13701 * Buffer.h: Removed Buffer::resize
13702 * BufferList.h: Removed BufferList::resize
13703 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13704 the document lazily when we change the width, or the font settings.
13706 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13708 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13710 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13712 * buffer.h: remove out of date comment
13714 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13717 * screen.C: fix "theoretical" GC leak
13719 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * LaTeX.C (scanAuxFile):
13722 (deplog): remove trailing \r when reading stream (useful under
13725 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13727 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13728 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13729 and BufferView::theLockingInset(Inset*), so should use them and not
13730 access bv_->text->the_locking_inset directly.
13732 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13734 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13737 * tex-defs.h: remove old unused file
13739 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13741 * BufferView_pimpl.C: fix typo, remove minibuffer message
13742 when buffer has loaded
13744 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * lyxfunc.C (Dispatch): use stringstream
13747 (MenuNew): use stringstream
13748 (Open): use stringstream
13750 * importer.C (Import): use stringstream
13752 * bufferview_funcs.C (CurrentState): use stringstream
13754 * LaTeX.C (run): use stringstream
13756 * BufferView_pimpl.C (savePosition): use stringstream
13757 (restorePosition): use stringstream
13758 (MenuInsertLyXFile): use stringstream
13760 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13773 * vspace.C: removed // -*- C++ -*- as first line.
13776 * version.h: added // -*- C++ -*- as first line.
13778 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13780 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13782 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13785 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13790 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13792 * gettext.C: include LString.h even when --disable-nls is on.
13794 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13796 * converter.h (Get): changed argument type from int to
13797 FormatList::size_type to avoid unnecessary conversion.
13799 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13802 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * gettext.h: include LString.h even when --disable-nls is on.
13806 2001-06-07 Juergen Vigna <jug@sad.it>
13808 * text.C (BreakAgain): subst spaces with tabs.
13810 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13811 (resizeInsetsLyXText): set force on resizeLyXText.
13813 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * gettext.h (gettext_init):
13816 (locale_init): use a real definition instead of a macro
13818 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13820 * Bufferview_pimpl.C:
13822 * LColor.C: further lcolor tidies
13824 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * BufferView_pimpl.C (updateScrollbar): simplify.
13828 * BufferView2.C: don't include insets/insetinfo.h, change
13829 prototype for insertInset and call the Pimpl version. let
13830 updateInset call Pimpl version.
13832 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13833 gotoInset to BufferView::Pimpl
13835 2001-06-01 Juergen Vigna <jug@sad.it>
13837 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13838 inside a LockingInset (is the update needed at all?).
13840 2001-05-31 Juergen Vigna <jug@sad.it>
13842 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13843 here not the old one otherwise how should we compare it afterwards
13846 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * FontInfo.C: bring C functions into global namespace when
13854 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * LString.h: make sure config.h has been loaded before LString.h.
13858 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13859 (one for each char read by EatLine!).
13861 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13864 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13867 to the same as the par we break from
13869 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13871 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13873 * MenuBackend.C (expand): also create menu entries for wide
13874 versions of the floats.
13876 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13878 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13880 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13881 frontends/Makefile.am
13887 * tabular.C (getTokenValue): add std::
13889 * tabular-old.C (getTokenValue): add std::
13890 (getTokenValue): ditto
13891 (getTokenValue): ditto
13893 * screen.C (ToggleSelection): adjust
13895 * lyxtext.h: put selection cursors inside a Selection struct.
13897 * lyxfunc.C (moveCursorUpdate): adjust
13899 * lyxfont.C (latexWriteStartChanges): add std::
13901 * lyxfind.C: adjust
13903 * font.h: delete with(char const *, LyXFont const &)
13905 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13907 * FontInfo.C (getFontname): add std::
13909 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13910 (workAreaButtonPress): adjust
13911 (tripleClick): adjust
13913 (moveCursorUpdate): adjust
13916 * BufferView2.C (gotoInset): adjust
13918 2001-05-30 Juergen Vigna <jug@sad.it>
13920 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13921 to check pspell I add this as default as I now have new pspell
13922 libraries and they seem to use this.
13924 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13926 * text2.C (CutSelection): make the cursor valid before the call to
13929 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13932 relied on 0 terminated strings and other horrors. Bug found due to
13933 the new assert in lyxstring!
13935 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13938 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13943 * lyxfunc.C (processKeySym): change method of getting to the
13946 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13947 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13948 * BufferView_pimpl.[Ch]: here as private methods.
13950 2001-05-28 Juergen Vigna <jug@sad.it>
13952 * text.C (SetHeightOfRow): added the update() call again as it is
13953 needed to initialize inset dimensions!
13955 2001-05-16 Juergen Vigna <jug@sad.it>
13957 * text2.C (SetCharFont): Add new function with BufferView * and
13958 bool toggleall parameters for setting insets internal fonts.
13959 (SetFont): Freeze the undo as we may change fonts in Insets and
13960 all this change should be inside only one Undo!
13962 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13963 setting font's in insets as for them we have the SetFont function!
13965 2001-05-15 Juergen Vigna <jug@sad.it>
13967 * text2.C (ClearSelection): to be sure we REALLY don't have any
13970 * tabular.C (TeXCellPreamble): fixed the left border problem for
13973 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13975 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13978 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13980 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13981 LFUN_BREAKPARAGRAPH.
13983 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13984 help test to "internal only", similar for LFUN_INSERT_URL
13986 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13987 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13988 auto_region_delete and deadkeys.
13990 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13993 * LColor.C: remove some dead entries, tidy a little
13995 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13997 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13999 (Dispatch): implement LFUN_ESCAPE
14001 * commandtags.h: add LFUN_ESCAPE
14003 * LyXAction.C (init): add entry for LFUN_ESCAPE
14005 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14006 Remove commented code.
14007 (insertNote): moved here
14008 (open_new_inset): moved here
14010 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14013 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * kbmap.C (findbinding): clean it up and make it work correctly.
14017 * lyx_main.C (init): do not pass argc and argv as parameters
14019 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14021 * buffer.C: fix path for OS/2 & Win32
14025 * lyx_main.C: Added os:: class.
14027 * os2_defines.h: update
14029 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14032 better by trying again with reduced state.
14034 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14036 * lyxrc.C (read): print error about invalid key sequence only when
14037 debugging (because not all latinX keysyms are known to some X
14040 * kbsequence.C (getiso): add a few std:: qualifiers
14041 (getiso): comment out extra return statement.
14043 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14047 (Dispatch): enhance the accent inset a bit. (not perfect)
14049 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14051 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14053 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14055 * bufferlist.C (emergencyWrite): fix assert() call
14057 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14059 * text.C (InsertChar): Added trivial patch to only send the "you
14060 can not do multiple spaces this way" message once during a
14063 2001-05-08 Baruch Even <baruch@lyx.org>
14065 * Makefile.am: Changed order of libraries to get LyX to link properly
14066 with the gnome frontend.
14068 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * LaTeXFeatures.h: add a std:: qualifier
14072 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14074 * paragraph.C (String): use stringstream
14076 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14078 * paragraph.C (writeFile): remove footflag arg
14080 * buffer.C (makeLaTeXFile): use stringstream
14081 (latexParagraphs): remove footnot gurba
14083 * LaTeXFeatures.C (getPackages): use stringstream
14084 (getMacros): likewise
14085 (getTClassPreamble): likewise
14086 (getFloatDefinitions): new method
14088 * paragraph.C (writeFile): reindent
14091 * WorkArea.h: revert the xpos + etc changes.
14093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14095 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14097 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14098 (pasteSelection): likewise
14099 * text2.C (CreateUndo): likewise
14101 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * minibuffer.C (peek_event): temporarily reduce the functionality
14104 of the minibuffer (to allow args on lfuns)
14106 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14107 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14109 * buffer.C (readInset): add compability reading of old float
14110 lists, add reading of new style float list.
14111 (readInset): avoid reevaluation of inscmd.getCmdName()
14112 (getLists): reindent
14114 * MenuBackend.C (MenuItem): implement parsing of
14115 md_floatlistinsert and md_floatinsert.
14116 (expand::LastFiles): move initalizaton of iterators out of loop,
14117 avoid reevaluation.
14118 (expand::Documents): introduce typdedef vector<string> Strings,
14120 (expand::ExportFormats): introduce typedef vector<Format const *>
14121 Formats, and use it.
14122 (expand): implement FloatListInsert and FloatInsert.
14124 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14125 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14126 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14128 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14130 (Dispatch::LFUN_FLOAT_LIST): implement
14132 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14134 * LaTeX.C (run): Fix problem with --export code.
14136 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14138 * BufferView.[Ch] (workarea): removed.
14139 (getClipboard) new method; wrapper for workarea()->getClipboard()
14141 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14144 * WorkArea.h (width, height, xpos, ypos): These methods all
14145 returned the dimensions of the work_area sub-area of WorkArea,
14146 resulting in a position error if the WorkArea were resized. Now
14147 return the dimensions of the entire WorkArea.
14149 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14151 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14153 * LaTeX.C (deplog): correct the syntax of regex reg1
14155 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14157 * undo.C: remove !NEW_INSETS cruft
14159 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * text2.C: remove !NEW_INSETS cruft
14163 * text.C: remove !NEW_INSETS cruft
14165 * tabular.C: remove !NEW_INSETS cruft
14167 * spellchecker.C: remove !NEW_INSETS cruft
14169 * lyxtext.h: remove !NEW_INSETS cruft
14171 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14173 * lyxfunc.C: remove !NEW_INSETS cruft
14175 * lyxfind.C: remove !NEW_INSETS cruft
14177 * lyx_cb.C: remove !NEW_INSETS cruft
14179 * figureForm.C: remove !NEW_INSETS cruft
14181 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14183 * buffer.[Ch]: remove !NEW_INSETS cruft
14185 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14187 * CutAndPaste.C: remove !NEW_INSETS cruft
14189 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14191 * BufferView2.C: remove !NEW_INSETS cruft
14193 * BufferView.h: remove !NEW_INSETS cruft
14195 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14197 * Lsstream.h: include LString.h before the sstream headers to
14198 fix problem with gcc 2.95.3 and lyxstring
14200 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * lyx_main.C: add using directives when needed for C functions
14203 declared in std:: namespace.
14205 2001-04-27 Juergen Vigna <jug@sad.it>
14207 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14208 (SetHeightOfRow): comment out the update call should not be needed!
14210 2001-04-13 Juergen Vigna <jug@sad.it>
14212 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14213 (LyXTabular): tried to minimize operator= operations (and realized
14214 hopfully Lars wish).
14216 2001-04-27 Juergen Vigna <jug@sad.it>
14218 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14220 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14224 * buffer.C (readInset): hack to make listof algorithm work
14226 * BufferView_pimpl.C: hack to make listof algorithm work
14228 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * LyXAction.C: removed all !NEW_INSETS cruft
14231 (init): moved lfun_item in method
14233 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14235 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14237 * BufferView2.C (theLockingInset): white space.
14239 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * minibuffer.C: include <iostream>
14243 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14245 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14247 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14249 * text.[Ch] (TransposeChars): new method
14251 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14253 * call message directly through LyXView instead of through LyXFunc
14254 * BufferView2.C: adjust
14255 * BufferView_pimpl.C: adjust
14256 * FontLoader.C: adjust
14258 * bufferview_funcs.C: adjust
14259 * converter.C: adjust
14260 * figureForm.C: adjust
14261 * importer.C: adjust
14263 * lyx_gui_misc.C: adjust
14264 * lyxfunc.C: adjust
14267 + more files in subdirs
14269 * lyxparagraph.h (size): move up int file
14272 * adjust all uses of Assert to lyx::Assert.
14274 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14275 lyxfunctional in namespace lyx
14276 * layout.C (hasLayout): ditto
14279 (delete_layout): ditto
14280 (NumberOfClass): ditto
14281 * converter.C (GetFormat): ditto
14286 * bufferlist.C (getFileNames): ditto
14287 (emergencyWriteAll): ditto
14290 * MenuBackend.C (hasSubmenu): ditto
14293 * BufferView_pimpl.C (getInsetByCode): ditto
14295 2001-04-18 Juergen Vigna <jug@sad.it>
14297 * vspace.C (asLatexString): fixed the 100% problem.
14299 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14301 * lyxfunc.C (Dispatch):
14303 * minibuffer.h: add a few std:: qualifiers
14305 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14307 * minibuffer.[Ch]: reimplement so that commands is initiated and
14308 run from lyxfunc, simplified som handling, and made the completion
14309 and history code for complete. wip.
14311 * lyxfunc.C (processKeySym): call message
14312 (miniDispatch): new temporary method
14313 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14314 (LFUN_MESSAGE): implement
14315 (LFUN_MESSAGE_PUSH): implement
14316 (LFUN_MESSAGE_POP): implement
14317 (initMiniBuffer): the initial/defualt minibuffer message.
14319 * lyxfont.[Ch]: inline some more getters
14321 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14323 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14325 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14326 (AutoSave): use LFUN_MESSAGE
14327 (Reconfigure): ditto
14329 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14331 * figureForm.C: use LFUN_MESSAGE
14333 * converter.C (runLaTeX): use LFUN_MESSAGE
14335 * bufferview_funcs.C: use LFUN_MESSAGE
14337 (changeDepth): ditto
14339 * bufferparams.h: use boost::
14341 * bufferlist.h: inherit privately from noncopyable
14343 * bufferlist.C (loadLyXFile): remove some commented code.
14345 * buffer.C (runChktex): use LFUN_MESSAGE
14347 * ShareContainer.h: inherit privately from noncopyable
14349 * ParagraphParameters.[hC] (depth): inline it.
14351 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14353 (message): new method
14354 (messagePush): ditto
14355 (messagePop): ditto
14356 (show): init minibuffer
14357 (showState): direct call
14359 * LaTeX.[Ch]: inherit privately from noncopyable
14360 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14361 instead of WriteStatus.
14363 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14365 * BufferView_pimpl.C (buffer): don't init minibuffer
14366 (workAreaButtonPress): use LFUN_MESSAGE
14367 (workAreaButtonRelease): ditto
14368 (savePosition): ditto
14369 (restorePosition): ditto
14370 (MenuInsertLyXFile): ditto
14371 (workAreaExpose): don't init minibuffer
14372 (update): remove commented code, simplify
14374 * BufferView2.C (openStuff): use LFUN_MESSAGE
14375 (toggleFloat): ditto
14378 (copyEnvironment): ditto
14379 (pasteEnvironment): ditto
14384 (updateInset): remove some commented code
14386 * lastfiles.h: inherit privately from noncopyable
14389 * lyx_main.h: ditto
14391 * lyxlex_pimpl.h: ditto
14393 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14394 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14395 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14397 * LyXAction.h: inherit privately from noncopyable, add methods
14398 func_begin, func_end, returning iterators to the func map.
14400 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14401 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14402 (func_begin): new method
14403 (func_end): new method
14405 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14407 (copySelection): ditto
14408 (pasteSelection): ditto
14410 * BufferView.C: whitespace change
14411 * BufferView.h: inherit privately from noncopyable
14413 2001-04-16 Allan Rae <rae@lyx.org>
14415 * tabular-old.C (l_getline):
14416 * spellchecker.C (sc_check_word):
14417 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14418 an unrecognised preprocessor directive. So ensure they're wrapped.
14420 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14422 * src/exporter.C (Export): Give an error message when path to file
14425 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14427 * LaTeX.C (deplog): Always check that foundfile exists.
14429 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14434 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14436 * tabular.[Ch] (getLabelList): implement new method
14438 * minibuffer.h: comment ouf setTiimer
14440 * minibuffer.C (ExecutingCB): constify res
14441 (peek_event): constify s
14442 (Set): constify ntext
14443 (Init): constify nicename
14445 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14447 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14448 (savePosition): use two params to Minibuffer::Set
14449 (restorePosition): ditto
14451 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14453 * lyx_main.C: include language.h
14455 * Makefile.am (lyx_main.o): add language.h
14457 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14463 * CutAndPaste.C: include gettext.h
14465 * lyxfont.h: remove old hack with ON and OFF.
14468 * lyxfont.h: do not include language.h...
14473 * bufferview_funcs.C:
14479 * paragraph.C: ... but do it here instead
14481 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14485 * tabular.C: small reformat
14487 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14490 (BreakParagraph): ditto
14491 (SetOnlyLayout): ditto
14494 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14497 * lastfiles.C: removed most using decl, add std:: where needed
14499 * buffer.C: ws changes
14501 * MenuBackend.C (class compare_format): put into anon namespace
14502 (expand): constify label, names, action, action2
14505 * text.C (SingleWidth): constify font
14506 (IsBoundary): constify rtl2
14507 (GetVisibleRow): constify ww
14509 * LaTeX.C (deplog): constify logfile
14511 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14513 (workAreaExpose): constify widthChange, heightChange
14515 * lyxrow.C (par): moved
14518 * lyxrow.h: as inlines here
14520 * lyxfont.h (shape): moved from lyxfont.C
14521 (emph): moved from lyxfont.C
14523 * lyxfont.C (LyXFont): use initialization list for all
14525 (shape): move to lyxfont.h as inline
14526 (emph): move to lyxfont.h as inline
14529 2001-04-04 Juergen Vigna <jug@sad.it>
14531 * vspace.C: had to include stdio.h for use of sscanf
14533 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14536 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14537 independent of xforms.
14539 2001-04-02 Juergen Vigna <jug@sad.it>
14541 * spellchecker.C: fixed namespace placing!
14543 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14545 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14546 the LyXParagraph * is 0.
14548 2001-03-29 Juergen Vigna <jug@sad.it>
14550 * vspace.C: added support for %, c%, p%, l%.
14551 (stringFromUnit): added helper function.
14552 (asLatexString): changed to give right results for the %-values.
14554 * buffer.C: convert the widthp in a width%.
14556 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14558 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14561 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14562 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14564 * lyx_cb.[Ch]: see above.
14566 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14570 * lyx.[Ch]: replaced by figure_form.[Ch].
14574 * lyxfunc.C: changed headers associated with above changes.
14576 2001-03-27 Juergen Vigna <jug@sad.it>
14578 * BufferView_pimpl.C: set the temporary cursor right!
14580 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14582 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14584 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14586 * LString.h: removed "using std::getline"!
14588 * BufferView_pimpl.C (Dispatch): changes due to changes in
14589 InsetInclude::Params.
14591 * buffer.C (tag_name): removed redundant break statements as they were
14592 producing lots of warnings with my compiler.
14594 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14596 * LString.h: add "using std::getline" when using the real <string>.
14598 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14600 * buffer.C: removed bitset usage.
14601 PAR_TAG moved to an anonymous name space.
14602 (tag_name): new funtion, also in the anonymous namespace.
14603 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14604 (makeDocBookFile): clean code. Completed transition from string arrays
14606 (SimpleDocBookOnePar): code clean.
14608 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14610 * tabular.C: add some comments.
14612 2001-03-22 Juergen Vigna <jug@sad.it>
14614 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14615 compatibility read a bit and fixed bug with minipage in different
14618 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14620 * buffer.C (pop_tag): removed.
14621 (push_tag): removed.
14622 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14623 array replaced with vector. Added support for CDATA sections.
14624 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14626 (makeDocBookFile): XML conformant declaration of CDATA section,
14627 fixed bug related to <emphasis> in the first paragraph char.
14628 (sgmlOpenTag): exclude empty tags.
14629 (sgmlCloseTag): ditto.
14631 * buffer.h (pop_tag): removed.
14632 (push_tag): removed.
14634 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14636 * language.h (Languages): added size_type and size().
14638 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14640 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14641 response on compability reading of minipages. One probliem is that
14642 the old usage of minipages was «flertydig»
14644 * several files here and in subdirs: don't use static at file
14645 scope use anon namespaces instead.
14647 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14649 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14650 LaTeX output. This is necessary for Literate document
14653 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14655 * buffer.C: insert hfill when needed.
14657 * tabular.C (l_getline): use string::erase, small whitespace change.
14659 * BufferView_pimpl.C: try the anon namespace.
14660 * WorkArea.C: ditto
14662 2001-03-16 Juergen Vigna <jug@sad.it>
14664 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14665 otherwise it won't open options-dialogs.
14667 * buffer.C: honor pextraWidth(p) on converting minipages.
14669 * tabular.C (l_getline): changed the functions to strip trailing \r.
14671 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14673 * BufferView_pimpl.C:
14674 * minibuffer..C: added "using SigC::slot" declaration.
14676 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14678 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14684 * paragraph.C: ditto
14686 * lyxtext.h: NO_PEXTRA
14688 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14690 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14691 * ParameterStruct.h: ditto
14692 * ParagraphParameters.h: ditto
14693 * lyxparagraph.h: ditto
14695 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14697 * buffer.C: add compability for minipage alignment.
14698 (latexParagraphs): remove unwanted pextra check.
14700 * several files: remove CXX_WORKING_NAMESPACES
14702 * buffer.C (pop_tag): tie is in namespace boost
14704 * BufferView.h: noncopyable is in namespace boost
14706 * lyx_main.h: ditto
14709 * lastfiles.h: ditto
14710 * bufferlist.h: ditto
14711 * ShareContainer.h: ditto
14713 * LyXAction.h: ditto
14716 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14718 * Merging changes from BRANCH_MVC back into HEAD.
14720 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14722 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14724 * BufferView_pimpl.C: change from intl.C
14728 * Makefile.am: move combox.*
14734 * intl.C: remove dialog (covered by prefs)
14736 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14738 * lyxfunc.C (Dispatch): removed redundant break statement.
14740 2001-03-14 Juergen Vigna <jug@sad.it>
14742 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14744 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14746 * buffer.C: add hack to fix compability reading of minipages.
14748 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14750 * buffer.C (getLists): Cleanup.
14752 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * lyxfont.C (update): don't honor toggleall on font size.
14756 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14760 * Makefile.am: moved to frontends/xforms/
14764 * BufferView_pimpl.C: changes for moved mathpanel
14766 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14768 * gettext.h: fix gettext_init() in --disable-nls
14770 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14774 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14777 * lyx.h: strip external form
14779 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14781 * BufferView_pimpl.C: add comment, destroySplash()
14783 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14785 * BufferView_pimpl.C:
14789 * lyxfunc.C: use re-worked insetinclude
14791 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14793 * buffer.C: add using std::stringstream.
14795 * lyx_cb.C: readd using std::ios.
14797 * buffer.C: add using std::map.
14799 * BufferView_pimpl.C: add using std::vector.
14801 * ShareContainer.h: add std:: to swap.
14803 * buffer.h: add some typedefs
14804 * buffer.C (getLists): use them
14805 (getLists): renamed from getTocList.
14806 add a counter for the different float types and use it in the
14808 (getLists): use the same counter for the NEW_INSETS and the "non"
14811 * lyx_cb.h: remove unused items, includes, using etc.
14813 * ShareContainer.h: remove some commented code, add more comments
14814 and "documentation".
14816 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14818 * buffer.C (getTocList): make the list also when NEW_INSETS is
14821 * buffer.h: remove TocType
14823 * buffer.C (getTocList): change to return a map<string,
14824 vector<TocItem> >, implement for dynamic number of list.
14826 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14827 * text2.C (PasteSelection): adjust
14828 * CutAndPaste.C (pasteSelection): adjust
14830 * FloatList.C (FloatList): update from the new_insets branch.
14831 * Floating.[Ch]: ditto
14832 * LaTeXFeatures.C: ditto
14834 * lyxlex_pimpl.C: ditto
14836 * paragraph.C (Last): remove when NEW_INSETS is defined.
14838 * other file: changes because of the above.
14840 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14842 * lyxparagraph.h: rename next to next_, previous to previous_,
14843 make them private for NEW_INSETS. Rename Next() to next(),
14844 Previous() to previous().
14846 * other files: changes because of the above.
14848 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14851 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14854 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * main.C (main): pass lyx_localedir to gettext_init().
14858 * gettext.h: remove locale_init and gettext_init macros
14860 * gettext.C (locale_init): new function
14861 (gettext_init): new function
14863 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14866 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14868 * Moved credits to frontends:
14869 * credits.[Ch]: removed
14870 * credits_form.[Ch]: removed
14871 * lyx_gui_misc.C: remove credits stuff
14874 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14876 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14878 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14879 unneeded destructor.
14881 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14882 a standalone pointer again.
14884 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14886 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14892 * ToolbarDefaults.C:
14901 * BufferView_pimpl.C: use new file dialog in GUII
14904 * lyx_cb.C: remove LayoutsCB to Toolbar
14906 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * ShareContainer.h (get): add std:: qualifier
14910 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * ShareContainer.h: define a proper ShareContainer::value_type
14913 type (and use typename to please compaq cxx)
14915 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14917 * lyxparagraph.h: move serveral local vars to
14918 ParameterStruct/ParagraphParameters., use ShareContainer in
14919 FontTable., make vars in FontTable private and add getter and
14922 * paragraph.C: changes because of the above.
14924 * lyxfont.h: remove copy constructor and copy assignment. (the
14925 default ones is ok), move number inside FontBits. move inlines to
14928 * lyxfont.C: add number to initializaton of statics, move several
14929 inlines here. constify several local vars. some whitespace
14930 cleanup. Dont hide outerscope variables.
14932 * Spacing.h: add two new constructors to match the set methods.
14934 * ShareContainer.h: new file, will perhaps be moved to support
14936 * ParameterStruct.h: new file
14938 * ParagraphParameters.h: new file
14940 * ParagraphParameters.C: new file
14942 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14943 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14945 * BufferView_pimpl.C: ParagraphParameter changes.
14946 * buffer.C: Likewise.
14947 * bufferview_funcs.C: Likewise.
14948 * text.C: Likewise.
14949 * text2.C: Likewise.
14951 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * lyxfind.C (LyXReplace): do not redefine default argument in
14955 (IsStringInText): ditto
14956 (SearchForward): ditto
14957 (SearchBackward): ditto
14959 2001-03-06 Juergen Vigna <jug@sad.it>
14961 * lyxfind.C (IsStringInText): put parentes around expressions.
14963 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14965 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14967 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14969 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14971 * stl_string_fwd.h: add comment
14973 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14976 * tabular.C: remove unused DocBook methods
14982 killed DO_USE_DEFAULT_LANGUAGE
14984 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14986 * lyx_gui.C: do not include language.h.
14988 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14989 arguments in function implementation.
14991 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14993 * BufferView_pimpl.C: add <ctime>
14995 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14997 * BufferView_pimpl.C: add using std::find_if
14999 2001-02-27 José Matos <jamatos@fep.up.pt>
15001 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15004 2001-02-11 José Matos <jamatos@fep.up.pt>
15006 * buffer.C (makeDocBookFile): command styles now have a parameter as
15007 "title" by default.
15009 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15011 * layout_forms.[Ch]: removed
15012 * lyx_cb.[Ch]: out character
15013 * lyx_gui.C: out character
15014 * lyx_gui_misc.C: out character
15015 * bufferview_funcs.C: : out character,
15016 added toggleall as parameter in ToggleAndShow
15018 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15020 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15022 * text2.C (SetCurrentFont): Disable number property at boundary.
15024 2001-02-26 Juergen Vigna <jug@sad.it>
15026 * lyxfunc.C (getStatus): added a string argument override function so
15027 that this is correctly called from LyXFunc::Dispatch if it contains a
15028 do_not_use_argument which is used!
15029 (Dispatch): added check for "custom" export and call appropriate func.
15031 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15033 * lyxrc.C: Add language_command_local, language_use_babel and
15034 language_global_options.
15036 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15038 * buffer.C (makeLaTeXFile): Use language_use_babel and
15039 language_global_options.
15041 2001-02-23 Juergen Vigna <jug@sad.it>
15043 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15044 which works with LyXText and putted it inside BufferView. Here now we
15045 only call for that part the BufferView::Dispatch() function.
15047 * BufferView.C (Dispatch): added.
15049 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15050 functions which needs to use a LyXText over from LyXFunc.
15051 (MenuInsertLyXFile): added
15052 (getInsetByCode): added
15053 (moveCursorUpdate): added
15054 (static TEXT): added
15056 2001-02-22 Juergen Vigna <jug@sad.it>
15058 * BufferView_pimpl.C (update): call a status update to see if LyXText
15061 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15063 * vc-backend.C (revert): implement for CVS
15064 (getLog): implement for CVS
15066 2001-02-20 Juergen Vigna <jug@sad.it>
15068 * text2.C (ClearSelection): added BufferView param for inset_owner call
15070 * lyxfunc.C (TEXT): added this function and use it instead of
15071 directly owner->view()-text of getLyXText().
15073 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15075 * src/layout_forms.C: out preamble
15076 * src/layout_forms.h: out preamble
15077 * src/lyx_cb.C: out preamble
15078 * src/lyx_cb.h: out preamble
15079 * src/lyx_gui.C: out preamble
15080 * src/lyx_gui_misc.C: out preamble
15081 * src/lyxfunc.C: connect with guii preamble
15083 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15085 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15087 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15089 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15090 whether to run bibtex.
15092 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15094 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15096 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15098 * Makefile.am (lyx_SOURCES): removed bibforms.h
15100 * vspace.h: doxygen
15102 * text.C (GetVisibleRow): make several local vars const
15104 * tabular.C: small cleanup.
15106 * lyxserver.C (callback): use compare instead of strncmp
15108 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15109 inlines to after class or to paragraph.C
15111 * lyxfont.h: remove friend operator!=
15113 * converter.h: move friend bool operator< to non friend and after
15116 * combox.h: small cleanup
15118 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15119 to inlines after class def.
15121 * buffer.C (pop_tag): use string operations instead of strcmp
15123 * bmtable.c: doxygen, small cleanup
15125 * LaTeX.h: remove friend operator==
15127 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15139 * BufferView_pimpl.C:
15140 * BufferView.[Ch]: remove cruft
15142 2001-02-14 Juergen Vigna <jug@sad.it>
15144 * lyxfunc.C: removed #if 0 unused code
15146 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15148 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15150 * text2.C (SetSelection): added a BufferView * parameter
15152 2001-02-13 Juergen Vigna <jug@sad.it>
15154 * lyxfunc.C (Dispatch): fixed protected blank problem.
15155 * BufferView2.C (protectedBlank): added LyxText * parameter.
15157 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15158 (AppendColumn): same as above for column_info.
15160 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15161 (moveCursorUpdate): use a LyXText param for support of InsetText.
15163 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15164 (tripleClick): ditto
15166 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15168 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15170 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15172 * text2.C (SetSelection): set correct update status if inset_owner
15173 (ToggleFree): ditto
15175 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15177 * tabular.C: remove some commented code.
15179 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15181 * BufferView_pimpl.C: call hideSplash()
15183 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15186 * bibforms.h: remove
15189 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15190 add LFUN_CHILD_CREATE
15192 * counters.h: fix tiny typo
15197 * lyx.C: move splash to frontends/xforms/
15199 * lyx_gui_misc.C: move Include and Bibform to frontends
15201 * lyxvc.h: clarify comment
15203 * vspace.C: tiny housekeeping
15205 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15207 * text.C (PrepareToPrint): RTL Fix.
15209 * paragraph.C (GetUChar): New method.
15210 (String): Use GetUChar.
15212 * buffer.C (asciiParagraph): Use GetUChar.
15214 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15216 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15218 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15221 * buffer.C: rename to getLogName(), handle
15222 build log / latex log nicely
15224 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * MenuBackend.h: remove support for reference menuitem type.
15229 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15231 * BufferView_pimpl.C: housekeeping
15232 * BufferView_pimpl.h:
15237 * minibuffer.h: move Timeout GUI-I
15239 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15241 * lyxrc.C (read): Update converters data-structures.
15243 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15245 * LaTeX.h (operator!=): add operator != for Aux_Info
15247 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15249 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15251 * LaTeXLog.C: deleted, useful code moved to Buffer
15254 * buffer.C: new function getLatexLogName()
15260 * lyxfunc.C: use frontends for LaTeX and VC logs
15262 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * LaTeX.h: yet another std:: that Allan forgot.
15266 * Variables.C (set): renamed from isset(), because this clashes
15267 with some HP-UX macros (grr).
15269 2001-02-06 Allan Rae <rae@lyx.org>
15271 * LaTeX.h: Another bug fix. Missing std:: this time.
15273 2001-02-04 Allan Rae <rae@lyx.org>
15275 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15276 floats problem. I've left it commented out because it's not quite
15277 correct. It should also test that the current object is a table or
15278 figure inset. But I haven't gotten around to figuring out how to do
15279 that. I *think* it'll be something like: "table" == inset.type()
15281 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15284 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15286 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15287 all the citation/databases/styles in the auxilary file.
15288 (run): Rerun latex if there was a babel language error.
15290 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15292 * text.C (Backspace): Preserve the font when changing newline char
15294 (BreakParagraph): If the cursor is before a space, delete the space.
15296 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15298 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15300 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15301 new argument (code).
15302 (ChangeCitationsIfUnique): New method.
15304 * paragraph.C (GetPositionOfInset): Handle bibkey.
15306 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15308 * BufferView_pimpl.h: change type of Position::par_pos to
15309 LyXParagraph::size_type.
15311 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15313 * BufferView_pimpl.C (savePosition, restorePosition): Write
15314 messages to minibuffer.
15316 2001-01-28 José Matos <jamatos@fep.up.pt>
15318 * buffer.C (makeDocBookFile): adds support for document language.
15319 A silly restriction on the name of LatexCommand types where removed.
15320 Added support for CDATA sections, allows to chars unescaped, used
15321 among others in code, to avoid escape < and >.
15323 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15325 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15326 saved positions instrad of a stack. Furthermore, a position is
15327 stored using paragraph id/paragraph position.
15329 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15330 Remove LFUN_REF_BACK.
15332 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15334 * converter.C (dvipdfm_options): New method.
15336 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15338 * vspace.C (isValidLength): Fix for empty input string.
15340 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * LyXAction.C (init): change description of LFUN_FIGURE to
15345 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * LaTeX.C: add using directive
15349 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15351 * MenuBackend.C (expand): Fix the sorting of the formats.
15353 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15355 * lyx_main.C: tiny error message fix
15357 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15360 calling fl_initialize(). This fixes the problem with ',' as
15361 decimal separator in text files.
15363 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15365 * trans.C (process): Fix the keymap bug.
15367 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15369 * LaTeX.C (scanAuxFiles): New method. Provides support for
15370 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15371 (scanLogFile) Scan for "run BibTeX" messages.
15373 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15374 OT1 font encoding. Also, load the aecompl package if the ae
15377 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15379 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * texrow.C (increasePos): turn two error messages into debug
15384 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15386 * LaTeX.C (scanAux): Handle the \@input macro.
15387 (runBibTeX): Use scanAux().
15389 * language.C (latex_options_): New field.
15391 * LaTeXFeatures.C (getMacros): Add language macros.
15393 * buffer.C (makeLaTeXFile): Small fix.
15395 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15399 * text2.C: add a using directive.
15401 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15406 * lyxfunc.C: kill LyXBell.
15408 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15410 * text.C (IsBoundary): Remove the error message
15412 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15414 * lyxrc.C (setDefaults): Correct initialization value for
15417 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15419 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15422 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15423 and GotoNextNote().
15425 * src/LyXAction.C: Added reference-next.
15427 * text.C (InsertChar): Use contains instead of strchr.
15429 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15431 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15433 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15434 alignment commands (when needed).
15436 * text.C (InsertChar): Add ':' to number separator chars.