1 2004-04-13 Angus Leeming <leeming@lyx.org>
3 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
6 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * format.[Ch]: add editor to Format
9 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
10 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
12 2004-04-08 André Pönitz <poenitz@gmx.net>
14 * metricsinfo.h: remove PainterInfo::width member
16 2004-04-08 Angus Leeming <leeming@lyx.org>
18 * lyx_sty.C (boldsymbol_def): modify so that it outputs
19 "\providecommand" rather than "\newcommand", thereby preventing
20 clashes with packages that define "\boldsymbol" themselves.
23 2004-04-08 Angus Leeming <leeming@lyx.org>
25 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
26 thereby squashing an unnecessary warning.
28 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
33 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
35 * BufferView.C (setCursor): call redoParagraph (some insets could
37 (putSelectionAt): remove the 'double update' trick
39 * BufferView_pimpl.C (fitCursor): call refreshPar
40 (workAreaDispatch): remove an uneeded update call
41 (dispatch): remove some manual update calls
43 * cursor.[Ch]: remove cached_y_, updatePos
44 (selHandle): set noUpdate when appropriate
46 * lyxfunc.C (dispatch): track if we need an update
48 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
50 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
51 (paintSelection): cheap optimization, do not call cursorX when not
53 (paintPars): change signature
56 (paintTextInset): adjust
60 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lengthcommon.C: compilation fix: remove explicit array size from
63 unit_name[] and friends
65 2004-04-05 Angus Leeming <leeming@lyx.org>
67 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
69 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
70 present only for the preferences dialog.
71 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
73 2004-04-05 Angus Leeming <leeming@lyx.org>
75 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
76 to enable the frontends to export changes to lyxrc correctly.
78 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
80 2004-04-07 André Pönitz <poenitz@gmx.net>
82 * cursor.[Ch] (selClear, adjust): remove math
84 * cursor_slice.C: more agressive assert
87 * BufferView_pimpl.C: rework mouse event dispatch
94 2004-04-05 André Pönitz <poenitz@gmx.net>
96 * cursor.[Ch] (valign, halign...): remove unneeded functions
98 2004-04-05 Angus Leeming <leeming@lyx.org>
100 * lyxlength.[Ch] (unit_name et al.): const-correct.
102 2004-04-05 Angus Leeming <leeming@lyx.org>
104 * BufferView_pimpl.C:
113 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
115 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
117 * text3.C (getStatus): add LFUN_BEGINNINGBUF
119 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
121 * lyxfind.C: add a couple of inTexted() tests + other small fixes
122 * BufferView_pimpl.[Ch] (getStatus)
123 * BufferView.[Ch] (getStatus): add
124 * lyxfunc.C (getStatus): move lfuns handled in
125 BufferView::dispatch to te function above
126 * Cursor.C (setSelection): set selection() = true
128 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
130 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
132 2004-03-31 Angus Leeming <leeming@lyx.org>
134 * lyxfunc.C (dispatch): Fall through to the generic
135 Dialogs::show("preamble").
137 2004-03-31 Angus Leeming <leeming@lyx.org>
139 * lyxfunc.C (dispatch): Fall through to the generic
140 Dialogs::show("spellchecker").
142 2004-03-31 Angus Leeming <leeming@lyx.org>
144 * lyxfunc.C (getStatus, dispatch): changed invocation of the
147 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
152 * insetiterator.[Ch]:
157 * undo.[Ch]: s/DocumentIterator/DocIterator/g
159 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
161 * BufferView.C (setCursor, putSelectionAt): call edit to open the
162 insets where we are putting the cursor.
164 2004-03-31 Angus Leeming <leeming@lyx.org>
167 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
169 * lyxrc.[Ch] (read, write): overloaded member functions taking
170 a std::[io]stream arguments.
172 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
174 2004-03-31 Angus Leeming <leeming@lyx.org>
176 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
177 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
179 * lyxtextclass.C (load): if the text class couldn't be loaded, then
180 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
182 2004-03-31 Angus Leeming <leeming@lyx.org>
184 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
185 the LFUN_ALL_INSETS_TOGGLE code.
187 2004-03-30 Angus Leeming <leeming@lyx.org>
189 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
190 has died. Fall through to the generic Dialogs::show("document").
192 2004-03-30 Angus Leeming <leeming@lyx.org>
195 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
196 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
198 * lyxfunc.C (getStatus, dispatch): define the actions for these
199 lfuns. Little more than a cut and pste job from ControlDocument.C
201 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
203 2004-03-30 Angus Leeming <leeming@lyx.org>
206 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
207 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
209 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
210 open/closed state of ollapsable insets. Usage:
212 all-inset-toggle <state> <name>, where
213 <state> == "open" || "closed" || "toggle" and
214 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
216 * lyxtext.h, text2.C (toggleInset): removed.
218 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
219 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
220 now passes LFUN_INSET_TOGGLE to the found inset.
222 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
223 is now invoked as "all-insets-toggle toggle branch".
225 2004-03-30 Angus Leeming <leeming@lyx.org>
229 * pariterator.[Ch]: added/corrected header blurb.
231 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
233 * dociterator.[Ch]: add an inset_ member
234 (backwardPos): implemented
235 (backwardPos, forwardPos): use inset_ when the stack is empty.
236 (doc_iterator_begin, doc_iterator_end): implemented
237 * pariterator.[Ch]: adjust, add begin, end
238 * insetiterator.[Ch]: adjust, add begin, end
242 * BufferView_pimpl.C:
243 * CutAndPaste.C: adjust
245 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * buffer.C: increment file format to 232.
248 * LaTeXFeatures.C: add bibtopic package.
249 * bufferparams.[Ch]: param \use_bibtopic.
251 * lyxrc.[Ch]: add lyxrc bibtex_command
252 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
254 * buffer.C: increment file format to 231.
256 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
258 * dociterator.C: implement forwardPar
259 * iterators.[Ch]: remove, replaced by
260 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
262 * BufferView_pimpl.C:
265 * bufferview_funcs.C:
271 * Makefile.am: adjust
273 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
275 * CutAndPaste.C (pasteSelection): fix 2 crashes
276 (eraseSelection): fix a crash
277 * paragraph_funcs.C: remove a warning
279 2004-03-28 Angus Leeming <leeming@lyx.org>
282 * LyXAction.C (init): new LFUN_PRINT.
284 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
286 2004-03-27 Angus Leeming <leeming@lyx.org>
289 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
291 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
293 2004-03-27 Angus Leeming <leeming@lyx.org>
295 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
296 insetlist always contains non-null pointers to insets.
298 2004-03-26 Angus Leeming <leeming@lyx.org>
300 * src/BufferView_pimpl.C:
304 * src/output_plaintext.C:
305 * src/outputparams.h:
306 * src/paragraph_funcs.C:
310 * src/frontends/controllers/ControlErrorList.C:
311 * src/frontends/gtk/FileDialogPrivate.C:
312 * src/frontends/gtk/GPainter.C:
313 * src/frontends/gtk/GToolbar.C:
314 * src/frontends/qt2/QRef.C:
315 * src/mathed/math_scriptinset.C: squash compiler warnings.
317 2004-03-26 Angus Leeming <leeming@lyx.org>
319 * ispell.C (LaunchIspell::start):
320 * lyx_cb.C (AutoSaveBuffer::start):
321 invoke run(DontWait) rather than runNonBlocking().
323 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
325 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
327 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * kbsequence.C (print): adjust
331 * kbmap.C (printKeySym): rename and change signature
332 (printKey): use LyXKeySym::print()
334 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
336 * undo.C: add using std::advance to compile for stlport
338 2004-03-24 Angus Leeming <leeming@lyx.org>
340 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
341 it leads to a crash when no buffer is present.
343 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 Martin Vermeer <martin.vermeer@hut.fi>
346 * lyxfunc.C (dispatch):
347 * bufferparams.C (readToken): use the new LColor::setColor
349 * LColor.[Ch] (setColor): new version that takes two strings as
350 argument and creates a new color entry if necessary
352 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
354 * buffer.C (makeLaTeXFile): if the main latex file that is
355 processed is usually a subdocument of some master, then pretend
356 for a while that it is actually the master
358 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
360 * buffer.C (getLabelList):
361 (getBibkeyList): use getMasterBuffer()
362 (getMasterBuffer): new method. Returns the main document in the
363 case where one is using included documents.
365 2004-03-25 André Pönitz <poenitz@gmx.net>
369 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
371 * ParagraphList_fwd.h: change ParagraphList to a std::vector
373 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
374 text*.C over here. Rename namespace CutAndPaste to lyx::cap
376 * ParameterStruct.h: merge with ParagraphParameters
378 * lyxtext.h: remove LyXText::parOffset() and getPar()
380 * text3.C: Remove all 'manual' update calls. We do now one per user
381 interaction which is completely sufficient.
385 * BufferView_pimpl.C:
388 * ParagraphParameters.[Ch]:
400 * output_docbook.[Ch]:
402 * output_linuxdoc.[Ch]:
403 * output_plaintext.[Ch]:
405 * paragraph_funcs.[Ch]:
406 * paragraph_pimpl.[Ch]:
414 * frontends/controllers/ControlDocument.C:
415 * frontends/controllers/ControlErrorList.C:
416 * frontends/controllers/ControlSpellchecker.C:
419 * insets/insetbase.h:
420 * insets/insetbibitem.C:
422 * insets/insetbranch.C:
423 * insets/insetcaption.C:
424 * insets/insetcharstyle.C:
425 * insets/insetcharstyle.h:
426 * insets/insetcollapsable.C:
427 * insets/insetcollapsable.h:
429 * insets/insetfloat.C:
430 * insets/insetfoot.C:
431 * insets/insetmarginal.C:
432 * insets/insetnote.C:
433 * insets/insetoptarg.C:
434 * insets/insettabular.C:
435 * insets/insettext.C:
436 * insets/insettext.h:
437 * insets/insetwrap.C:
438 * mathed/math_mboxinset.C:
439 * mathed/math_nestinset.C:
440 * mathed/math_scriptinset.C:
441 * mathed/math_scriptinset.h:
444 2004-03-24 Angus Leeming <leeming@lyx.org>
446 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
447 deal with any child processes that have finished but are waiting to
448 communicate this fact to the rest of LyX.
450 2004-03-24 Angus Leeming <leeming@lyx.org>
452 64-bit compile fixes.
454 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
455 (c-tor): pass lyx::pos_types rather than ints.
457 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
460 * text.C (Delete): compile fix.
461 (getPar): ensure that function declaration is the same as that in
464 2004-03-23 Angus Leeming <leeming@lyx.org>
466 * ispell.C (LaunchIspell):
467 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
468 a boost::shred_ptr rather than a std::auto_ptr.
470 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * lyxfunc.C (getStatus): handle read-only buffers correctly;
473 handle LFUN_FILE_INSERT_*
475 * lyxrc.C (setDefaults, getDescription, output, read):
476 * lyxrc.h: remove ps_command
478 2004-03-22 Angus Leeming <leeming@lyx.org>
480 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
481 Ensure that error_handler is processed once only and that all data
482 is saved before attempting to output any warning messages.
484 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
486 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
488 * tabular.C (TeXRow): crash fix (from Kayvan and André)
490 2004-03-19 André Pönitz <poenitz@gmx.net>
492 * cursor.[Ch] (reset): take main text inset as argument
495 * BufferView_pimpl.C: adjust
497 * paragraph.[Ch]: fix completely broken operator=()
499 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * LColor.C (getFromLyXName): make sure that the color name is used
504 2004-03-17 Angus Leeming <leeming@lyx.org>
507 * LyXAction.C (init): remove LFUN_FORKS_KILL.
509 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
510 dialog and to kill a forked process.
512 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
514 * text2.C (setCursorFromCoordinates): fix font problem
516 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
518 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
519 bogus "rebuild cursor" code
521 2004-03-11 André Pönitz <poenitz@gmx.net>
523 * buffer.[Ch]: use InsetText instead of LyXText as container for
526 * dociterator.[Ch]: drop the BufferView * member which is not needed
527 anymore after the change to buffer.C
533 * BufferView_pimpl.[Ch]:
535 * cursor_slice.[Ch]: adjust
537 * text3.C: fix bug in mathDispatch
539 2004-03-08 André Pönitz <poenitz@gmx.net>
541 * undo.[Ch]: use 'StableDocumentIterator' as base for
544 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * bufferparams.[Ch]: add jurabib support and param.
549 * LaTeX.C: add FIXME/comment.
551 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
553 * buffer.C: increment file format to 230.
555 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
557 * cursor.C (dispatch): avoid infinite loops
559 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
561 * rowpainter.C (paintSelection): fix x coordinates
563 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
565 * text.C (rowBreakPoint): fix breaking before displayed insets
567 2004-03-01 André Pönitz <poenitz@gmx.net>
569 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
571 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
575 * BufferView_pimpl.C:
583 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
589 * BufferView_pimpl.C: rename textwidth -> maxwidth,
590 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
592 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
594 * Bidi.[Ch] (computeTables): const correctness
595 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
596 fill_hfill, fill_label_hfill and x from Row
597 * lyxtext.h: prepareToPrint returns a RowMetrics
598 * rowPainter.C: adjust
599 * text.C (prepareToPrint): use width, not textWidth. adjust
600 (redoParagraphInternal, cursorX): adjust
601 * text2.C (getColumnNearX): adjust
602 (init): put a default value to the top LyXText::width
604 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
606 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
608 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
610 * lyxtext.h: add FontIterator class
612 * text.C (FontIterator, operator*, operator->, operator++): add
613 (rowBreakPoint, setRowWidth): adjust (fixing a
616 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * BufferView_pimpl.C (workAreaDispatch): allow also
619 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
621 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
623 * text.C (rowBreakPoint): fix a bug showing with very large insets
625 2004-02-25 André Pönitz <poenitz@gmx.net>
628 * cursor.[Ch]: move some mathed specific code to mathed
630 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
632 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
633 use_tempdir in preferences
634 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
636 * lyx_main.C: ensure that tempdir is valid
637 * lyxlex.h: correct typo
638 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
639 * paragraph.[Ch] (isMultiLingual): make const
640 * cursor.[Ch] (openable): make const
642 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
644 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
646 2004-02-20 André Pönitz <poenitz@gmx.net>
648 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
650 * cursor.[Ch]: prepare for localized getStatus()
656 * text3.C: streamlines the LyXText cursor movement handlers a bit.
658 2004-02-20 André Pönitz <poenitz@gmx.net>
660 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
662 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
664 * text2.C (setCursorFromCoordinates): switch to absolute coords
667 * text3.C (dispatch): adjust
669 2004-02-16 André Pönitz <poenitz@gmx.net>
671 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
674 * cursor_slice.[Ch]: remove unneeded acessor function
676 * lyxtext.h: rename rtl() to isRTL()
684 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
686 * rowpainter.C (paintSelection): coord fix
688 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
690 * Spacing.C: compile fix
692 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
694 * cursor.C (dispatch): restore current_ before returning
696 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
698 * text2.C (cursorUp, cursorDown): fix coords
701 2004-02-12 André Pönitz <poenitz@gmx.net>
706 * text3.C: add LCursor & parameter to most cursor movement functions
707 remove usage of LyXText::cursorRow() and cursorPar()
709 * cursor.[Ch]: add textRow() needed members
712 * BufferView_pimpl.C:
715 * BufferView_pimpl.C: adjust
717 2004-02-11 André Pönitz <poenitz@gmx.net>
721 * BufferView_pimpl.C: shift undo/redo handling
723 * cursor.[Ch]: fix mathed crash
726 * lyxtext.h: move selectionAsText to LCursor
734 * rowpainter.C: fix excessive drawing
736 2004-02-06 André Pönitz <poenitz@gmx.net>
739 * BufferView_pimpl.[Ch]:
740 * text3.C: move some text specific LFUN handling
742 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
744 * text3.C (checkInsetHit): adjust coords
745 * text2.C (getColumnNearX): adjust coords
746 (edit): adjust coords
747 * text.C (getRowNearY): add two asserts
749 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
752 * format.C: add using std::distance to compile on gcc 2.95/stlport
754 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
756 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
758 2004-02-04 André Pönitz <poenitz@gmx.net>
760 * BufferView.[Ch] (insertInset):
761 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
766 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
768 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
769 on the default clause of the switch
770 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
771 wasn't catched by LCursor::dispatch
773 2004-02-03 André Pönitz <poenitz@gmx.net>
776 * cursor.[Ch]: some additional asserts
778 * undo.[Ch]: remove LyXText dependency in interface
782 * lyxtext.h (firstPar, lastPar): remove dead functions
787 * paragraph.[Ch]: adjust
789 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
791 * lyxfind.C (find): fix argument order in call to ::find
793 2004-02-02 André Pönitz <poenitz@gmx.net>
795 * cursor.[Ch]: remove direct access to anchor
797 * text.C: remove findText() hack
799 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
801 * iterators.[Ch] (lockPath): remove in favour of...
802 * BufferView.[Ch] (setCursor): this addition
803 * BufferView.C (putSelectionAt): adjust
804 * undo.C (performUndoOrRedo): adjust
805 * lyxfunc.C (dispatch): adjust
807 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
809 * iterators.C (lockPath): add a missing slice
810 * undo.C (performUndoOrRedo): remove redundant positioning code
812 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
814 * vc-backend.C (scanMaster): ";" -> ';'
816 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
818 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
821 * lyxtextclass.C (compare_name): rename to...
822 (LayoutNamesEqual): ...this
824 * lyxlex_pimpl.C (compare_tags): inherit from
825 std::binary_function, put back into anon namespace
827 * lyxfind.C (MatchString): inherig from std::binary_function
828 (findChange): use empty() istead of !size()
830 * format.C (FormatNamesEqual): new functor
837 * converter.C (compare_Converter): rename to...
838 (ConverterEqual): ...this, and fixup a bit.
839 (getConverter): use it, and make function const
840 (getNumber): use it, and make function const
844 * bufferlist.C: add using boost::bind
846 * MenuBackend.C (MenuNamesEqual): new functor
847 (hasMenu): use it, and make function const
848 (hasSubmenu): use nested bind to get rid of compare_memfun.
850 2004-01-30 André Pönitz <poenitz@gmx.net>
852 * BufferView_pimpl.C:
863 * text3.C: move some of the edit(x,y) handling to the insets
864 some coordinate changes.
866 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * text.C: add using statements for std::advance and std::distance
870 * paragraph.C: add using statement for std::distance
872 * lyxfind.C: add using statement for std::advance
874 * cursor.C (region): remove std:: from swap
875 (openable): use nucleus in stead of operator->
877 * BufferView.C: add using statements for std::distance and std::swap
879 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
881 * iterators.C: Remove the pimple, move the needed structures to
882 the header file. Create accessor for the positions stack.
883 (asPosIterator): remove function
885 * PosIterator.C (PosIterator): move constructors to top of file
886 (PosIterator): reimplement the constructor taking a ParIterator in
888 (setFrom): new function
889 (operator!=): inline it
891 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
893 * lyxfind.C (replaceAll): use std::advance
895 * iterators.h: inherit from std::iterator.
897 * PosIterator.C (advance, distance): remove
898 * PosIterator.h: interit from std::iterator.
900 2004-01-26 André Pönitz <poenitz@gmx.net>
903 * BufferView_pimpl.[Ch]:
907 * bufferview_funcs.C:
918 * output_plaintext.C:
920 * paragraph_funcs.[Ch]:
921 * paragraph_pimpl.[Ch]:
927 * text3.C: more IU: dumps most of the rest of the mathcursor
928 implementation into cursor.[Ch]; "globalize" a bit of it.
930 2004-01-25 Angus Leeming <leeming@lyx.org>
932 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
934 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
936 * LaTeXFeatures.h: add nice_ and nice() const
937 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
939 2004-01-20 André Pönitz <poenitz@gmx.net>
942 * BufferView_pimpl.C:
944 * bufferview_funcs.C:
957 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
958 LCursor and mathcursor parts to LCursor and InsetBase.
960 2004-01-15 André Pönitz <poenitz@gmx.net>
962 * cursor_slice.[Ch]: add a few covienience functions
964 * funcrequest.[Ch]: remove BufferView * member
966 * BufferView_pimpl.C:
973 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
975 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
977 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
978 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
980 2004-01-13 André Pönitz <poenitz@gmx.net>
983 * lyxtext.h: hide cursor and selection anchor behind accessor function
986 * BufferView_pimpl.[Ch]:
988 * bufferview_funcs.C:
998 * cursor_slice.[Ch]: some integer type changes for inset unification
1000 * lyxcursor.[hC]: remove, it's CursorSlice now.
1003 * BufferView_pimpl.[Ch]:
1004 * bufferview_funcs.C:
1010 * textcursor.[Ch]: adjust
1012 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1014 * text2.C (undoSpan): add and use
1015 * text.C (breakParagraph): use undoSpan (fix bug 578)
1018 2004-01-08 Angus Leeming <leeming@lyx.org>
1020 * BufferView_pimpl.C (MenuInsertLyXFile):
1021 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1022 * lyxfunc.C (menuNew, open, doImport):
1023 FileFilterList change to the FileDialog open and save functions.
1025 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1027 * ShareContainer.h: make isEqual and isUnique adaptable
1029 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1031 2004-01-07 Angus Leeming <leeming@lyx.org>
1034 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1036 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1038 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1039 functions replacing find, replace and replaceAll.
1041 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1042 LFUN_WORDFIND(FORWARD|BACKWARD).
1044 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1046 * text.C (breakParagraph): remove an outdated #warning
1048 2004-01-07 André Pönitz <poenitz@gmx.net>
1050 * lyxfind.C: somewhat clearer logic
1052 * text.C: prevent crash in cursorX on unitialized row cache
1054 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1056 * lyxcursor.[Ch] (operator>): add
1057 * textcursor.C (selStart, selEnd): use std::min and std::max
1059 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1061 * Chktex.C: include boost/format.hpp
1063 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1065 * InsetList.C: replace functor MathcIt with adaptable functor
1067 (insetIterator): modify accordingly
1069 * BranchList.h: move the BranchNamesEqual functor here from...
1070 * BranchList.C: ... to here
1072 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1074 (add): replace a finding loop with std::find_if.
1076 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1078 * output_docbook.C: moving LatexParam functionality into
1081 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1083 * buffer.C: increment format to 229.
1085 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1088 * lyx_sty.[Ch]: remove minipageindent_def
1094 * text3.C: remove LFUN_INSET_MINIPAGE
1096 2003-12-28 Angus Leeming <leeming@lyx.org>
1098 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1100 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1102 * text2.C (setParagraph): fix off-by-one crash
1104 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1106 * output_docbook.C: header stuff for AGU
1108 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1110 * text2.C (redoCursor): remove
1113 * BufferView_pimpl.C: remove calls to redoCursor and
1114 setCursor(cursor.par(), cursor.pos()) all around
1116 2003-12-15 Angus Leeming <leeming@lyx.org>
1118 * buffer.C: up the format to 228.
1120 2003-12-15 André Pönitz <poenitz@gmx.net>
1122 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1127 * BufferView_pimpl.C:
1136 2003-12-15 Angus Leeming <leeming@lyx.org>
1138 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1139 than getFromGUIName to manipulate the color.
1141 2003-12-14 Angus Leeming <leeming@lyx.org>
1143 * BranchList.[Ch]: minimize the API.
1144 (Branch::getBranch, getColor): now return a 'const &'.
1145 (Branch::setSelected) now returns a bool set to true if the
1146 selection status changes.
1147 (BranchList::clear, size, getColor, setColor, setSelected,
1148 allBranches, allSelected, separator): removed.
1149 (BranchList::find): new functions, returning the Branch with
1151 (BranchList::add, remove): return a bool indicating that
1152 the operation was successful.
1154 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1155 new InsetBranch::isBranchSlected member function.
1157 * LColor.[Ch]: mimimize the API.
1158 (fill): renamed as addColor and made private.
1159 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1160 versions of these functions taking a string arg have been removed.
1162 * bufferparams.C (readToken):
1163 * lyxfunc.C (dispatch):
1164 * lyxrc.C (read): changes due to the altered BranchList and
1167 * factory.C (createInset, readInset): changes due to altered
1170 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * lyxfunc.C: remove insetminipage. "minipage-insert"
1174 now produces a frameless minipage box inset.
1176 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1178 * textcursor.[Ch] (selStart,selEnd): add new methods
1179 remove selection::start, end, use LyXCursor::operator<
1180 * lyxcursor.[Ch] (operator<): add
1181 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1182 * BufferView.[Ch] (unsetXSel): add
1183 * text2.C (clearSelection): use unsetXSel,adjust
1186 * rowpainter.C: adjust
1187 * bufferview_funcs.C (put_selection_at): adjust
1189 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1191 * BufferView_pimpl.C: small coord. correction
1193 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1195 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1196 dragging over the splash screen.
1198 2003-12-11 Angus Leeming <leeming@lyx.org>
1200 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1201 as it is now handled in LyXText::dispatch.
1203 * text3.C (doInsertInset): remove a level of nesting.
1205 2003-12-11 Angus Leeming <leeming@lyx.org>
1207 * factory.C (createInset): changes due to the changed interface to
1208 InsetCommandMailer::string2params.
1210 2003-12-10 Angus Leeming <leeming@lyx.org>
1212 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1213 'dialog-show-new-inset <inset name>'
1215 2003-12-10 Angus Leeming <leeming@lyx.org>
1217 * buffer.C: up the format to 227.
1219 * factory.C: the box inset is now identified simply by 'Box'.
1221 2003-12-10 Angus Leeming <leeming@lyx.org>
1223 * buffer.C: up the format to 226.
1225 * factory.C: the note inset is now identified simply by 'Note'.
1227 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1229 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1230 when a pit is enough. Standarize a couple of loops.
1232 2003-12-05 Angus Leeming <leeming@lyx.org>
1234 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1235 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1236 data to the re-worked "log" dialog.
1238 2003-12-03 André Pönitz <poenitz@gmx.net>
1244 * paragraph_funcs.C:
1246 * text2.C: use Inset::getText instead of Inset::getParagraph
1248 2003-12-03 André Pönitz <poenitz@gmx.net>
1252 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1253 InsetText::read() as LyXText::read()
1255 2003-12-02 Angus Leeming <leeming@lyx.org>
1257 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1258 type. Add a comment in the implementation that the function uses
1259 the stream's bad() function rather than fail() as the std::streams
1262 2003-12-02 André Pönitz <poenitz@gmx.net>
1264 * lyxlex.[Ch]: make interface more similar to std::stream
1266 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1268 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1270 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1272 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1274 * vspace.[Ch]: remove VSpace::NONE
1276 2003-12-01 André Pönitz <poenitz@gmx.net>
1279 * lyxtext.h: move ParagraphList member to LyXText
1280 rename LyXText::ownerParagraphs to LyXText::paragraph
1283 * bufferview_funcs.C:
1293 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1295 * undo.C: fix cursor positioning
1297 2003-12-01 John Levon <levon@movementarian.org>
1299 * BufferView_pimpl.C: fix a crash on exit with
1302 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1304 * BranchList.C: fix setSelected() method.
1306 2003-11-28 André Pönitz <poenitz@gmx.net>
1308 * ParagraphParameters.[Ch]:
1309 * ParameterStruct.h: remove space above/below from Paragraph to
1312 * BufferView_pimpl.C:
1318 * paragraph_funcs.C:
1324 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1326 * factory.C: Syntax change for CharStyles
1328 2003-11-28 André Pönitz <poenitz@gmx.net>
1333 * buffer.[Ch]: move LyXText member
1335 2003-11-28 André Pönitz <poenitz@gmx.net>
1337 * BufferView.[Ch]: make LyXText * text a private member
1339 * BufferView_pimpl.C:
1350 * output_plaintext.C: cleanup
1352 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1355 * lyxtextclass.[Ch]: parametrize SGML document header
1357 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1360 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1363 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1365 * text2.C (setFont): rework using PosIterator (no more recursive)
1366 (setCharFont): no more needed
1367 (setLayout): no more selection cursors fiddling (done by redoCursor)
1368 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1369 destroy remaining ones)
1371 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1373 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1375 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1378 * text3.C: adjust + re-allow multi par depth changes
1379 * textcursor.C: simplify a bit
1381 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1387 * src/output_docbook.C:
1388 * src/output_latex.C:
1393 * src/text2.C: Introducing a number of tags parametrizing various
1394 XML formats that we may want to support
1396 2003-11-25 André Pönitz <poenitz@gmx.net>
1398 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1400 * lyxtext.h (leftMargin/rightMargin): simplify interface
1407 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1409 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1410 master file to any child files. Fixes bug 546.
1412 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1414 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1416 2003-11-24 André Pönitz <poenitz@gmx.net>
1418 * rowpainter.C: simplification
1420 * text2.C (updateCounters): remove call to redoParagraph on
1421 changed labels as this is far too expensive.
1423 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1425 * converter.C (convert): fix a crash: this function gets
1426 called with buffer == 0 from importer code.
1428 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1430 * text3.C (cursorPrevious): make sure that we do not compare
1431 iterators form different containers.
1434 * rowpainter.C (paintSelection): make sure that we do not compare
1435 iterators from different containers.
1437 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1438 iterators from different ParagraphList containers.
1441 * text2.C (LyXText): change order of initialization slightly
1442 (operator=): new function. copy all variables except cache_par_
1443 (moveUp): make sure that we do not compare iterators from
1444 different ParagraphList constainers.
1447 * text.C (firstPar): new function
1448 (lastPar): new function
1449 (endPar): new function
1451 * lyxtext.h: move things around and group public functions, public
1452 variables, private functions, private variables
1454 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1456 * factory.C: change call to InsetERT constructor to avoid
1457 additional invocation of method status
1458 * text2.C (toggleInset): remove redundant update() call
1459 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1460 instead of a Bufferview pointer
1462 2003-11-21 André Pönitz <poenitz@gmx.net>
1464 * rowpainter.C: simplification
1466 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1468 * text3.C (dispatch): make possible to extend a word/row selection
1471 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1473 * lyxtext.h: x0_,y0_ -> xo_,yo_
1474 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1475 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1476 * rowpainter.C (paintRows): paint full paragraphs
1478 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1480 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1483 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1485 * lyxtext.h: add x0_, y0_
1486 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1487 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1489 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1491 * text2.C (setCursorIntern): move the x_target update here *
1492 * text3.C: change some bv() to true/false in calls to
1493 cursorUp/Down/Right/Left
1494 * cursor.C: use helper function.
1496 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1498 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1499 * paragraph_funcs.[Ch]: correct comment
1500 * rowpainter.C: do not paint selections away from bv->cursor()
1501 Fix a long standing selection painting bug.
1502 * text3.C: generalize mouse-selection code to LyXTexts other that
1504 * textcursor.C: do not use y coords if we can use par offsets
1506 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1508 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1509 cursor position after e.g. inset insert)
1511 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1513 * lyxfind.C (replace): adjust to locking removal + some
1516 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1518 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1521 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1524 * output_docbook.C: XML sanitation: new layout
1525 parameters InnerTag and CommandDepth
1527 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1529 * BufferView_pimpl.C:
1531 * text3.C: Fix the insertion and modification of button-style
1534 2003-11-13 André Pönitz <poenitz@gmx.net>
1536 * InsetList.[Ch]: remove deleteLyXText
1538 * paragraph.[Ch]: cache beginOfBody position
1543 * text3.C: remove superfluous update() calls
1547 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1549 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1550 * BufferView.C (fitLockedInsetCursor): remove
1551 * cursor.[Ch] (getDim): add
1552 * text.C (getRowNearY): add faster version
1553 * text3.C: remove some update calls
1555 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1567 * text3.C: The Character Style /XML short element patch.
1569 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1572 * factory.C: Small step to solving 'unable to insert some insets'
1575 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1577 * cursor.[Ch] (updatePos): new function for updating the y
1578 position of the tip inset
1579 * bufferview_funcs.C (put_selection_at):
1580 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1582 2003-11-11 André Pönitz <poenitz@gmx.net>
1584 * text.C: remove big comment on invalid Paragraph pointers as it is
1587 2003-11-11 André Pönitz <poenitz@gmx.net>
1589 * text_funcs.[Ch]: merge with ...
1597 * Makefile.am: remove text_funcs.[Ch]
1599 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1601 * cursor.C (getPos): return absolute cached y coord
1603 * BufferView_pimpl.C (fitCursor): new simplistic code
1604 (workAreaDispatch): add a fitCursor call
1606 2003-11-10 André Pönitz <poenitz@gmx.net>
1609 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1611 2003-11-10 André Pönitz <poenitz@gmx.net>
1613 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1614 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1615 indicate that the cursor needs to leave an inset
1617 * lyxtext.h: remove inset locking
1619 * cursor.[Ch]: re-implement functionality provided by inset locking
1622 * BufferView_pimpl.[Ch]:
1624 * bufferview_funcs.[Ch]:
1636 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1638 * PosIterator.[Ch]: replace the stack with a vector, add inset
1640 * iterators.[C]: adjust
1642 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1644 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1646 * paragraph_funcs.C (readParToken): put the correct id in the
1647 error item, not the id of the top paragraph
1649 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1651 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1652 * bufferview_funcs.C (put_selection_at): use the above
1654 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1656 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1658 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1660 * output_linuxdoc.h:
1661 * output_plaintext.h:
1663 * output_docbook.h: add #include statements
1665 2003-11-05 José Matos <jamatos@lyx.org>
1667 * output_docbook.[Ch]:
1668 * output_latex.[Ch]:
1669 * output_linuxdoc.[Ch]:
1670 * output_plaintext.[Ch]: New files for output formats.
1671 * output.[Ch]: New file for helper functions.
1674 * paragraph_funcs.[Ch]: output functions moved to new files.
1676 * outputparams.h: rename of latexrunparams.h
1684 * paragraph_funcs.[Ch]:
1685 * paragraph_pimpl.[Ch]:
1686 * tabular.[Ch]: rename ascii to plaintext
1687 and LatexRunParams to OutputParams.
1689 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1691 * iterators.[Ch] (text): require bv argument
1692 * undo.C (recordUndo):
1693 * lyxfunc.C (dispatch):
1694 * bufferview_funcs.C (put_selection_at): adjust
1696 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1698 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1700 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1702 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1705 2003-11-04 André Pönitz <poenitz@gmx.net>
1707 * cursor.[Ch]: restructure
1710 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1712 * iterators.[Ch] (asCursor): remove
1714 * lfuns.h: remove LFUN_INSET_EDIT
1720 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1722 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1724 * lyxfind.[Ch]: complete overhaul
1725 * BufferView_pimpl.C:
1727 * paragraph.[Ch] (insert): add
1729 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1733 * text.C: remove dead spellcheck code
1735 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * dispatchresult.h: add a val setter
1739 * cursor.C (dispatch): use a tempvar for data_[i]
1741 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1743 * PosIterator.[Ch]: compile fix
1745 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1747 * text.C (cursorPar): deactivate the cursor cache
1749 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1751 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1753 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * text3.C (dispatch): adjust for new DisptchResult semantics.
1757 * lyxfunc.C (dispatch): handle update when return from
1758 Cursor::dispatch, adjust for new DispatchResult semantics.
1760 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1761 DispatchResult(true) mean to not update. Add class functions for
1762 setting dispatched and update, as well as reading.
1764 * cursor.C (dispatch): don't handle update here
1766 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1769 * trans_mgr.C: adjust
1771 * paragraph_funcs.C (readParToken): exception safety
1773 * lyxvc.h: store the vcs pointer in a scoped_ptr
1776 * lyxsocket.C (serverCallback): exception safety
1778 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1780 * ispell.C (clone): make it return a auto_ptr
1782 * factory.C (createInset): exception safety
1783 (readInset): exception safety
1785 * bufferlist.C (newBuffer): exception safety
1787 * Thesaurus.C (Thesaurus): use initialization for aik_
1789 * MenuBackend.C (expandToc): exception safety.
1791 2003-11-03 André Pönitz <poenitz@gmx.net>
1795 * bufferview_funcs.C: remove getInsetFromId()
1798 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1804 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1806 * PosIterator.C (distance, advance): new
1807 * bufferview_funcs.[Ch] (put_selection_at): new
1808 * iterators.[Ch] (lockPath): new
1810 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1812 * iterators.[Ch] (asPosIterator): added
1813 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1814 * PosIterator.[Ch]: added
1816 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * cursor.C (dispatch):
1821 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1823 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1824 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1825 contructor, add a class function dispatched. Remove operator>=
1827 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * debug.C: only use the default constructor for debugstream
1832 * main.C (main): include debug.h and setup the lyxerr streambuf
1835 2003-10-31 José Matos <jamatos@lyx.org>
1837 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1839 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1840 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1841 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1842 * paragraph_pimpl.C (simpleTeXSpecialC):
1843 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1844 add LatexRunParams argument.
1846 * exporter.C (Export): change call accordingly.
1848 * latexrunparams.h: add new member to take care of the other backends.
1849 2003-10-30 José Matos <jamatos@lyx.org>
1851 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1852 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1853 factorise code for paragraph output.
1855 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1858 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * text3.C (dispatch):
1861 * lyxfunc.C (dispatch):
1862 * cursor.C (dispatch):
1863 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1865 * dispatchresult.h: make the dispatch_result_t ctor explicit
1867 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1870 * buffer.C: small refactoring of docbook stuff
1872 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1877 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1880 operator dispatch_result_t, and operators for == != and >=
1882 * cursor.C (dispatch): adjust for operator dispatch_result_t
1883 removal. comment out call to update
1885 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1887 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1898 * dispatchresult.h: new file, DispatchResult broken out of
1901 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1903 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1905 * text.C (rowBreakPoint): put a hack inside #if 0
1907 2003-10-28 André Pönitz <poenitz@gmx.net>
1911 * paragraph_funcs.C:
1914 * text2.C: general cleanup (lots of small stuff)
1916 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1918 * text2.C (cursorEnd): simple fix to the "end key goes to one
1919 before the end on last row" bug
1921 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1923 * text.C (backspace): fix the "zombie characters"
1925 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1927 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1929 2003-10-27 André Pönitz <poenitz@gmx.net>
1931 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1933 * factory.C: handle new InsetPagebreak, InsetLine
1935 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1936 and move handling into new InsetPagebreak, InsetLine
1938 * BufferView_pimpl.C:
1940 * ParagraphParameters.C:
1941 * ParameterStruct.h:
1946 * paragraph_funcs.C:
1947 * paragraph_pimpl.C:
1953 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1956 * lyxrow_funcs.[Ch]:
1962 * text3.C: remove lastPos uses in favour of Row::endpos
1964 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1966 * undo.C (performUndoOrRedo): fix two crashes by setting a
1967 cursor by hand and reordering some calls. Use bv->lockInset instead
1968 of inset->edit because the latter loses cursor information
1970 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1972 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1974 (rowBreakPoint): fix width. change point to point + 1.
1975 Add a missing check.
1977 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1980 * lyxfunc.C: fix (at least partly) the problems
1981 with the Nav menu and headers inside branch insets
1984 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1986 * paragraph.C (getChar): add strong asserts
1988 * lyxrow_funcs.C (lastPos): remove hideous hack
1990 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1991 (fill): adjust to that (avoid an infinite loop)
1993 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1995 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1997 2003-10-23 André Pönitz <poenitz@gmx.net>
1999 * RowList_fwd.h: change list<> to vector<> to gain speed
2000 after suggestion from Alfredo
2002 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2004 * lyxtext.h: move the bidi stuff from here...
2007 * Bidi.[Ch]: ... to here
2009 2003-10-23 André Pönitz <poenitz@gmx.net>
2012 * text.C (isLastRow, isFirstRow): new functions
2014 * paragraph.h: new width cache member
2016 * rowpainter.C: replace RowList::iterator with Row & where possible
2018 * lyxfunc.C: replace several view()->text with a single call
2020 * toc.C: fix 'unused' warning
2022 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2025 when woring with stream::pos_type
2026 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2028 2003-10-22 André Pönitz <poenitz@gmx.net>
2031 * text.C: use Row & instead of RowList::iterator
2033 * lyxrow.h: rename end() to endpos()
2039 2003-10-22 Angus Leeming <leeming@lyx.org>
2041 * buffer.[Ch] (fully_loaded): new member function, returning true
2042 only when the file has been loaded fully.
2043 Used to prevent the premature generation of previews and by the
2044 citation inset to prevent computation of the natbib-style label.
2046 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2047 templates are all set up.
2049 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2051 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2053 * text.C: fixed an "oops" in the "is a bit silly"
2056 2003-10-21 André Pönitz <poenitz@gmx.net>
2058 * FuncStatus.[Ch]: small stuff, whitespace
2060 * lyxfont.[Ch]: operator<<() for debug reasons
2064 * lyxtext.h: whitespace, spelling
2066 * paragraph.C: naming of variables
2069 * text2.C: small stuff
2072 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2074 * text.C: (1) finish off the inset display() work;
2075 (2) fix the "is a bit silly" bug (accessing char
2078 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2080 * text.C: re-introduce display() for insets, fixing the
2081 various bugs (stretch of line above, math inset
2084 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2086 * text.C (rightMargin): remove spurious semicolon
2088 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2091 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2093 * text3.C: fix one crash due to wrong cursor def
2095 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * vc-backend.C (scanMaster): make the regex static
2099 * LaTeX.C (scanAuxFile): make the regexs static
2101 * text3.C (doInsertInset, dispatch, dispatch):
2102 * text2.C (cursorUp, cursorDown):
2103 * text.C (selectNextWordToSpellcheck):
2104 * BufferView_pimpl.C (dispatch):
2105 * lyxfunc.C (dispatch): localDispatch -> dispatch
2107 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * lyxsocket.C: include <cerrno>
2111 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * lyxfunc.C (dispatch): remove textcache stuff
2115 * bufferlist.C (release): remove textcache stuff
2118 * TextCache.C: delete file
2119 * TextCache.h: delete file
2121 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2123 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2124 delete of the bv_->text.
2125 (resizeCurrentBuffer): remove texcache stuff
2126 (workAreaResize): ditto
2128 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2133 2003-10-16 André Pönitz <poenitz@gmx.net>
2140 * text3.C: speed up by storing y positions per paragraph plus per-row
2141 offset instead of having a 'full' y position in the row.
2143 2003-10-15 André Pönitz <poenitz@gmx.net>
2147 * undo.[Ch]: make undo aware of inner insets
2149 2003-10-14 Angus Leeming <leeming@lyx.org>
2151 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2152 static member functions LyX::ref() and LyX::cref.
2153 (lastfiles): new accessor functions for the new lastfiles_ member var.
2154 (addLyXView, views_): add a new LyXView to the list of views_.
2155 (updateInset): loop over all LyXViews to call their own updateInset
2156 member function, returning a pointer to the Buffer owning the inset.
2158 * BufferView_pimpl.C (loadLyXFile):
2159 * MenuBackend.C (expandLastfiles):
2160 * bufferlist.C (MenuWrite, QuitLyX):
2161 lastfiles is no longer a global variable.
2162 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2164 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2165 static function. Access through LyX::cref().emergencyCleanup().
2167 2003-10-14 André Pönitz <poenitz@gmx.net>
2169 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2171 * undo.[Ch]: restoring part of 'undo in insets'
2174 * undo_funcs.[Ch]: merge with undo.[Ch]
2176 * tabular.C: small cleansing stuff
2178 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2180 * paragraph_funcs.C (readParToken): report unknown insets as error
2181 boxes. Use the outer paragraph as location (also for unknown
2184 * factory.C (readInset): do not abort on reading an unknown inset.
2185 Eat it and return 0.
2187 2003-10-13 Angus Leeming <leeming@lyx.org>
2189 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2191 * lyxrc.C: displayTranslator is now a function,
2192 declared in GraphicsTypes.h.
2194 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2196 * format.C: new placeholder $$a to pass the socket address.
2198 * bufferlist.[Ch]: new function getBufferFromTmp.
2200 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2201 files in the temporary dir.
2203 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2205 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2207 * Makefile.am: add lyxsocket.[Ch].
2209 * lyx_main.C (error_handler): handle SIGPIPE.
2211 2003-10-13 André Pönitz <poenitz@gmx.net>
2213 * BufferView_pimpl.C:
2218 * undo_funcs.[Ch]: use paroffset_type instead of
2219 ParagraphList::iterators to prevent multiple conversion
2220 (and get a more robust interface)
2222 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2226 * text3.C (dispatch): ditto
2228 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2231 move the onlyfile, use onlyfile instead of foundfile in a couple
2234 * DepTable.C (update): flush the error stream a bit more
2236 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * lyxserver.C (callback): adjust
2240 * lyxfunc.C (getStatus): add a missing brace in commented code
2241 (ensureBufferClean): reindent
2242 (dispatch): delete version taking a string
2244 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * LaTeX.C (deplog): move found file handlig from here...
2247 (handleFoundFile): .. to new function here.
2248 (deplog): make sure to discover several files mentioned on the
2251 2003-10-10 André Pönitz <poenitz@gmx.net>
2258 * text3.C: fix some of the tabular crashes
2260 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2262 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2264 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2266 2003-10-09 André Pönitz <poenitz@gmx.net>
2268 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2271 * BufferView_pimpl.C:
2272 * bufferview_funcs.C:
2283 * undo_funcs.C: adjust
2285 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * text2.C (incrementItemDepth): new function, use a backtracking
2288 algorithm to discover the correct item depth.
2289 (resetEnumCounterIfNeeded): new function, use a backtracking
2290 algorithm to discover if counter reset is needed.
2291 (setCounter): use them. Simplify a bit. Add different labels for
2292 different item depths for itemize.
2294 * paragraph.C (Paragraph): remove initialization of enumdepth
2297 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2298 enumerate and itemize. Change the type of itemdepth to signed char.
2300 2003-10-08 André Pönitz <poenitz@gmx.net>
2302 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2307 * tabular.[Ch]: fix crash after 'row-insert'
2309 2003-10-08 Angus Leeming <leeming@lyx.org>
2311 Fix doxygen warnings.
2313 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2314 Remove CutAndPaste:: prefix from header file declaration.
2316 * LColor.h (fill): remove LColor:: prefix from declaration.
2318 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2319 use lyx::depth_type rather than Paragraph::depth_type so that
2320 header file and .C file match.
2322 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2324 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2325 * aspell.C: \file aspell_local.C -> \file aspell.C
2326 * gettext.C: \file gettext.C -> \file src/gettext.C
2327 * gettext.h: \file gettext.h -> \file src/gettext.h
2328 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2329 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2330 * text.C: \file text.C -> \file src/text.C
2332 * toc.C: move comment so that doxygen is not confused.
2334 2003-10-07 Angus Leeming <leeming@lyx.org>
2336 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2338 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2341 * aspell_local.h: add forgotten std::string's.
2343 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2350 * text3.C: The Box patch. Fancybox support, minipage, parbox
2352 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2358 * ParagraphParameters.h:
2368 * lyxtextclasslist.h:
2371 * paragraph_pimpl.C:
2372 * textcursor.h: add <string> and other small fixes to make Lars'
2373 std::string patch compile with STLport.
2375 2003-10-06 Angus Leeming <leeming@lyx.org>
2377 * LColor.h: Add missing #include <string>.
2379 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * All most all file in all subdirs: Make <string> be the prefered
2382 way of getting to std::string, add using declarations.
2384 2003-10-06 André Pönitz <poenitz@gmx.net>
2386 * metricsinfo.C: initialize LyXFont before changing attribute.
2387 (fixes the 'math in \emph is upright' bug)
2389 2003-10-06 André Pönitz <poenitz@gmx.net>
2391 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2393 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2396 * paragraph_pimpl.C: Small fixes to build using STLport
2398 2003-10-02 André Pönitz <poenitz@gmx.net>
2401 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2403 2003-10-01 André Pönitz <poenitz@gmx.net>
2405 * factory.C: assert early
2407 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * lyx_main.C: remove the global debug object
2411 * debug.h: adjust for new debugstream
2413 * debug.C: adjust for new debugstream and keep the global debug
2416 2003-09-22 Angus Leeming <leeming@lyx.org>
2418 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2419 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2420 an incomplete class LyXFont.
2422 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2424 * factory.C: bug fix in branches
2426 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * lyxfunc.C (processKeySym): adjust
2430 (dispatch): change arg name from ev to func, adjust
2431 (sendDispatchMessage): ditto
2433 * lyx_main.C (defaultKeyBindings): adjust keybindings
2434 (deadKeyBindings): ditto
2436 * kbsequence.C (addkey): return a FuncRequest
2438 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2440 * kbmap.C (bind): take a FuncRequest as arg, adjust
2443 (defkey): change to take a FuncRequest as arg, adjust
2444 (findbinding): take a FuncRequest as arg, adjust.
2446 * funcrequest.h (operator=): added
2448 * funcrequest.C (FuncRequest): default kb_action changed from
2449 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2451 * buffer.C (dispatch): simplify
2452 (dispatch): adjust to take a FuncRequest as arg, adjust
2454 * boost.C (assertion_failed): change assertion message slightly
2456 * ToolbarBackend.C (read): simplify
2458 * MenuBackend.C (binding): adjust call to findbinding, add a
2459 message if no binding is found.
2461 (expandToc): correct by adding a empty FuncRequest
2463 * LyXAction.C: include <boost/assert.hpp>
2464 (isPseudoAction): delete function
2465 (LookupFunc): change name to...
2466 (lookupFunc): this. change return type to FuncRequest.
2467 (getActionName): take kb_action as arg, simplify
2468 (funcHasFlag): add an assert, simplify.
2470 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * toc.C (action): return a FuncRequest, simplify
2474 * lyxfunc.C (processKeySym): adjust
2475 (getStatus): delete version that takes an int.
2477 (dispatch): delete version that takes action as int
2479 (sendDispatchMessage): simplify and adjust
2481 * funcrequest.C (getArg): take unsigned int as arg
2483 * ToolbarBackend.C (read): adjust
2484 (add): delete version that takes func as a string.
2485 (getIton): take a FuncRequest as arg
2487 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2490 * MenuBackend.C (MenuItem): add a new construct that only takes a
2491 Kind, simplify the constructor use for submenus.
2493 (expandLastfiles): adjust
2494 (expandDocuments): adjust
2495 (expandFormats): adjust
2496 (expandFloatListInsert): adjust
2497 (expandFloatInsert): adjust
2498 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2500 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2501 Remove class variables lyx_pseudo_map and lyx_arg_map
2503 * LyXAction.C (searchActionArg): delete function
2504 (getPseudoAction): delete function
2505 (retrieveActionArg): delete function
2506 (LookupFunc): make it return kb_action, simplify.
2507 (getActionName): simplify
2509 * factory.C (createInset): fix new bug
2511 2003-09-19 Angus Leeming <leeming@lyx.org>
2513 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2514 masterFilename_ parameter in the include inset.
2516 * factory.C (createInset): changes due to the changes to InsetInclude.
2518 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2520 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2522 2003-09-18 Angus Leeming <leeming@lyx.org>
2525 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2526 Inset::fillWithBibKeys.
2527 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2529 2003-09-18 Angus Leeming <leeming@lyx.org>
2531 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2533 (ctor): pass and store a 'Buffer const &'
2534 (buffer): new member function.
2536 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2537 '*this' to the LaTeXFeatures ctor.
2539 2003-09-18 Angus Leeming <leeming@lyx.org>
2545 * text.C: rename EnumLColor as LColor_color.
2547 2003-09-18 Angus Leeming <leeming@lyx.org>
2549 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2550 remove #include "insets/insetbase.h" from cursor.h.
2552 2003-09-18 Angus Leeming <leeming@lyx.org>
2554 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2555 InsetOld_code to remove #include "inset.h".
2557 * iterators.C: add #include "insets/inset.h"
2559 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2561 * BufferView.C: remove more locking stuff that apparently doesn't
2562 do anything sensible.
2564 2003-09-16 André Pönitz <poenitz@gmx.net>
2567 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2570 2003-09-16 Angus Leeming <leeming@lyx.org>
2572 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2574 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2577 * paragraph.h: remove #include "lyxfont.h". Forward declare
2580 2003-09-16 Angus Leeming <leeming@lyx.org>
2582 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2583 of support/textutils.h.
2584 (isWord): move the contents of support/textutils.h's IsWordChar here.
2590 * text2.C: add #include "paragraph.h".
2593 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2595 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * LaTeX.C: use namespace alias for lyx::support::os
2603 2003-09-16 Angus Leeming <leeming@lyx.org>
2606 * bufferview_funcs.C:
2609 * paragraph_pimpl.C:
2611 * text.C: add #include "LColor.h".
2613 2003-09-16 Angus Leeming <leeming@lyx.org>
2615 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2616 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2618 Store the FontBits::color variable as an int rather than as an
2619 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2622 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2623 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2624 string calls together.
2626 * lyxrc.C: add #include "LColor.h".
2628 2003-09-15 Angus Leeming <leeming@lyx.org>
2630 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2633 2003-09-15 Angus Leeming <leeming@lyx.org>
2635 * LColor.h: add an EnumLColor wrapper for LColor::color.
2637 * lyxfont.[Ch] (color, setColor, realColor):
2638 * lyxtext.h, text.C (backgroundColor):
2639 pass EnumLColor args to/from the functions, rather than LColor::color
2643 * lyxtext.h: forward declare EnumLColor.
2645 * lyx_main.C: add #include "LColor.h".
2647 2003-09-15 Angus Leeming <leeming@lyx.org>
2649 * .cvsignore: add lyx-gtk.
2651 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * ParagraphParameters.C
2660 * bufferview_funcs.C
2670 * vc-backend.C: remove usage of STRCONV
2672 2003-09-15 Angus Leeming <leeming@lyx.org>
2674 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2675 explicitly define the color passed to the painter.
2677 2003-09-15 Angus Leeming <leeming@lyx.org>
2679 * bufferparams.C (BufferParams): reorder member initializers to avoid
2682 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2684 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2685 * text.C (updateRowPositions): remove an unusual nop
2687 2003-09-12 André Pönitz <poenitz@gmx.net>
2689 * BufferView_pimpl.C:
2698 * Counters.[Ch]: finish the 'automatic counters' job
2700 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2702 * aspell.C: include <boost/assert.cpp> (compile fix)
2704 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2706 * boost.C (assertion_failed): use lyx::support::abort instead of
2709 2003-09-10 Angus Leeming <leeming@lyx.org>
2711 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2712 with their _fwd progeny.
2714 2003-09-09 Angus Leeming <leeming@lyx.org>
2716 134 files throughtout the source tree: replace 'using namespace abc;'
2717 directives with the appropriate 'using abc::xyz;' declarations.
2719 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2721 * boost.C (emergencyCleanup): moved here from LAssert.c
2722 (assertion_failed): new function, called by BOOST_ASSERT
2724 * several files: change Assert to BOOST_ASSERT
2726 2003-09-09 Angus Leeming <leeming@lyx.org>
2728 * buffer.[Ch]: Add an Impl class and move Buffer's member
2729 variables into it. As a result move several header files out of
2732 Add header files to lots of .C files all over the tree as a result.
2734 2003-09-09 Angus Leeming <leeming@lyx.org>
2736 * buffer.[Ch]: make Buffer's member variables private. Add
2739 Lots of changes all over the tree as a result.
2741 2003-09-08 Angus Leeming <leeming@lyx.org>
2743 * graph.C: #include <config.h>.
2745 2003-09-08 Angus Leeming <leeming@lyx.org>
2749 * BufferView_pimpl.C:
2778 * toc.C: remove redundant using directives.
2780 2003-09-07 Angus Leeming <leeming@lyx.org>
2782 * LaTeXFeatures.h: remove #include "support/types.h".
2783 * ToolbarBackend.h: remove #include <algorithm>.
2784 * changes.h: remove #include <ctime>.
2785 * debug.h: remove #include <iosfwd>.
2786 * graph.h: remove #include "support/std_string.h".
2787 * lyx_main.h: remove #include <csignal>.
2788 * lyxlex_pimpl.h: remove #include <fstream>.
2789 * sgml.h: remove #include <algorithm>, <utility>.
2790 * toc.h: remove #include "support/std_ostream.h".
2791 Add #include <iosfwd>.
2793 2003-09-07 Angus Leeming <leeming@lyx.org>
2795 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2797 * converter.h: forward declare LatexRunParams.
2798 * encoding.h: remove #include "lyxrc.h".
2799 * lyxtext.h: remove #include "LColor.h".
2800 * lyxtextclass.h: remove #include "support/types.h".
2801 * trans.h: remove #include "tex-accent.h".
2802 * trans_mgr.h: remove #include "tex-accent.h".
2803 * insets/inset.h: remove #include "support/types.h", <vector>.
2804 * insets/insetcollapsable.h: remove #include "LColor.h".
2805 * insets/insetinclude.h: remove #include "dimension.h".
2806 * insets/insetlatexaccent.h: remove #include "dimension.h".
2807 * insets/insetoptarg.h:: remove #include "insettext.h".
2808 * insets/insettext.h: remove #include "dimension.h",
2809 <boost/shared_ptr.hpp>
2811 * insets/renderers.h: add #include "dimension.h".
2812 * insets/updatableinset.h: add #include "support/types.h".
2814 * many .C files: Associated changes.
2816 2003-09-06 Angus Leeming <leeming@lyx.org>
2818 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2819 one, inside testInvariant.
2821 * PrinterParams.C: new file.
2822 * PrinterParams.[Ch]: move the function bodies out of line.
2824 2003-09-06 Angus Leeming <leeming@lyx.org>
2826 * ParagraphParameters.h: forward declare ParameterStruct rather than
2827 including its header file.
2828 (depth): moved out-of-line.
2830 2003-09-06 Angus Leeming <leeming@lyx.org>
2832 * BufferView_pimpl.h:
2835 * lyxfunc.h: forward declare LyXKeySym rather than
2836 #include "frontends/LyXKeySym.h".
2838 * BufferView_pimpl.C:
2841 * lyxfunc.C: associated changes.
2843 2003-09-06 Angus Leeming <leeming@lyx.org>
2845 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2846 As a result, can remove the #include "insets/inset.h" from BufferView.h
2848 2003-09-06 Angus Leeming <leeming@lyx.org>
2850 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2851 As a result, can remove the #include "insets/inset.h" from BufferView.h
2853 2003-09-06 Angus Leeming <leeming@lyx.org>
2859 * bufferview_funcs.C:
2860 * BufferView_pimpl.C:
2865 * ParagraphParameters.C:
2870 * frontends/controllers/ControlDocument.C:
2871 * insets/insetcaption.C: rearrange the #includes into some sort of
2874 * buffer.h: remove #includes ErrorList.h, undo.h
2876 2003-09-06 Angus Leeming <leeming@lyx.org>
2878 * support/types.h: add a 'depth_type' typedef, used to store the
2879 nesting depth of a paragraph.
2882 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2883 defining explicitly.
2886 * paragraph_funcs.h:
2887 * ParagraphParameters.h:
2888 * sgml.h: use lyx::depth_type rather than Paragraph or
2889 ParameterStruct's depth_type.
2892 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2895 * BufferView_pimpl.C:
2897 * ParagraphParameters.C:
2900 * bufferview_funcs.C:
2907 * frontends/LyXView.C:
2908 * frontends/controllers/ControlDocument.C:
2909 * frontends/controllers/ControlErrorList.C:
2910 * insets/insetbibitem.C:
2911 * insets/insetbranch.C:
2912 * insets/insetcaption.C:
2913 * insets/insetcollapsable.C:
2914 * insets/insetenv.C:
2915 * insets/insetert.C:
2916 * insets/insetfloat.C:
2917 * insets/insetfoot.C:
2918 * insets/insetfootlike.C:
2919 * insets/insetnewline.C:
2920 * insets/insetquotes.C:
2921 * insets/insettabular.C:
2922 * insets/insettext.C:
2923 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2925 * frontends/controllers/ControlChanges.C: #include "changes.h".
2927 2003-09-06 Angus Leeming <leeming@lyx.org>
2929 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2930 than #including paragraph.h.
2933 * RowList.h: deleted. Superfluous.
2943 * insets/insettext.h: use ParagraphList_fwd.h rather than
2946 * paragraph.h: don't forward declare ParagraphList.
2949 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2950 rather than ParagraphList.h. paragraph.h is still needed for the
2951 Paragraph::depth_type parameters.
2953 * textcursor.h: enable it to compile stand-alone in light of the
2956 * bufferview_funcs.C:
2968 * frontends/controllers/ControlParagraph.C:
2969 * frontends/controllers/ControlTabular.C:
2970 * insets/insetmarginal.C:
2971 * insets/insetminipage.C:
2972 * insets/insetnote.C:
2973 * insets/insetoptarg.C: add header files needed to compile again.
2975 2003-09-06 Angus Leeming <leeming@lyx.org>
2977 * RowList_fwd.h: new file, forward-declaring Row rather than
2978 #including lyxrow.h.
2983 * insets/insettext.h: use it instead of RowList.h
2985 * bufferview_funcs.C:
2992 * text3.C: #include "RowList.h".
2994 2003-09-05 Angus Leeming <leeming@lyx.org>
2996 * factory.C (createInset):
2997 * vspace.C (c-tor): replace sscanf call with an istringstream.
2998 * ispell.C: re-add missing HP/UX headers.
2999 * lyxserver.C: re-add missing os2 headers.
3001 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3010 * text3.C: re-add missing system headers, needed for 2.95.2.
3012 2003-09-05 Angus Leeming <leeming@lyx.org>
3014 Changes most place everywhere due to the removal of using directives
3015 from support/std_sstream.h.
3017 2003-09-05 Angus Leeming <leeming@lyx.org>
3019 Replace LString.h with support/std_string.h,
3020 Lsstream.h with support/std_sstream.h,
3021 support/LIstream.h with support/std_istream.h,
3022 support/LOstream.h with support/std_ostream.h.
3024 Changes resulting throughout the tree.
3026 2003-09-05 Angus Leeming <leeming@lyx.org>
3028 * sgml.h: ensure that the header file can be compiled stand-alone.
3029 * *.C: strip out redundant #includes. (320 in total.)
3031 2003-09-04 Angus Leeming <leeming@lyx.org>
3033 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3034 here (from getPackages).
3036 * debug.[Ch]: add a new EXTERNAL tag.
3038 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3040 * text2.C (cursorEnd): simplify
3042 (getColumnNearX): adjust
3044 * text.C (computeBidiTables): adjust
3047 * rowpainter.C (paintChars): adjust
3048 (paintSelection): adjust
3049 (paintChangeBar): adjust
3052 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3054 (numberOfSeparators): adjust
3056 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3062 * text3.C: Restricts the mouse click functionality
3063 of insets like bibtex, include, toc and floatlist to the visible
3064 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3065 up the dialogs. Cursor has to be in front of the inset (i.e.
3066 start of row) for this to function.
3068 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3070 * bufferview_funcs.C (currentState): output row information
3072 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3074 * bufferview_funcs.C (currentState): output paragraph position
3076 2003-09-04 Angus Leeming <leeming@lyx.org>
3078 * FloatList.h: move out #include "Floating.h".
3079 * LaTeX.h: move out #include "DepTable.h".
3080 * LyXAction.h: move out #include "funcrequest.h".
3081 * buffer.h: move out #include "author.h", "iterators.h".
3082 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3083 * lyx_main.h: move out #include "errorlist.h".
3084 * lyxfunc.h: move out #include "FuncStatus.h".
3085 * lyxtext: move out #include "lyxcursor.h".
3086 * paragraph_pimpl.h: move out #include "counters.h".
3088 2003-09-03 Angus Leeming <leeming@lyx.org>
3090 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3091 preamble_snippets list, enabling us to add snippets to the preamble
3092 only if the snippet was not there already.
3094 2003-09-04 Angus Leeming <leeming@lyx.org>
3096 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3098 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3103 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3105 * BranchList.C: point fix, earlier forgotten
3107 2003-09-02 Angus Leeming <leeming@lyx.org>
3109 * box.C (contains): renamed from 'contained' after a fantastic
3112 2003-09-02 John Levon <levon@movementarian.org>
3118 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3120 2003-09-02 John Levon <levon@movementarian.org>
3122 * text2.C: simplification of cursorEnd(), including partial
3125 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * buffer.C (readFile): add a space
3129 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3131 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3133 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * buffer.C (readFile): new function, take a filename and a
3136 ParagraphList::iterator
3138 (readFile): adjust, make it private. don't use setStream, make
3139 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3140 always contain the filename.
3142 * BufferView.C (insertLyXFile): simplify and make it work for
3145 2003-08-30 John Levon <levon@movementarian.org>
3147 * Makefile.am: fix dist (from Kayvan)
3149 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * most files: change to use const Buffer refs
3153 2003-08-27 André Pönitz <poenitz@gmx.net>
3155 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3156 on top of ownerPar().
3158 2003-08-27 John Levon <levon@movementarian.org>
3160 * funcrequest.C: properly initialise POD members
3162 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3164 * lyxtext.h (top_y): move top_y from here
3169 * BufferView_pimpl.[Ch]: to here
3170 * frontends/screen.C:
3171 * insets/insettabular.C:
3172 * insets/insettext.C: adjust
3173 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3175 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3178 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3180 2003-08-26 André Pönitz <poenitz@gmx.net>
3182 * paragraph_func.[Ch] (outerPar): new function
3185 * paragraph_funcs.C:
3186 * paragraph_funcs.h:
3187 * paragraph_pimpl.C:
3188 * text2.C: remove Inset::par_owner
3190 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3195 * text2.C: eliminates the needFullRow/display() stuff
3196 altogether, putting the logic in metrics/draw in the insets.
3198 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3200 * text2.C (redoParagraphInternal, redoParagraphs):
3201 * text.C (redoParagraph): add a call to updateRowPositions at the
3202 end of each 'metrics-like' call. Remove all others.
3203 (getRow): remove the 'y-computing' version.
3204 (getRowNearY): do not compute nor return the real y. Solve the
3205 'y < 0' problem and simplify.
3207 2003-08-22 Angus Leeming <leeming@lyx.org>
3209 * *.[Ch]: clean-up of licence and author blurbs.
3210 Also move config.h out of a few .h files and into a few .C files.
3212 2003-08-22 André Pönitz <poenitz@gmx.net>
3214 * lyxrow.[Ch]: add x_ and *fill_ members
3219 * text2.C: adjust/remove prepareToPrint() calls
3221 2003-08-22 André Pönitz <poenitz@gmx.net>
3223 * lyxrow.[Ch]: add end_ member
3225 * lyxrow_funcs.C: use LyXRow::end_
3227 * lyxtext.h (singleWidth): add LyXFont parameter
3230 * text2.C: adjust LyXText::singleWidth() calls
3232 * text.C (redoParagraph): simplify row breaking logic
3235 2003-08-19 André Pönitz <poenitz@gmx.net>
3237 * funcrequest.C: initialize button_ member
3240 * rowpainter.[Ch]: interface consolidation
3242 2003-08-18 André Pönitz <poenitz@gmx.net>
3245 * BufferView_pimpl.C:
3247 * paragraph_funcs.C:
3249 * text3.C: remove LyXScreen::draw() and fitCursor calls
3251 * BranchList.h: remove spurious semicolons
3253 * MenuBackend.C: fix branchlist related crash
3255 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3263 * bufferparams.[Ch]:
3267 * text3.C: implements the 'branch inset'
3268 idea. This allows the output of various versions of a document
3269 from a single source version, selectively outputing or suppressing
3270 output of parts of the text.
3271 This implementation contains a 'branch list editor' in a separate
3272 tab of the document settings dialog. Branches are user definable
3273 and have a "display colour" to distinguish them on-screen.
3275 ColorHandler was somewhat cleaned up.
3276 (1) make possible a dynamically growing LColor list by allowing
3277 the graphic context cache to grow along (vector);
3278 (2) eliminate an IMHO unnecessary step in colour allocation.
3280 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3282 * BufferView_pimpl.C: compile fix
3284 2003-08-15 André Pönitz <poenitz@gmx.net>
3286 * rowpainter.C: remove extra metrics calls
3288 * lyxtext.h: merge the two constructors into a single one,
3289 pass reference to owner's par list
3291 * BufferView_pimpl.C:
3295 2003-08-15 André Pönitz <poenitz@gmx.net>
3297 * lyxrow_funcs.[Ch]:
3300 * paragraph_funcs.C:
3305 * text_funcs.C: split LyXText::rowlist_ into individual
3306 Paragraph::rows_ chunks
3309 * BufferView_pimpl.[Ch]:
3312 * text3.C: remove toggleSelection()
3314 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3316 * bufferlist.C: beautify two alerts (shorter text of buttons)
3317 * buffer.C: Remove redundant ' ' from message
3319 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3320 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3321 rename VALIGN_CENTER to VALIGN_MIDDLE
3323 2003-08-11 André Pönitz <poenitz@gmx.net>
3325 * lyxtext.h (getPar):
3326 * text.C: new function
3328 2003-08-11 André Pönitz <poenitz@gmx.net>
3331 * tracer.[Ch]: remove unneeded files
3333 * InsetList.[Ch]: remove resizeInsetsLyXText()
3338 * text3.C: merge insertParagraphs() and appendParagraph()
3339 remove breakAgain(), update()
3341 * BufferView_pimpl.[Ch]:
3342 * bufferview_funcs.[Ch]:
3346 * tabular.C: adjust after text & InsetList changes.
3348 2003-08-08 André Pönitz <poenitz@gmx.net>
3350 * text.C (insertChar, backspace): replace rowlist fiddling
3351 with rebreak of full par
3354 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3355 checkParagraph, updateInset): removed
3357 2003-08-07 André Pönitz <poenitz@gmx.net>
3360 * text3.C: merge some LFUN handlers, remove dead code
3362 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3366 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3368 * text2.C (DEPM): fix part of bug 1255 and 1256
3370 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3372 * BufferView_pimpl.C (workAreaDispatch): change to use
3373 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3374 that are no mouse related.
3376 2003-08-05 André Pönitz <poenitz@gmx.net>
3379 * BufferView_pimpl.[Ch]:
3380 * bufferview_funcs.C:
3382 * text3.C: rip out "deep update"
3384 * textcursor.[Ch] (last_sel_cursor): remove unused member
3386 2003-08-04 André Pönitz <poenitz@gmx.net>
3389 * BufferView_pimpl.[Ch]:
3390 * ParagraphParameters.C:
3391 * bufferview_funcs.C:
3397 * text3.C: replace "complicated" BufferView::update(...) calls with
3400 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3402 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3404 * Makefile.am (lyx_SOURCES): add paper.h
3406 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3408 * Makefile.am: move things around so that both lyx-qt and
3409 lyx-xforms can be built (according to --with-frontend). Then lyx
3410 is a symbolic link to lyx-[firstfrontend]
3412 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3414 * Always use std::endl with lyxerr
3416 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3418 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3420 2003-08-01 André Pönitz <poenitz@gmx.net>
3423 * BufferView_pimpl.[Ch]:
3425 * text3.C: merge BufferView::repaint() and BufferView::update()
3427 2003-08-01 José Matos <jamatos@lyx.org>
3429 * buffer.[Ch]: file_format is no longer a buffer data element.
3431 2003-08-01 André Pönitz <poenitz@gmx.net>
3436 * text2.C: make redoParagraph more independent of current cursor
3438 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3440 * text2.C: remove unneeded members
3442 2003-07-30 André Pönitz <poenitz@gmx.net>
3444 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3446 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3447 create a single function...
3449 * paragraph_funcs.C (moveItem): ... here.
3452 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3454 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3456 * LColor.[Ch]: Add comment and greyedout logical colors.
3458 2003-07-30 André Pönitz <poenitz@gmx.net>
3460 * tabular.C: don't use Assert too heavily. This crashes where it
3463 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3465 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3466 is disabled (bug 1232)
3468 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3470 * factory.C: limited 'arg' scope
3472 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3474 * factory.C: fixed Note submenu issues
3476 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3478 * factory.C: submenu for Note/Comment/Greyedout
3480 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3483 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3485 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3488 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3489 greyedout. Patch provided by Jürgen Spitzmüller.
3491 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3493 * kbmap.C (read): fix error message when reading bind files
3495 2003-07-29 Angus Leeming <leeming@lyx.org>
3497 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3498 certainly does not do what it purports to do. I am doing it, and
3499 us, a favour by killing it.
3501 2003-07-28 José Matos <jamatos@lyx.org>
3503 * buffer.C (readBody, do_writeFile):
3504 * paragraph.C(readParagraph): \end_document replaces \the_end.
3506 2003-07-29 André Pönitz <poenitz@gmx.net>
3509 * BufferView_pimpl.[Ch]:
3513 * textcursor.[Ch]: remove toggleToggle & Co
3515 2003-07-28 José Matos <jamatos@fep.up.pt>
3517 * buffer.C (readParagraph):
3518 * params_func (readParToken, readParagraph):
3519 * paragraph.C (write): \layout -> \begin_layout.
3521 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * lyxlex_pimpl.C (setFile): clean up slightly.
3525 * bufferparams.h: add compressed var
3527 * buffer_funcs.C (readFile): adjust for LyXLex change
3528 (newFile): ditto + simplify
3530 * buffer.C (writeFile): handle writing of compressed files
3532 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3533 Check if the file is compressed and set a bufferparm if so.
3535 * Makefile.am (lyx_LDADD): remove explicit -lz
3537 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3539 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3540 makeDocBookFile): put the real LyX version in the first line of
3544 * version.C.in: remove lyx_docversion
3546 * tabular.C (write_attribute): add a template-based version to
3547 write enums properly
3549 2003-07-28 André Pönitz <poenitz@gmx.net>
3554 * text3.C: use doubles again for x-coordinates. They are needed.
3556 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * messages.C (getLocaleDir): use lyx_localedir()
3560 * lyxlex_pimpl.C (setFile): compress stuff
3562 * buffer.C (writeFile): add some compression stuff
3563 (do_writeFile): new func, dont call expliti close... will this
3566 * Makefile.am (lyx_LDADD): add -lz
3568 2003-07-28 José Matos <jamatos@fep.up.pt>
3570 * buffer.C: increment file format.
3571 * paragraph_funcs (readParagraph, readParToken):
3572 * paragraph.C (readParagraph): add \end_layout.
3574 2003-07-27 Angus Leeming <leeming@lyx.org>
3576 * Makefile.am: remove special casing for configure-time setting of
3577 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3579 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3580 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3582 2003-07-26 André Pönitz <poenitz@gmx.net>
3584 * paragraph_func.[Ch]:
3585 * paragraph.C (realizeFont): inline it whereever it is used
3590 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3593 2003-07-26 André Pönitz <poenitz@gmx.net>
3597 * text2.C: get rid of LyXText::need_break_row
3599 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * toc.[Ch]: put namespace toc inside namespace lyx
3603 * MenuBackend.C (expandToc2): adjust for lyx::toc
3606 * lyxfunc.C (dispatch): adjust for lyx::find
3608 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3609 lyx::find instead. Reorganize a bit.
3610 (LyXReplace): rename to replace
3611 (LyXFind): rename to find
3613 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3616 2003-07-26 André Pönitz <poenitz@gmx.net>
3618 * text.C (setHeightOfRow): restrict scope of temporary variable
3620 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3621 code (never has been used?)
3623 2003-07-27 Asger Alstrup <alstrup@local>
3625 * text.C (fill): Optimise algorithm to exploit that we can reuse
3626 the LyXFont for many characters.
3627 (setHeightOfRow): Same thing.
3628 (rowBreakPoint): Same thing.
3630 2003-07-26 Asger Alstrup <alstrup@local>
3632 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3634 * text.C (singleWidth): Spurious font copying in hot-spot
3635 singleWidth avoided. Reorder tests for arabic for efficiency.
3637 * text.C (fill): handle empty paragraphs better.
3639 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3642 * encoding.h: add includes
3644 * lyxrc.C: remove reading of bind files
3646 * lyx_main.C (init): setup bindings and menus only if we have a
3649 * kbmap.C (read): new method. Do the actual reading of bind
3652 * converter.C (dvipdfm_options):
3655 (output): adapt PAPER_* enums.
3657 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3659 * bufferparams.h: remove paper-related enums from there
3661 * paper.h: New file. A trivial header file to hold paper-related
3662 enums. It should later expand to contain many paper-related
3665 * lyxrc.C: declare extern displayTranslator
3667 2003-07-27 José Matos <jamatos@fep.up.pt>
3669 * tabular.[Ch] (linuxdoc): add support for tables and figures
3672 2003-07-27 José Matos <jamatos@fep.up.pt>
3674 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3675 consistency in both functions.
3676 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3678 2003-07-26 Asger Alstrup <alstrup@local>
3680 * rowpainter.C (paintRows): Change algorithm to work directly on
3681 the insets rather than asking every character in the document
3682 whether its an inset.
3684 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3686 * buffer.C (openFileWrite): factorize some code
3688 2003-07-26 Angus Leeming <leeming@lyx.org>
3691 * lyx_main.[Ch]: replace occurances of system_tempdir with
3694 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * rename Inset to InsetOld
3698 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3700 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3701 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3702 which I think is a bit clearer. EDIT is gone, since it was
3703 premature optimisation, and broken for mathed anyway.
3704 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3705 with cursor positioning in insets as well (math insets still do not
3706 work, but that's a different story anyway.) It mysteriously
3707 crashes sometimes with undo in the first paragraph, but I'm fairly
3708 confident that this is a compiler bug.
3710 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * paragraph.C (Paragraph): adjust for new clone return type
3714 (copyIntoMinibuffer): ditto
3716 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3718 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3719 by not having a special case, and always doing a full rebreak of
3720 the document after undo.
3722 2003-07-23 Angus Leeming <leeming@lyx.org>
3724 * factory.C (createInset): InsetExternal::setParams now takes a
3727 2003-07-23 Angus Leeming <leeming@lyx.org>
3729 * factory.C (createInset): changed interface to the external and
3730 graphics mailers' string2params functions.
3732 2003-07-23 Angus Leeming <leeming@lyx.org>
3734 * factory.C (createInset): pass a
3735 Buffer const * parameter to InsetExternalMailer's string2params.
3737 2003-07-22 John Levon <levon@movementarian.org>
3739 * Thesaurus.h: include the right aiksaurus header
3741 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3743 * MenuBackend.C (expand): check menu shortcuts unconditionally
3745 2003-07-21 Angus Leeming <leeming@lyx.org>
3747 * factory.C (createInset): pass a
3748 buffer_path parameter to InsetGraphicsMailer's string2params.
3750 2003-07-21 Angus Leeming <leeming@lyx.org>
3752 * BufferView_pimpl.C (buffer):
3755 * lyxfunc.C (dispatch):
3756 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3757 rather than the grfx shortcut.
3759 2003-07-21 André Pönitz <poenitz@gmx.net>
3761 * rowpainter.C: remove unused variables
3764 * tabular_funcs.h: move to tabular.C
3765 * Makefile.am: adjust
3767 * tabular.[Ch]: basic optical cleaning
3769 * author.h: pass references, not values
3771 2003-07-18 André Pönitz <poenitz@gmx.net>
3779 * text3.C: two-phase drawing for InsetText and InsetTabular
3780 some float -> int changes.
3782 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3784 * lyx_main.C: fix the fix
3786 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3788 * lyx_main.C: fix a crash in batch mode if no files specified
3791 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3793 * format.[Ch] (papersize): moved to BufferParams
3794 * converter.[Ch] (dvips_options): moved to BufferParams
3795 (dvipdfm_options): moved to anon namespace
3796 * bufferparams.[Ch]: added above functions.
3798 2003-07-17 André Pönitz <poenitz@gmx.net>
3802 * text2.C: don't call inset->update() anymore
3804 * metricsinfo.[Ch]: add convenience constructor
3806 2003-07-16 André Pönitz <poenitz@gmx.net>
3811 * text2.C: replace the LyXCursor::irow_ member with
3812 on-demand computation of the value
3814 2003-07-16 John Levon <levon@movementarian.org>
3816 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3818 2003-07-15 André Pönitz <poenitz@gmx.net>
3821 * text2.C: remove no more needed refresh_row
3823 2003-07-15 André Pönitz <poenitz@gmx.net>
3828 * text3.C: refresh_status tristate -> need_update bool
3830 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3832 * lyxtext.h (init): remove reinit argument (act as if always true)
3833 * text2.C: adjust to that
3835 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3837 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3838 * text3.C: use it to delete selections in some cases
3839 (bugs 441, 673, 702, 954).
3841 2003-07-14 André Pönitz <poenitz@gmx.net>
3843 * rowpainter.[Ch]: reduce interface
3845 2003-07-14 André Pönitz <poenitz@gmx.net>
3847 * BufferView_pimpl.C:
3848 * text2.C: adjust after removing unused BufferView * argument
3850 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3852 * text2.C (init): fix a crash fired on resize
3854 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3856 * buffer.[Ch]: added new closing signal
3857 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3858 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3859 BufferView::Pimpl via the closing the signal
3861 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3863 * buffer.[Ch]: take out all bv-related from buffer
3865 * BufferView_pimpl.[Ch]: connect to new signals
3866 * CutAndPaste.C: removed useless asserts
3867 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3870 * lyxfunc.C: moved view-related funciontality from vc here
3871 * paragraph.C: removed outdated comments
3874 2003-07-10 André Pönitz <poenitz@gmx.net>
3876 * BufferView_pimpl.C:
3880 * text2.C: remove InsetText::InnerCache, clean up consequences
3882 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3884 * ispell.C: fix two typos in error messages
3886 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3888 * Extend Note inset to other forms of annotation like Comment
3889 and Greyedout. Right button click gives dialog.
3891 Files modified or added (+):
3895 * ControlNote.[Ch] +
3897 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3898 frontends/controllers
3902 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3904 * aspell.C: add missing namespace lyx::support
3906 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3908 * BufferView.[Ch] (newFile): Add
3909 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3910 * LaTeX.[Ch] (message): added this signal and use it
3911 * buffer.[Ch] (busy, message): added these signals and use them
3912 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3916 * importer.C: use buffer signals instead of direct bv calling
3917 * lyx_cb.[Ch] (ShowMessage): removed
3920 * paragraph_funcs.C:
3921 * text2.C: use buffer signals
3923 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * introduce namespace lyx::graphics
3927 2003-07-02 André Pönitz <poenitz@gmx.net>
3929 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3931 2003-07-01 André Pönitz <poenitz@gmx.net>
3938 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3939 text*.C to text_func.C
3941 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * introduce namespace lyx::support
3945 2003-06-30 André Pönitz <poenitz@gmx.net>
3950 * text.C: re-enable --with-included-string
3952 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * textcursor.C: add <config.h>
3956 * text.C (getWord): remove const from word_location arg
3958 * lyxvc.C (getLogFile): fix const type order
3960 * lyxtext.h: remove const from word_location arg, add arg name
3962 * lyxlayout.h: currect type on labeltype.
3964 * importer.C: correct \file
3966 * converter.C (intToFormat): use std:: on ret val, ws changes
3968 * bufferlist.h: correct \file
3970 * buffer.C (makeLinuxDocFile): fix const type order
3971 (makeDocBookFile): ditto
3972 (fillWithBibKeys): use std:: on stdlib args.
3974 * CutAndPaste.C: fix authors.
3975 (availableSelections): use std:: on return vector
3977 2003-06-27 André Pönitz <poenitz@gmx.net>
3979 * BufferView_pimpl.C:
3980 * bufferview_funcs.C:
3988 * text3.C: remove LyXCursor::row_ member
3991 * text.C: rename fullRebreak() to partialRebreak() and implement
3992 a fullRebreak() that really bereks fully
3994 * textcursor.h: new struct for cursor-related data
3996 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3998 * lyx_main.C (LyX): get full path of document loaded on the
4001 2003-06-26 André Pönitz <poenitz@gmx.net>
4003 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4004 remove unused/broken operator>,<,>=.
4006 * text.C: remove only use of broken operator<= in an Assert().
4008 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4010 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4011 moved errorlist_.clear to showErrorList
4013 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4015 * converter.C (scanLog, runLaTeX):
4016 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4017 move the bv->showErrorList call to the callers
4018 * lyxfunc.C: i.e. here...
4020 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4021 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4022 namespace, the second to...
4023 * buffer_funcs (BufferFormat, parseErrors): added
4024 * errorlist.C (ErrorList(TeXErrors const &)): removed
4026 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4028 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4030 2003-06-24 "Garst R. Reese" <reese@isn.net>
4034 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4036 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4038 * version.C.in: change docversion to 1.4
4040 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4042 * buffer.C: fix a bug just introduced
4044 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4046 * buffer.[Ch]: added the parseError signal and use it, removed
4048 * BufferView.[Ch] (addError): moved to ...
4049 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4050 to the Buffer::parseError signal to catch (guess what) parse errors
4051 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4053 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4055 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4056 ability to create a buffer and to return an existing one from
4057 the list. Moved these functions to...
4058 * buffer_funcs.[Ch]: added
4059 * BufferView.[Ch] (loadLyXFile): added
4060 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4061 job removed from bufferlist::loadLyXFile.
4062 * buffer.C (setReadOnly): make it work without view
4063 (i.e added an if (users))
4065 2003-06-19 Angus Leeming <leeming@lyx.org>
4068 * LyXAction.C (init):
4069 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4070 with LFUN_DIALOG_SHOW <name> <data>.
4072 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4074 * CutAndPaste.C (availableSelections): small compilation fix for
4075 ancient (gcc 2.9x) compilers
4077 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * text3.C (cursorNext): add tmp var
4081 * text2.C (updateCounters): for function calling out of for clause
4082 (replaceSelectionWithString): ditto
4083 (insertStringAsParagraphs): ditto
4084 (getColumnNearX): add tmp var
4085 (setCursorFromCoordinates): add tmp var
4086 (cursorDownParagraph): add tmp var
4087 (deleteEmptyParagraphMechanism): add tmp var
4089 * text.C (insertChar): add tmp var
4091 * rowpainter.C (paintDepthBar): add tmp var
4093 * CutAndPaste.C (availableSelections): potentially check all
4094 paragraphs in a cut to fill the shown strings.
4096 2003-06-18 André Pönitz <poenitz@gmx.net>
4098 * kbmap.[Ch]: use vector<> instead of list<>
4100 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4102 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4103 pasteSelection with index
4105 * text2.C (pasteSelection): modify, call pasteSelection with index
4107 * paragraph.C (asString): reimplement version with no interval to
4108 call the one with interval.
4110 * lyxtext.h: add index arg to pasteSelection
4112 * MenuBackend.C (MenuItem): handle PasteRecent
4113 (Menu::read::Menutags): add md_pasterecent
4115 (expandPasteRecent): new function
4118 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4120 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4122 (availableSelections): new function
4124 2003-06-17 Angus Leeming <leeming@lyx.org>
4126 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4128 2003-06-17 Angus Leeming <leeming@lyx.org>
4131 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4133 * lyxfunc.C (dispatch): invoke it.
4135 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4137 * iterators.C (operator++, ParPosition): reintroduce some
4138 const_cast for the benefit of older compilers.
4140 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4142 * text3.C (dispatch): do not modify clipboard when doing
4143 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4144 LFUN_DELETE_SKIP on a selection selection
4146 2003-06-16 André Pönitz <poenitz@gmx.net>
4152 * tabular.[Ch]: IU of clone() and getLabelList();
4154 2003-06-13 André Pönitz <poenitz@gmx.net>
4156 * tabular.h: compactification
4158 2003-06-12 André Pönitz <poenitz@gmx.net>
4162 * tabular_funcs.h: some renaming plus whitespace
4164 2003-06-12 André Pönitz <poenitz@gmx.net>
4167 * BufferView_pimpl.C:
4173 * toc.C: Return a Paragraph & for ParIterator::operator*()
4175 2003-06-11 John Levon <levon@movementarian.org>
4179 * ToolbarBackend.C: add "Toolbars" section and
4182 2003-06-10 Angus Leeming <leeming@lyx.org>
4185 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4187 * lyxfunc.C (dispatch): invoke it.
4189 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * main.C: protect <ios> with HAVE_IOS
4192 (main): protect sync_with_stdio with HAVE_IOS
4194 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4196 * text2.C (cutSelection): adjust
4197 (pasteSelection): adjust
4199 * messages.C: handle get of empty string
4201 * main.C (main): use sync_with_stdio(false)
4203 * lyxfunc.C (dispatch): adjust
4205 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4206 (WriteAs): remove unneeded BufferView arg.
4208 * bufferparams.h: use correct types on papersize, papersize2 and
4211 * bufferparams.C (readToken): adjust for type
4212 (writeLaTeX): add missing cases to switch.
4214 * bufferlist.C (quitWriteBuffer): adjust
4217 * buffer.C (asciiParagraph): remove some commented code.
4219 * CutAndPaste.C: remove current_view extern variable.
4220 (cutSelection): add BufferParams arg.
4221 (eraseSelection): add BufferParams arg.
4222 (pasteSelection): add Buffer const & arg
4224 2003-06-07 John Levon <levon@movementarian.org>
4227 * paragraph_funcs.C:
4228 * paragraph_pimpl.C:
4232 * paragraph.C: allow InsetERT to freely space lines,
4233 and some consolidation of code
4235 2003-06-06 José Matos <jamatos@fep.up.pt>
4237 * buffer.C (makeDocBookFile): fix bug #821
4239 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4241 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4243 2003-06-04 Angus Leeming <leeming@lyx.org>
4245 * buffer.C: bump format to 224.
4247 2003-06-05 André Pönitz <poenitz@gmx.net>
4249 * text2.C (redoParagraphs): remove two const_cast<>
4251 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4253 * ParagraphList.h: remove last remnants of NO_STD_LIST
4255 2003-06-03 Angus Leeming <leeming@lyx.org>
4257 * factory.C (createInset): small change to the way InsetExternal's params
4260 2003-06-04 André Pönitz <poenitz@gmx.net>
4262 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4264 * paragraph_pimpl.h:
4265 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4267 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4269 * undo_funcs.C: make some simple cases of undo work again
4271 2003-06-03 John Levon <levon@movementarian.org>
4273 * ispell.C: HPUX doesn't have sys/select.h
4276 2003-06-03 John Levon <levon@movementarian.org>
4278 * CutAndPaste.C: update tabular and include inset
4283 * paragraph.C: remove owningBuffer(), don't pass Buffer
4286 * factory.C: insetGraphicsParams changed
4288 2003-06-02 John Levon <levon@movementarian.org>
4294 * text3.C: remove insetparent
4296 2003-06-02 John Levon <levon@movementarian.org>
4299 * buffer.C: fix inset_iterator.end(), move out of line
4302 2003-06-01 John Levon <levon@movementarian.org>
4304 * text3.C: use a proper cut/paste when doing inset
4305 insert (from Jürgen Spitzmüller)
4307 2003-06-01 John Levon <levon@movementarian.org>
4309 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4311 2003-05-30 André Pönitz <poenitz@gmx.net>
4313 * rowpainter.C: unify second drawing phase
4315 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * trans_mgr.C: remove one case of current_view
4319 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4321 * paragraph_funcs.h: remove paragraph.h include
4323 * paragraph.h: delete NO_STD_LIST stuff
4325 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4327 * buffer.h: remove paragraph.h include
4329 * ParagraphList.C: delete file
4331 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4333 * toc.C (getTocList): adjust
4335 * paragraph_pimpl.C (validate): adjust
4337 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4339 * paragraph.C (Paragraph): adjust
4340 (getPositionOfInset): use const_iterator, adjust
4341 (bibitem): use const_iterator, adjust
4342 (setInsetOwner): adjust
4344 * iterators.C (operator++): adjust
4346 * InsetList.[Ch]: Replace selfmade iterator with standard
4347 vector::iterator also introduce const_iterator. Remove getPos,
4348 getInset and setInset from InsetTable. Adjust accordingly.
4350 * BufferView.C (lockInset): adjust
4351 (ChangeInsets): adjust
4353 * tabular.[Ch]: delete commented same_id functions
4355 2003-05-28 John Levon <levon@movementarian.org>
4357 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4359 2003-05-28 André Pönitz <poenitz@gmx.net>
4361 * metricsinfo.[Ch]: remove 'fullredraw' member
4363 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4365 * lyxtextclass.C (operator): remove caching.
4367 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * text2.C (cursorBottom): adjust
4372 (setCounter): use ParagraphList::find, adjust
4374 * text.C (workWidth): use ParagraphList::find, adjust
4376 * lyxcursor.C (LyXCursor): adjust
4378 * buffer.C (inset_iterator): adjust
4380 * ParagraphList.h: make iterator(value_type) private, make
4381 ParagraphList a friend of iterator.
4383 * ParagraphList.C (find): new function
4385 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4387 2003-05-27 André Pönitz <poenitz@gmx.net>
4389 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4391 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4393 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4395 2003-05-26 John Levon <levon@movementarian.org>
4397 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4399 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * remove same_id from function signatures, adjust.
4403 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4407 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4409 * paragraph.C (Paragraph): get rid of same_ids parameter
4411 * ParagraphList.C (insert): adjust
4414 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * paragraph_funcs.C (breakParagraph): adjust
4417 (breakParagraphConservative): adjust
4419 * buffer.C (readParagraph): adjust
4421 * ParagraphList.C (insert): take a reference instead of a pointer
4424 * paragraph.[Ch] (id): new function
4426 * bufferlist.C (newFile): adjust
4428 * ParagraphList.C (ParagraphList): adjust
4430 (push_back): take a reference instead of a pointer.
4432 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4434 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4437 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4438 set else use old code.
4440 * ParagraphList.C: remove all NO_NEXT code and only compile this
4441 code of NO_STD_LIST is set.
4443 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4445 * BufferView_pimpl.C:
4455 * graphics/GraphicsConverter.C:
4456 * graphics/PreviewLoader.C: header adjustment
4458 2003-05-23 Angus Leeming <leeming@lyx.org>
4460 * LaTeXFeatures.[Ch] (useBabel): new method.
4461 * bufferparams.C (writeLaTeX): use it.
4463 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * ParagraphList.h (set): remove unused function.
4467 2003-05-23 André Pönitz <poenitz@gmx.net>
4470 * BufferView_pimpl.C:
4474 * undo_funcs.C: setUndo reworked
4476 * iterators.[Ch]: add access to topmost ParagraphList
4478 * lyxtext.[Ch] (workWidth): add a const
4480 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4482 * texrow.[Ch] (increasePos): remove function
4483 * exporter.C (export): removed unused var and outdated comment
4485 2003-05-23 Angus Leeming <leeming@lyx.org>
4487 * latexrunparams.h: rename fragile as moving_arg.
4488 * paragraph.C (simpleTeXOnePar): ditto.
4489 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4491 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4495 (textUndoOrRedo): comment out a currently unused var.
4497 * paragraph.h (NO_NEXT): enable NO_NEXT
4499 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4501 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4503 * exporter.C (Export): adjust for removeAutoInsets removal.
4505 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4507 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4509 * BufferView.[Ch] (removeAutoInsets): delete function
4511 2003-05-22 Angus Leeming <leeming@lyx.org>
4513 * latexrunparams.h: add a free_spacing variable.
4515 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4516 to pass moving_arg, as the data is stored in runparams.fragile.
4518 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4519 to Inset::latexOptional or to simpleTeXOnePar.
4521 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4522 free_spacing arg to Inset::latexOptional.
4524 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4527 2003-05-22 Angus Leeming <leeming@lyx.org>
4529 * latexrunparams.h: add fragile and use_babel variables.
4531 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4532 * buffer.C (makeLaTeXFile): store this returned value in
4533 runparams.use_babel, thus passing it to the inset::latex methods.
4535 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4536 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4538 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4539 longer has a fragile arg, as it is stored in runparams.fragile.
4541 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4542 moving_arg parameter as the data is stored in runparams.fragile.
4544 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4545 a fragile parameter as the data is stored in runparams.fragile.
4547 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4551 2003-05-22 Angus Leeming <leeming@lyx.org>
4553 * latexrunparams.h: add a 'bool nice' which defaults to false.
4555 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4556 now encapsulated within runparams.
4558 * bufferlist.C (updateIncludedTeXfiles):
4559 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4561 2003-05-22 Angus Leeming <leeming@lyx.org>
4563 * latexrunparams.h: new file containing struct LatexRunParams.
4564 * Makefile.am: add new file.
4566 * LaTeX.[Ch] (c-tor, run):
4567 * buffer.[Ch] (makeLaTeXFile):
4568 * bufferlist.[Ch] (updateIncludedTeXfiles):
4569 * converter.C (convert, scanLog):
4570 * converter.[Ch] (runLaTeX):
4571 * exporter.C (Export):
4572 * paragraph.[Ch] (simpleTeXOnePar):
4573 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4574 * paragraph_funcs.[Ch] (latexParagraphs):
4575 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4576 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4577 pass around a LatexRunParams parameter.
4579 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * paragraph.[Ch]: remove unused constructor
4583 * ParagraphList.C (erase): new function, taking two iterators
4585 2003-05-22 André Pönitz <poenitz@gmx.net>
4587 * undo_funcs.C: remove duplicated code
4589 * iterator.[Ch]: operator=
4591 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * tabular.C (SetMultiColumn): ws changes
4595 * rowpainter.C (paintFirst): get rid of a ->previous
4597 * lyx_cb.C (getPossibleLabel): parlist simplification
4599 * BufferView.C (ChangeInsets): simplify slightly.
4601 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4603 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4604 * lfuns.h: new LFUN_SPACE
4605 * lyxfunc.C: protected space has a new lfun
4606 * paragraph_funcs.C: read new space insets
4608 * factory.C: handle new space insets
4610 2003-05-22 André Pönitz <poenitz@gmx.net>
4613 * BufferView_pimpl.C:
4616 * undo_funcs.C: return a ParIterator from getParFromID.
4618 * iterators.[Ch]: add two const's
4620 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * toc.C (getTocList): adjust
4624 * iterators.[Ch]: rework for parlist
4626 * buffer.C (par_iterator_begin): adjust
4627 (par_iterator_end): adjust
4629 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4631 * BufferView.C (removeAutoInsets): adjust
4632 (ChangeInsets): adjust
4634 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4636 * text.C (top_y): fix bug 1110
4638 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4640 * errorlist.[Ch]: added
4643 * BufferView_pimpl.C:
4644 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4647 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * Makefile.am: ensure that lyx is relinked upon changes to the
4650 various "convenience" libs.
4652 2003-05-20 Angus Leeming <leeming@lyx.org>
4654 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4655 files are compiled in alphabetical order again.
4657 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4659 2003-05-19 Angus Leeming <leeming@lyx.org>
4661 * gettext.[Ch]: remove "char const * _(char const *)".
4663 2003-05-19 André Pönitz <poenitz@gmx.net>
4665 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4674 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4676 2003-05-19 André Pönitz <poenitz@gmx.net>
4680 * lyxtextclass.[Ch]:
4682 * paragraph_funcs.[Ch]:
4684 * text3.C: more insetenv work
4686 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4688 * ParagraphParameters.C (params2string): small bug fixed
4690 2003-05-16 André Pönitz <poenitz@gmx.net>
4693 * bufferview_funcs.C: patch from Kornel Benko to prevent
4694 crash when _(...) is called twice in a statement
4696 2003-05-16 André Pönitz <poenitz@gmx.net>
4703 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4705 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4707 * lyx_main.C (init): remove spurious static_cast
4709 2003-05-14 André Pönitz <poenitz@gmx.net>
4711 * BufferView.C: fix format string
4713 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4715 * BufferView.[Ch] (insertErrors): removed
4716 * BufferView.[Ch] (showErrorList): added
4717 * buffer.C (runChkTeX):
4718 * converter.C (scanLog): call showErrorList instead of inserterrors
4720 2003-05-13 André Pönitz <poenitz@gmx.net>
4722 * BufferView_pimpl.C:
4724 * bufferview_func.C:
4731 * tabular_funcs.h: tostr() from its own header
4733 * ParagraphParameters.C:
4738 * text3.C: STRCONV()
4740 2003-05-12 André Pönitz <poenitz@gmx.net>
4743 * BufferView_pimpl.C:
4747 * ParagraphParameters.C:
4751 * bufferview_funcs.C:
4764 * paragraph_funcs.C:
4768 * text3.C: boost::format -> bformat all over the place
4771 2003-05-09 André Pönitz <poenitz@gmx.net>
4773 * LColor.[Ch]: Pimpl the #include <map> away
4775 2003-05-09 John Levon <levon@movementarian.org>
4777 * bufferlist.C: never remove emergency saves
4779 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * Makefile.am: better lib building
4783 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4787 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4788 (simpleTeXSpecialChars): adjust
4789 (simpleTeXSpecialChars): adjust
4790 * paragraph.C (simpleTeXOnePar): adjust
4791 * buffer.C (makeLaTeXFile): adjust
4793 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4795 * text2.C (changeDepth): parlist cleanup
4796 (getColumnNearX): ditto
4798 * rowpainter.C (getLabelFont): parlist cleanup
4800 * bufferlist.C (newFile): parlist cleanup
4802 * CutAndPaste.C (eraseSelection): parlist cleanup
4804 * BufferView_pimpl.C (trackChanges): parlist cleanup
4807 * BufferView.C (lockInset): parlist cleanup.
4808 (ChangeInsets): ditto
4810 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * CutAndPaste.h: Update file header.
4814 * CutAndPaste.C: Update file header.
4815 Store the parts cut out of the Document in a limited_stack.
4816 (copySelection): adjust
4817 (pasteSelection): new function, takes the index in the limited stack.
4818 (nrOfParagraphs): adjust
4819 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4820 simplify error inset insertion.
4821 (checkPastePossible): adjust
4823 2003-05-06 John Levon <levon@movementarian.org>
4825 * text2.C: don't cast wrap inset to float
4827 2003-05-05 André Pönitz <poenitz@gmx.net>
4830 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4832 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4833 few naked Paragraph *.
4835 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4837 * bufferparams.C: Output warning if a document with missing
4838 TeX document class is loaded
4839 * exporter.C: Disable TeX exports if the document class is missing
4842 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4843 isTeXClassAvailable()
4845 2003-05-03 John Levon <levon@movementarian.org>
4848 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4849 explicit cursor show/hide
4851 * BufferView_pimpl.h:
4852 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4853 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4855 * lyxfunc.C: hide cursor before dispatching.
4860 * text3.C: remove explicit cursor hides
4862 2003-05-02 André Pönitz <poenitz@gmx.net>
4864 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4867 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4870 * text2.C: tiny whitespace
4872 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4874 * undo_funcs.C: almost only ws changes.
4876 * ParagraphList.C (splice): just return if pl is empty.
4878 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * ParagraphList.C (splice): new function.
4882 * CutAndPaste.C (pasteSelection): use it
4884 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * CutAndPaste.C (pasteSelection): remove the last next and
4887 previous from this file.
4889 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * CutAndPaste.C (pasteSelection): more clean up, user proper
4892 ParagraphList functions for pasteing.
4894 * ParagraphList.C (insert): new function, three arg insert
4896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * ParagraphList.C (insert): new function, three arg insert
4900 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4903 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4907 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4911 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4914 (copySelection): clean up a bit.
4915 (pasteSelection): use make_pair
4917 * ParagraphList.C (ParagraphList): implement copy constructor
4918 (operator=): implement, base on copy constructor.
4921 * paragraph.C (erase): return a bool
4923 * paragraph_pimpl.C (erasePos): remove function, move contents...
4924 (erase): ... here. Return a bool.
4925 (erase): call erase instead of erasePos.
4927 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4929 * ParagraphList.h: define PitPosPair
4930 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4931 ParagraphList, fix a bug on pasting multiple pars
4932 * text2.C: change interface to C&P
4934 2003-04-30 André Pönitz <poenitz@gmx.net>
4936 * undo_func.C: revert part of yesterday's patch 2
4938 2003-04-30 John Levon <levon@movementarian.org>
4940 * LColor.C: s/tabular/table/
4942 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * text3.C (dispatch): do not convert iterator -> pointer
4945 * undo_funcs.C (setCursorParUndo): ditto
4946 * text_funcs.C (transposeChars): ditto
4948 * text2.C (setLayout): ws changes only
4950 * text.C (breakParagraph): do not convert iterator -> pointer
4952 (acceptChange): ditto
4953 (rejectChange): ditto
4958 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4961 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4963 * text3.C (gotoInset): YABG (yet another bad getChar)
4965 2003-04-29 André Pönitz <poenitz@gmx.net>
4967 * paragraph.h: make operator= private unimplemented as long as
4970 * ParagraphList.C: whitespace
4973 * paragraph_pimpl.[Ch]:
4974 * paragraph_funcs.C:
4976 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4979 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4981 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4983 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4984 * paragraph.[Ch] (erase):
4985 * paragraph_pimpl.[Ch] (erase): change return type and value
4986 * text2.C (cutSelection): some rework
4988 2003-04-28 John Levon <levon@movementarian.org>
4990 * bufferlist.C: changes for unsaved changes dialog
4992 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * bufferlist.C (newFile): set language (messages_) for new
4997 * buffer.C (readFile): ws changes only.
4999 2003-04-28 André Pönitz <poenitz@gmx.net>
5004 * BufferView_pimpl.C:
5005 * BufferView.C: getParFromID related ParagraphList::iterator changes
5007 2003-04-28 André Pönitz <poenitz@gmx.net>
5009 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5012 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * messages.C: remove one more localedir class variable.
5016 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * messages.C (getLocaleDir): singleton generation function
5020 (Messages): add a default constructor.
5022 * main.C (main): do not setup localedir here, do not call
5025 * gettext.C (_): use it.
5026 (gettext_init): delete funciton
5028 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * gettext.C (getLyXMessages): new singleton generating function.
5032 * buffer.C (updateDocLang): adjust
5034 * Makefile.am (messages.o): add target
5035 (main.o): remove target
5037 2003-04-27 John Levon <levon@movementarian.org>
5042 * lyxvc.C: specify cancel button in Alert::prompt
5044 2003-04-26 John Levon <levon@movementarian.org>
5049 * LyXAction.C: add LFUN_INSET_SETTINGS
5051 * lyxfunc.C: don't enable tabular-feature when there's
5052 just any locking inset
5054 2003-04-26 John Levon <levon@movementarian.org>
5056 * bufferlist.C: re-add Cancel to buffer close question
5058 * lyxfunc.C: fix import UI a bit
5060 2003-04-25 John Levon <levon@movementarian.org>
5062 * gettext.C: remove the broken asserts for now
5064 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * messages.C: make case where setlocale cannot comply work better.
5068 * buffer.C (updateDocLang): new function
5069 (changeLanguage): use it
5072 * text2.C (setCounter): use B_ a bit.
5074 * lyxlayout.C (Read): be sure to trim the label strings.
5076 * messages.C (Messages): fix typo in comment
5078 * buffer.C (readFile): set message_ after file is loaded.
5079 (makeDocBookFile): remove double return
5080 (changeLanguage): reset message_ upon language change.
5081 (B_): new func, use this to get translated buffer strings.
5083 * main.C: add myself and Jean Marc as authors.
5085 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * messages.[hC]: pimplify Messages, and three different pimpls to be
5088 used in different circumstances.
5090 * gettext.[Ch]: change for use with new message code.
5092 2003-04-24 André Pönitz <poenitz@gmx.net>
5094 * factory.C: support for eqref
5096 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * messages.[Ch]: add missing char
5100 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5102 * messages.[Ch]: New files
5104 2003-04-18 John Levon <levon@movementarian.org>
5108 * BufferView_pimpl.C:
5112 * text2.C: remove layout-copy/paste (bug 778)
5114 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5116 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5118 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5120 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5121 if they succeed. Act accordingly.
5123 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * text2.C (setCharFont): adjust
5126 (setCounter): adjust
5127 (insertStringAsLines): adjust
5129 * text.C (leftMargin): adjust
5130 (setHeightOfRow): adjust
5132 * rowpainter.C (paintFirst): adjust
5135 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5137 (isFirstInSequence): ditto
5138 (getEndLabel): ditto
5141 * paragraph.C (getParLanguage): comment out some hard stuff.
5143 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5145 (simpleDocBookOnePar): ditto
5146 (makeDocBookFile): use ParagraphList::iterator
5148 * CutAndPaste.C (pasteSelection): adjust
5150 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * text2.C (getFont): adjust
5153 (getLayoutFont): adjust
5154 (getLabelFont): adjust
5156 * paragraph_funcs.C (TeXOnePar): adjust
5158 * buffer.C (simpleLinuxDocOnePar): adjust
5159 (simpleDocBookOnePar): adjust
5161 * CutAndPaste.C (pasteSelection): adjust
5163 * BufferView.C (getEncoding): adjust
5165 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5167 2003-04-16 John Levon <levon@movementarian.org>
5169 * lyxfind.C: use parlist stuff for search/changes
5171 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5175 * text2.C (deleteEmptyParagraphMechanism): adjust
5177 * text2.[Ch] (ownerParagraph): delete func (both of them
5179 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5183 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * ParagraphList.C: prepare for NO_NEXT
5187 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * text2.C (getFont): adjust
5190 (getLayoutFont): adjust
5191 (getLabelFont): adjust
5193 * paragraph.C (getFont): adjust
5194 (getLabelFont): adjust
5195 (getLayoutFont): adjust
5197 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5199 2003-04-15 John Levon <levon@movementarian.org>
5203 * lyx_main.C: handle Include in .ui files
5205 2003-04-15 John Levon <levon@movementarian.org>
5207 * MenuBackend.C: make the doc files length shorter
5210 * ToolbarBackend.C: handle toolbar placement flags,
5213 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5218 * paragraph_funcs.C (TeXOnePar): adjust
5220 * paragraph.C (getLabelFont): add outerfont arg, adjust
5221 (getLayoutFont): ditto
5222 (simpleTeXOnePar): adjust
5224 * paragraph_pimpl.C (realizeFont): delete func
5226 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5228 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5229 row argument, constify cur argument.
5231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * text2.C (getFont): adjust
5234 (getLayoutFont): adjust
5235 (getLabelFont): adjust
5237 * paragraph_funcs.C (TeXOnePar): adjust
5238 (outerFont): new func...
5239 (realizeFont): ...moved out from here, changed this to facilitate
5242 * paragraph.C (getFont): take outerfont as arg, adjust
5243 (simpleTeXOnePar): add outerfont arg, adjust
5245 * buffer.C (simpleLinuxDocOnePar): adjust
5246 (simpleDocBookOnePar): adjust
5248 * CutAndPaste.C (pasteSelection): adjust
5250 * BufferView.C (getEncoding): adjust
5252 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * text2.C (setCharFont): adjust
5255 (setCounter): adjust
5257 * text.C (leftMargin): adjust
5258 (setHeightOfRow): adjust
5260 * rowpainter.C (paintFirst): adjust
5263 * paragraph_pimpl.C (realizeFont): adjust
5265 * paragraph.C (isFirstInSequence): move from here...
5266 * paragraph_funcs.C (isFirstInSequence): ...to here
5268 * paragraph.C (outerHook): move from here...
5269 * paragraph_funcs.C (outerHook): ...to here
5271 * paragraph.C (depthHook): move from here...
5272 * paragraph_funcs.C (depthHook): ...to here
5274 * paragraph.C (getEndLabel): move from here...
5275 * paragraph_funcs.C (getEndLabel): ...to here
5277 * text2.C (realizeFont): move from here...
5278 * paragraph_funcs.C (realizeFont): ...to here
5280 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5284 2003-04-14 Angus Leeming <leeming@lyx.org>
5286 * LColor.[Ch]: scrap LColor mathcursor.
5288 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * lyxlex.[Ch] (text): delete function
5291 * trans.C (Load): adjust
5292 * paragraph_funcs.C (readParToken): adjust
5294 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5297 vector<char> instead of a char[].
5299 * lyxlex_pimpl.C (getString): adjust
5301 (lex): use getString
5305 * lyxlex.C (text): use pimpl_->getString()
5309 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5312 (makeFontEntriesLayoutSpecific): temp var for par.size()
5313 (setLayout): temp var for ownerParagraphs().end()
5314 (fullRebreak): temp var for rows().end()
5315 (selectionAsString): temp var for boost::next(startpit), realize
5316 that the while really is a regular for loop.
5317 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5318 setCursor in one place.
5319 (setParagraph): temp vr for ownerParagraphs().end()
5320 (updateCounters): make the while loop a for loop
5321 (cutSelection): temp var for ownerParagraphs().end()
5322 (updateInset): make the do {} while() a regular for loop
5323 (getCursorX): use temp vars
5324 (setCurrentFont): use temp vars
5325 (getColumnNearX): use temp vars
5327 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * text.C (transformChar): use temp var for getChar
5330 (computeBidiTables): use temp var for row->par()
5331 (fill): move temp vars for row->par() and pit->layout() earlier in
5333 (labelFill): use temp var for row->par()
5334 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5335 asc and desc, realize that pit never changes and that firstpit is
5336 just a duplicate and not needed. Exchange rit->par() with pit in a
5338 (breakAgain): use a temp var for boost::next(rit)
5339 (breakAgainOneRow): ditto
5340 (breakParagraph): use a temp var for rows().begin()
5341 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5342 (cursorRightOneWord): use temp var for cursor.par() and
5343 cursor.pos(), remove usage of tmpcursor.
5344 (cursorLeftOneWord): use temp var for cursor.par() and
5345 cursor.pos() only set cur at end of function.
5347 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * text.C, text2.C: exchange all usage of Paragraph::next with
5350 boost::next(ParagraphList::iterator)
5352 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5354 * text2.C (cursorTop): simplify implementation
5355 (cursorBottom): ditto
5356 (setParagraph): use ParagraphList::iterator
5357 (setCurrentFont): adjust
5358 (getColumnNearX): adjust
5359 (cursorRight): adjust
5360 (cursorLeft): remove usage of Paragraph::previous
5361 (cursorUpParagraph): ditto
5362 (deleteEmptyParagraphMechanism): slight cleanup
5364 * text.C (isBoundary): take a Paragraph const & instead of a
5366 (addressBreakPoint): ditto
5367 (leftMargin): remove usage of Paragraph::previous.
5368 (setHeightOfRow): ditto
5369 (cursorLeftOneWord): ditto
5370 (selectNextWordToSpellcheck): ditto
5373 (breakParagraph): remove one usage of Paragraph::next
5374 (redoParagraph): ditto
5375 (acceptChange): ditto
5376 (insertChar): adjust
5377 (rowBreakPoint): adjust
5379 * bufferview_funcs.C (toggleAndShow): adjust
5381 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5383 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5384 methods to access it.
5386 * text.C: Added updateRowPositions to compute all row positions.
5387 Make top_y and getRowNearY() to use the cached y position
5389 2003-04-11 John Levon <levon@movementarian.org>
5391 * text.C (rowBreakPoint): reintroduce the labelEnd
5392 checks, code copied from the row fill stuff. Deep voodoo.
5394 * text.C (fill): add a comment and debugging for the
5397 2003-04-11 John Levon <levon@movementarian.org>
5399 * text.C: make sure fullrow insets get wrapped to the next line,
5400 even when they're in a manual label
5402 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * text2.C (insertParagraph): make it take ParagraphList::iterator
5406 (setLayout): make it return ParagraphList::iterator
5407 (redoParagraphs): ditto
5409 (checkParagraph): ditto
5411 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5413 * text2.C: adjust several funcs.
5414 (realizeFont): take a ParagraphList::iterator as arg.
5415 (getLayoutFont): ditto
5416 (getLabelFont): ditto
5417 (setCharFont): ditto
5419 * text.C: adjust several funcs.
5421 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5423 * text.C (selectNextWordToSpellcheck): don't accidentally
5426 2003-04-10 John Levon <levon@movementarian.org>
5428 * ToolbarBackend.C (getIcon): special handling for
5431 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5433 * text2.C (cursorRight): a getChar assert fixed
5435 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * text2.C (getFont): change to take a ParagraphList::iterator
5438 instead of Paragraph*
5439 Adjust several functions.
5441 * text.C (transformChar): change to take a ParagraphList::iterator
5442 instead of Paragraph*
5443 (singleWidth): ditto
5444 Adjust several functions.
5446 * rowpainter.C: adjust several functions
5447 * rowpainter.h:store a ParagraphList::iterator and not a
5451 2003-04-09 John Levon <levon@movementarian.org>
5456 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5457 and the "help" bits as well
5459 2003-04-09 John Levon <levon@movementarian.org>
5462 * ToolbarBackend.C: allow multiple toolbars
5464 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * undo_funcs.C (setCursorParUndo): adjust
5468 * text_funcs.C (transposeChars): adjust
5470 * text3.C (gotoNextInset): adjust
5473 * text2.C (setLayout): adjust
5474 (changeDepth): adjust
5476 (redoParagraphs): adjust
5477 (selectionAsString): adjust
5478 (setParagraph): adjust
5479 (insertInset): adjust
5480 (cutSelection): adjust
5481 (copySelection): adjust
5482 (pasteSelection): adjust
5483 (insertStringAsLines): adjust
5484 (updateInset): adjust
5485 (setCursor): change to take a ParagraphList::iterator parameter
5486 (setCursorIntern): change to take a ParagraphList::iterator parameter
5487 (setCurrentFont): adjust
5488 (cursorLeft): adjust
5489 (cursorRight): adjust
5490 (deleteEmptyParagraphMechanism): adjust
5492 * text.C (breakParagraph): adjust
5493 (insertChar): adjust
5494 (acceptChange): adjust
5495 (rejectChange): adjust
5496 (selectNextWordToSpellcheck): adjust
5497 (changeCase): adjust
5501 * lyxfind.C (SearchForward): adjust
5502 (SearchBackward): adjust
5503 (nextChange): adjust
5505 * lyxcursor.C (par): adjust
5507 * lyxcursor.h: store a ParagraphList::iterator instead of a
5510 * lyx_cb.C (getPossibleLabel): adjust
5512 * bufferview_funcs.C (toggleAndShow): adjust
5514 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5517 * BufferView.C (removeAutoInsets): adjust
5518 (lockedInsetStoreUndo): adjust
5520 2003-04-09 John Levon <levon@movementarian.org>
5522 * ToolbarBackend.C: try icon without argument
5523 if with argument fails
5525 2003-04-08 John Levon <levon@movementarian.org>
5528 * ToolbarBackend.C: add getIcon(), handle tooltip,
5529 and change from "Icon" to "Item".
5531 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5533 * BufferView.C (lockInset): another bad getchar crunched
5535 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5537 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5540 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5542 * lyxfind.C (searchForward, searchBackwards): bug 782
5544 2003-04-07 John Levon <levon@movementarian.org>
5546 * paragraph.C: remove dead comment
5548 * text.C: remove troublesome depth-fiddling code
5549 in leftMargin() and rightMargin() (bug 1017)
5551 * text.C: fix breaking of rows in nested lists
5554 * text2.C (updateCounters): fix up depth values
5557 2003-04-07 John Levon <levon@movementarian.org>
5559 * BufferView_pimpl.C: clear message when doc finishes resizing,
5560 and after a mouse event
5562 * lyxfunc.C: clear message after exiting inset
5564 2003-04-07 John Levon <levon@movementarian.org>
5566 * bufferview_funcs.C: show math status not outside
5567 status in the statusbar
5569 2003-04-07 John Levon <levon@movementarian.org>
5571 * lyxfunc.C: note status changed after a depth change
5573 2003-04-04 Angus Leeming <leeming@lyx.org>
5575 * LaTeX.h: move AuxInfo operator==, != out of line.
5576 Remove LaTeX virtual destructor; nothing derives from it.
5577 Move operator()() out of public area and rename it startscript().
5578 Change protected for private.
5580 2003-04-04 Angus Leeming <leeming@lyx.org>
5583 * text2.C: remove unneeded #includes.
5585 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5587 * text2.C (dEPM): fix the heigth of the next row
5589 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5591 * text.C: squashed an invalid getChar requester + some ws changes
5593 2003-04-03 John Levon <levon@movementarian.org>
5595 * bufferview_funcs.h:
5596 * bufferview_funcs.C:
5599 * text2.C: make getStatus work for the env depth lfuns
5601 2003-04-03 John Levon <levon@movementarian.org>
5603 * bufferview_funcs.h:
5604 * bufferview_funcs.C:
5607 * text2.C: parlistize decDepth(), by merging it with incDepth()
5609 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * lyxrow.h: store a ParagraphList::iterator instead of a
5612 Paragraph* and adjust other class functions to suit.
5614 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5617 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5619 * text2.C (setCursor): do not anchor to cursor row for the time being
5621 2003-04-02 John Levon <levon@movementarian.org>
5628 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5630 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * paragraph.h: make ParagraphList and ParagraphList::iterator
5633 friends of Paragraph.
5635 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5637 * ParagraphList.C: Use the private next_ and previous_ from
5640 2003-04-01 John Levon <levon@movementarian.org>
5644 * Makefile.am: rename, remove defaults gunk
5647 * MenuBackend.C: remove defaults gunk
5650 * Languages.C: remove defaults gunk
5653 * lyx_main.C: error out if files couldn't be found.
5655 2003-04-02 John Levon <levon@movementarian.org>
5657 * text2.C: make incDepth() use parlist
5659 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * undo_funcs.C (firstUndoParagraph): adjust
5663 * text3.C (gotoInset): adjust
5664 (dispatch): adjust, and rewrite loop.
5666 * text2.C (init): adjust, and rewrite loop.
5667 (redoParagraphs): adjust
5668 (updateInset): adjust, and rewrite loop.
5669 (deleteEmptyParagraphMechanism): adjust
5671 * tabular.C (LyXTabular): adjust
5672 (SetMultiColumn): adjust
5675 * lyxtext.[Ch] (ownerParagraph): delete function
5676 (ownerParagraphs): new function returns a ParagraphList.
5678 * BufferView.C (removeAutoInsets): adjust
5679 (insertErrors): adjust
5680 (setCursorFromRow): adjust
5682 2003-04-01 Angus Leeming <leeming@lyx.org>
5684 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5687 2003-04-02 John Levon <levon@movementarian.org>
5693 * text_funcs.C: make transposeChars a free function
5695 * lyxrow_funcs.C: remove wrong comment
5697 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5700 * rowpainter.C: adjust
5705 * lyxrow_funcs. [Ch]: new files
5707 * lyxrow.[Ch]: remove next and previous pointers
5708 (next,previous): remove accessor functions
5709 (isParEnd): move to lyxrow_funcs
5710 (lastPos): move to lyxrow_funcs
5711 (nextRowIsAllInset): move to lyxrow_funcs
5712 (lastPrintablePos): move to lyxrow_funcs
5713 (numberOfSeparators): move to lyxrow_funcs
5714 (numberOfHfills): move to lyxrow_funcs
5715 (numberOfLabelHfills): move to lyxrow_funcs
5716 (hfillExpansion): move to lyxrow_funcs
5720 * bufferview_funcs.C (toggleAndShow): adjust
5722 * RowList.h: Remove class RowList from file leave just a
5725 * RowList.C: delete file
5727 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5730 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * text3.C (cursorPrevious): adjust
5733 (cursorNext): adjust
5736 * text2.C (redoHeightOfParagraph): adjust
5737 (redoDrawingOfParagraph): adjust
5740 * text.C (breakParagraph): adjust
5741 (insertChar): adjust
5744 * rowpainter.C (RowPainter): adjust
5745 (leftMargin): simplify and adjust
5746 (most rowpainter functions): adjust.
5748 * rowpainter.h: store the row as RowList::iterator not as Row*
5750 * lyxcursor.C (row): taka RowList::iterator as arg
5753 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5756 2003-04-01 Angus Leeming <leeming@lyx.org>
5758 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5759 stuff like bool Bool.
5761 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5763 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5766 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5771 * lyxtext.h (rows): drop one version and leve a const variant that
5772 returns a RowList::iterator.
5774 2003-03-31 Angus Leeming <leeming@lyx.org>
5776 * text.C (fill): ensure that the signature is the same as that in the
5779 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * text2.C (redoParagraphs): adjust
5782 (updateCounters): adjust
5783 (checkParagraph): adjust
5784 (getColumnNearX): adjust and reformat a bit.
5786 * text.C (top_y): adjust
5788 (leftMargin): adjust
5789 (prepareToPrint): adjust
5791 (getRowNearY): adjust
5793 * lyxtext.h: make rowlist_ mutable.
5795 * RowList.h: add const_iterator
5796 * RowList.C: adjust for RowList::const_iterator.
5798 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5801 2003-03-31 John Levon <levon@movementarian.org>
5804 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5806 * lyx_main.C: set default fonts from using lyx_gui funcs
5808 * exporter.C: pdf_mode moved from lyxrc
5811 * lyxfunc.C: changes from above
5813 2003-03-31 John Levon <levon@movementarian.org>
5815 * lyx_main.C: fix to the last fix
5817 2003-03-31 John Levon <levon@movementarian.org>
5819 * bufferlist.C: "Load original" -> "Load Original"
5825 * format.C: more Alert cleanups
5827 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * text2.C (removeParagraph): make it take a RowList::iterator as
5831 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5832 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5834 * text.C (anchor_row): make it take a RowList::iterator as arg,
5836 (computeBidiTables): make it take a const reference to Row instead
5837 of Row pointer, adjust.
5838 (leftMargin): make it take a RowList::iterator as arg, adjust.
5839 (rowBreakPoint): adjust
5840 (breakAgainOneRow): make it take a RowList::iterator as arg,
5842 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5844 * bufferview_funcs.C (toggleAndShow): adjust
5846 2003-03-30 John Levon <levon@movementarian.org>
5850 * boost-inst.C: moved to support
5852 * several files: changes as a result
5854 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * text2.C (LyXText): adjust.
5858 (removeRow): make it take a RowList::iterator as arg, adjust.
5859 (fullRebreak): adjust
5860 (deleteEmptyParagraphMechanism): adjust
5861 (clearPaint): adjust
5864 * text.C (top_y): adjust
5865 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5866 (breakAgain): make it take a RowList::iterator as arg, adjust.
5867 (breakParagraph): adjust
5868 (insertChar): adjust
5871 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5872 need_break_row, and refresh_row.
5874 * text3.C (dispatch): adjust
5876 * text2.C (checkParagraph): adjust
5878 (setCursorFromCoordinates): adjust
5880 * text.C (top_y): adjust
5882 (getRow): make it return a RowList::iterator, adjust
5883 (getRowNearY): make it return a RowList::iterator, adjust
5885 * text2.C (init): adjust
5886 (insertRow): remove function
5887 (insertParagraph): adjust
5888 (redoParagraphs): adjust
5889 (fullRebreak): adjust
5890 (updateCounters): adjust
5892 * text.C (top_y): rewrite to use RowList iterators.
5894 (setHeightOfRow): rewrite to sue RowList iterators.
5895 (appendParagraph): adjust
5896 (breakAgain): adjust
5897 (breakAgainOneRow): adjust
5898 (breakParagraph): adjust
5900 (getRowNearY): adjust, and remove commented code.
5902 * lyxtext.h (firstRow): delete function
5903 (lastRow): delete function
5904 (rows): new function (const and non-const versions.)
5905 (insertRow): delete function
5907 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5909 2003-03-29 John Levon <levon@movementarian.org>
5911 * BufferView_pimpl.C: always update scrollbar top
5912 because pasting text when we're anchored could mean we
5913 miss an update altogether
5915 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * text2.C (init): use rowlist_.end() and not 0.
5918 (insertRow): change to take a RowList::iterator as arg, adjust
5920 (insertParagraph): change to take a RowList::iterator as arg,
5922 (redoParagraphs): remove some debug msgs.
5924 * text.C (appendParagraph): change to take a RowList::iterator
5925 arg, adjust for this.
5926 (breakAgain): add an assert
5927 (breakAgainOneRow): ditto
5929 2003-03-29 John Levon <levon@movementarian.org>
5931 * text2.C: do not clear selection after inc/decDepth
5934 2003-03-29 John Levon <levon@movementarian.org>
5937 * buffer.C: fix broken strerrors according to Lars
5939 2003-03-29 John Levon <levon@movementarian.org>
5941 * converters.C: more Alert cleanups
5943 2003-03-29 John Levon <levon@movementarian.org>
5945 * bufferview_funcs.C: remove pointless Alert
5947 * buffer.C: fix confusing error message when
5948 a template is chmoded 000
5950 2003-03-29 John Levon <levon@movementarian.org>
5954 * BufferView_pimpl.C: Alert fixes
5958 * tabular-old.C: remove unused table compat reading
5960 2003-03-29 John Levon <levon@movementarian.org>
5965 * lyx_cb.C: more Alert cleanups
5967 * lyxfunc.C: don't allow chktex if not latex document
5969 2003-03-29 John Levon <levon@movementarian.org>
5973 * buffer.C: warnings pushed down from support/,
5976 2003-03-29 John Levon <levon@movementarian.org>
5978 * lyxfunc.C: safety check for C-r (revert)
5980 2003-03-29 John Levon <levon@movementarian.org>
5983 * bufferlist.C: several UI fixes using Alert::prompt.
5984 Fix the pointless looping quit code. Fix stupid revert
5989 * lyx_cb.C: use Alert::prompt
5991 * lyx_main.C: remove a silly question
5993 * lyxfunc.C: remove a couple of silly questions,
5996 2003-03-28 John Levon <levon@movementarian.org>
5998 * text2.C: fix bug 974 (End on empty par)
6000 2003-03-28 John Levon <levon@movementarian.org>
6002 * BufferView_pimpl.C:
6004 * lfuns.h: remove do-nothing math greek lfuns
6006 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * lyxgluelength.h (isValidGlueLength): add default arg on
6009 parameter 2. Remove default arg from friend in class.
6011 * lyxlength.h (isValidLength): add default arg on parameter 2.
6012 Remove default arg from friend in class.
6014 * text2.C (LyXText): adjust, initialize refresh_row.
6018 (insertParagraph): adjst
6019 (redoParagraphs): adjust
6020 (fullRebreak): adjust
6021 (updateCounters): adjust
6022 (deleteEmptyParagraphMechanism): first attempt at fixing a
6025 * text.C (top_y): adjust
6026 (setHeightOfRow): adjust
6028 (getRowNearY): adjust
6030 * lyxtext.h: include RowList.h
6031 (~LyXText): not needed anymore, deleted.
6032 (firstRow): modify for RowList
6033 (lastRow): new function
6034 Delete firstrow and lastrow class variables, add a Rowlist
6035 rowlist_ class variable.
6037 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6040 * RowList.C (insert): fix case where it == begin().
6042 2003-03-26 Angus Leeming <leeming@lyx.org>
6044 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6045 the thesaurus dialog.
6047 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6051 * RowList.[Ch]: new files
6053 * ParagraphList.C (erase): handle the case where it == begin
6056 2003-03-25 John Levon <levon@movementarian.org>
6060 * aspell.C: add new aspell support
6063 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6066 2003-03-25 Angus Leeming <leeming@lyx.org>
6069 * LyXAction.C (init): new LFUN_INSET_INSERT.
6071 * BufferView_pimpl.C (dispatch): split out part of the
6072 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6074 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6077 2003-03-25 Angus Leeming <leeming@lyx.org>
6079 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6081 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6084 * text3.C: remove useless row->height(0)
6086 2003-03-25 John Levon <levon@movementarian.org>
6090 * text3.C: rename the refreshing stuff to better names
6092 2003-03-24 John Levon <levon@movementarian.org>
6094 * BufferView_pimpl.h:
6095 * BufferView_pimpl.C: update layout choice on a mouse
6098 2003-03-23 John Levon <levon@movementarian.org>
6100 * Makefile.am: fix commandtags.h reference
6102 2003-03-22 John Levon <levon@movementarian.org>
6104 * BufferView_pimpl.C:
6109 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6111 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6114 * text.C: take the rtl methods out of line
6116 2003-03-21 André Pönitz <poenitz@gmx.net>
6118 * metricsinfo.[Ch]: new files containing structures to be passed around
6119 during the two-phase-drawing...
6121 2003-03-21 André Pönitz <poenitz@gmx.net>
6123 * lyxtextclass.C: read 'environment' tag.
6125 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6127 * text2.C (removeRow): fix bug 964
6129 2003-03-20 John Levon <levon@movementarian.org>
6133 * text2.C: paint cleanups. Inset::update() dropped font
6136 2003-03-19 John Levon <levon@movementarian.org>
6138 * lyxfunc.C: only fitcursor/markDirty if available()
6140 2003-03-19 John Levon <levon@movementarian.org>
6142 * commandtags.h: rename to ...
6144 * lfuns.h: ... this, and renumber / cleanup
6146 2003-03-19 John Levon <levon@movementarian.org>
6148 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6149 fit the cursor after an lfun
6153 * BufferView_pimpl.h:
6154 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6156 * LyXAction.C: layout-character should have ReadOnly
6158 * ParagraphParameters.C:
6160 * bufferview_funcs.C:
6167 * undo_funcs.C: changes from above
6169 2003-03-18 John Levon <levon@movementarian.org>
6171 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6172 remove it from update()
6174 * lyxfunc.C: update layout choice after an lfun
6176 * text3.C: remove extra updateLayoutChoice()s
6178 2003-03-18 John Levon <levon@movementarian.org>
6180 * text.C: top_y change means full repaint, fix
6181 a drawing bug with cursor movement
6183 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6187 * text2.C: anchor row on setCursor
6189 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6191 * lyxtext.h: remove almost all mutable keywords
6194 * text3.C: remove const keywords accordingly
6196 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6200 (TeXEnvironment): ditto
6203 2003-03-17 John Levon <levon@movementarian.org>
6205 * text.C (rowBreakPoint): remove attempt to fix displayed
6206 math insets inside a manual label
6208 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * lyxtext.h: remove BufferView* as first arg from almost all class
6212 * other files: adjust.
6214 2003-03-17 John Levon <levon@movementarian.org>
6218 * text2.C: more paint cleanups
6220 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6223 * rowpainter.C: remove "smart" background painting code
6225 2003-03-16 John Levon <levon@movementarian.org>
6230 * text3.C: add helper functions for setting refresh_row/y
6232 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6234 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6235 newline inset which *can* get inserted in the pass_thru layouts.
6236 This is primarily for literate documents.
6238 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6240 * buffer.C: increment LYX_FORMAT to 223
6242 2003-03-14 André Pönitz <poenitz@gmx.net>
6244 * textclass.h: prepare for environment handling, ws changes
6245 * lyxlayout.C: read latexheader and latexfooter tags
6247 2003-03-14 John Levon <levon@movementarian.org>
6249 * text2.C: rewrite ::status() a bit
6251 2003-03-13 John Levon <levon@movementarian.org>
6253 * lyxtext.h: add some docs
6255 2003-03-13 John Levon <levon@movementarian.org>
6260 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6262 2003-03-13 John Levon <levon@movementarian.org>
6264 * text3.C: fix appendix redrawing
6266 2003-03-13 John Levon <levon@movementarian.org>
6268 * text.C (setHeightOfRow):
6270 * rowpainter.C: make appendix mark have the text
6271 "Appendix" so the user knows what it is
6274 * LColor.C: s/appendixline/appendix/ from above
6276 2003-03-13 John Levon <levon@movementarian.org>
6278 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6280 * text.C: fix a getChar(pos) bug properly
6282 2003-03-13 Angus Leeming <leeming@lyx.org>
6285 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6286 Probably only temporary. Let's see how things pan out.
6288 * BufferView.C (unlockInset):
6289 * BufferView_pimpl.C (fitCursor):
6290 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6292 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6293 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6295 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6296 new functions that convert ParagraphParameters to and from a string.
6298 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6299 BufferView::Pimpl's dispatch.
6300 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6302 2003-03-13 André Pönitz <poenitz@gmx.net>
6306 * factory.C: make it aware of InsetEnv
6308 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * text2.C (setCursor): never ask for one past last
6311 (setCursor): add some debugging messages.
6313 * text.C (singleWidth): never ask for one past last
6314 (singleWidth): ditto
6316 (rightMargin): ditto
6317 (rowBreakPoint): ditto
6318 (setHeightOfRow): ditto
6319 (prepareToPrint): ditto
6321 * rowpainter.C (paintBackground): never ask for one past last
6322 (paintText): never ask for one past last
6324 * paragraph_pimpl.C (getChar): make the assert stricter, never
6325 allow the one past last pos to be taken
6327 * paragraph.C (getChar): ws changes only
6329 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6330 (numberOfSeparators): ditto
6331 (numberOfHfills): ditto
6333 2003-03-12 John Levon <levon@movementarian.org>
6339 * paragraph_funcs.C: fix per-buffer authorlists
6341 2003-03-12 John Levon <levon@movementarian.org>
6343 * text.C: fix newline in right address
6345 2003-03-12 Angus Leeming <leeming@lyx.org>
6347 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6348 duplicate those in LyXFunc::dispatch.
6352 * ToolbarDefaults.C:
6353 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6354 Add LFUN_FONTFREE_UPDATE.
6356 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6357 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6359 * bufferview_func.[Ch]: several new functions to facilliate
6360 transfer of data to and from the character dialog.
6362 2003-03-12 John Levon <levon@movementarian.org>
6367 * paragraph_funcs.C:
6368 * paragraph_pimpl.C:
6372 * text3.C: remove META_NEWLINE in favour of an inset
6375 * rowpainter.C: remove paintNewline (done by inset)
6377 2003-03-12 John Levon <levon@movementarian.org>
6379 * paragraph_pimpl.C: complain about bad getChar()s
6380 for a while at least
6382 2003-03-12 John Levon <levon@movementarian.org>
6385 * buffer.C: move paragraph read into a separate function,
6386 a little renaming to reflect that.
6389 * bufferparams.C: remove the author_ids map, not necessary now
6392 * factory.C: moved Buffer::readInset to here
6394 * paragraph_funcs.h:
6395 * paragraph_funcs.C: readParagraph free function moved from
6398 * tabular.C: name change
6400 2003-03-12 John Levon <levon@movementarian.org>
6403 * ParagraphParameters.C: move par params input to
6406 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6407 behave like a normal read from the stream wrt reading
6408 a line vs. a \\token
6410 2003-03-12 John Levon <levon@movementarian.org>
6413 * ParagraphParameters.h:
6414 * ParagraphParameters.C: move output code to a
6417 2003-03-12 John Levon <levon@movementarian.org>
6419 * BufferView.C (insertLyXFile):
6422 * tabular.C: use a parlist iterator for creating the
6425 2003-03-12 John Levon <levon@movementarian.org>
6427 * buffer.C: make current_change static local not
6430 2003-03-12 John Levon <levon@movementarian.org>
6432 * buffer.C: fix insertStringAsLines for change tracking
6434 2003-03-12 John Levon <levon@movementarian.org>
6441 * bufferparams.C: move author list into params. Rename some
6442 functions. Move the header reading into a separate token
6443 loop. Move the header token reading into BufferParams.
6445 2003-03-12 John Levon <levon@movementarian.org>
6447 * changes.C: put debug inside lyxerr.debugging() checks
6449 2003-03-11 André Pönitz <poenitz@gmx.net>
6451 * factory.C: make it aware of InsetHFill
6453 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6455 * buffer.C (latexParagraphs): move function from here...
6456 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6459 2003-03-10 Angus Leeming <leeming@lyx.org>
6461 * LyXAction.C (init): fix bug in poplating array with multiple entries
6462 with the same LFUN (spotted by JMarc).
6464 2003-03-10 John Levon <levon@movementarian.org>
6467 * text2.C: move getColumnNearX() near its
6470 2003-03-10 John Levon <levon@movementarian.org>
6472 * text.C: fix break before a minipage
6474 2003-03-10 John Levon <levon@movementarian.org>
6476 * text.C: fix the last commit
6478 2003-03-09 John Levon <levon@movementarian.org>
6482 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6483 bug 365 (don't break before insets unless needed). Don't
6484 return a value > last under any circumstances.
6486 2003-03-09 Angus Leeming <leeming@lyx.org>
6488 * BufferView_pimpl.C (trackChanges, dispatch): call
6489 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6491 2003-03-09 Angus Leeming <leeming@lyx.org>
6493 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6494 than Dialogs::showAboutlyx().
6496 2003-03-09 Angus Leeming <leeming@lyx.org>
6498 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6499 than Dialogs::showTabularCreate().
6501 2003-03-09 John Levon <levon@movementarian.org>
6505 * text2.C: 3rd arg to nextBreakPoint was always the same.
6508 2003-03-08 John Levon <levon@movementarian.org>
6515 * text2.C: Remove the "main" bit from the "main body"
6518 2003-03-08 John Levon <levon@movementarian.org>
6520 * text.C (leftMargin): The left margin of an empty
6521 manual label paragraph should not include the label width
6524 * text.C (prepareToPrint): don't attempt to measure hfills
6525 for empty manual label paragraphs - the answer should be 0
6527 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * CutAndPaste.C: remove commented code and reindent.
6531 2003-03-08 John Levon <levon@movementarian.org>
6534 * lyxfunc.C: move reloadBuffer()
6537 * BufferView.C: to here
6539 * lyxvc.C: add comment
6542 * vc-backend.C: call bv->reload() to avoid
6543 getStatus() check on MENURELOAD
6545 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6547 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6548 to an old format .dep file.
6550 2003-03-07 Angus Leeming <leeming@lyx.org>
6552 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6553 when the LFUN_MOUSE_RELEASE should have been handled by
6554 inset->localDispatch.
6556 2003-03-07 Angus Leeming <leeming@lyx.org>
6558 * BufferView_pimpl.C (dispatch):
6559 * LyXAction.C (init):
6560 * ToolbarDefaults.C (init):
6562 * lyxfunc.C (getStatus):
6563 remove LFUN_INSET_GRAPHICS.
6565 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6567 2003-03-07 Angus Leeming <leeming@lyx.org>
6570 * LyXAction.C (init):
6571 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6573 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6576 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6578 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6579 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6581 2003-03-07 Angus Leeming <leeming@lyx.org>
6583 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6586 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * ParagraphList.C (front): new function
6591 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6593 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6594 and top_row_offset_. removed var first_y.
6596 * text2.C (LyXText, removeRow):
6598 * BufferView_pimpl.C:
6599 use these methods instead of using first_y
6601 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * text2.C (pasteSelection): adjust for checkPastePossible
6605 * CutAndPaste.C: remove Paragraph * buf and replace with
6606 ParagraphList paragraphs.
6607 (DeleteBuffer): delete
6608 (cutSelection): change the tc type to textclass_type
6609 (copySelection): change the tc type to textclass_type
6610 (copySelection): adjust for ParagraphList
6611 (pasteSelection): change the tc type to textclass_type
6612 (pasteSelection): adjust for Paragraphlist
6613 (nrOfParagraphs): simplify for ParagraphList
6614 (checkPastePossible): simplify for ParagraphList
6615 (checkPastePossible): remove unused arg
6617 * ParagraphList.C (insert): handle the case where there are no
6620 * CutAndPaste.h: make CutAndPaste a namespace.
6622 * text3.C (dispatch): adjust
6624 * text.C (breakParagraph): add a ParagraphList as arg
6626 * paragraph_funcs.C (breakParagraph): change to take a
6627 BufferParams and a ParagraphList as args.
6628 (breakParagraphConservative): ditto
6629 (mergeParagraph): ditto
6630 (TeXDeeper): add a ParagraphList arg
6631 (TeXEnvironment): ditto
6634 * buffer.C (readLyXformat2): adjust
6635 (insertStringAsLines): adjust
6636 (latexParagraphs): adjust
6638 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6639 (cutSelection): adjust
6640 (pasteSelection): adjust
6642 * BufferView_pimpl.C (insertInset): adjust
6644 2003-03-05 Angus Leeming <leeming@lyx.org>
6647 * LyXAction.C (init):
6648 * BufferView_pimpl.C (dispatch):
6649 * lyxfunc.C (getStatus):
6650 remove LFUN_CHILD_INSERT.
6652 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6654 2003-03-05 Angus Leeming <leeming@lyx.org>
6657 * LyXAction.C (init):
6658 * src/factory.C (createInset):
6659 * lyxfunc.C (getStatus):
6660 * text3.C (dispatch):
6661 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6663 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6665 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6667 * ParagraphList.C (insert): handle insert right before end()
6668 (erase): fix cases where it can be first or last paragraph.
6670 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6673 Paragraph::next and Paragraph::previous
6676 * text.C (breakParagraph): adjust
6678 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6679 BufferParams& as arg.
6680 (breakParagraph): use ParagraphList::insert
6681 (breakParagraphConservative): take a Buffer* instead of a
6682 BufferParams& as arg.
6683 (breakParagraphConservative): use ParagraphList::insert.
6685 * buffer.C (insertStringAsLines): un-const it
6686 (insertStringAsLines): adjust
6688 * ParagraphList.C (insert): new function
6690 * CutAndPaste.C (pasteSelection): adjust
6692 * text.C (backspace): adjust
6694 * tabular.C (SetMultiColumn): adjust
6696 * CutAndPaste.C (cutSelection): adjust
6697 (pasteSelection): adjust
6699 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6700 Buffer const * as arg
6702 * ParagraphList.C (erase): new function
6703 * paragraph_funcs.C (mergeParagraph): use it
6704 (mergeParagraph): make it take a Buffer* instead of a
6705 BufferParams* as arg
6707 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6709 (breakParagraphConservative): ditto
6711 * paragraph.h: remove the breakParagraph friend
6713 * paragraph.C (eraseIntern): new function
6714 (setChange): new function
6716 * paragraph_funcs.C (mergeParagraph): make it take a
6717 ParagraphList::iterator instead of a Paragraph *, adjust
6720 * paragraph.h: move an #endif so that the change tracking stuff
6721 also works in the NO_NEXT case.
6723 2003-03-04 Angus Leeming <leeming@lyx.org>
6726 * LyXAction.C: new LFUN_INSET_MODIFY.
6728 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6729 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6731 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * several files: ws changes only
6735 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6736 (TeXEnvironment): ditto
6739 * buffer.C (makeLaTeXFile): adjust
6740 (latexParagraphs): make it take ParagraphList::iterator as args
6742 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * buffer.C (latexParagraphs): adjust
6746 * paragraph.C (TeXOnePar): move function...
6747 (optArgInset): move function...
6748 (TeXEnvironment): move function...
6749 * paragraph_pimpl.C (TeXDeeper): move function...
6750 * paragraph_funcs.C: ...here
6752 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6754 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * buffer.C (readInset): remove compability code for old Figure and
6759 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * buffer.C: ws changes
6764 * BufferView_pimpl.C: ditto
6767 * bufferlist.h: ditto
6771 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6773 * converter.[Ch]: split into itself +
6776 * Makefile.am: += graph.[Ch] + format.[Ch]
6783 * lyxrc.C: added #include "format.h"
6785 2003-02-27 Angus Leeming <leeming@lyx.org>
6787 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6790 * factory.C (createInset): add "label" to the factory.
6792 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6793 string and do no more.
6795 2003-02-27 Angus Leeming <leeming@lyx.org>
6798 * LyXAction.C (init):
6799 * factory.C (createInset):
6800 * BufferView_pimpl.C (dispatch):
6801 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6803 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6805 * lyxfunc.C (dispatch):
6806 * text3.C (dispatch): pass name to params2string.
6808 2003-02-26 Angus Leeming <leeming@lyx.org>
6810 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6812 Rearrange the ~includes. Strip out the unnecessary ones.
6814 * factory.C (createInset): reformat.
6815 create new insets for the various LFUN_XYZ_APPLY lfuns.
6817 2003-02-26 John Levon <levon@movementarian.org>
6820 * lyxrow.C: add isParStart,isParEnd helpers
6822 * paragraph.h: make isInserted/DeletedText take refs
6824 * paragraph_funcs.h:
6825 * paragraph_funcs.C: remove #if 0'd code
6830 * text.C: use lyxrow helpers above.
6831 Move draw and paint routines to RowPainter.
6832 Make several methods use refs not pointers.
6833 Make backgroundColor() const.
6834 Add markChangeInDraw(), isInInset().
6835 Merge changeRegionCase into changeCase.
6836 Make workWidth() shouldn't-happen code into an Assert.
6839 * rowpainter.C: new class for painting a row.
6842 * vspace.C: make inPixels take a ref
6844 2003-02-26 Angus Leeming <leeming@lyx.org>
6846 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6849 2003-02-25 John Levon <levon@movementarian.org>
6851 * ispell.C: give the forked command a more accurate name
6853 2003-02-22 John Levon <levon@movementarian.org>
6856 * toc.C: make TocItem store an id not a Paragraph *
6859 2003-02-21 Angus Leeming <leeming@lyx.org>
6861 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6862 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6863 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6864 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6865 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6866 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6868 * BufferView_pimpl.C (dispatch):
6869 * LyXAction.C (init):
6870 * factory.C (createInset):
6871 * lyxfunc.C (getStatus, dispatch):
6872 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6874 2003-02-21 Angus Leeming <leeming@lyx.org>
6876 * BufferView_pimpl.C (MenuInsertLyXFile):
6877 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6878 * lyxfunc.C (menuNew, open, doImport):
6879 no longer pass a LyXView & to fileDlg.
6881 2003-02-21 Angus Leeming <leeming@lyx.org>
6883 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6884 * LyXAction.C: change, BIBKEY to BIBITEM.
6885 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6886 Change InsetBibKey to InsetBibitem.
6887 Change BIBKEY_CODE to BIBITEM_CODE.
6888 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6889 * factory.C: replace insetbib.h with insetbibitem.h.
6890 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6891 * paragraph.C: replace insetbib.h with insetbibitem.h.
6892 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6893 Change bibkey() to bibitem().
6894 * text.C: remove insetbib.h.
6895 * text2.C: replace insetbib.h with insetbibitem.h.
6896 change bibkey() to bibitem().
6897 * text3.C: remove insetbib.h.
6898 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6900 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * lyxrc.C (output): enclose user email in quotes (in case there are
6905 2003-02-18 John Levon <levon@movementarian.org>
6907 * buffer.h: add std::
6909 2003-02-17 John Levon <levon@movementarian.org>
6915 * pspell.C: reworking. Especially in ispell, a large
6916 number of clean ups and bug fixes.
6918 * lyxfunc.C: fix revert to behave sensibly
6920 2003-02-17 André Pönitz <poenitz@gmx.net>
6923 * commandtags.h: new LFUN_INSERT_BIBKEY
6933 * paragraph_func.C: remove special bibkey handling
6935 2003-02-17 John Levon <levon@movementarian.org>
6937 * text.C (Delete): fix case where delete at the end of
6938 the very first paragraph would not merge the pars
6940 2003-02-17 John Levon <levon@movementarian.org>
6942 * lyxrow.C: fix lastPrintablePos()
6944 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * bufferparams.C (writeLaTeX): add a std:here
6948 * buffer.C: and remove a using directive there
6950 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6952 * buffer.C (makeLaTeXFile): move the code that generates the
6955 * bufferparams.C (writeLaTeX): ... in this new method
6957 * LaTeXFeatures.C (getEncodingSet): make const
6958 (getLanguages): make const
6960 * MenuBackend.C (binding): returns the binding associated to this
6962 (add): sets the status of each item by calling getStatus. Adds
6964 (read): add support for OptSubMenu
6965 (expand): remove extra separator at the end of expanded menu
6967 2003-02-15 John Levon <levon@movementarian.org>
6970 * BufferView_pimpl.C:
6972 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6973 inset code that had no actual effect. Remove unneeded status
6976 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6978 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6981 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6983 * text.C (drawLengthMarker): also draw an arrow marker for
6984 symbolic lengths (medskip...)
6986 2003-02-14 John Levon <levon@movementarian.org>
6989 * tabular.C: better method names
6991 2003-02-14 John Levon <levon@movementarian.org>
6993 * BufferView_pimpl.C:
6998 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6999 it's a more accurate name. Remove some pointless uses.
7001 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7003 * text2.C (LyXText): change order of initilizers to shut off
7006 2003-02-14 John Levon <levon@movementarian.org>
7008 * buffer.C: use ParIterator for getParFromID()
7012 * paragraph_pimpl.h:
7013 * paragraph_pimpl.C: remove unused getParFromID()
7015 2003-02-14 John Levon <levon@movementarian.org>
7017 * buffer.C: remove some very old #if 0'd parse code
7019 2003-02-13 John Levon <levon@movementarian.org>
7023 * text2.C: move hfillExpansion(), numberOfSeparators(),
7024 rowLast(), rowLastPrintable(), numberofHfills(),
7025 numberOfLabelHfills() ...
7028 * lyxrow.C: ... to member functions here.
7033 * text.C: remove LyXText::beginningOfMainBody(), and call
7034 p->beginningOfMainBody() directly. Move the check for
7035 LABEL_MANUAL into the latter.
7042 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7048 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7049 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7051 2003-02-13 John Levon <levon@movementarian.org>
7053 * CutAndPaste.C: remove debug
7055 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7057 * paragraph.C (asString): remove two unused variables
7059 * lyxtextclass.C (readTitleType):
7061 (LyXTextClass): handle new members titletype_ and titlename_
7063 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7065 2003-02-09 John Levon <levon@movementarian.org>
7068 * buffer.C: replace hand-coded list with a map for the dep clean
7070 2003-02-08 John Levon <levon@movementarian.org>
7072 * LaTeX.C: consolidate code into showRunMessage() helper
7074 2003-02-08 John Levon <levon@movementarian.org>
7079 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7080 and pass the size in explicitly
7082 * BufferView_pimpl.h:
7083 * BufferView_pimpl.C:
7085 * BufferView.C: add getCurrentChange()
7087 * BufferView_pimpl.h:
7088 * BufferView_pimpl.C: handle change lfuns
7090 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7091 for changes. Mark pasted paragraphs as new.
7093 * support/lyxtime.h:
7094 * support/lyxtime.C:
7095 * DepTable.C: abstract time_t as lyx::time_type
7098 * LColor.C: add colours for new text, deleted text, changebars
7100 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7101 package use "usenames" option.
7105 * LyXAction.C: add change lfuns
7109 * author.C: author handling
7112 * buffer.C: add a per-buffer author list, with first entry as
7113 current author. Handle new .lyx tokens for change tracking. Output
7114 author list to .lyx file. Output dvipost stuff to .tex preamble.
7115 Bump lyx format to 222.
7118 * bufferlist.C: add setCurrentAuthor() to reset current author details
7122 * bufferparams.C: add param for tracking
7124 * bufferview_funcs.C: output change info in minibuffer
7128 * changes.C: add change-tracking structure
7131 * debug.C: add CHANGES debug flag
7134 * lyxfind.C: add code for finding the next change piece
7137 * lyxrc.C: add user_name and user_email
7140 * lyxrow.C: add a metric for the top of the text line
7143 * text.C: implement accept/rejectChange()
7146 * text.C: paint changebars. Paint new/deleted text in the chosen
7147 colours. Strike through deleted text.
7151 * paragraph_pimpl.h:
7152 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7153 in the current change to the insert functions. Rework erase to
7154 mark text as deleted, adding an eraseIntern() and a range-based
7155 erase(). Implement per-paragraph change lookup and
7158 * paragraph_funcs.C: Fixup paste for change tracking.
7160 * tabular.C: mark added row/columns as new.
7162 * text.C: fix rowLast() to never return -1. Don't allow
7163 spellchecking of deleted text. Track transpose changes. Don't
7164 allow paragraph break or merge where appropriate.
7166 * text2.C: leave cursor at end of selection after a cut.
7168 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7170 * text.C (getLengthMarkerHeight):
7171 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7172 visible on screen too.
7174 2003-02-07 John Levon <levon@movementarian.org>
7176 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7178 2003-02-05 Angus Leeming <leeming@lyx.org>
7180 * lyxserver.C (read_ready): revert my patch of 11 September last year
7181 as it sends PC cpu through the roof. Presumably this means that
7182 the lyxserver will no longer run on an Alpha...
7184 2003-01-30 Angus Leeming <leeming@lyx.org>
7186 * factory.C (createInset): create an InsetCommandParam of type "index"
7187 and use it to 'do the right thing'.
7189 * text2.C (getStringToIndex): ensure that cursor position is always
7190 reset to the reset_cursor position.
7192 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7194 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7197 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7201 * lyxfunc.C: Output messages with identical spelling, punctuation,
7204 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7206 * MenuBackend.C (expandFormats): List only viewable export formats
7209 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7212 * lyxfunc.C (getStatus): Make sure that formats other than
7213 "fax" can also be disabled
7215 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * text3.C (dispatch): put the lfuns that insert insets in 3
7218 groups, and call doInsertInset with appropriate arguments.
7219 (doInsertInset): new function, that creates an inset and inserts
7220 it according to some boolean parameters.
7222 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * buffer.C (readFile): remember to pass on 'par' when calling
7225 readFile recursively.
7227 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7229 * MenuBackend.C (expandFormats): add "..." to import formats.
7231 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7233 * paragraph.C (asString): Remove XForms RTL hacks.
7235 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7236 * buffer.C: fix typo
7238 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7240 * Makefile.am (LIBS): delete var
7241 (lyx_LDADD): add @LIBS@ here instead.
7243 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7245 * Clarify the meaning of "wheel mouse jump"
7247 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7249 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7252 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * importer.C (Loaders): do not preallocate 3 elements in the
7255 vector, since one ends up with 6 elements otherwise
7257 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7259 * DepTable.C (write): write the file name as last element of the
7260 .dep file (because it may contain spaces)
7261 (read): read info in the right order
7263 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7265 * paragraph_pimpl.C (simpleTeXBlanks):
7266 (simpleTeXSpecialChars):
7267 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7269 * tabular.C (latex): add some missing case statements. Reindent.
7271 * MenuBackend.C (expandToc): remove unused variable.
7273 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7282 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7285 2003-01-05 John Levon <levon@movementarian.org>
7288 * BufferView.C: add getEncoding()
7291 * kbsequence.C: do not store last keypress
7294 * lyxfunc.C: store last keypress here instead. Pass encoding
7297 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7299 * lyx_main.C (init): remove annoying error message when following
7300 symbolic links (bug #780)
7302 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7304 * text.C (insertChar):
7305 * lyxrc.C (getDescription): remove extra spaces
7307 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7309 * lyxrc.C (getDescription): remove extra spaces
7311 2002-12-20 John Levon <levon@movementarian.org>
7313 * text3.C: hack fix for page up/down across tall rows
7315 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7317 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7320 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7323 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7324 thesaurus is not compiled in
7326 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7328 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7330 2002-12-16 Angus Leeming <leeming@lyx.org>
7333 * lyx_main.C (init): remove override_x_deadkeys stuff.
7335 2002-12-12 John Levon <levon@movementarian.org>
7337 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7338 insert. Only remove shift modifier under strict
7341 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * MenuBackend.C (expandToc): fix crash.
7345 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * MenuBackend.C (expandToc): gettext on float names.
7349 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7351 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7352 implement bool empty() [bug 490]
7354 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7358 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * several files: ws changes
7362 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * text2.C (setCounter): clean up a bit, use boost.format.
7365 (updateCounters): initialize par upon declaration.
7367 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7368 if the layout exists. We do not just store the layout any more.
7369 (SwitchLayoutsBetweenClasses): use boost.format
7371 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7373 * converter.C (convert): if from and to files are the same, use a
7374 temporary files as intermediary
7376 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7379 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7381 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7383 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7385 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * tabular.C (asciiPrintCell): use string(size, char) instead of
7390 * sgml.C (openTag): fix order of arguments to string constructor
7393 * lyxfunc.C (dispatch): use boost.format
7395 * lots of files: change "c" -> 'c'
7397 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7399 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7401 2002-11-25 Angus Leeming <leeming@lyx.org>
7403 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7405 * lyx_main.C (init): compile fix.
7407 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7409 * lyx_cb.C (start): boost.formatify
7410 do not include <iostream>
7412 * lengthcommon.C: ws only
7414 * boost-inst.C,BoostFormat.h: add more explict instantations
7416 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * lots of files: handle USE_BOOST_FORMAT
7420 2002-11-21 John Levon <levon@movementarian.org>
7422 * pspell.C: fix compile
7424 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7426 * lyxfunc.C (dispatch): use boost::format
7430 * lyxfont.C (stateText): use boost::format
7432 * lyx_main.C (LyX): use boost::format
7434 (queryUserLyXDir): ditto
7437 (typedef boost::function): use the recommened syntax.
7439 * importer.C (Import): use boost::format
7441 * debug.C (showLevel): use boost::format
7443 * converter.C (view): use boost::format
7448 * bufferview_funcs.C (currentState): use boost::format
7450 * bufferlist.C (emergencyWrite): use boost::format
7452 * buffer.C (readLyXformat2): use boost::format
7453 (parseSingleLyXformat2Token): ditto
7455 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7457 * LaTeX.C (run): use boost::format
7459 * Chktex.C (scanLogFile): use boost::format
7461 * BufferView_pimpl.C (savePosition): use boost::format
7462 (restorePosition): ditto
7463 (MenuInsertLyXFile): ditto
7465 * BoostFormat.h: help file for explicit instation.
7467 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7469 * tabular.C (latex): Support for block alignment in fixed width
7472 2002-11-17 John Levon <levon@movementarian.org>
7474 * BufferView_pimpl.C:
7476 * lyxfunc.C: split filedialog into open/save
7478 2002-11-08 Juergen Vigna <jug@sad.it>
7480 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7481 by my last patch (hopefully).
7483 2002-11-08 John Levon <levon@movementarian.org>
7492 * toc.C: ParConstIterator, and use it (from Lars)
7494 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7496 * lyxtextclass.[Ch]: revise and add doxygen comments
7498 2002-11-07 John Levon <levon@movementarian.org>
7500 * text.C: fix progress value for spellchecker
7502 * toc.C: fix navigate menu for insetwrap inside minipage
7504 * paragraph_funcs.C: added FIXME for suspect code
7506 2002-11-07 John Levon <levon@movementarian.org>
7508 * BufferView_pimpl.C: fix redrawing of insets
7511 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * text2.C (updateCounters): fix bug 668
7515 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7517 * text3.C (dispatch): Do not make the buffer dirty when moving the
7520 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * vc-backend.C: STRCONV
7525 * text2.C (setCounter): STRCONV
7527 * paragraph.C (asString): STRCONV
7529 * lyxlength.C (asString): STRCONV
7530 (asLatexString): ditto
7532 * lyxgluelength.C (asString): STRCONV
7533 (asLatexString): ditto
7535 * lyxfunc.C (dispatch): STRCONV
7538 * lyxfont.C (stateText): STRCONV
7540 * importer.C (Import): STRCONV
7542 * counters.C (labelItem): STRCONV
7543 (numberLabel): ditto
7544 (numberLabel): remove unused ostringstream o
7549 * bufferview_funcs.C (currentState): STRCONV
7551 * buffer.C (readFile): STRCONV
7552 (asciiParagraph): ditto
7553 (makeLaTeXFile): ditto
7555 * Spacing.C (writeEnvirBegin): STRCONV
7557 * LaTeXFeatures.C (getLanguages): STRCONV
7558 (getPackages): ditto
7560 (getBabelOptions): ditto
7561 (getTClassPreamble): ditto
7562 (getLyXSGMLEntities): ditto
7563 (getIncludedFiles): ditto
7567 (scanAuxFile): ditto
7570 * LString.h: add the STRCONV macros
7572 * BufferView_pimpl.C (savePosition): STRCONV
7573 (restorePosition): ditto
7574 (MenuInsertLyXFile): ditto
7576 * vc-backend.C (scanMaster): change from submatch[...] to
7579 * funcrequest.C: include config.h
7581 * factory.C: include config.h
7583 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7585 * box.C: include config.h
7587 * LaTeX.C (scanAuxFile): change from submatch[...] to
7591 2002-10-25 Angus Leeming <leeming@lyx.org>
7593 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7595 * ispell.[Ch] (setError): new method.
7596 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7597 Use setError() insetead of goto END.
7599 * lyx_cb.C (AutoSave): move out child process into new class
7602 2002-10-30 John Levon <levon@movementarian.org>
7604 * text3.C: make start appendix undoable
7606 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7608 * lyxlength.C (inPixels): Fix returned value.
7610 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7613 2002-10-24 Angus Leeming <leeming@lyx.org>
7615 * lyxgluelength.h: no need to forward declare BufferParams
7616 or BufferView, so don't.
7618 2002-10-21 John Levon <levon@movementarian.org>
7620 * BufferView.C: menuUndo ->undo, redo
7622 * BufferView.h: document, remove dead, make some methods private
7624 * paragraph_funcs.h:
7625 * paragraph_funcs.C:
7626 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7631 * sgml.C: move sgml open/close tag into sgml.C
7633 * bufferview_funcs.h: unused prototype
7636 * lyxfunc.C: remove unused
7639 * text.C: remove unused
7641 2002-10-21 John Levon <levon@movementarian.org>
7645 * BufferView_pimpl.h:
7646 * BufferView_pimpl.C: fix mouse wheel handling based on
7647 patch from Darren Freeman
7649 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7651 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7653 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7655 * lyxlength.C (inPixels): Fix hanfling of negative length.
7656 Fix LyXLength::MU case.
7658 2002-10-16 John Levon <levon@movementarian.org>
7660 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7662 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7664 * converter.C (view): add support for $$i (file name) and $$p
7665 (file path) for the viewer command. If $$i is not specified, then
7666 it is appended to the command (for compatibility with old syntax)
7668 2002-10-14 Juergen Vigna <jug@sad.it>
7670 * undo_funcs.C (textHandleUndo): alter the order in which the
7671 new undopar is added to the LyXText, as we have to set first
7672 the right prev/next and then add it as otherwise the rebuild of
7673 LyXText is not correct. Also reset the cursor to the right paragraph,
7674 with this IMO we could remove the hack in "redoParagraphs()".
7676 2002-10-09 Angus Leeming <leeming@lyx.org>
7678 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7679 to turn off an optimisation if a new inset is to be inserted.
7681 2002-10-11 André Pönitz <poenitz@gmx.net>
7683 * lyxtext.h: make some functions public to allow access
7684 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7686 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7688 * text3.C (dispatch): when changing layout, avoid an infinite loop
7691 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7693 * lyxrc.C (read): treat a viewer or converter command of "none" as
7696 * MenuBackend.C (expandFormats): for an update, also allow the
7697 formats that are not viewable
7699 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7700 script if it is newer than the lyxrc.defaults in user directory
7702 2002-10-07 André Pönitz <poenitz@gmx.net>
7704 * text.C: Vitaly Lipatov's small i18n fix
7706 2002-09-25 Angus Leeming <leeming@lyx.org>
7708 * ispell.h: doxygen fix.
7710 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7712 * buffer.h (readFile): Add a new argument to the method, to allow
7713 reading of old-format templates.
7715 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7717 * toc.C (getTocList): Get TOC from InsetWrap.
7719 2002-09-16 John Levon <levon@movementarian.org>
7721 * lyxfunc.C: check tabular for cut/copy too
7723 2002-09-12 John Levon <levon@movementarian.org>
7728 * factory.C: add header
7730 * paragraph_funcs.h:
7731 * paragraph_funcs.C: cleanup
7733 2002-09-11 John Levon <levon@movementarian.org>
7735 * PrinterParams.h: odd/even default to true
7737 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7739 * PrinterParams.h: update printer parameters for new xforms dialog
7741 2002-09-11 Angus Leeming <leeming@lyx.org>
7743 * lyxserver.C (read_ready): re-write to make it more transparent
7744 and to make it work in coherent fashion under Tru64 Unix.
7746 2002-09-11 André Pönitz <poenitz@gmx.net>
7750 * text3.C: implement LFUN_WORDSEL
7752 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7755 make floatlist_ a boost::shared_ptr<FloatList>
7757 * lyxtextclass.C: include FloatList.h
7758 (LyXTextClass): initialize floatlist_
7759 (TextClassTags): add TC_NOFLOAT
7760 (Read): match "nofloat" to TC_NOFLOAT and use it.
7761 (readFloat): modify call to floatlist_
7765 * FloatList.[Ch] (FloatList): remove commented out float
7767 (erase): new function
7769 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7771 * MenuBackend.C (expandToc): fix crash when there is no document
7774 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7776 * many files: Add insetwrap.
7778 2002-09-09 John Levon <levon@movementarian.org>
7780 * text2.C: remove confusing and awkward depth wraparound
7782 2002-09-09 John Levon <levon@movementarian.org>
7784 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7787 * buffer.C: remove getIncludeonlyList()
7790 * lyxfunc.C: remove headers
7792 2002-09-09 Juergen Vigna <jug@sad.it>
7794 * text.C (getColumnNearX): fix form Michael this is most
7795 probably a cut&paste bug.
7797 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7801 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7802 references, ws changes.
7804 * text2.C (init): update counters after init
7805 (insertParagraph): no need to set counter on idividual paragraphs.
7806 (setCounter): access the counters object in the textclass object
7807 on in the buffer object.
7808 (updateCounters): ditto
7810 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7811 shared_ptr<Counters> to avoid loading counters.h in all
7813 (LyXTextClass): initialize ctrs_
7814 (TextClassTags): add TC_COUNTER, and ...
7815 (Read): use it here.
7816 (CounterTags): new tags
7817 (readCounter): new function
7818 (counters): new funtion
7819 (defaultLayoutName): return a const reference
7821 * counters.C (Counters): remove contructor
7822 (newCounter): remove a couple of unneeded statements.
7823 (newCounter): simplify a bit.
7824 (numberLabel): some small formatting changes.
7826 * buffer.[Ch]: remove all traces of counters, move the Counters
7827 object to the LyXTextClass.
7829 2002-09-06 Alain Castera <castera@in2p3.fr>
7831 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7832 package to set the horizontal alignment on fixed width columns.
7835 * lyx_sty.h: added tabularnewline macro def.
7837 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7839 2002-09-06 John Levon <levon@movementarian.org>
7841 * LyXAction.C: tooltips for sub/superscript
7843 * MenuBackend.C: a bit more verbose
7845 * lyxfunc.C: tiny clean
7847 * undo_funcs.C: document undo_frozen
7849 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * counters.C (Counters): add missing algorithm counter.
7853 * text2.C (setCounter): lookup the counter with layouts latexname
7854 instead of by section number.
7855 (setCounter): use a hackish way to lookup the correct enum
7857 a float name->type change
7858 reset enum couners with counter name directly instead of depth value.
7860 * counters.C (Counters): remove the push_backs, change to use the
7861 float type not the float name.
7862 (labelItem): remove unused string, float name->type change
7864 * counters.h: don't include vector, loose the enums and sects vectors
7866 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7869 (Read): add float->TC_FLOAT to textclassTags
7870 (Read): and handle it in the switch
7871 (readFloat): new function
7873 * FloatList.C (FloatList): comment out the hardcoded float
7876 * lyxlayout.h: ws change.
7878 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7880 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7882 2002-09-03 Angus Leeming <leeming@lyx.org>
7884 * BufferView_pimpl.h: qualified name is not allowed in member
7885 declaration: WorkArea & Pimpl::workarea() const;
7887 * factory.C: added using std::endl directive.
7889 * text3.C: added using std::find and std::vector directives.
7891 2002-08-29 André Pönitz <poenitz@gmx.net>
7894 * text2.C: remove unused member number_of_rows
7897 * BufferView2.C: remove file, move contents to...
7898 * BufferView.C: ... here
7900 * BufferView_pimpl.C:
7901 * factory.C: move more inset creation to factory
7903 * vspace.C: avoid direct usage of LyXText, ws changes
7906 don't provide direct access to WorkArea, use two simple
7907 acessors haveSelction() and workHeight() instead
7910 2002-08-29 John Levon <levon@movementarian.org>
7912 * BufferView_pimpl.C (dispatch): do not continue when
7915 2002-08-28 André Pönitz <poenitz@gmx.net>
7917 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7920 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7922 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7924 * buffer.C: increment LYX_FORMAT to 221
7926 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7927 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7929 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7931 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7933 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * factory.C (createInset): use LyXTextClass::floats
7937 * MenuBackend.C (expandFloatListInsert):
7938 (expandFloatInsert):
7941 * text2.C (setCounter):
7943 * LaTeXFeatures.C (useFloat):
7944 (getFloatDefinitions):
7946 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7948 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7949 floatlist_, with accessor floats().
7951 * FloatList.h: remove global FloatList
7953 2002-08-26 André Pönitz <poenitz@gmx.net>
7955 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7959 * BufferView_pimpl.C:
7960 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7962 2002-08-25 John Levon <levon@movementarian.org>
7964 * LyXAction.C: fix margin note description
7966 2002-08-24 John Levon <levon@movementarian.org>
7970 * bufferview_funcs.C:
7972 * undo_funcs.C: cleanups
7974 * lyxfunc.C: disable CUT/COPY when no selection
7976 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7978 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7979 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7981 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7982 Add backward compatibility to "mono", "gray" and "no".
7984 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7986 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7987 (and file_format >= 200).
7989 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7993 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7997 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7999 * BufferView_pimpl.C:
8006 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8007 inset and code to make it work with the paragraph code. The inset
8008 can be anywhere in the paragraph, but will only do the expected
8009 thing in LaTeX if the layout file contains the parameter line
8011 (or more generally, a nonzero value) for that layout.
8013 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * paragraph.h: remove the declaration of undefined counters class
8018 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8020 * text2.C (setCounter): fixed enumeration mis-count as reported by
8021 Dr. Richard Hawkins.
8023 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * paragraph_funcs.h: remove some unneeded includes
8027 * text.C (backspace): pasteParagraph now in global scipe
8029 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8030 (pasteSelection): ditto
8032 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8033 * paragraph_funcs.C (pasteParagraph): ... here
8035 2002-08-20 André Pönitz <poenitz@gmx.net>
8037 * commandtags.h: new LFUNs for swapping/copying table row/colums
8040 * lyxfunc.C: support for new lfuns
8042 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * buffer.[Ch]: remove NO_COMPABILITY stuff
8047 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * boost.C (throw_exception): new file, with helper function for
8050 boost compiled without exceptions.
8055 * ParameterStruct.h:
8056 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8058 * bufferlist.C (emergencyWriteAll): use boost bind
8060 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8062 * text.C: include paragraph_funcs.h
8063 (breakParagraph): breakParagraph is now in global scope
8065 * paragraph_funcs.[Ch]: new files
8067 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8070 * buffer.C: include paragraph_funcs.h
8071 (insertStringAsLines): breakParagraph is now in global scope
8073 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8076 * CutAndPaste.C: include paragraph_funcs.h
8077 (cutSelection): breakParagraphConservative is now in global scope
8078 (pasteSelection): ditto
8080 * buffer.h: declare oprator== and operator!= for
8081 Buffer::inset_iterator
8083 * bufferlist.C (emergencyWrite): don't use fmt(...)
8085 * text3.C: add using std::endl
8087 * BufferView.C (moveCursorUpdate): remove default arg
8089 2002-08-20 André Pönitz <poenitz@gmx.net>
8091 * buffer.[Ch]: move inline functions to .C
8094 * BufferView_pimpl.C:
8096 * buffer.[Ch]: use improved inset_iterator
8099 * paragraph.[Ch]: write one paragraph at a time
8101 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8103 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8104 style if style is not specified.
8106 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * text2.C (setCounter): when searching for right label for a
8109 caption, make sure to recurse to parent insets (so that a caption
8110 in a minipage in a figure float works) (bug #568)
8112 2002-08-20 André Pönitz <poenitz@gmx.net>
8114 * text3.C: new file for LyXText::dispatch() and helpers
8116 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8118 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8120 2002-08-19 André Pönitz <poenitz@gmx.net>
8123 * text.C: new LyXText::dispatch()
8125 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8127 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8129 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8131 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8134 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * Makefile.am: use $(variables) instead of @substitutions@
8138 2002-08-15 André Pönitz <poenitz@gmx.net>
8141 * BufferView_pimpl.C: streamlining mathed <-> outer world
8145 * LyXAction.C: remove unused LFUN_MATH
8147 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8149 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8151 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * paragraph.C (Paragraph): reformat a bit
8154 (cutIntoMinibuffer): use builtin InsetList function instad of
8158 * buffer.C: include boost/bind.hpp, add using std::for_each
8159 (writeFileAscii): use ParagraphList iterators
8160 (validate): use for_each for validate traversal of paragraphs
8161 (getBibkeyList): use ParagraphList iterators
8162 (resizeInsets): use for_each to resizeInsetsLyXText for all
8164 (getParFromID): use ParagraphList iterators
8166 * BufferView2.C (lockInset): use paragraph list and iterators
8168 2002-08-14 John Levon <levon@movementarian.org>
8170 * lyxserver.C: remove spurious xforms include
8172 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8174 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8176 2002-08-13 André Pönitz <poenitz@gmx.net>
8179 * lyxfunc.C: further cleaning
8181 2002-08-13 André Pönitz <poenitz@gmx.net>
8183 * funcrequest.h: new constructor
8185 * funcrequest.C: move stuff here from .h
8188 * BufferView_pimpl.C:
8191 * lyxfunc.C: subsequent changes
8193 * lyxfunc.h: new view() member function
8195 * lyxfunc.C: subsequent changes
8197 2002-08-13 Angus Leeming <leeming@lyx.org>
8200 * BufferView_pimpl.C:
8208 changes due to the changed LyXView interface that now returns references
8209 to member variables not pointers.
8211 2002-08-13 Angus Leeming <leeming@lyx.org>
8213 * WordLangTuple (word, lang_code): return references to strings,
8218 * lyxtext.h: forward-declare WordLangTuple.
8223 * text.C: #include "WordLangTuple.h".
8226 * text.C: (selectNextWordToSpellcheck): constify return type.
8228 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8234 * paragraph_pimpl.h:
8237 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8239 Made updateCounter always count from start of buffer, and removed
8240 second argument (par).
8241 Reverted floats number display to '#'. Perhaps I'll try again when the
8242 code base is sanitized a bit.
8244 2002-08-12 Angus Leeming <leeming@lyx.org>
8246 * buffer.[Ch] (getLabelList): constify.
8248 2002-08-07 André Pönitz <poenitz@gmx.net>
8250 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8252 * funcrequest.h: extension to keep mouse (x,y) position
8254 2002-08-12 Juergen Vigna <jug@sad.it>
8256 * BufferView2.C (insertErrors): forbid undo when inserting error
8259 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8261 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * ParagraphList.[Ch]: new files
8265 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8267 * BufferView2.C (lockInset): ParagraphList changes
8270 * bufferlist.C: ditto
8274 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8277 unused class variable counter_,
8279 * paragraph.[Ch] (getFirstCounter): delete unused function
8281 * counters.C: include LAssert.h
8282 (reset): add a new function with no arg, change other version to
8283 not have def. arg and to not allow empty arg.
8285 * text2.C (setCounter): remove empty arg from call to Counters::reset
8287 2002-08-11 John Levon <levon@movementarian.org>
8289 * Makefile.am: add WordLangTuple.h
8291 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8294 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8296 * insets/insettext.C: InsetList changes
8298 * graphics/GraphicsSupport.C (operator()): InsetList changes
8300 * toc.C (getTocList): InsetList changes
8302 * paragraph_pimpl.[Ch]: InsetList changes
8304 * paragraph.[Ch]: InsetList changes
8306 * buffer.C (inset_iterator): InsetList changes
8307 (setParagraph): ditto
8308 * buffer.h (inset_iterator): ditto
8309 * iterators.C (operator++): ditto
8310 * iterators.h: ditto
8312 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8314 * InsetList.[Ch]: new files, most InsetList handling moved out of
8317 * BufferView2.C (removeAutoInsets): InsetList changes
8319 (ChangeInsets): ditto
8321 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * paragraph_pimpl.h (empty): new function
8325 * paragraph.[Ch] (empty): new function
8327 * other files: use the new Paragraph::empty function
8329 2002-08-09 John Levon <levon@movementarian.org>
8331 * lyxtext.h: remove unused refresh_height
8333 2002-08-09 John Levon <levon@movementarian.org>
8340 * paragraph.C: move sgml char escaping out of paragraph
8343 * paragraph.C: remove id setter
8347 * paragraph_pimpl.C: remove dead tex_code_break_column
8349 * bufferview_funcs.C: small cleanup
8351 * lyxfunc.C: remove dead proto
8353 * lyxtext.h: make some stuff private. Remove some dead stuff.
8355 * lyxgluelength.C: make as[LyX]String() readable
8357 2002-08-08 John Levon <levon@movementarian.org>
8362 * ToolbarDefaults.C:
8365 * toc.C: lyxaction cleanup
8367 2002-08-08 John Levon <levon@movementarian.org>
8369 * BufferView2.C: small cleanup
8372 * lyxfind.C: move unnecessary header into the .C
8374 2002-08-08 John Levon <levon@movementarian.org>
8376 * funcrequest.h: just tedious nonsense
8379 * lyx_main.C: cleanups
8382 * vspace.C: remove dead header lyx_main.h
8384 2002-08-07 Angus Leeming <leeming@lyx.org>
8387 * paragraph_pimpl.h:
8388 Forward declare class Counters in paragraph.h by moving the ctrs member
8389 variable into Paragraph::Pimpl.
8390 (counters): new method, returning a reference to pimpl_->ctrs.
8392 * text2.C: ensuing changes.
8394 2002-08-07 John Levon <levon@movementarian.org>
8396 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8398 * BufferView_pimpl.C: announce X selection on double/triple
8401 * lyx_main.C: use correct bool in batch dispatch
8403 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8405 2002-08-07 André Pönitz <poenitz@gmx.net>
8407 * funcrequest.h: new class to wrap a kb_action and its argument
8410 * BufferView_pimpl[Ch]:
8414 * lyxrc.C: subsequent changes
8417 2002-08-07 John Levon <levon@movementarian.org>
8419 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8420 document options change.
8422 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8427 * makefile.am: move counters functionality over from
8428 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8430 2002-08-06 John Levon <levon@movementarian.org>
8432 * WordLangTuple.h: new file for word + language code tuple
8443 * BufferView2.C: use WordLangTuple
8446 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8448 2002-08-06 John Levon <levon@movementarian.org>
8450 * lyx_main.C: fix cmdline batch handling
8452 2002-08-06 André Pönitz <poenitz@gmx.net>
8454 * lyxrc.C: set default for show_banner to true
8456 2002-08-06 John Levon <levon@movementarian.org>
8458 * pspell.C: fix a crash, and allow new aspell to work
8460 2002-08-06 John Levon <levon@movementarian.org>
8463 * kbmap.C: small cleanup
8466 * vspace.C: add const
8468 2002-08-05 John Levon <levon@movementarian.org>
8470 * LyXAction.C: back to tabular-insert
8472 2002-08-04 John Levon <levon@movementarian.org>
8475 * BufferView.C: cosmetic change
8477 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8487 * BufferView2.C: purge all "Lyx" not "LyX" strings
8490 * lyxcursor.C: attempt to add some documentation
8495 * ToolbarDefaults.C:
8496 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8497 merge with LFUN_TABULAR_INSERT
8504 * pspell.C: split up i/pspell implementations into separate
8505 files, many cleanups
8507 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8509 * text2.C: some cleanup
8511 * lyxfunc.C: don't check for isp_command == "none" any more, it
8512 didn't make any sense
8514 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8519 * makefile.am: move counters functionality over
8520 from text2.C/paragraph.[Ch] to counters.[Ch], and
8522 2002-08-02 John Levon <levon@movementarian.org>
8524 * buffer.C: s/lyxconvert/lyx2lyx/
8526 2002-08-02 Angus Leeming <leeming@lyx.org>
8528 * lyxlex.C: revert John's change as it breaks reading of the user
8531 2002-08-02 Angus Leeming <leeming@lyx.org>
8533 * importer.C (Import):
8534 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8535 changes due to LyXView::view() now returning a boost::shared_ptr.
8537 2002-08-02 John Levon <levon@movementarian.org>
8539 * lyxlex.C: small cleanup
8541 2002-08-02 John Levon <levon@movementarian.org>
8543 * text2.C (status): small cleanup, no logic change
8545 2002-08-01 John Levon <levon@movementarian.org>
8548 * buffer.C (writeFile): don't output alerts, caller
8552 * lyx_cb.C: from above
8554 * lyxfunc.C: allow to open non-existent files
8556 2002-07-31 John Levon <levon@movementarian.org>
8558 * lyxserver.C: don't let incidental errors get
8561 2002-07-30 John Levon <levon@movementarian.org>
8563 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8565 2002-07-30 John Levon <levon@movementarian.org>
8568 * lyxserver.C: remove I/O callback too
8570 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8575 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8577 * many files: strip,frontStrip -> trim,ltrim,rtrim
8579 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * PrinterParams.h: remove extern containsOnly, and include
8582 support/lstrings.h instead.
8584 * LaTeX.C (scanAuxFile): modify because of strip changes
8586 * buffer.C (makeLaTeXFile): ditto
8587 * bufferparams.C (writeFile): ditt
8588 * lyxfont.C (stateText): ditto
8589 * lyxserver.C (read_ready): ditto
8590 * vc-backend.C (scanMaster): ditto
8592 * BufferView_pimpl.h: ws changes
8594 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8596 2002-07-26 André Pönitz <poenitz@gmx.net>
8598 * kb_sequence.C: remove unnedred usings
8600 2002-07-26 Juergen Vigna <jug@sad.it>
8602 * lyxfind.C (LyXReplace): we have to check better if the returned
8603 text is not of theLockingInset()->getLockingInset().
8605 2002-07-25 Juergen Vigna <jug@sad.it>
8607 * lyxfind.C (LyXReplace): don't replace if we don't get the
8610 * undo_funcs.C (createUndo): remove debugging code.
8612 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8614 * buffer.C (parseSingleLyXformat2Token): Use default placement
8615 when reading old floats.
8617 * FloatList.C (FloatList): Change the default placement of figure
8618 and tables to "tbp".
8620 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8622 * MenuBackend.C: using std::max
8624 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8626 * MenuBackend.C (expandToc):
8627 (expandToc2): code moved from xforms menu frontend. It is now
8628 generic and TOCs are transparent to menu frontends.
8630 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8632 * toc.C (getTocList): protect against buf=0
8634 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8635 Menu as first parameter. Now, this calls itself recursively to
8636 expand a whole tree (this will be useful for TOC handling)
8637 (expandFloatInsert): remove 'wide' version of floats
8639 * MenuBackend.h (submenuname): returns the name of the submenu.
8640 (submenu): returns the submenu itself, provided it has been
8641 created by MenuBackend::expand
8643 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8645 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8646 insets which have noFontChange == true. (bug #172)
8648 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8650 * BufferView_pimpl.C: add connection objects and use them...
8653 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * MenuBackend.C (expandLastfiles):
8658 (expandFloatListInsert):
8659 (expandFloatInsert):
8660 (expand): split expand in parts
8662 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8664 * lyx_gui.C: use lyx_gui::exit()
8666 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8668 * LyXAction.C: show the failing pseudo action
8670 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8672 * buffer.C (readFile): Run the lyxconvert script in order to read
8675 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8679 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8681 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8685 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8687 2002-07-22 Herbert Voss <voss@lyx.org>
8690 * lyxlength.[Ch]: add support for the vertical lengths
8692 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8694 * toc.[Ch]: std:: fixes
8696 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8698 * lyxrc.C: do not include lyx_main.h
8700 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8706 * BufferView2.C: include "lyxlex.h"
8709 * bufferparams.h: do not #include "lyxlex.h"
8711 * lyxtextclasslist.C (Add): remove method
8712 (classlist): renamed to classlist_
8714 * paragraph_pimpl.C:
8718 * bufferview_funcs.C:
8723 * toc.C (getTocList): use BufferParams::getLyXTextClass
8725 * toc.C (getTocList): use InsetFloat::addToToc
8727 * toc.[Ch]: new files, containing helper functions to handle table
8730 * lyxfunc.C (dispatch): no need to remove spaces around command
8732 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8733 first command of the sequence; it is not very clever, but I do not
8734 have a better idea, actually
8736 * LyXAction.C (LookupFunc): make sure to remove space at the
8737 beginning and end of the command
8739 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8741 * MenuBackend.C (getMenubar): new method: return the menubar of
8743 (read): treat differently reading of menu and menubar (in
8744 particular, the menubar has no name now)
8745 (Menu::menubar): remove
8747 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8750 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8752 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8753 a bibitem inset in a RTL paragraph.
8755 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8757 * paragraph_pimpl.C: constify
8759 * BufferView_pimpl.C:
8761 * lyxfunc.C: fix dispatch in a nicer way
8763 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8765 * lyxfunc.C (dispatch):
8766 * BufferView_pimpl.C:
8767 * BufferView_pimpl.h:
8769 * BufferView.h: rename Dispatch() to dispatch()
8771 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8773 * lyxlayout.C (Read): honor DependsOn tag
8775 * lyxlayout.[Ch] (depends_on): new method
8777 * version.C.in: update lyx_docversion
8779 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8781 * paragraph.C (validate): remove from here...
8782 * paragraph_pimpl.C (validate): ... and move here
8783 (isTextAt): make it const
8785 * buffer.C (getLists): ws cleanup
8787 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8789 * language.C (read): Use iso8859-1 encoding in latex_lang
8790 (this prevents LyX from crashing when using iso10646-1 encoding).
8792 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8794 * text2.C (toggleInset): if cursor is inside an inset, close the
8795 inset and leave cursor _after_ it
8797 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8799 * lyxfunc.C: move minibuffer completion handling out of here
8801 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8803 * BufferView_pimpl.C:
8804 * LaTeX.C: fix dispatch calls
8806 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8808 * text.C (drawChars): Fix Arabic text rendering.
8810 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8814 * lyxfunc.C: remove message-push/pop
8818 * lyxfunc.C: rationalise some code by removing verboseDispatch
8819 in favour of a bool argument to dispatch()
8821 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8823 * lyx_main.C (init): make sure to read symlinks as absolute paths
8825 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8828 * lyxfunc.C: no need for commandshortcut to be a member
8830 2002-07-15 André Pönitz <poenitz@gmx.net>
8832 * converter.C: add support for $$s (scripts from lib/scripts dir)
8833 * lyx_main.C: white space
8835 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8839 * lyxrc.C: remove second exit confirmation
8841 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8846 * BufferView_pimpl.h:
8847 * BufferView_pimpl.C:
8848 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8850 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8852 * MenuBackend.C (expand): add numeric shortcuts to document menu
8854 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8856 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8858 * lyxfont.C (setLyXFamily):
8865 * buffer.C (asciiParagraph): use ascii_lowercase
8867 2002-07-15 Mike Fabian <mfabian@suse.de>
8869 * lyxlex_pimpl.C (search_kw):
8870 * lyxlex.C (getLongString):
8871 * converter.h (operator<):
8872 * converter.C (operator<):
8873 * buffer.C (parseSingleLyXformat2Token):
8875 * ToolbarDefaults.C (read):
8876 * MenuBackend.C (checkShortcuts):
8878 * LColor.C (getFromGUIName):
8879 (getFromLyXName): use the compare_ascii_no_case instead of
8880 compare_no_case, because in turkish, 'i' is not the lowercase
8881 version of 'I', and thus turkish locale breaks parsing of tags.
8883 2002-07-16 Angus Leeming <leeming@lyx.org>
8885 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8886 now takes a Buffer const & argument.
8888 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8890 * BufferView.C (resize): check there's a buffer to resize
8892 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8894 * lyxfunc.C: remove dead code
8897 * lyxserver.C: use lyx_guii::set_read_callback
8899 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8901 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8902 an inset in a RTL paragraph.
8904 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8906 * lyxfunc.C: repaint after a font size update
8908 2002-07-15 André Pönitz <poenitz@gmx.net>
8910 * lyxlength.C: inBP should be able to return negative values
8912 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8914 * lyxfunc.C: use lyx_gui::update_fonts()
8916 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8918 * lyxfunc.C: use lyx_gui::update_color()
8920 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8926 * lyxrc.C: remove file->new asks for name option, and let
8927 buffer-new take an argument
8929 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.C: remove unneeded extra repaint()
8933 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8935 * LyXAction.C: allow command-sequence with NoBuffer
8937 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8939 2002-07-10 Angus Leeming <leeming@lyx.org>
8941 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8943 2002-07-09 Angus Leeming <leeming@lyx.org>
8945 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8947 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8949 * lengthcommon.h: whitespace
8951 * lyxfunc.C: update scrollbar after goto paragraph
8953 * lyxtext.h: factor out page break drawing, and fix it so
8954 page break/added space paints as selected nicely
8956 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8958 * BufferView_pimpl.C: add FIXMEs, clean up a little
8960 2002-07-09 André Pönitz <poenitz@gmx.net>
8962 * lyxfont.[Ch]: support for wasy symbols
8964 2002-07-08 André Pönitz <poenitz@gmx.net>
8966 * BufferView_pimpl.C: apply John's patch for #93.
8968 2002-07-05 Angus Leeming <leeming@lyx.org>
8970 * BufferView_pimpl.C (buffer): generate previews if desired.
8972 * LColor.h: add "preview" to the color enum.
8974 * LColor.C (LColor): add a corresponding entry to the items array.
8976 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8979 2002-07-05 Angus Leeming <leeming@lyx.org>
8981 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8982 The body of the code is now in the method that is passed an ostream &
8983 rather than a file name.
8984 Pass an additional only_preamble parameter, useful for the forthcoming
8987 2002-07-03 André Pönitz <poenitz@gmx.net>
8989 * lyxfunc.C: simplify getStatus() a bit for math stuff
8991 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8995 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * text.C (changeRegionCase): do not change case of all the
8998 document when region ends at paragraph end (bug #461)
9000 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * paragraph.C (startTeXParParams):
9003 (endTeXParParams): add \protect when necessary
9005 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9007 * BufferView_pimpl.C (workAreaExpose): remove warning
9009 2002-06-27 Angus Leeming <leeming@lyx.org>
9011 * Makefile.am: add lyxlayout_ptr_fwd.h.
9013 2002-06-26 André Pönitz <poenitz@gmx.net>
9015 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9017 2002-06-25 Angus Leeming <leeming@lyx.org>
9019 * lyxfunc.C (dispatch): Comment out the call to
9020 grfx::GCache::changeDisplay. The method no longer exists now that the
9021 pixmap generation part of the graphics loader has been moved into
9024 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * text2.C: layout as layout
9028 * text.C: layout as layout
9030 * tabular.C (OldFormatRead): layout as layout
9032 * paragraph_pimpl.C (TeXDeeper): layout as layout
9033 (realizeFont): layout as layout
9035 * paragraph.C (writeFile): layout as layout
9036 (validate): layout as layout
9037 (getFont): layout as layout
9038 (getLabelFont): layout as layout
9039 (getLayoutFont): layout as layout
9040 (breakParagraph): layout as layout
9041 (stripLeadingSpaces): layout as layout
9042 (getEndLabel): layout as layout
9043 (getMaxDepthAfter): layout as layout
9044 (applyLayout): layout as layout
9045 (TeXOnePar): layout as layout
9046 (simpleTeXOnePar): layout as layout
9047 (TeXEnvironment): layout as layout
9048 (layout): layout as layout
9049 (layout): layout as layout
9051 * lyxtextclass.C (compare_name): new functor to work with
9052 shared_ptr, layout as layout
9053 (Read): layout as layout
9054 (hasLayout): layout as layout
9055 (operator): layout as layout
9056 (delete_layout): layout as layout
9057 (defaultLayout): layout as layout
9059 * lyxlayout_ptr_fwd.h: new file
9061 * lyxlayout.C (Read): layout as layout
9063 * lyx_cb.C (MenuInsertLabel): layout as layout
9065 * bufferlist.C (newFile): layout as layout
9067 * buffer.C (readLyXformat2): layout as layout
9068 (parseSingleLyXformat2Token): layout as layout
9069 (insertStringAsLines): layout as layout
9070 (asciiParagraph): layout as layout
9071 (latexParagraphs): layout as layout
9072 (makeLinuxDocFile): layout as layout
9073 (simpleLinuxDocOnePar): layout as layout
9074 (makeDocBookFile): layout as layout
9075 (simpleDocBookOnePar): layout as layout
9076 (getLists): layout as layout
9078 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9080 * CutAndPaste.C (cutSelection): layout as layout
9081 (pasteSelection): layout as layout
9082 (SwitchLayoutsBetweenClasses): layout as layout
9084 * BufferView_pimpl.C (Dispatch): layout as layout
9085 (smartQuote): layout as layout
9087 * BufferView2.C (unlockInset): layout as layout
9089 2002-06-24 André Pönitz <poenitz@gmx.net>
9091 * lyxfunc.C: fix #487
9093 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9097 * lyxfunc.C: remove display_shortcuts, show_banner
9099 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9101 * Buffer_pimpl.C: oops, update on resize
9103 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView.C: use repaint()
9112 * BufferView_pimpl.h:
9113 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9114 as it's a clearer description. Remove superfluous
9117 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9119 * text.C: fix bug 488. Not ideal, but getting
9120 getWord() to work properly for the insets that
9121 matter is more difficult ...
9123 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9125 * BufferView_pimpl.C:
9128 * lyxfunc.C: remove the six million index lyxfuncs to just
9129 one, and DTRT (bug 458)
9131 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9135 * BufferView_pimpl.h:
9136 * BufferView_pimpl.C: clean up resize() stuff,
9137 and unnecessary updateScreen()s
9139 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9143 * BufferView_pimpl.h:
9144 * BufferView_pimpl.C:
9147 * minibuffer.C: remove focus management of workarea,
9148 not needed. Use screen's greyOut()
9150 2002-06-17 Herbert Voss <voss@lyx.org>
9152 * converter.C: (convert) do not post a message, when converting
9153 fails, let the calling function decide what to do in this case
9155 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9157 * lyxfunc.C: tidy up a little
9159 2002-06-16 <alstrup@diku.dk>
9161 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9162 Got rid of FORMS_H_LOCATION include. Now we are
9165 2002-06-15 LyX Development team <lyx@rilke>
9167 * buffer.[Ch] (sgmlOpenTag):
9168 (sgmlCloseTag): Added support for avoiding pernicious mixed
9169 content. Return number of lines written.
9172 (makeDocBookFile): Fixed calls to sgml*Tag.
9173 Simple white space clean.
9175 (simpleDocBookOnePar): Simple white space clean.
9177 * tabular.[Ch] (docBook): Renamed to docbook and got another
9178 argument to related with the pernicious mixed content.
9180 (docbookRow): Fixed calls for docbook inset method.
9182 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9184 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9185 so it's X11 independent.
9189 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9191 2002-06-15 Lyx Development team <lyx@electronia>
9193 * intl.h: Renamed getTrans to getTransManager.
9195 2002-06-14 Angus Leeming <leeming@lyx.org>
9197 * Makefile.am: nuke forgotten stl_string_fwd.h.
9199 2002-06-12 Angus Leeming <leeming@lyx.org>
9201 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9203 2002-06-13 Angus Leeming <leeming@lyx.org>
9206 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9208 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9210 * kbmap.C (getiso): add support for cyrillic and greek
9212 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9216 * BufferView_pimpl.h:
9217 * BufferView_pimpl.C: move bogus scrolling logic
9220 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9223 * BufferView_pimpl.C: view->resize() change
9225 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView_pimpl.C: topCursorVisible
9230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9234 * lyx_gui.C: move to frontends/
9238 * lyx_main.C: changes from above
9240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9247 * lyx_main.C: minor tidy
9249 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9251 * BufferView_pimpl.h:
9252 * BufferView_pimpl.C:
9254 * BufferView.C: make painter() const,
9257 * BufferView2.C: use screen() accessor
9260 * lyx_main.C: some minor cleanup
9262 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9264 * BufferView_pimpl.h:
9265 * BufferView_pimpl.C: remove enter/leaveView,
9268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9273 * BufferView_pimpl.h:
9274 * BufferView_pimpl.C: only construct screen once,
9277 * lyxrc.C: remove pointless comment
9279 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9282 * BufferView.C: remove active() and belowMouse()
9284 * BufferView_pimpl.h:
9285 * BufferView_pimpl.C: use workarea() not workarea_,
9286 and make it use a scoped_ptr instead
9288 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9290 * lyx_gui.C: add debug message on BadWindow
9292 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * sp_spell.C: fdopen is not part of the C++ standard.
9296 * paragraph.C (InsetIterator): use >= instead of ==
9298 2002-06-07 Angus Leeming <leeming@lyx.org>
9300 Fixes needed to compile with Compaq cxx 6.5.
9301 * BufferView_pimpl.C:
9308 * lyxtextclasslist.C:
9313 all c-library variables have been moved into namespace std. Wrap
9314 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9319 Add a using std::abs declaration.
9321 * kbmap.h (modifier_pair):
9322 * paragraph.h (InsetTable, InsetList):
9323 * lyxfont.h (FontBits):
9324 type definition made public.
9326 * bufferlist.C (emergencyWriteAll): the compiler complains that
9327 there is more than one possible lyx::class_fun template to choose from.
9328 I re-named the void specialisation as lyx::void_class_fun.
9330 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9332 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9333 the compiler is is unable to find tostr in write_attribute.
9335 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * buffer.C (sgmlError): hide #warning
9339 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * xtl/*: get rid of xtl, which is not in use anyway
9343 * LyXAction.C (init):
9344 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9345 were unimplemented xtl experimentation
9347 2002-06-04 André Pönitz <poenitz@gmx.net>
9349 * lyxfunc.C: disable array operation on simple formulae
9351 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9353 * converter.C: constify a bit
9355 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9357 * lyx_gui.C: check xforms version correctly
9359 2002-04-30 Herbert Voss <voss@lyx.org>
9361 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9364 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9366 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9367 attempt to register it with a VCS)
9369 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9371 * lyx_main.C (init): honor variables LYX_DIR_13x and
9374 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9378 * lyx_main.C: fix a crash on bad command line,
9379 and give a useful exit status on error
9381 * lyxfunc.C (doImport): allow -i lyx to work
9383 2002-03-30 André Pönitz <poenitz@gmx.net>
9385 * lyxfunc.C: mathed font changes
9387 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9402 * trans_mgr.h: srcdocs, and some minor cleanups
9404 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9406 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9407 call getFont all the time)
9409 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9411 * switch from SigC signals to boost::signals
9413 2002-05-29 André Pönitz <poenitz@gmx.net>
9415 * paragraph_pimpl.C (getChar): don't call size() too often...
9417 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9419 * paragraph_pimpl.C (insertChar): do not try to update tables when
9420 appending (pos == size())
9422 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9423 in order to reduce drastically the number of comparisons needed to
9424 parse a large document
9426 2002-05-29 André Pönitz <poenitz@gmx.net>
9432 * textclasslist.[Ch]:
9433 * sp_ispell.h: whitespace change
9435 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9437 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9438 lyxaction directly now.
9440 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9444 * lyxvc.C: remove unused headers
9446 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9453 * undo_funcs.C: some cleanups. Use shared_ptr
9454 and a template for the undo stacks.
9456 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9458 * BufferView_pimpl.h:
9459 * BufferView_pimpl.C:
9466 * text2.C: use key_state/mouse_state
9468 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9473 * chset.C: change include order
9474 (loadFile): use boost regex and get rid of LRegex and LSubstring
9476 * Makefile.am (BOOST_LIBS): new variable
9479 * LaTeX.C: change include order.
9480 (scanAuxFile): use boost regex and get rid of LRegex and
9484 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9489 * FontInfo.C: moved to frontends/xforms/
9492 * FontLoader.C: moved into frontends for GUIIzation
9497 * lyxfunc.C: changes from above
9499 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9501 * LColor.C: remove spurious X include
9503 * BufferView_pimpl.C:
9508 * text2.C: move font metrics to frontends/
9510 2002-05-24 Juergen Vigna <jug@sad.it>
9512 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9513 setting the undo_cursor.
9515 * ParagraphParameters.h: include local includes first.
9517 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9519 * BufferView_pimpl.C:
9520 * BufferView_pimpl.h:
9524 * screen.C: move WorkArea into frontends/
9530 * BufferView2.C: move LyXScreen into frontends/
9534 * lyx_gui.C: move lyxlookup into frontends/xforms/
9536 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9539 * BufferView_pimpl.C:
9549 * bufferview_funcs.C:
9562 * vc-backend.C: move LyX/XFormsView into frontends/
9564 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9576 * text2.C: move Painter to frontends/
9578 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * buffer.C: comment out some some code that depend upon lyx_format
9583 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9584 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9586 * buffer.h (NO_COMPABILITY): turn off compability
9588 * ColorHandler.C: include scoped_array.hpp
9590 * font.C: Use more specific smart_ptr header.
9593 * ShareContainer.h: ditto
9597 * BufferView_pimpl.h: ditto
9598 * ColorHandler.h: ditto
9600 * kbmap.C (defkey): change call to shared_ptr::reset
9602 2002-05-21 Juergen Vigna <jug@sad.it>
9604 * buffer.C (insertErtContents): fix to insert ert asis if it is
9605 non empty. Skip it completely if it contains only whitespaces.
9607 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9609 * BufferView_pimpl.C:
9610 * BufferView2.C: clear selection on paste (bug 393)
9612 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9614 * DepTable.C: include ctime
9616 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9618 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9620 2002-05-14 Juergen Vigna <jug@sad.it>
9622 * text.C (breakParagraph): fixed function to honor the keepempty
9623 layout in the right maner and also to permit the right breaking
9624 algorithm on empty or non empyt keepempty paragraphs.
9626 * paragraph.C (breakParagraph): we have to check also if the par
9627 is really empty (!size()) for isempty otherwise we do the wrong
9630 2002-05-10 Juergen Vigna <jug@sad.it>
9632 * buffer.[Ch] : The following are only changes to the ert
9633 compatibility read reading old LaTeX layout and font stuff and
9634 convert it to ERTInsets.
9636 * buffer.h: added isErtInset().
9638 * buffer.C (struct ErtComp): add a fromlayout bool to check
9639 if we're inside a LaTeX layout.
9640 (isErtInset): new helper function.
9641 (insertErtContents): look for other ert insets before this one
9642 and insert the contents there, so that we don't have subsequent
9643 ERT insets with nothing between them. This way we create only one
9644 inset with multiple paragraphs. Also check if we don't insert only
9645 spaces ' ' as they are ignored anyway afterwards in the .tex file
9646 so if we have only spaces we will ignore this latex part in the
9648 (parseSingleLyXformat2Token \\layout): better compatibility when
9649 reading layout-latex stuff.
9650 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9652 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9653 stuff after reading the inset only get the information back from
9656 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9658 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9660 * LaTeXFeatures.C (getBabelOptions): New method.
9662 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * BufferView_pimpl.C (Dispatch): work around missing argument for
9667 2002-05-08 Juergen Vigna <jug@sad.it>
9669 * text.C (leftMargin): handle paragraph leftindent.
9671 * paragraph.C (writeFile): write the new \\leftindent tag.
9672 (validate): handle leftindent code.
9673 (TeXEnvironment): handle paragraphleftindent code again.
9675 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9677 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9678 for paragrap_extra indent code and new token \\leftindent.
9679 (latexParagraphs): handle the leftindent as environment.
9681 * ParameterStruct.h: added leftindent support.
9683 * ParagraphParameters.C (leftIndent): added support functions for
9684 the paragraph left indent.
9686 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9689 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9691 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9694 * text.C (computeBidiTables): No bidi in insetERT.
9696 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9699 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * version.C.in: pre 5
9703 2002-05-02 José Matos <jamatos@fep.up.pt>
9704 * buffer.C (makeDocBookFile): white space changes, add newline to
9706 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9708 * tabular.C (docBook): fix typo.
9710 2002-05-03 Juergen Vigna <jug@sad.it>
9712 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9713 change in LyXText as we can not be sure it was not freed.
9714 (drawOneRow): remove unused code.
9716 * text.C (drawInset): redo the calculation of the need_break_row as
9717 it could have a row which was already freed.
9718 (draw): look at the return value of drawInset and return false if
9719 it also returned false.
9720 (paintRowText): look at the return value of draw and return false if
9721 it also returned false.
9723 * lyxtext.h: added bool return type to drawInset() and draw() so that
9724 if we have a change in the row so that the rowbreak has to be redone
9725 we abort drawing as it will be called again.
9727 2002-05-02 Juergen Vigna <jug@sad.it>
9729 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9730 a change in the maintext also if we're inside an inset.
9731 (Dispatch): set the cursor again after a break line and after the
9732 screen has been updated as it could be we're in a different row.
9734 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9735 to set the cursor behind the pargraph with > size().
9736 (setCursor): check also for the same paragraph when checking where
9737 to put the cursor if we have a NFR inset.
9739 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9740 parts of layout read further up as it still was in the wrong
9743 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * screen.C (drawFromTo): change sine fullRebreak always return
9748 * buffer.C (parseSingleLyXformat2Token): reindent some
9750 * BufferView_pimpl.C (update): change since fullRebreak always
9752 (Dispatch): git rid of the last hardcoded "Standard"s.
9754 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9756 * text2.[Ch] (fullRebreak): make it return void now that we always
9759 2002-04-30 Juergen Vigna <jug@sad.it>
9761 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9762 ert compatibility check for "latex" layout.
9764 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9766 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9767 minipages: use col% instead of p%, and also use the current font.
9768 (makeLaTeXFile): Fix use babel condition.
9769 (parseSingleLyXformat2Token): Correct font when reading old floats.
9771 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9773 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9774 inserting list of floats.
9776 2002-04-25 Herbert Voss <voss@lyx.org>
9778 * MenuBackend.C (expand): don't add the graphics extensions to the
9781 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9784 non-existing layout, do not complain if it was the default layout
9785 of the original class (bug #342)
9787 2002-04-24 Juergen Vigna <jug@sad.it>
9789 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9790 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9792 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9794 * buffer.C (getBibkeyList): If using \bibliography, return the
9795 option field with the reference itself. Enables us to provide natbib
9796 support when using \bibliography.
9798 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9800 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9802 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9803 natbib is provided by the LaTeX class.
9805 2002-04-23 Juergen Vigna <jug@sad.it>
9807 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9810 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9812 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9814 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9816 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9817 ensuremath around textordmasculine, textordfeminine and
9820 2002-04-19 Juergen Vigna <jug@sad.it>
9822 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9823 reinitializing the buffer otherwise row-dimensions may be wrong.
9824 (update): reset also the selection cursors if they do exits otherwise
9825 their x/y positions may be wrong.
9827 * text2.C (cursorDown): don't enter the inset if we came from a row
9828 above and are one row over the inset.
9830 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9831 really leaving an inset.
9833 2002-04-18 Juergen Vigna <jug@sad.it>
9835 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9836 of the selected paragraph does not have the selected layout also if
9839 * text2.C (setLayout): fixed bug which did not change last selected
9842 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9843 changed the read and substituted \\end_float with \\end_inset!
9845 * BufferView_pimpl.C (cursorPrevious):
9846 (cursorNext): fixed to make it work with rows heigher than the work
9847 area without moving the cursor only the draw of the row.
9848 (workAreaMotionNotify): fix jumping over high rows.
9850 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9855 2002-04-16 Juergen Vigna <jug@sad.it>
9857 * text2.C (setCursor): set also the irow().
9858 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9860 (cursorDown): support for locking an inset if the x_fix value goes
9861 inside it. That way I can transverse insets too with cursor up/down.
9863 * lyxrow.h: added irow helper function same as other (i) functions.
9865 * BufferView_pimpl.C (cursorPrevious):
9866 (cursorNext): fixed for insets!
9868 2002-04-15 Juergen Vigna <jug@sad.it>
9870 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9871 position otherwise it is wrong in some cases.
9873 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9874 inside the inset before the call.
9876 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9878 * buffer.[Ch] (getBibkeyList): make it const.
9880 2002-04-12 Juergen Vigna <jug@sad.it>
9882 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9884 * text2.C (getCursorX): new helper function
9885 (setCursor): compute also ix_
9886 (setCursorFromCoordinates): set also ix.
9888 * lyxcursor.h: added ix_ and helper functions.
9890 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9892 * buffer.C (insertStringAsLines): dont break paragraph if the this
9893 paragraph is inside an inset which does not permit it!
9895 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9896 also with no chars on this paragraph.
9897 (paintRowText): only paint stuff if it's inside the workarea!
9899 * paragraph.C (breakParagraph): honor keepempty flag and break the
9900 paragraph always below not above.
9902 * BufferView2.C (unlockInset): update the paragraph layout on inset
9903 unlock as we changed paragraph in such a case.
9905 * lyxfind.C (LyXFind): clear the former selection if not found!
9907 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9908 again called in insertChar().
9910 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9911 an inset which uses the whole row!
9912 (rightMargin): ditto.
9913 (insertChar): force a rebreak if we inserted an inset!
9915 2002-03-28 Herbert Voss <voss@lyx.org>
9917 * lyxlength.[Ch]: add inBP() to get the right PS-point
9918 units (BigPoint). With inPixels we have rounding errors
9920 2002-04-11 Juergen Vigna <jug@sad.it>
9922 * text2.C (setCursorFromCoordinates): set iy to the right value.
9923 (setCursor): add check if row->previous exists!
9925 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9926 an old float_type as this was the case in the old code!
9928 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9930 * BufferView2.C (showLockedInsetCursor): use iy
9931 (fitLockedInsetCursor): ditto
9933 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9934 locked insets as there we have the right value now.
9936 * lyxcursor.C: added iy_ variable and iy functions to set to the
9937 baseline of cursor-y of the locked inset.
9939 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9940 (setCursor): fixed for insets which need a full row.
9942 * text.C (rowLastPrintable): don't ignore the last space when before
9943 an inset which needs a full row.
9944 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9945 as last character of a row when before a inset which needs a full row.
9947 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * version.C.in: update date
9951 * text2.C (fullRebreak): try to always return true and see what
9954 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * MenuBackend.C (expand): use Floating::listName
9958 * FloatList.C (FloatList): add listName argument to the built-in
9961 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9962 text associated with the float.
9964 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9968 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * ShareContainer.h: add a couple of missing typenames.
9972 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9974 * lyxrc.C (getDescription): use _() correctly rather than N_().
9976 2002-03-28 Herbert Voss <voss@lyx.org>
9978 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9979 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9981 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9983 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9984 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9986 2002-03-29 Juergen Vigna <jug@sad.it>
9988 * lyxfunc.C (dispatch): add a missing fitCursor call.
9990 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9991 it was scrolled by a cursor move, so return the bool status.
9993 * BufferView.C (fitCursor): return the bool flag also to the outside
9994 world as this is needed.
9996 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9998 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9999 call the edit() as it is not needed (and wrong) IMO.
10000 (workAreaButtonPress): set the screen_first variable before evt.
10001 unlock the inset as this may change screen_first and then we have
10002 a wrong y position for the click!
10004 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * MenuBackend.C (expand): another translation that I missed
10008 2002-03-28 Juergen Vigna <jug@sad.it>
10010 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10012 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10014 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10018 * MenuBackend.C (expand): fix export/view/update when there is no
10021 2002-03-27 Herbert Voss <voss@lyx.org>
10023 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10026 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * bufferview_funcs.C (currentState): only show paragraph number
10029 for is DEVEL_VERSION is set.
10031 * lyxfunc.C (dispatch): put warning in INFO channel
10033 * MenuBackend.C (expand): translate the name of floats
10035 * FloatList.C (FloatList): mark the float names for translation
10037 * converter.C (convert): use LibScriptSearch
10039 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10041 * MenuBackend.C (defaults): fix default menu (we might as well get
10044 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10046 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10049 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * lyxvc.C: reorder includes.
10053 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10055 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10058 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10060 * CutAndPaste.C: change layouts earlier on paste
10061 to avoid crashing when calling getFont()
10063 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10065 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10068 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * WorkArea.C: remove 'Pending' debug message.
10072 * most files: ws cleanup
10074 * buffer.[Ch]: ws changes
10076 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10078 2002-03-21 Juergen Vigna <jug@sad.it>
10080 * tabular.C (SetMultiColumn): collapse also the contents of the
10081 cells and set the last border right. Added a Buffer const * param.
10083 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10085 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10088 2002-03-19 Juergen Vigna <jug@sad.it>
10090 * text2.C (clearSelection): reset also xsel_cache.
10092 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10093 where it needs to be called (John tells us to do so too :)
10094 (selectionLost): reset sel_cache.
10096 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10098 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * text2.C (setCursorIntern): put debuging code in INSETS channel
10102 2002-03-19 André Pönitz <poenitz@gmx.net>
10104 * lyxfunc.C: tiny whitespace change
10106 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10108 * ToolbarDefaults.C (init):
10109 * LyXAction.C (init):
10111 * BufferView_pimpl.C (Dispatch):
10112 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10114 2002-03-19 Allan Rae <rae@lyx.org>
10116 * exporter.C (Export): removeAutoInsets before doing anything else.
10117 While I've just introduced a dependency on BufferView this really is
10118 the best place to clean the buffer otherwise you need to cleanup in
10119 a dozen places before calling export or cleanup in a dozen functions
10122 * converter.C (runLaTeX):
10123 (scanLog): Better handling of removeAutoInsets and screen updates.
10125 * lyxfunc.C (dispatch): small whitespace changes
10127 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10129 * WorkArea.C (C_WorkAreaEvent): return a value.
10130 (event_cb): return 1 if we handled the event, 0 otherwise.
10132 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10134 2002-03-18 Juergen Vigna <jug@sad.it>
10136 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10137 (GetAdditionalWidth): ditto.
10138 (RightLine): ditto.
10141 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10142 inset if we're there actually (probably not used right now but this
10143 is the direction to go for unifying code).
10144 (paste): disable code to clear the selection.
10146 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10147 inside an InsetText and move the check further up as it is in the
10150 * text2.C (pasteSelection): set a selection over the pasted text.
10152 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10154 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10155 and libgraphics to build on Cygwin.
10157 2002-03-15 Juergen Vigna <jug@sad.it>
10159 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10160 inserting an Inset into the paragraph. I know this is not the best
10161 fix but we already use current_view in CutAndPaste so we will remove
10162 all of it's using at the same time.
10164 * buffer.C (sgmlError): deactivated function till it is rewritten in
10165 the right mode, now it can create problems.
10167 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10168 before accessing it.
10170 2002-03-14 Juergen Vigna <jug@sad.it>
10172 * undo_funcs.C (textHandleUndo): do the right thing when updating
10173 the inset after the undo/redo.
10175 * text2.C (setCursor): just some testcode for #44 not ready yet.
10177 * undo_funcs.C (textHandleUndo): set the next() and previous()
10178 pointers of the paragraph to 0 before deleting otherwise we have
10179 problems with the Paragraph::[destructor].
10181 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10182 on a paragraph insertion.
10184 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10186 * buffer.C (asciiParagraph): use += operator for char append to
10189 * paragraph.C (getFontSettings): compare >= not just >
10190 (highestFontInRange): ditto
10193 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10195 * paragraph.C: change several algorithm to be more appripriate for
10196 the problem domain. This is lookip in FontList and in the InsetList.
10198 2002-03-13 André Pönitz <poenitz@gmx.net>
10201 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10203 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10208 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10210 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10212 * Painter.C (display): anon helper function, adjust code for this
10214 (pixmap): remove function.
10216 * Painter.h: remove private display variable.
10218 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10220 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10222 * WorkArea.[Ch]: remove figinset_canvas cruft.
10224 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * lyxtextclass.C (operator): add one item cache optimization.
10228 * bufferlist.h: doxy changes
10230 * bufferlist.C: ws changes
10232 * DepTable.[Ch] (ext_exist): place const in the right spot.
10234 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10236 (workAreaExpose): call resizeInsets when the with BufferView changes.
10237 (Dispatch): adjust for protectedBlank removal
10238 (specialChar): call updateInset if the insert went ok.
10240 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10241 specialChar instead.
10243 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10245 * BufferView.h: doxy change
10247 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10249 * lyxtextclass.C (operator[]): remove non-const version
10250 (defaultLayout): remove non-const version
10252 2002-03-12 Juergen Vigna <jug@sad.it>
10254 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10255 did resize the LyXText too.
10257 * buffer.C (readLyXformat2): set layout information on newly allocated
10260 * tabular.C (OldFormatRead): set layout information on the paragraph.
10262 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10264 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10266 2002-03-11 Juergen Vigna <jug@sad.it>
10268 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10270 (resizeCurrentBuffer): force also the insets to resize themselfes.
10271 (moveCursorUpdate): fixed up for InsetText.
10273 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10276 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10277 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10278 value of Dialogs::tooltipsEnabled().
10279 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10281 2002-03-08 Juergen Vigna <jug@sad.it>
10283 * BufferView_pimpl.C (updateInset): update inset inside inset also
10284 if it isn't inside theLockingInset().
10286 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10288 * buffer.C (asciiParagraph): redo some of the word and line length
10290 (getLists): look for Caption instead of caption.
10292 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * buffer.C (Buffer): initialize niceFile to true
10296 (makeLinuxDocFile):
10297 (makeDocBookFile): make sure niceFile is true on exit
10299 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10303 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10305 * LyXSendto.C: remove.
10306 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10307 * lyx_gui.C: remove now-redundant comment.
10308 * ColorHandler.h: remove forward declaration of class WorkArea.
10309 * lyxfunc.C: remove #include "WorkArea.h".
10311 2002-03-07 Juergen Vigna <jug@sad.it>
10313 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10314 got moved away with the DEPM and also set the inset_owner always
10315 right which before could have been omitted.
10317 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10320 wanted layout is not found.
10322 2002-03-07 Juergen Vigna <jug@sad.it>
10324 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10326 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * paragraph.C (breakParagraph): use default layout not layout of
10330 (Paragraph): clear ParagraphParameters.
10332 2002-03-06 Juergen Vigna <jug@sad.it>
10334 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10335 otherwise it would not be a valid lenght. Fixed a special case in
10336 the minipage compatibility read where we end the document with a
10339 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10340 was set as it could be 0 for InsetTexts first entry.
10342 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * paragraph.C (writeFile): if layout is empty write out
10345 defaultLayoutName().
10347 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10348 file without named layout we set layout to defaultLayoutName().
10350 2002-03-06 Juergen Vigna <jug@sad.it>
10352 * CutAndPaste.C (copySelection): set layout for new paragraph.
10354 * text.C (prepareToPrint): leave ERT inset left aligned
10355 (leftMargin): don't indent paragraphs inside ERT insets
10357 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10359 * paragraph.C (breakParagraph): dont call clear do the work manually
10361 * paragraph.[Ch] (clear): remove function
10363 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * paragraph.C (Paragraph): dont call clear, the work has already
10368 * lyxtextclass.C (operator): assert if n is empty
10370 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10371 work manually instead.
10373 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10375 * BufferView_pimpl.C: protect selectionLost against text == 0
10377 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * text.C (breakParagraph): fix a setting layout to '0' problem.
10381 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10383 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10384 final location of file, for the included files, and graphics.
10386 2002-03-05 Juergen Vigna <jug@sad.it>
10388 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10390 2002-03-04 Juergen Vigna <jug@sad.it>
10392 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10394 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10395 last column of multicolumn cells.
10396 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10398 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10400 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10401 file if it doesn't go to a temporary file.
10403 * buffer.C (sgmlOpenTag):
10404 (sgmlCloseTag): remove extra newline insertion.
10406 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * text.C (getRowNearY): comment out debug msg
10410 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * text2.C: first -> first_y
10414 * text.C (getRowNearY): add some attemts at a possible
10415 optimization, not working.
10417 * tabular.[Ch]: add BufferParams to several function so that newly
10418 created paragraph can be initialized to he default layotu for the
10421 * tabular-old.C (ReadOld): add buf->params to call of Init
10423 * screen.C: rename text->first to text->first_y
10425 * paragraph.C (breakParagraph): always set layout in the broken
10428 * lyxtextclass.C (Read): remove lowercase
10431 (delete_layout): ditto
10433 * lyxtext.h: rename first -> first_y
10435 * lyxlayout.C (Read): remove lowercase
10438 (obsoleted_by): ditto
10440 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10442 * buffer.C (insertErtContents): add params are to InsetERT
10443 (parseSingleLyXformat2Token): add code to check if a paragraphs
10444 layout really exist.
10445 (parseSingleLyXformat2Token): add params to several inset
10447 (asciiParagraph): remove lowercase, do the layout comparisons with
10450 * BufferView_pimpl.C (cursorNext): first -> first_y
10451 (resizeCurrentBuffer): first -> first_y
10452 (updateScrollbar): first -> first_y
10453 (scrollCB): first -> first_y
10454 (workAreaMotionNotify): first -> first_y
10455 (workAreaButtonPress): first -> first_y
10456 (checkInsetHit): first -> first_y
10457 (cursorPrevious): first -> first_y
10458 (cursorNext): first -> first_y
10459 (Dispatch): add buffer_->params to severl inset contructors
10461 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * lyxlayout.C (Read): remove some debug info that I forgot.
10465 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10466 clean up the code slightly.
10467 (makeLinuxDocFile): ditto
10468 (makeDocBookFile): ditto
10470 * text2.C: layout as string
10472 * text.C: layout as string
10474 * paragraph_pimpl.C: layout as string
10476 * paragraph.[Ch]: layout as string
10478 * lyxtextclasslist.[Ch]: layout as string
10480 * lyxtextclass.[Ch]: layout as string
10482 * lyxtext.h: layout as string
10484 * lyxlayout.[Ch]: layout as string
10486 * lyx_cb.C: layout as string
10488 * bufferview_funcs.C: layout as string
10490 * bufferparams.C: layout as string
10492 * buffer.C: layout as string
10494 * LyXView.[Ch]: layout as string
10496 * LaTeXFeatures.[Ch]: layout as string
10498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10500 * BufferView_pimpl.C: change current_layout to string, remove
10505 (workAreaButtonRelease): layout as string
10507 * BufferView2.C (unlockInset): adjust
10509 * vspace.C (asLatexCommand): use an explict temp variable.
10511 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10513 * Makefile.am: use FRONTEND_*
10515 2002-03-01 Juergen Vigna <jug@sad.it>
10517 * tabular.C (SetWidthOfMulticolCell): changed to something better
10518 I hope but still work in progress.
10519 (recalculateMulticolumnsOfColumn): renamed function from
10520 recalculateMulticolCells as it is more appropriate now.
10521 (SetWidthOfCell): calculate multicols better.
10523 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10527 * lyxfunc.C (processKeySym): print sequence also if it is
10528 `deleted' (complete)
10530 * kbsequence.C (print): print sequence even if it is deleted
10531 (complete would be a better word, actually).
10533 * lyxfunc.C (dispatch): print complete options after a prefix key
10535 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10537 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10539 * text2.C (setCharFont): eliminate setCharFont code duplication.
10541 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10544 LFUN_TABULAR_FEATURE (bug #177)
10546 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10548 * Makefile.am: remove figure.h
10550 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10552 * Bufferview_pimpl.C:
10564 * text2.C: remove #include "lyx_gui_misc.h".
10566 * LaTeX.C: added #include <cstdio>
10568 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10571 that the paragraph following this one can have.
10573 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10575 * vspace.C (asLatexCommand): fix bogus gcc warning
10577 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10579 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10581 * text2.C (setLayout): get rid of redundant code
10583 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10585 * text2.C (incDepth): make sure depth cannot be increased beyond
10588 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10590 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10591 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10593 * PainterBase.h (image):
10594 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10595 a LyXImage const *.
10597 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10601 * BufferView_pimpl.C:
10602 * BufferView_pimpl.h:
10622 * sp_spell.C: remove fig inset, and the crap house of
10623 cards that follows it
10625 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10630 * os2_errortable.h:
10631 * nt_defines.h: move .h into support/
10633 * vms_defines.h: remove
10635 * WorkArea.C: add space in debug output
10639 * buffer.C: add WITH_WARNINGS
10643 * bufferlist.C: s/retrive/retrieve/, add docs
10652 * chset.C: add docs
10654 * lyxgui.C: add ID to X error handler
10656 * lyxtestclass.c: fix typo
10658 2002-02-26 Juergen Vigna <jug@sad.it>
10660 * tabular_funcs.C (write_attribute): changed so that some default
10661 attributes are not written at all.
10662 (getTokenValue): set default values before trying to read the
10663 value so we have the return value always set as default if we don't
10664 find the token we search for.
10666 * tabular.C (Write): write bools as bools not as strings!
10668 2002-02-22 Juergen Vigna <jug@sad.it>
10670 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10671 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10673 * text.C (leftMargin): don't add an indent for paragraphs inside
10674 tabular cells (fix #208).
10676 2002-02-21 José Matos <jamatos@fep.up.pt>
10678 * tabular.C (docBook): fixed support for long tables.
10680 2002-02-20 Juergen Vigna <jug@sad.it>
10682 * text2.C (getFont): get the drawing font of the Inset if this
10683 paragraph is inside an inset (only important for InsetERT for now).
10685 * buffer.C (insertErtContents): use new lanugage params in ERT
10688 * CutAndPaste.C: commenting out seemingly uneeded code.
10690 2002-02-19 Allan Rae <rae@lyx.org>
10692 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10693 Iterators might be simple to use but they also get invalidated.
10694 (removeAutoInsets): renamed saved cursor tracking variables and added
10695 some comments to clarify what everything does.
10697 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10704 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10705 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10708 * vc-backend.h: remove #include "support/syscall.h"
10712 * converter.C: rearrange #includes in Lars' approved fashion.
10714 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10715 forward declare class Timeout in the header file.
10717 * XFormsView.C: changes due to the above.
10719 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10720 similar to LyXView.
10722 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10723 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10725 2002-02-18 José Matos <jamatos@fep.up.pt>
10727 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10730 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10732 * a lot of small ws changes
10733 * add a lot of using std::XXX
10734 * use std construcs some places where approp.
10735 * use some exisint stuff from lyxfunctional where approp.
10736 * Make file changes to use partial linking (lets test this now...)
10738 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10742 remove #include "support/syscontr.h" as it's redundant. Always has been.
10750 change Systemcalls::System to Systemcalls::Wait and
10751 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10752 No change of functionality, just reflects the stripped down Systemcalls
10755 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10757 * debug.[Ch]: add a GRAPHICS type to the enum.
10759 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10763 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10766 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10768 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10769 match the changes below.
10771 * text2.C (toggleInset): if there is not editable inset at cursor
10772 position, try to see if cursor is _inside_ a collapsable inset
10775 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10777 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10778 document menu has a nice checkbox
10780 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10782 * lyxlength.C (asLatexString): change PW to output as percent of
10785 * lengthcommon.C: change '%' to 't%'
10787 * lyxfunc.C (dispatch): a few comments from Martin
10789 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10793 * BufferView_pimpl.h:
10794 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10797 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10799 * vspace.C (inPixels): fix compiler warning
10801 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * lyxfunc.C (getStatus): fix status message for disabled commands.
10805 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10807 * BufferView_pimpl.C: fix crash on close buffer
10808 during selection (#227)
10810 2002-01-27 Herbert Voss <voss@lyx.org>
10812 * buffer.C: link old Figure to new graphic inset
10814 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10816 * FontLoader.C (getFontinfo): Change the latex font names in order
10817 to match the names of type1inst.
10819 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10823 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10824 (extchanged): ditto
10826 (remove_files_with_extension): ditto
10827 (remove_file): ditto
10830 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10831 document is smaller than the work area height. Do not initialize
10832 static variables to 0.
10834 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10838 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10839 LFUN_LAYOUT_PARAGRAPHS.
10841 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10842 tabular. It is possible to provide a possible cell, which will
10843 typically be the actcell from the corresponding insettabular
10845 * lyxfunc.C (getStatus): small cleanup; disable
10846 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10849 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10851 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10853 * paragraph.C (startTeXParParams):
10854 (endTeXParParams): new methods. The LaTeX code to
10855 start/end paragraph formatting
10856 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10857 empty (fixes bug #200)
10859 * vspace.C (inPixels): adapt to the change below
10860 (inPixels): [later] more cleanups (remove unused variables)
10862 * lyxlength.C (inPixels): change to use a width and a height as
10865 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10868 Replaced with \paperwidth
10870 * DepTable.C (insert): add std:: qualifier
10872 2002-01-18 Allan Rae <rae@lyx.org>
10874 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10877 * text.C (drawInset): Turned out I didn't know enough about how
10878 rebreaking worked. This fixes most of the redraw problems. I see
10879 an occasional cursor trail when a line is broken now and the cursor
10880 placement can seem out by a few pixels also after a rebreak.
10882 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10884 * buffer.C (parseSingleLyXformat2Token): update because minipage
10885 width is now a LyXLength
10887 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10889 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10892 2002-01-17 Juergen Vigna <jug@sad.it>
10894 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10896 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10897 is set correctly and the inset is updated correctly.
10899 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10902 the beginning of the loop.
10904 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10906 * lyxrc.C: improve help for use_scalable_fonts
10908 2002-01-17 Allan Rae <rae@lyx.org>
10910 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10912 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10915 make sure to set their inset_owner to the right value (bug #171)
10917 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10920 * DepTable.C: Implement mtime checking to reduce time spent doing
10923 2002-01-16 Juergen Vigna <jug@sad.it>
10925 * tabular.C (GetAdditionalHeight): one of error fixed.
10927 * lyxrc.C (output): small fix in writing use_pspell.
10929 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10931 * sp_base.h: #include LString.h
10933 2002-01-16 Allan Rae <rae@lyx.org>
10935 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10936 Can someone check this please?
10938 * text.C (drawInset): It was possible that p.row would be removed by
10939 breakAgainOneRow upsetting a few other settings. There may be another
10940 small tweak possible by setting need_break_row = 0 when p.row has been
10941 removed but I don't know enough about the logic here.
10943 2002-01-15 Allan Rae <rae@lyx.org>
10945 * text.C (insertChar): removed conditional truism.
10947 * BufferView2.C (removeAutoInsets): More tweaks.
10948 cur_par_prev could be a stray pointer. Check for trailing empty line
10949 in case last line was cur_par and only had an error inset on it.
10951 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10953 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10956 * vc-backend.C (most methods):
10957 * exporter.C (Export):
10958 * converter.C (convert):
10960 * LyXSendto.C (SendtoApplyCB):
10961 * lyxfunc.C (dispatch):
10965 * lyx_cb.C (AutoSave):
10967 * BufferView_pimpl.C (MenuInsertLyXFile):
10968 * buffer.C (runChktex): use Buffer::filePath().
10970 * buffer.h: rename filename to filename_; rename filepath to
10971 filepath_ and make it private
10972 (filePath): new method
10974 * buffer.C (writeFile): use fileName()
10977 * lyx_main.C (init): fix starting of LyX when the binary is a
10978 link from so,ewhere else.
10980 * minibuffer.C: include <cctype> for isprint
10982 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10984 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10985 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10986 name clash with InsetCollapsable's width function.
10988 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * lastfiles.C: include <iterator>
10992 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10994 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10997 * buffer.C (makeLaTeXFile): ditto.
10998 Also make loop operation more transparent.
11000 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11002 * ToolbarDefaults.C: remove trailing comma closing namespace.
11004 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11006 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11009 * trans.C (Load): comment out unused variable, allowed.
11011 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11013 * minibuffer.[Ch] (append_char): new method to recieve input from the
11014 drop-down completion browser. If a key was pressed, then recieve this
11015 char and append it to the existing string.
11016 (peek_event): modify the positioning data passed to the completion
11017 browser so that it can be placed above the minibuffer rather than below.
11018 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * LyXAction.C (init): alloe error-next for readonly documents.
11022 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11025 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * bufferlist.C (readFile): create the buffer _after_ checking that
11030 * lyxfunc.C (verboseDispatch): fix handling of arguments
11032 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11034 * lyxrc.C: use string::erase() instead of initializing to "".
11037 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.h:
11040 * BufferView_pimpl.C:
11043 * text2.C: tell X when we have made a selection for copying
11045 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11047 * BufferView_pimpl.C (MenuInsertLyXFile):
11048 * lyxfunc.C (menuNew):
11050 (doImport): add shortcuts to directory buttons
11052 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11055 * lyxfunc.C (setStatusMessage):
11056 (getStatusMessage): new methods
11057 (getStatus):use setStatusMessage instead of setErrorMessage
11058 (dispatch): when function is disabled, set error message here
11059 [instead of in getStatus previously]
11061 * BufferView_pimpl.C (workAreaButtonRelease): update
11062 toolbar/menubar here too.
11064 2002-01-13 Allan Rae <rae@lyx.org>
11066 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11067 Now seems indestructible. Remaining task is to audit all other
11068 code affected by deleteEmptyParagraphMechanism. One small quirk
11069 left is that an empty document with an error in the preamble can
11070 be made to report an error but no error box appears. I don't know
11072 (removeAutoInsets): Improved comments.
11074 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11077 * Thesaurus.C: update for Aiksaurus 0.14
11079 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * text2.C (firstParagraph): removed member function, all uses
11082 replaces with ownerParagraph
11083 (redoParagraphs): here
11084 (updateInset): here
11085 (toggleAppendix): here
11086 * BufferView2.C (insertErrors): here
11087 (setCursorFromRow): here
11089 2002-01-13 Allan Rae <rae@lyx.org>
11091 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11092 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11093 There is still a way to segfault this although you may have to do this
11094 multiple times: Have an InsetERT with an unknown command in it.
11095 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11096 <down-arrow>, <Enter> again, View->DVI, BANG!
11098 * text2.C (setCursor):
11099 (deleteEmptyParagraphMechanism):
11100 * lyxtext.h (setCursor):
11101 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11102 Making use of the return value may help fix other bugs.
11104 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11108 * LyXView.C (updateMenubar): call MenuBar::update here
11109 (updateToolbar): but not here
11110 (showState): do not update toolbar/menubar
11112 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11113 should need to care about that.
11115 * lyxfunc.C (verboseDispatch): simplify a bit
11116 (getStatus): have a version which takes a pseudoaction, and
11117 another which requires a (kb_action,string).
11119 * LyXAction.C (retrieveActionArg): make it work also when action
11120 is not a pseudo-action.
11121 (getActionName): simplify a bit
11124 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11126 * lyxfunc.C (verboseDispatch): new families of methods with
11127 several ways to specify a command and a bool to indicate whether
11128 the command name and shortcut should be displayed in minibuffer
11129 (eventually, we could extend that to a finer bitmask like
11130 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11131 (dispatch): the pristine dispatch command which just, well,
11132 dispatchs! Note it still sets its result to minibuffer; I'm not
11135 * lyxfunc.h: remove setHintMessage
11137 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11139 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * BufferView_pimpl.C (specialChar): delete new inset if we have
11142 not been able to insert it.
11144 * kbmap.C: revert to using int instead of kb_action, since all we
11145 are dealing with is pseudo-actions.
11147 * LyXAction.C (searchActionArg): change to return int instead of
11148 kb_action, since the result is a pseudoaction.
11150 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11152 * buffer.C (insertErtContents): Fix (partially) the font bug.
11154 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11156 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11157 as the other one is broken on my machine!
11159 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11162 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11164 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11166 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11167 reflect their actual use. Provide compatibility code for older lyxrc
11170 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11172 change names of popup font variables in line with the changes to lyxrc.C
11174 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * buffer.C (asciiParagraph): avoid outputing a word twice after
11179 * lyxrc.C (getDescription): document that document_path and
11180 template_path can be empty.
11182 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * LaTeXFeatures.C (getMacros):
11185 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11187 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11189 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11191 (getPackages): rename feature "floats" to "float". Use an array to
11192 iterate over 'simple' features (i.e. just a \usepackage). Add
11193 handling of "amsmath" (renamed from "amsstyle").
11195 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11197 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11200 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11202 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11203 FuncStaus::FuncStatus & FuncStaus::some_method().
11205 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11207 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11208 of the func_satus stuff. Edited and massaged in various ways by
11211 * lyxfunc.C (getStatus): use FuncStatus
11213 2002-01-08 Juergen Vigna <jug@sad.it>
11215 * text.C (nextBreakPoint): use function Inset::isChar().
11217 * paragraph.C (TeXOnePar): use function
11218 Inset::forceDefaultParagraphs.
11220 * buffer.C (latexParagraphs): use function
11221 Inset::forceDefaultParagraphs.
11223 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11225 * lyx_gui.C (init): set the style of the menu popups to
11226 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11228 2002-01-07 Juergen Vigna <jug@sad.it>
11230 * text.C (setHeightOfRow): small fix
11231 (prepareToPrint): don't look at alignment if we don't have the place
11234 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11236 * box.C: New file. Move the Box methods and functions out of box.h,
11237 following Lars' suggestion.
11239 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11241 * box.h: #include "support/LOstream.h", needed for inlined function.
11244 * lyxtextclasslist.C: added some using std declarations.
11246 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11248 * box.h: make signed dimensions to allow insets wider than
11249 the screen (bug #162)
11251 * BufferView_pimpl.C: add some insetHit debug
11253 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11255 * vc-backend.C: add FIXME
11257 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * lyxfunc.C (getStatus): enable code for showing math font status
11262 2002-01-07 Juergen Vigna <jug@sad.it>
11264 * text.C (nextBreakPoint): removed debug output not needed anymore.
11266 2002-01-06 Juergen Vigna <jug@sad.it>
11268 * text.C (nextBreakPoint): fixed up this function we had this bug
11269 since ever but now hopefully we break row better.
11270 (insertChar): we have to check if an inset is the next char as it
11271 could now happen that a large inset is causing a break.
11273 2002-01-05 Juergen Vigna <jug@sad.it>
11275 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11276 if it doesn't like to be drawed.
11278 2002-01-04 Juergen Vigna <jug@sad.it>
11280 * BufferView2.C (lockInset): forgot to set a cursor.
11282 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11284 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11286 * FormMathsPanel.C:
11289 * form_maths_panel.C:
11290 * form_maths_panel.h:
11291 * form_maths_panel.fd: implemented sub- and super- buttons in math
11294 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11295 (or ^ space) to be used as in TeX (req'd by André).
11297 * lyxfunc.C: Allow ^ and _ again to be used both as
11298 super/subscript (mathed) and as themselves (in text).
11300 2002-01-03 Allan Rae <rae@lyx.org>
11302 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11303 "LyX" or the filename of the current buffer if it has one. This is a
11304 modified form of John Levon's patch.
11306 * XFormsView.C (setWindowTitle): also set icon title.
11308 * LyXView.h (setWindowTitle): signature changed.
11309 * XFormsView.h (setWindowTitle): ditto.
11311 2002-01-02 Juergen Vigna <jug@sad.it>
11313 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11315 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * screen.C (topCursorVisible): introduce a temp var for
11318 text->cursor.row(), handle the case where this row is null. (kindo
11321 * text2.C (setCursor): add a couple of asserts.
11323 * paragraph.h (inset_iterator): add -> operator
11325 * paragraph.[Ch] (autoDeleteInsets): remove member function
11327 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11328 cursor pos correctly and handle inset deletion by itself.
11329 (insertErrors): move iterator declaration out of for expression
11331 * lyxtextclass.C: add <algorithm>
11333 * Makefile.am: added the new files to sources, removed layout.C
11335 * layout.C: removed file
11337 * layout.h: remove LYX_DUMMY_LAYOUT
11339 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11343 * lyxtextclass.[Ch]:
11344 * lyxtextclasslist.[Ch]: new files
11346 * include order changes to a lot of files, also changes because of
11349 2001-12-27 Juergen Vigna <jug@sad.it>
11351 * buffer.C (asciiParagraph): more fixes.
11353 * tabular.C (ascii): make ascii export support export of only the
11354 data separated by a column-delimiter.
11355 (ascii): better support for ascii export.
11357 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11359 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11361 * tabular_funcs.C: use a "using std::getline" instead of the
11362 previous fix from Angus (necessary for cxx + lyxstring)
11364 2001-12-24 Juergen Vigna <jug@sad.it>
11366 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11368 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11369 problems. First check a minipage also if we have some ert-contents
11370 (not only on par->size(), second set the right depth of the paragraph
11371 on the relink to the root-paragraph-list!
11373 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11374 which then did not anymore update the main paragraphs on undo/redo!
11376 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11378 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11379 code. Support all font-changing funcs (even those which are not in
11380 menu currently). Support for reporting font settings in
11381 mathed (disabled until Andre provides a function on mathed's side).
11383 * func_status.h (toggle): small helper function to set toggle
11386 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11388 * tabular_funcs.C: getline -> std::getline
11390 2001-12-21 Juergen Vigna <jug@sad.it>
11392 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11393 accessed and could be 0 (I couldn't generate this but it seems
11396 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11399 * tabular_funcs.h: here and include iosfwd
11401 2001-12-20 Juergen Vigna <jug@sad.it>
11403 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11404 inside inset but undo_par was.
11406 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * Thesaurus.C: always include <config.h> in sources.
11412 * box.h: do not include <config.h> in header files
11414 * text.C (paintLastRow): remove unused variable
11416 * text.C (transformChar):
11418 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11420 * Painter.C (text):
11421 * font.C (width): rewrite to use uppercase() instead of
11424 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11426 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11428 * lyxfind.C: clean up of find failure position change
11430 2001-12-20 Juergen Vigna <jug@sad.it>
11432 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11434 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11435 (TeXRow): added to LaTeX a single tabular row.
11436 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11437 (Latex): simplified and finally good LT-h/f support.
11438 (various_functions): just small adaptions for LT-h/f support.
11440 * tabular_funcs.[hC]: added and moved here all not classfunctions
11443 2001-12-19 Juergen Vigna <jug@sad.it>
11445 * tabular.[Ch]: better support for longtabular options (not finished
11448 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * text.C (paintLastRow): use the label font instead of the font of
11451 the last character to compute the size of *_BOX. This makes more
11452 sense and avoids a crash with empty paragraphs.
11453 Use Painter::rectangle to draw EMPTY_BOX.
11455 2001-12-19 Juergen Vigna <jug@sad.it>
11457 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11458 the paragraphs if the replaced paragraph is not the first one!
11459 Tried to delete not used paragraphs but does not work yet so for
11460 now it's inside #ifdef's and by default off!
11462 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * MenuBackend.C: include "lyx_main.h" instead of declaring
11465 lastfiles (actually was declared as LastFiles* instead of a
11468 2001-12-17 Juergen Vigna <jug@sad.it>
11470 * tabular.C (AppendColumn): applied John's fix
11472 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11476 * BufferView_pimpl.h:
11477 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11480 * box.h: new start of class for above
11482 * lyxfunc.C: ignore space-only minibuffer dispatches.
11483 Show the command name when it doesn't exist
11485 * minibuffer.C: don't add empty lines to the history
11487 * minibuffer.C: add a space on dropdown completion
11489 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11491 * text.C: fix line above/below drawing in insets
11493 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * lyxlength.C (LyXLength): Initialize private variables.
11497 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11499 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11500 when inserting error insets.
11502 2001-12-13 Juergen Vigna <jug@sad.it>
11504 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11505 actually sometimes the before-paragraph.
11506 (setUndo): don't clear the redostack if we're not actually undoing!
11508 2001-12-06 Juergen Vigna <jug@sad.it>
11510 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11511 and fixed redoing of main paragraph, so we can use it now ;)
11513 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11515 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11517 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11520 2001-12-13 André Pönitz <poenitz@gmx.net>
11523 * undo_func.C: minor cleanup
11525 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11527 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11528 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11529 font in urw-fonts package which is marked as -urw-fontspecific and
11530 does not work (incidentally, changing the encoding in the
11531 fonts.dir of this package to -adobe-fontspecific fixes the
11534 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11535 is a crash when undoing first paragraph (Juergen, please take a
11536 look). THis does not mean the undo fix is wrong, just that it
11539 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11540 the (Paragraph*) version when needed instead of duplicating the
11543 * text.C (workWidth): use Inset::parOwner to find out where the
11544 inset has been inserted. This is a huge performance gain for large
11545 documents with lots of insets. If Inset::parOwner is not set, fall
11546 back on the brute force method
11548 * paragraph_pimpl.C (insertInset):
11549 * paragraph.C (Paragraph):
11550 (cutIntoMinibuffer): set parOwner of insets when
11551 inserting/removing them
11553 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11555 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11561 * mathed/formulabase.C:
11562 * mathed/math_cursor.[Ch]:
11563 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11566 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * lyxlength.[Ch] (operator!=): new function
11570 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * text.C (workWidth): use Inset::parOwner to find out where the
11573 inset has been inserted. This is a huge performance gain for large
11574 documents with lots of insets. If Inset::parOwner is not set, fall
11575 back on the brute force method
11577 * paragraph_pimpl.C (insertInset):
11578 * paragraph.C (Paragraph):
11579 (cutIntoMinibuffer): set parOwner of insets when
11580 inserting/removing them
11582 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11584 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11586 * tabular-old.C (getTokenValue):
11587 * tabular.C (getTokenValue):
11588 (write_attribute): new versions for LyXLength
11589 (everywhere): adjust the use of widths
11591 * tabular.h: change the type of widths from string to LyXLength
11593 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11595 * paragraph.C: fixed missing line number count when exporting
11596 Environments to LaTeX file
11598 * buffer.C: added informational message for checking line numbers.
11600 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11602 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11603 paragraph, do the 'double space' part, but not the 'empty
11606 * text.C (workWidth): small optimization
11607 (getLengthMarkerHeight): use minimal size for negative lengths.
11609 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11611 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11613 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11615 2001-12-11 André Pönitz <poenitz@gmx.net>
11618 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11620 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11622 * text2.C: keep selection on a setFont()
11624 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11626 * lyx_cb.C: another bv->text misuse, from insert label
11628 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11631 * kbsequence.C: re-instate nmodifier mask
11633 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11635 * lyx_main.h: make lyxGUI private.
11637 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11639 * lyxfind.C: place the cursor correctly on failed search
11641 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11643 * text.C (getLengthMarkerHeight): for small heights, the arrows
11644 are not always on top/bottom of the text
11645 (drawLengthMarker): smaller arrows; take the left margin in
11646 account; draw also vfills.
11648 (paintLastRow): remove special code for vfill and standard spaces,
11649 since everything is handled in drawLengthMarker now.
11651 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * buffer.C (insertErtContents): try to handle font and language
11654 interaction a bit better.g
11656 * ColorHandler.C (updateColor): change the hash to cover the whole
11657 LColor enum, ws cleanup
11658 (getGCLinepars): ditto
11659 (getGCLinepars): only lookup in the linecache once.
11661 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11663 * iterators.C (operator++): Make the iterator more robust
11665 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11672 * text.C: better added space drawing
11674 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView2.C: fix layout combo update on inset unlock
11679 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11681 * Makefile.am: don't compile unused files
11683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11687 * LyXAction.C: remove old LFUN_LAYOUTNO
11689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11691 * paragraph_pimpl.h:
11692 * paragraph_pimpl.C: isTextAt() doesn't need font param
11694 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11697 * lyxlex.C: little cleanup
11699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView_pimpl.C: fix insertAscii for insets
11703 2001-12-05 Juergen Vigna <jug@sad.it>
11705 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11706 set the right font on the "multi" paragraph paste!
11708 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * lyxlength.C: remove out-commented code.
11716 * BufferView_pimpl:
11730 * vc-backend.C: change "while(" to "while ("
11732 * lyxlength.[Ch]: add zero function to check if length is zero or
11734 * lyxgluelength.C: use it
11736 2001-12-05 Allan Rae <rae@lyx.org>
11738 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11739 Works for 2.95.3, from what I understand of Garst's reports this should
11740 work for other g++ versions. We're screwed if the abs(int) definition
11741 changed between bugfix releases of gcc.
11743 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11745 * text.C: fix chapter label offset !
11747 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11750 * text.C: fix hfill at end of line, clean up
11752 2001-12-04 Juergen Vigna <jug@sad.it>
11754 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11755 that we force an update of the inset and it's owners if neccessary.
11757 2001-12-03 Juergen Vigna <jug@sad.it>
11759 * text.C (rowLast): simplified code
11761 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11763 * lyxfunc.C: fix show options on timeout
11765 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11767 * screen.C (topCursorVisible): scroll half a page when the cursor
11768 reached top of bottom of screen
11770 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11772 * minibuffer.C: deactivate on loss of focus
11774 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * vspace.[Ch] (operator!=): add operator.
11778 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11780 * BufferView_pimpl.C: refuse to open an inset when
11781 there's a selection.
11783 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11785 * BufferView_pimpl.C: allow to click on RHS of full row insets
11787 2001-11-30 Juergen Vigna <jug@sad.it>
11789 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11790 insets for undo reasons.
11792 2001-11-28 André Pönitz <poenitz@gmx.net>
11794 * vspace.[Ch]: cosmetical changes
11796 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11806 * kbsequence.C: part re-write of old kb code
11809 * WorkArea.C: remove Lgb_bug_find_hack
11811 2001-11-30 José Matos <jamatos@fep.up.pt>
11813 * buffer.C (makeDocBookFile): add a comment to point a hack.
11814 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11815 Fixed a double write of labels.
11817 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11820 * LaTeX.h Fixed bug in LaTeX class where it would not
11821 re-run latex if no depfiles were changed, but the .dvi was removed.
11823 2001-11-28 André Pönitz <poenitz@gmx.net>
11825 * all the files from the change on 2001/11/26:
11826 use lyx::layout_type instead of LyXTextClass::size_type
11827 use lyx::textclass_type instead of LyXTextClassList::size_type
11829 2001-11-29 Juergen Vigna <jug@sad.it>
11831 * text.C: added support for paragraph::isFreeSpacing()
11833 * buffer.C: same as above
11835 * paragraph.h: inserted isFreeSpacing() function to enable
11836 FreeSpacing inside InsetERT.
11838 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11839 of the paragraph's in the cut/copy buffer to 0!
11841 * text2.C (removeRow): remove the assert as it can!
11843 * lyxtext.h: added helper function firstRow returning firstrow and
11844 made firstrow private again.
11846 * BufferView2.C (lockInset): don't relock if we're already locked!
11848 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11849 the only paragraph.
11850 (removeRow): added Assert::(firstrow)
11852 * debug.C: forgot to add INSETTEXT here.
11854 2001-11-28 Juergen Vigna <jug@sad.it>
11856 * sp_spell.C (initialize): changed error text to more general
11857 spellchecker command use (not only ispell!)
11859 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11861 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11863 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11865 * vspace.C: initialise lyxgluelength on failure
11867 2001-11-28 Allan Rae <rae@lyx.org>
11869 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11870 declaration & definition that looks like a function declaration.
11872 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * BufferView2.C (copy):
11875 (copyEnvironment): do not clear the selection when doing a copy.
11877 * text.C (paintFirstRow): compilation fix
11879 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11881 * tabular.C (Latex): correct line count when writing latex.
11883 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11885 * paragraph_pimpl.h:
11886 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11889 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11893 * LColor.C: change vfillline->added_space
11895 * text.C: add markers and text for added space
11897 * vspace.C: fix comment
11899 2001-11-28 André Pönitz <poenitz@gmx.net>
11901 * paragraph.C: whitespace changes
11902 * all the other files from the change on 2001/11/26:
11903 change *::pos_type into lyx::pos_type
11905 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11907 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11908 language of the document when inserting error insets.
11910 2001-11-26 André Pönitz <poenitz@gmx.net>
11912 * BufferView_pimpl.[Ch]:
11920 * paragraph_pimpl.[Ch]:
11923 * text2.C: reduce header dependencies, introduce type for positions
11925 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11927 * <various>: change to use Alert.h
11929 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11931 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11932 when encountering an unknown token.
11933 (readLyXformat2): Show an error message if there were unknown tokens.
11935 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11938 * BufferView_pimpl.C:
11942 * text2.C: use par->isInset()
11944 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11946 * paragraph_pimpl.h:
11947 * paragraph_pimpl.C: cleanup
11949 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11951 * text2.C (removeRow):
11952 * text.C (setHeightOfRow): remove useless (and costly) call to
11955 2001-11-20 Allan Rae <rae@lyx.org>
11957 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11958 Now need Inset*::checkInsertChar() to return true for appropriate
11959 cases so that the characters in the minibuffer will actually be
11962 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * text.C: change the order of the includes.
11965 (workWidth): initialize it at once.
11966 (workWidth): make maxw unsigned
11967 (setHeightOfRow): remove unused variable (inset)
11968 (selectSelectedWord): remove unused variable (inset)
11969 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11971 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11973 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11974 server is not running.
11976 (closeConnection): add debug info when server is disabled.
11978 * ColorHandler.C (getGCForeground): send debug message to GUI
11981 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11983 * kbmap.C (bind): modify because return conventions of
11984 kb_sequence::parse have changed.
11986 * kbsequence.C (parse): only ignore spaces and not any stupid
11987 control character. This avoids tests like s[i] <= ' ', which are
11988 guaranteed to fail with 8bit characters and signed chars.
11989 Change return code to string::npos when there have been no error
11990 (0 was a bad idea when error is at first character)
11992 2001-11-14 José Matos <jamatos@fep.up.pt>
11995 * buffer.C (simpleDocBookOnePar): removed unused argument.
11997 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11999 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12000 insets which are part of a word. Paragraph::isLetter takes care of
12001 that now. Use Paragraph::isInset to identify insets.
12002 (selectSelectedWord): do not test for hyphenation break.
12004 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12005 that protected spaces are considered as spaces.
12007 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12010 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12013 * lyxserver.C: fix it. and small cleanup.
12015 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12017 * BufferView_pimpl.C: use inline helpers
12020 * LaTeXFeatures.C: fix typos
12023 * Spacing.C: move spacing_string into class
12025 * ToolbarDefaults.C: move stuff into namespace anon
12027 * layout.h: update enum
12029 * lyxfunc.C: use better debug
12031 * minibuffer.h: fix typo
12035 * WorkArea.C: add and use Debug::WORKAREA
12039 * text2.C: code re-organisation, inline helpers
12041 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12043 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12044 std::vector.empty().
12046 2001-11-09 Allan Rae <rae@lyx.org>
12048 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12049 '\n's after tables. Tabular and ERT inset work now makes this no
12052 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12055 * minibuffer.C: fix crash, improve drop-down completion
12057 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12060 * lyxserver.C: invalidate fd's when doing endPipe()
12062 2001-11-08 José Matos <jamatos@fep.up.pt>
12064 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12065 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12068 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12070 2001-11-07 José Matos <jamatos@fep.up.pt>
12073 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12076 * buffer.C (sgmlOpenTag):
12077 * buffer.C (sgmlCloseTag): removed debug info.
12079 * buffer.h (sgmlOpenTag):
12080 * buffer.h (sgmlCloseTag): made public.
12082 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12084 * buffer.C (saveParamsAsDefaults):
12085 * lyx_cb.C (MenuLayoutSave): remove
12087 * LyXAction.C (init):
12089 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12091 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * buffer.C (setPaperStuff): removed from here...
12095 * bufferparams.C (setPaperStuff): ... and moved there.
12097 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12101 * XFormsView.C: add support for drop-down completion
12103 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12105 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12108 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12110 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12113 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12115 * lyx_main.C: change ref to known bugs
12117 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12119 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12120 to work around older babel problems.
12122 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12124 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12126 2001-10-24 Juergen Vigna <jug@sad.it>
12128 * tabular-old.C (ReadOld): below variable changes reflected.
12130 * tabular.[Ch]: added ltType struct for longtable header/footer
12131 defines and changed all instances where they are used. Added
12132 future support for double top/bottom rows.
12134 2001-10-24 José Matos <jamatos@fep.up.pt>
12136 * buffer.h (docbookHandleCaption):
12137 * buffer.C (docbookHandleCaption): removed unused function.
12138 (makeDocBookFile): moved docbook supported version to v4.1.
12140 2001-10-24 José Matos <jamatos@fep.up.pt>
12143 * tabular.C (docbookRow): new function to export docbook code of a row.
12144 (DocBook): now honors the longtable flags.
12146 2001-10-23 José Matos <jamatos@fep.up.pt>
12149 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12150 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12152 * buffer.C (makeLinuxDocFile):
12153 (makeDocBookFile): reworked the preamble, more clean, and with
12154 support for lyx defined entities. Changed the document declaration
12155 to be more XML friendly.
12157 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12158 if we need to output XML that should be done with a filter.
12160 2001-10-22 Juergen Vigna <jug@sad.it>
12162 * sp_pspell.h (class PSpell): add alive function needed in the
12163 controller to see if the spellchecker could be started.
12165 2001-10-22 Juergen Vigna <jug@sad.it>
12167 * buffer.C (insertStringAsLines): modify the font for inserting
12168 chars in certain conditions by calling checkInsertChar(font).
12170 2001-10-19 Juergen Vigna <jug@sad.it>
12172 * text.C (workWidth): use getRow instead of wrong algorithm.
12173 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12175 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12180 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12182 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * text.C (workWidth): do not search for the exact row when
12185 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12186 optimization for big documents.
12188 2001-10-18 Juergen Vigna <jug@sad.it>
12190 * text.C (workWidth): new function with added Inset * parameter.
12192 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12194 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12196 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12197 change return type of getColumnNearX.
12200 * text.C (changeRegionCase): use uppercase/lowercase instead of
12203 (rightMargin): simplify code by factoring out the uses of
12208 (appendParagraph): use Paragraph::size_type
12210 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * vspace.C (asLatexString): add a missing break
12214 2001-10-15 Herbert Voss <voss@perce.de>
12216 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12218 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12223 2001-10-10 André Pönitz <poenitz@gmx.net>
12225 * lyxfunc.C: removed greek_kb_flag.
12227 2001-10-10 Herbert Voss <voss@perce.de>
12229 * lyx_main.C: delete global string help_lyxdir.
12231 2001-10-09 Herbert Voss <voss@perce.de>
12233 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12235 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12237 * lyx_main.C: added global string help_lyxdir.
12239 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12241 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12243 * lyxrc.C (set_font_norm_type): support iso8859-4
12245 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12247 * LaTeX.C (deplog): add another regex for MikTeX
12249 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12251 * lyxrc.C (set_font_norm_type): support iso8859-3
12253 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12255 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12257 * LaTeXFeatures.C: remove special case of french and index
12259 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12260 before \begin{document}). This solves several incompatibilities.
12262 2001-10-03 Garst Reese <reese@isn.net>
12264 * lyx_cb.C: change CheckTex error msg.
12266 2001-10-03 José Matos <jamatos@fep.up.pt>
12268 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12270 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * .cvsignore: update
12274 * lyx_main.C (commandLineVersionInfo): use new style version info.
12276 * buffer.C (writeFile):
12278 (makeLinuxDocFile):
12279 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12281 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12283 * version.h: update to use stuff in version.C
12285 * version.C.in: new file. Contains version information determined
12286 at compile time. This is a merging of version.h and
12289 2001-10-03 Juergen Vigna <jug@sad.it>
12291 * BufferView_pimpl.C (update): don't change "dirty" status in
12294 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12296 * WorkArea.C (c-tor): re-position version string slightly.
12298 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12300 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12301 revert to previous code.
12303 WorkArea.[Ch]: (show, destroySplash): methods removed.
12305 WorkArea.C: rework code so that it's an amalgam of the codes before and
12306 after the splash screen was moved to WorkArea.
12308 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12311 * vspace.C (inPixels):
12314 * buffer.C (insertStringAsLines):
12315 (asciiParagraph): fix types to be large enough
12317 * lyxlex_pimpl.h: change member status from short to int
12319 * layout.h: fix type of endlabeltype
12322 * kbsequence.C (parse): change return type to string::size_type
12324 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12327 * Bullet.C (bulletSize):
12328 (bulletEntry): do not use short ints as parameters
12330 * BufferView2.C (insertLyXFile): change a char to an int.
12332 * WorkArea.C (WorkArea): remove unneeded floats in computation
12334 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12336 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12338 * paragraph.C (asString): Do not ignore newline/hfill chars when
12339 copying to the clipboard.
12341 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12343 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12344 after a multi-line inset.
12346 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12348 * paragraph.C (validate): Set NeedLyXFootnoteCode
12350 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12352 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12353 and decrease-error to decrease.
12355 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12358 it more readable (should be equivalent)
12360 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12362 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12364 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12366 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12367 of a cursor (row, etc.) after a character has been deleted
12368 (deleteEmptyParagraphMechanism): call the method above on _all_
12369 cursors held by the LyXText when a double space has been
12372 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12374 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12376 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12378 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12379 background. Use greyOut() and the new show() methods to toggle between
12380 the foreground and background. Add code to remove the splash after
12381 its initial showing.
12383 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12384 (create_forms): no longer call Dialogs::showSplash.
12386 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * .cvsignore: add version_info.h
12390 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12392 * version_info.h.in: new file
12394 * Makefile.am: add version_info.h.in
12396 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12397 version_info.h instead of VERSION_INFO
12399 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12401 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12402 The ERT inset now returns string().
12404 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12406 * lyxtext.h, text.C (selectNextWord): renamed as
12407 selectNextWordToSpellcheck.
12409 * text.C (selectNextWordToSpellcheck): Modified to not select
12410 words inside an ERT inset.
12412 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12414 * lyx_cb.C (MenuLayoutSave): change a bit the question
12416 * sp_base.h: include <sys/types.h>
12418 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12420 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12422 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12424 * several files: fix typos in user-visible strings
12426 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12428 * text2.C (pasteSelection): do not set the selection, since it
12429 will be cleared later. Actually, the intent was to fix the way the
12430 selection was set, but I figured rmoving the code was just as good.
12432 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12434 * FontLoader.C (available): Check if font is available without
12437 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12439 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12441 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12443 * lyxrc.[Ch]: added display_graphics variable and associated code.
12445 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * bufferparams.C (hasClassDefaults): new method. Returns true if
12448 the buffer parameters correspond to known class defaults
12450 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12452 * XFormsView.C (show): set minimum size to the main window.
12454 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * text2.C (copySelection):
12458 * lyxfind.C (LyXReplace):
12459 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12460 LyXText::selectionAsString.
12462 * paragraph.C (asString): add "label" argument to the second form
12464 * text2.C (selectionAsString): add "label" argument and pass it to
12465 Paragraph::asString.
12467 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12469 * lyx_main.C (commandLineHelp): remove version information
12471 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12473 * lyx_main.C: add -version commandline option
12475 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * paragraph.h: make the optional constructor arg required instead.
12478 some modifications to other files because of this.
12480 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12482 * lyxserver.C (C_LyXComm_callback): make it static
12484 * lyx_main.C (error_handler): make it static
12486 * lyx_gui.C (LyX_XErrHandler): make it static
12488 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12490 * WorkArea.C: make the extern "C" methods static.
12492 * Makefile.am (lyx_LDADD): simplify
12494 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12496 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12497 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12499 * LyXAction.C (init):
12500 * lyxfunc.C (dispatch): associated code removal.
12502 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * lyxfont.h (isSymbolFont): shut off warning
12506 * text.C (setHeightOfRow):
12507 (getVisibleRow): fix crash with empty paragraphs which have a
12510 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12512 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12515 2001-09-04 José Matos <jamatos@fep.up.pt>
12518 * tabular.C (docbook): rename docBook method to docbook.
12520 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12522 * Makefile.am: add dependencies to main.o.
12524 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12526 * FontLoader.C (available): Return false if !lyxrc.use_gui
12528 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12530 * FontInfo.C (query):
12531 * converter.C (view):
12532 * importer.C (Import):
12533 * exporter.C (Export): Can not -> cannot.
12535 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12537 * BufferView_pimpl.C: allow to create index inset even if
12540 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12542 * buffer.C (getLists): replace boost::tie code with an explicit pair
12543 as boost::tie can break some compilers.
12545 * iterators.h: Added a std:: declaration to the return type of
12548 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12550 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12553 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12555 * iterators.[Ch]: New files. Provide paragraph iterators.
12557 * buffer.C (changeLanguage): Use paragraph iterators.
12558 (isMultiLingual): ditto
12560 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12562 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12564 * FontLoader.C: Support for cmr font.
12566 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12568 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12569 (available): New method.
12571 * FontInfo.C (getFontname): Use scalable fonts even when
12572 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12575 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12577 * converter.C (Formats::view): reverted! Incorrect fix.
12579 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12581 * converter.C (Formats::view): only output the -paper option
12582 if the dvi viewer is xdvi, thereby fixing bug #233429.
12584 2001-08-23 Herbert Voss <voss@perce>
12586 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12588 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12590 * Spacing.h (Spacing): Set space to Default on in the default
12593 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * vc-backend.h (RCS::versionString): add RCS to version
12596 (CVS::versionString): add CVS to version
12598 * vc-backend.C (scanMaster): do not add CVS to version.
12599 (scanMaster): do not add RCS to version
12601 * lyxvc.C (versionString): new method
12603 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12605 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * Spacing.C (set): initialize fval
12609 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12611 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12614 2001-08-16 Juergen Vigna <jug@sad.it>
12616 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12618 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12620 * BufferView_pimpl.C:
12623 * text2.C: setParagraph takes linespacing now
12625 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12627 * LyxAction.C: add internal LFUN_CITATION_INSERT
12629 * LyXView.C: actually apply fix
12631 * bufferlist.C: fix open non-existent file
12633 * lyxfind.C: fix indentation
12635 * lyxfunc.C: remove unneeded assert, fix typo
12637 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12639 * MenuBackend.C: use "Floatname List"
12641 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12643 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12644 when converting LaTeX layout to insetERT.
12645 Generate a non-collapsed float when reading old float
12647 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12649 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12652 2001-08-13 Juergen Vigna <jug@sad.it>
12654 * text.C (fill): return 0 instead of 20 as this seems to be the more
12657 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12659 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12662 2001-08-13 Juergen Vigna <jug@sad.it>
12664 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12666 (SearchBackward): comment out the unlocking of the inset_owner this
12667 should not be needed!
12669 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12671 * Many files: Remove inherit_language, and add latex_language
12673 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12674 collapsible insets.
12676 2001-08-10 Juergen Vigna <jug@sad.it>
12678 * text.C (prepareToPrint): fixed hfill-width in draw!
12680 * BufferView2.C (selectLastWord): save the selection cursor as this
12681 now is cleared in the function LyXText::clearSelection!
12683 2001-08-08 Juergen Vigna <jug@sad.it>
12685 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12686 BACKSPACE type functions.
12688 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12689 is only cutted from the document but not put in the cut-buffer, where
12690 still the old stuff should be.
12692 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12694 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12696 * tabular.C (SetWidthOfCell): fixed special case where the width
12698 (LeftLine): handle '|' in align_special.
12700 (LeftAlreadyDrawed): ditto
12701 (SetWidthOfCell): ditto
12703 2001-08-07 Juergen Vigna <jug@sad.it>
12705 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12707 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12709 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12710 * lyxlex.[hC]: ditto
12712 2001-08-06 Juergen Vigna <jug@sad.it>
12714 * text.C (getVisibleRow): fix up row clearing a bit.
12716 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12718 * minibuffer.C: make sure the X server sees the changes in the input.
12720 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * paragraph.C (getFont): split into...
12723 (getLabelFont): this
12724 (getLayoutFont): and this
12725 * paragraph_pimpl.C (realizeFont): calling this
12727 * text2.C (getFont): split into...
12728 (getLayoutFont): this
12729 (getLabelFont): and this
12730 (realizeFont): all three calling this
12732 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12735 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12737 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12739 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12741 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12742 layouts from the Quote inset insertion.
12744 2001-08-03 Juergen Vigna <jug@sad.it>
12746 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12748 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12749 only if status not is already CHANGED_IN_DRAW (second level).
12751 * text.C (draw): don't set the need_break_row when inside an
12754 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * buffer.C (parseSingleLyXformat2Token): handle more latex
12759 * bufferview_funcs.[hC]: change function names to
12760 begin with small char, adjust other files.
12762 2001-08-02 André Pönitz <poenitz@gmx.net>
12765 BufferView_pimpl.C: remove broken special code for math-greek
12767 2001-08-02 Juergen Vigna <jug@sad.it>
12769 * BufferView_pimpl.C (update): redone this function so that we
12770 update the text again if there was a CHANGE_IN_DRAW.
12772 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12773 (drawFromTo): added a new internal bool which is used by draw() and
12775 (general): some cursor drawing problems fixed.
12777 2001-08-01 Juergen Vigna <jug@sad.it>
12779 * lyxfind.C (LyXFind): fixed
12780 (SearchForward): ditto
12781 (SearchBackward): ditto
12783 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12784 spurius drawing of the cursor in the main area.
12786 * text2.C (status): small fix which could lead to a segfault!
12787 (clearSelection): remove unneeded BufferView param.
12789 2001-08-01 André Pönitz <poenitz@gmx.net>
12791 * lyxfunc.C: small change due to changed mathed interface
12793 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12797 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12799 * lyxfunc.c: fail gracefully if file doesn't exist
12804 * BufferView_pimpl.C: IsDirWriteable() proto changed
12806 * LyXView.C: fix updateWindowTitle() to store the last title
12808 2001-07-31 Juergen Vigna <jug@sad.it>
12810 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12811 the font (wrong since using of Paragraph::highestFontInRange).
12813 * paragraph.C (highestFontInRange): added a default_size parameter.
12815 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12816 (setHeightOfRow): reformat
12818 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * converter.[hC] + affected files: move to (inital-char)lowercase
12823 * ParagraphParameters.C (ParagraphParameters): remove commented code
12825 * PainterBase.[Ch]: remove commented code
12827 * LaTeXFeatures.h: add "bool floats" for float.sty
12829 * LaTeXFeatures.C (LaTeXFeatures): init floats
12830 (require): handle float
12831 (getPackages): do it with floats
12833 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * BufferView_pimpl.C (Dispatch): improve handling of
12836 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12838 * commandtags.h: #include lyxfont.h here temporarily to avoid
12841 * bufferlist.h: include LString.h here.
12843 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12845 * text2.C (getStringToIndex): new method.
12847 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12849 * *: Reduced header file dependencies all over.
12851 2001-07-30 Baruch Even <baruch@lyx.org>
12853 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12855 2001-07-29 Baruch Even <baruch@lyx.org>
12857 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12859 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12861 * ParameterStruct.h (endif): add a default constructor to make
12862 sure that all variables is initialized.
12864 * ParagraphParameters.C (ParagraphParameters): adjust
12866 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12869 index; also, check that there is something to index, and that it
12870 does not span over several paragraphs.
12871 (doubleClick): use WHOLE_WORD_STRICT for double click.
12873 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12875 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12878 2001-07-26 Baruch Even <baruch@lyx.org>
12880 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12881 an InsetFig figure, backwards compatible reading of old figure code.
12883 2001-07-27 Juergen Vigna <jug@sad.it>
12885 * text2.C: font.realize function adaption.
12887 * text.C (draw): add a warnings lyxerr text if needed.
12889 * layout.C: font.realize function adaption.
12891 * language.C: add inherit_language and implement it's handlings
12893 * bufferview_funcs.C (StyleReset): remove language parameter from
12894 font creation (should be language_inherit now).
12896 * bufferparams.C (writeFile): handle ignore_language.
12898 * paragraph.C (getFontSettings): the language has to be resolved
12899 otherwise we have problems in LyXFont!
12901 * lyxfont.C (lyxWriteChanges): added document_language parameter
12902 (update): removed unneeded language parameter
12904 * paragraph.C (validate): fixed wrong output of color-package when
12905 using interface colors for certain fonts in certain environments,
12906 which should not seen as that on the final output.
12908 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12910 * BufferView_pimpl.C:
12915 * LyXAction.C: add thesaurus support
12918 * lyxfind.C: add "once" parameter, for thesaurus, to not
12919 move to the next match
12921 2001-07-26 Juergen Vigna <jug@sad.it>
12923 * lyxfont.C (realize): honor ignore_language too!
12926 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12928 * text.C (draw): one place more for ignore_language to not draw
12931 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12933 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12935 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12938 the minipage conversion problem.
12940 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12945 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * BufferView.h: don't forward declare WorkArea
12949 * BufferView.C: don't include WorkArea.h
12951 2001-07-25 André Pönitz <poenitz@gmx.net>
12955 * lyxfunc.C: new LFUN 'math-space'
12957 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12959 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * text2.C (toggleInset): call open/close
12963 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * lyxfunc.C (dispatch): add debug for the disabled case
12967 * font.C (buttonText): make similar to rectText
12969 * buffer.C (readInset): comment out parsing of insetlist and
12972 * PainterBase.C (rectText): small correction
12974 * BufferView_pimpl.C: comment out insettheorem and insetlist
12975 * LyXAction.C: ditto
12976 * commandtags.h: ditto
12978 2001-07-24 Juergen Vigna <jug@sad.it>
12980 * text.C (draw): honor the ignore_language.
12982 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12984 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12986 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12989 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12991 * lyxtext.h: remove unused (and unimplemented) methods
12993 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12995 * text.C (getVisibleRow): honor background color
12998 * Painter.h: remove default color argument for fillRectangle
13000 * text.C (backgroundColor): new method
13002 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * text.C (getVisibleRow): adjust
13006 * font.[Ch] (rectText): new method, metrics
13007 (buttonText): new method, metrics
13009 * PainterBase.[hC]: make rectText and buttonText always draw and take
13012 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13014 * ToolbarDefaults.C (read):
13015 * MenuBackend.C (read): allow escaping in all strings
13017 * BufferView_pimpl.C (insertAndEditInset): new method.
13018 (Dispatch): use insertAndEditInset whenever appropriate.
13020 * BufferView_pimpl.C (insertNote): removed
13022 * BufferView_pimpl.C (smartQuote): new method, moved from
13023 BufferView; if an insetquote cannot be inserted, insert a '"'
13026 * BufferView2.C: remove insertCorrectQuote();
13028 * lyxfunc.C (getStatus): Add support for all remaingin
13029 inset-insert lfuns.
13031 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13033 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13034 command (necessary to pass " as parameter of self-insert.
13036 * text.C (selectWordWhenUnderCursor):
13037 (selectWord): add word_location parameter
13038 (selectWordWhenUnderCursor): same + remove special code for word
13040 (selectNextWord): use kind() to guess type of insetspecialchar,
13043 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13044 (insertErtContents): create ert insets as collapsed.
13045 (readInset): better compatibility code for Info inset.
13047 2001-07-20 Juergen Vigna <jug@sad.it>
13049 * lyxfunc.C (dispatch): use always LyXFind now!
13051 * text2.C (init): add a reinit flag so that the LyXText can be
13052 reinited instead of deleted and reallocated (used in InsetText).
13054 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13060 2001-07-18 Juergen Vigna <jug@sad.it>
13062 * text.C (selectNextWord): handle insets inside inset by calling
13063 always the bv->text functions so that we can go up the_locking_inset!
13065 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13066 in strange locations when inside an inset!
13068 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13069 handling to include insets.
13071 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13073 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13075 * LyXAction.C (init):
13077 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13078 LIGATURE_BREAK, since the name is so stupid.
13080 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13082 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13085 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13087 * sp_form.[Ch]: remove.
13089 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13091 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13094 * src/buffer.C (readInset): ditto.
13096 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13098 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13099 menuSeparator(), endOfSentenceDot(), ldots() and
13100 hyphenationPoint(), which are therefore removed.
13101 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13103 * LyXAction.C (init):
13104 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13106 * paragraph.C (getWord): removed.
13108 * BufferView_pimpl.C (Dispatch): use last word or selection for
13109 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13111 * lyx_main.C (queryUserLyXDir): do not ask before creating
13112 user_dir, except if it has been named explicitely.
13114 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13116 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13117 a document of zero size.
13119 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13121 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13122 approriately in the c-tor and in require().
13123 (getPackages): output the appropriate LaTeX for natbib support.
13125 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13126 variables "use_natbib" and "use_numerical_citations" when reading the
13128 (readInset): read the various natbib cite commands.
13129 (validate): white-space change.
13131 * bufferparams.[Ch]: new variables "bool use_natbib" and
13132 "bool use_numerical_citations".
13133 (writeFile): output them in the LyX file.
13135 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13137 * lyxfunc.C (getStatus): add support for all the inset insertion
13140 * text2.C (insertInset):
13141 * paragraph.C (insetAllowed):
13142 * BufferView_pimpl.C (insertInset): update to take in account the
13143 renaming of insertInsetAllowed
13145 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13147 * text2.C (getInset): new method. returns inset at cursor position.
13149 * BufferView_pimpl.C (Dispatch): changes because of this.
13151 * LyXAction.C (init): rename open-stuff to inset-toggle.
13153 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13155 * text2.C (toggleInset): renamed from openStuff; use
13158 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13160 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13162 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13164 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13166 * buffer.C (readLyXformat2): Add filename to the error dialog
13168 2001-07-18 Juergen Vigna <jug@sad.it>
13170 * tabular.C (GetCellNumber): put an assert here instead of the check!
13172 2001-07-17 Juergen Vigna <jug@sad.it>
13174 * BufferView_pimpl.C (toggleSelection): adapted too.
13176 * text.C (selectNextWord): adapted for use with insets.
13177 (selectSelectedWord): ditto
13179 2001-07-17 Juergen Vigna <jug@sad.it>
13181 * sp_spell.C (PSpell): fix initialitation order.
13183 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13185 * paragraph.C: spacing
13187 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13189 * sp_spell.C: repair language selection for pspell
13191 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * lyxfunc.h: change more methods to begin with lower char.
13195 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13197 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13198 for unknown layouts.
13200 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13202 * buffer.C (readLyXformat2): Generate an error dialog if there are
13205 2001-07-16 Juergen Vigna <jug@sad.it>
13207 * sp_spell.C: always compile ISpell part.
13209 * lyxrc.C: added use_pspell entry and it's handling.
13211 2001-07-13 Juergen Vigna <jug@sad.it>
13213 * sp_spell.C: removed double includes.
13215 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13217 Consistent use of Lsstream.h:
13218 * Lsstream.h: added using std::stringstream for consistencies sake.
13220 * buffer.C: removed using std::stringstream
13222 * lyxfont.C (stateText):
13223 * paragraph.C (asString):
13224 * text.C (selectNextWord, selectSelectedWord):
13225 * text2.C (setCounter):
13226 * vspace.C (asString, asLatexString):
13227 std::ostringstream -> ostringstream.
13229 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13231 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13232 * commandtags.h: add LFUN_HELP_ABOUTLYX
13233 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13235 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13237 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13239 * lyx_gui_misc.C: remove spellchecker
13240 * lyxfunc.C: showSpellchecker
13242 * sp_ispell.h: added
13243 * sp_pspell.h: added
13244 * sp_spell.C: added
13245 * sp_form.[Ch]: removed
13246 * spellchecker.[Ch]: removed
13248 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13250 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13252 (simpleTeXSpecialChars): Simply print the input character without
13253 any special translation if pass_thru is set.
13255 * layout.h: Added bool pass_thru to layout class for being able to
13256 implement pass through of a paragraph for Literate Programming.
13258 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13259 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13260 * layout.C (Read): add "passthru" to list of layout tags and add
13261 code to set the pass_thru boolean when it is read.
13263 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * trans_decl.h: remove allowed from KmodInfo
13267 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13268 remove allowed code
13271 * paragraph_pimpl.C (erase): use boost::prior
13273 * Painter.C (text): use data() instead of c_str() when length is
13275 * WorkArea.C (putClipboard): ditto
13276 * font.h (width): ditto
13278 * BufferView2.C: use it-> instead of (*it). for iterators
13280 * paragraph_pimpl.C: ditto
13281 * paragraph.C: ditto
13282 * minibuffer.C: ditto
13283 * language.C: ditto
13285 * encoding.C: ditto
13286 * counters.C: ditto
13287 * converter.C: ditto
13289 * Variables.C: ditto
13290 * TextCache.C: ditto
13291 * MenuBackend.C: ditto
13292 * LyXAction.C: ditto
13294 * FloatList.C: ditto
13295 * DepTable.C: ditto
13296 * ColorHandler.C (LyXColorHandler): ditto
13298 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13302 * text2.C (openStuff): reintroduce this method (which had been
13303 nuked in NEW_INSETS frenzy).
13305 * lyxfunc.C (Dispatch): when an action has not been handled, use
13306 its name in the error message, not its number.
13308 * paragraph.C (inInset): change method name to begin with lowercase.
13311 * text2.C: updates because of this.
13313 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * ToolbarDefaults.C (add): add spaces in error message
13317 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13320 (readLyXformat2): rename return_par to first_par, use lyxlex's
13321 pushToken and remove the manual push handling.
13322 (parseSingleLyXformat2Token): add another ert comp. variable:
13323 in_tabular, rename return_par to first_par. handle newlines better
13325 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13329 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * text2.C (getParFromID): removed
13333 * buffer.C (getParFromID): new method moved form lyxtext.
13334 * BufferView2.C (insertErrors): adjust
13335 (setCursorFromRow): adjust
13336 * BufferView_pimpl.C (restorePosition): adjust
13337 * lyxfunc.C (Dispatch): adjust
13338 * undo_funcs.C (textUndo): adjust
13340 (textHandleUndo): adjust
13341 (textHandleUndo): adjust
13343 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * buffer.C: up' the LYX_FORMAT
13347 * lyxfont.h: turn NO_LATEX on as default
13349 * buffer.C (insertErtContents): new methods of tex style compability.
13350 (parseSingleLyXformat2Token): use it several places.
13351 * tabular.C (OldFormatRead): and here
13353 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * text2.C: remove some commented code.
13358 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13359 * trans.C: changes because of the above.
13361 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13363 * text2.C (setCounter): Fix counters bug with bibliography layout.
13365 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13368 own member functions
13369 (simpleTeXSpecialChars): ditto
13371 2001-07-06 Juergen Vigna <jug@sad.it>
13373 * a lot of files: changed the access to LyXText::status and the
13374 call of undo-functions.
13376 * undo.[Ch]: added a inset_id to the undo informations.
13378 * undo_funcs.[Ch]: added and moved here all undo functions.
13380 * lyxtext.h: give the status enum a weight, made status_ a private
13381 variable and made accessor functions for it, removed the whole bunch
13382 of undo-functions as they are now in their own file, make some
13383 functions publically available. Added function ownerParagraph with
13386 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13387 made InInset() a const function, added getParFromID() function.
13389 * buffer.[Ch]: added const version for inset_iterator functions,
13390 added getInsetFromID() function.
13392 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13393 changed undo functions for new version.
13395 2001-07-05 Juergen Vigna <jug@sad.it>
13397 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13398 unknow mechanism does not call the proper constructor but only this
13399 one also if I request the other!?
13401 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13405 * text2.C (LyXText): use initialization lists.
13407 * lyxtext.h (Selection): initialize set_ and mark_
13408 (init): remove method
13410 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13412 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13414 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * screen.[Ch]: change method names to begin with lowercase
13418 * BufferView_pimpl.C (updateScrollbar): simplify further and
13419 hopefully make it a bit faster.
13421 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13424 calling directly xforms functions.
13426 * Painter.C (Painter):
13427 * lyx_cb.C (MenuWrite):
13428 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13431 * lyx_gui.C: remove bogus guiruntime extern declaration.
13433 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13437 (redoDrawingOfParagraph): ditto
13438 (redoParagraphs): ditto
13439 (cutSelection): don't create a object for CutAndPaste use the
13440 static method directly
13441 (pasteSelection): ditto
13443 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13446 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * modifications to some other files because of this.
13450 * Makefile.am (lyx_SOURCES): add XFormsView
13452 * XFormsView.[Ch]: new files
13454 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13455 the main window. Move the gui dependent stuff to XFormsView
13457 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * tabular.C (GetCellInset): update cur_cell also in the row/col
13460 version of this function.
13462 * lyxfunc.C: no need to include figure_form.h here.
13468 * lyxvc.C: no need to include forms.h here.
13470 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13474 * lyxfunc.C (Dispatch):
13476 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13477 constructor argument.
13479 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * paragraph.C (Paragraph): dont't clear, and just set layout.
13482 (makeSameLayout): use params's copy contructor.
13484 * ParagraphParameters.[Ch] (makeSame): delete method
13486 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13488 * Variables.[Ch]: fix indentation, rename set to isSet
13490 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13492 * lyxfunc.C (Dispatch): fix typo
13494 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13496 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13499 * bufferlist.C: include assert.h for emergencyWrite().
13501 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13503 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13504 give up at last (bug #425202) !
13506 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13512 * spellchecker.C: strip spellchecker options and bring up
13513 preferences tab instead
13515 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13518 the istringstream constructor
13520 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * paragraph.C (getLayout): fix return value
13524 * paragraph.h: do not declare getLayout as inline.
13526 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13528 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13530 * lyxcursor.h (operator<): new func
13531 (operator>): new func
13532 (operator>=): new func
13533 (operator<=): new func
13535 * text.C (changeCase): use selection.start and selection.end
13536 (changeRegionCase): require from to be <= to. Require par to be a
13539 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13541 2001-06-27 Juergen Vigna <jug@sad.it>
13543 * text.C (cursorLeftOneWord): changed to return the cursor and added
13544 overlay with BufferView * parameter which calls this one.
13546 (selectWord): use new getWord function.
13547 (changeCase): renamed from changeWordCase as and extended to work
13548 also on selections.
13550 * lyxtext.h: added enum word_location
13552 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13553 changeCase as this operates now also on selections.
13555 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13557 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13559 * many files: send debug output to Debug::INFO instead of
13562 * converter.C (View):
13564 (Move): send debug output to Debug::FILES instead of console.
13566 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13568 * lyxfunc.C (getStatus): use func_status
13570 * func_status.h: new header, describing the results of
13571 LyXFunc::getStatus;
13573 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13576 2001-06-25 The LyX Project <jug@sad.it>
13578 * buffer.C (sgmlOpenTag):
13580 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13582 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * text2.C: remove some dead code
13586 * tabular.C (GetCellInset): store the last cell checked (gotten)
13588 * tabular.h: add the helper for the speedup
13590 * lyxtext.h: remove some dead code
13592 2001-06-26 The LyX Project <Asger>
13594 * paragraph.C: Change export to LaTeX of alignment to
13595 \begin{center} and family for better roundtrip work with reLyX.
13597 * Tune the math drawing a bit.
13599 2001-06-25 The LyX Project <Asger>
13601 * LColor.C (LColor): New color for math background. New color
13604 2001-06-25 The LyX Project <jug@sad.it>
13606 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13608 * lyxfunc.C (Open):
13609 * bufferlist.C (newFile): do not restrict to files ending with
13612 * BufferView_pimpl.C (MenuInsertLyXFile):
13614 2001-06-24 The LyX Project <jug@sad.it>
13616 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13619 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13621 * lyxtext.h: rename most methods to begin with a small char.
13622 Lots of changes because of this.
13624 * paragraph.C (Paragraph): do not call fitToSize
13625 (erase): call Pimpl::erase
13626 (insertChar): call Pimpl::insertChar
13627 (insertInset): call Pipl::insertInset
13628 (breakParagraph): do not call fitToSize
13629 (breakParagraphConservative): do not call fitToSize
13630 (fitToSize): remove method
13632 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13634 2001-06-24 The LyX Project <Asger>
13636 * Fix Qt compilation^2
13638 2001-06-24 The LyX Project <jug@sad.it>
13640 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13641 depthHook(getDepth()-1).
13644 * ParagraphParameters.h:
13645 * ParameterStruct.h: change type of depth to unsigned int ==
13646 depth_type. Many adaptations to other files before of that.
13648 2001-06-24 The LyX Project <Asger>
13650 * Fix Qt compilation.
13652 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * paragraph.h: renamed several methods to begin with small letter.
13655 several changes to many parts of the code because of this.
13657 2001-06-23 The LyX Project <jug@sad.it>
13659 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13660 rewritten to discard all double spaces when KeepEmpty is off
13661 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13662 to only handle newlines but not fiddle with spaces and friends.
13664 * lyxfunc.C (MenuNew): when doing 'new from template', use
13665 template_path as default directory
13667 2001-06-23 The LyX Project <Asger>
13669 * Clean-up of header file includes all over
13670 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13672 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * paragraph.h: renamed from lyxparagraph.h
13676 2001-06-23 Asger <lyx@violet.home.sad.it>
13678 * Buffer.h: Removed Buffer::resize
13679 * BufferList.h: Removed BufferList::resize
13680 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13681 the document lazily when we change the width, or the font settings.
13683 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13685 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13687 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13689 * buffer.h: remove out of date comment
13691 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13694 * screen.C: fix "theoretical" GC leak
13696 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13698 * LaTeX.C (scanAuxFile):
13699 (deplog): remove trailing \r when reading stream (useful under
13702 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13704 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13705 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13706 and BufferView::theLockingInset(Inset*), so should use them and not
13707 access bv_->text->the_locking_inset directly.
13709 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13711 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13714 * tex-defs.h: remove old unused file
13716 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13718 * BufferView_pimpl.C: fix typo, remove minibuffer message
13719 when buffer has loaded
13721 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * lyxfunc.C (Dispatch): use stringstream
13724 (MenuNew): use stringstream
13725 (Open): use stringstream
13727 * importer.C (Import): use stringstream
13729 * bufferview_funcs.C (CurrentState): use stringstream
13731 * LaTeX.C (run): use stringstream
13733 * BufferView_pimpl.C (savePosition): use stringstream
13734 (restorePosition): use stringstream
13735 (MenuInsertLyXFile): use stringstream
13737 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13750 * vspace.C: removed // -*- C++ -*- as first line.
13753 * version.h: added // -*- C++ -*- as first line.
13755 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13757 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13759 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13762 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13767 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * gettext.C: include LString.h even when --disable-nls is on.
13771 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13773 * converter.h (Get): changed argument type from int to
13774 FormatList::size_type to avoid unnecessary conversion.
13776 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13779 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13781 * gettext.h: include LString.h even when --disable-nls is on.
13783 2001-06-07 Juergen Vigna <jug@sad.it>
13785 * text.C (BreakAgain): subst spaces with tabs.
13787 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13788 (resizeInsetsLyXText): set force on resizeLyXText.
13790 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13792 * gettext.h (gettext_init):
13793 (locale_init): use a real definition instead of a macro
13795 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13797 * Bufferview_pimpl.C:
13799 * LColor.C: further lcolor tidies
13801 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * BufferView_pimpl.C (updateScrollbar): simplify.
13805 * BufferView2.C: don't include insets/insetinfo.h, change
13806 prototype for insertInset and call the Pimpl version. let
13807 updateInset call Pimpl version.
13809 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13810 gotoInset to BufferView::Pimpl
13812 2001-06-01 Juergen Vigna <jug@sad.it>
13814 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13815 inside a LockingInset (is the update needed at all?).
13817 2001-05-31 Juergen Vigna <jug@sad.it>
13819 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13820 here not the old one otherwise how should we compare it afterwards
13823 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13828 * FontInfo.C: bring C functions into global namespace when
13831 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * LString.h: make sure config.h has been loaded before LString.h.
13835 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13836 (one for each char read by EatLine!).
13838 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13841 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13844 to the same as the par we break from
13846 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13850 * MenuBackend.C (expand): also create menu entries for wide
13851 versions of the floats.
13853 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13855 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13857 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13858 frontends/Makefile.am
13864 * tabular.C (getTokenValue): add std::
13866 * tabular-old.C (getTokenValue): add std::
13867 (getTokenValue): ditto
13868 (getTokenValue): ditto
13870 * screen.C (ToggleSelection): adjust
13872 * lyxtext.h: put selection cursors inside a Selection struct.
13874 * lyxfunc.C (moveCursorUpdate): adjust
13876 * lyxfont.C (latexWriteStartChanges): add std::
13878 * lyxfind.C: adjust
13880 * font.h: delete with(char const *, LyXFont const &)
13882 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13884 * FontInfo.C (getFontname): add std::
13886 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13887 (workAreaButtonPress): adjust
13888 (tripleClick): adjust
13890 (moveCursorUpdate): adjust
13893 * BufferView2.C (gotoInset): adjust
13895 2001-05-30 Juergen Vigna <jug@sad.it>
13897 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13898 to check pspell I add this as default as I now have new pspell
13899 libraries and they seem to use this.
13901 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13903 * text2.C (CutSelection): make the cursor valid before the call to
13906 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13908 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13909 relied on 0 terminated strings and other horrors. Bug found due to
13910 the new assert in lyxstring!
13912 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13915 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13920 * lyxfunc.C (processKeySym): change method of getting to the
13923 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13924 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13925 * BufferView_pimpl.[Ch]: here as private methods.
13927 2001-05-28 Juergen Vigna <jug@sad.it>
13929 * text.C (SetHeightOfRow): added the update() call again as it is
13930 needed to initialize inset dimensions!
13932 2001-05-16 Juergen Vigna <jug@sad.it>
13934 * text2.C (SetCharFont): Add new function with BufferView * and
13935 bool toggleall parameters for setting insets internal fonts.
13936 (SetFont): Freeze the undo as we may change fonts in Insets and
13937 all this change should be inside only one Undo!
13939 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13940 setting font's in insets as for them we have the SetFont function!
13942 2001-05-15 Juergen Vigna <jug@sad.it>
13944 * text2.C (ClearSelection): to be sure we REALLY don't have any
13947 * tabular.C (TeXCellPreamble): fixed the left border problem for
13950 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13952 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13955 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13958 LFUN_BREAKPARAGRAPH.
13960 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13961 help test to "internal only", similar for LFUN_INSERT_URL
13963 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13964 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13965 auto_region_delete and deadkeys.
13967 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13970 * LColor.C: remove some dead entries, tidy a little
13972 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13976 (Dispatch): implement LFUN_ESCAPE
13978 * commandtags.h: add LFUN_ESCAPE
13980 * LyXAction.C (init): add entry for LFUN_ESCAPE
13982 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13983 Remove commented code.
13984 (insertNote): moved here
13985 (open_new_inset): moved here
13987 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13990 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * kbmap.C (findbinding): clean it up and make it work correctly.
13994 * lyx_main.C (init): do not pass argc and argv as parameters
13996 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13998 * buffer.C: fix path for OS/2 & Win32
14002 * lyx_main.C: Added os:: class.
14004 * os2_defines.h: update
14006 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14008 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14009 better by trying again with reduced state.
14011 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14013 * lyxrc.C (read): print error about invalid key sequence only when
14014 debugging (because not all latinX keysyms are known to some X
14017 * kbsequence.C (getiso): add a few std:: qualifiers
14018 (getiso): comment out extra return statement.
14020 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14024 (Dispatch): enhance the accent inset a bit. (not perfect)
14026 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14028 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14030 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * bufferlist.C (emergencyWrite): fix assert() call
14034 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14036 * text.C (InsertChar): Added trivial patch to only send the "you
14037 can not do multiple spaces this way" message once during a
14040 2001-05-08 Baruch Even <baruch@lyx.org>
14042 * Makefile.am: Changed order of libraries to get LyX to link properly
14043 with the gnome frontend.
14045 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14047 * LaTeXFeatures.h: add a std:: qualifier
14049 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14051 * paragraph.C (String): use stringstream
14053 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * paragraph.C (writeFile): remove footflag arg
14057 * buffer.C (makeLaTeXFile): use stringstream
14058 (latexParagraphs): remove footnot gurba
14060 * LaTeXFeatures.C (getPackages): use stringstream
14061 (getMacros): likewise
14062 (getTClassPreamble): likewise
14063 (getFloatDefinitions): new method
14065 * paragraph.C (writeFile): reindent
14068 * WorkArea.h: revert the xpos + etc changes.
14070 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14072 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14074 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14075 (pasteSelection): likewise
14076 * text2.C (CreateUndo): likewise
14078 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * minibuffer.C (peek_event): temporarily reduce the functionality
14081 of the minibuffer (to allow args on lfuns)
14083 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14084 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14086 * buffer.C (readInset): add compability reading of old float
14087 lists, add reading of new style float list.
14088 (readInset): avoid reevaluation of inscmd.getCmdName()
14089 (getLists): reindent
14091 * MenuBackend.C (MenuItem): implement parsing of
14092 md_floatlistinsert and md_floatinsert.
14093 (expand::LastFiles): move initalizaton of iterators out of loop,
14094 avoid reevaluation.
14095 (expand::Documents): introduce typdedef vector<string> Strings,
14097 (expand::ExportFormats): introduce typedef vector<Format const *>
14098 Formats, and use it.
14099 (expand): implement FloatListInsert and FloatInsert.
14101 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14102 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14103 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14105 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14107 (Dispatch::LFUN_FLOAT_LIST): implement
14109 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14111 * LaTeX.C (run): Fix problem with --export code.
14113 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14115 * BufferView.[Ch] (workarea): removed.
14116 (getClipboard) new method; wrapper for workarea()->getClipboard()
14118 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14121 * WorkArea.h (width, height, xpos, ypos): These methods all
14122 returned the dimensions of the work_area sub-area of WorkArea,
14123 resulting in a position error if the WorkArea were resized. Now
14124 return the dimensions of the entire WorkArea.
14126 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14128 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14130 * LaTeX.C (deplog): correct the syntax of regex reg1
14132 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14134 * undo.C: remove !NEW_INSETS cruft
14136 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14138 * text2.C: remove !NEW_INSETS cruft
14140 * text.C: remove !NEW_INSETS cruft
14142 * tabular.C: remove !NEW_INSETS cruft
14144 * spellchecker.C: remove !NEW_INSETS cruft
14146 * lyxtext.h: remove !NEW_INSETS cruft
14148 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14150 * lyxfunc.C: remove !NEW_INSETS cruft
14152 * lyxfind.C: remove !NEW_INSETS cruft
14154 * lyx_cb.C: remove !NEW_INSETS cruft
14156 * figureForm.C: remove !NEW_INSETS cruft
14158 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14160 * buffer.[Ch]: remove !NEW_INSETS cruft
14162 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14164 * CutAndPaste.C: remove !NEW_INSETS cruft
14166 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14168 * BufferView2.C: remove !NEW_INSETS cruft
14170 * BufferView.h: remove !NEW_INSETS cruft
14172 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * Lsstream.h: include LString.h before the sstream headers to
14175 fix problem with gcc 2.95.3 and lyxstring
14177 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * lyx_main.C: add using directives when needed for C functions
14180 declared in std:: namespace.
14182 2001-04-27 Juergen Vigna <jug@sad.it>
14184 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14185 (SetHeightOfRow): comment out the update call should not be needed!
14187 2001-04-13 Juergen Vigna <jug@sad.it>
14189 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14190 (LyXTabular): tried to minimize operator= operations (and realized
14191 hopfully Lars wish).
14193 2001-04-27 Juergen Vigna <jug@sad.it>
14195 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14197 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14201 * buffer.C (readInset): hack to make listof algorithm work
14203 * BufferView_pimpl.C: hack to make listof algorithm work
14205 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * LyXAction.C: removed all !NEW_INSETS cruft
14208 (init): moved lfun_item in method
14210 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14212 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14214 * BufferView2.C (theLockingInset): white space.
14216 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14218 * minibuffer.C: include <iostream>
14220 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14222 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14224 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14226 * text.[Ch] (TransposeChars): new method
14228 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * call message directly through LyXView instead of through LyXFunc
14231 * BufferView2.C: adjust
14232 * BufferView_pimpl.C: adjust
14233 * FontLoader.C: adjust
14235 * bufferview_funcs.C: adjust
14236 * converter.C: adjust
14237 * figureForm.C: adjust
14238 * importer.C: adjust
14240 * lyx_gui_misc.C: adjust
14241 * lyxfunc.C: adjust
14244 + more files in subdirs
14246 * lyxparagraph.h (size): move up int file
14249 * adjust all uses of Assert to lyx::Assert.
14251 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14252 lyxfunctional in namespace lyx
14253 * layout.C (hasLayout): ditto
14256 (delete_layout): ditto
14257 (NumberOfClass): ditto
14258 * converter.C (GetFormat): ditto
14263 * bufferlist.C (getFileNames): ditto
14264 (emergencyWriteAll): ditto
14267 * MenuBackend.C (hasSubmenu): ditto
14270 * BufferView_pimpl.C (getInsetByCode): ditto
14272 2001-04-18 Juergen Vigna <jug@sad.it>
14274 * vspace.C (asLatexString): fixed the 100% problem.
14276 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * lyxfunc.C (Dispatch):
14280 * minibuffer.h: add a few std:: qualifiers
14282 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * minibuffer.[Ch]: reimplement so that commands is initiated and
14285 run from lyxfunc, simplified som handling, and made the completion
14286 and history code for complete. wip.
14288 * lyxfunc.C (processKeySym): call message
14289 (miniDispatch): new temporary method
14290 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14291 (LFUN_MESSAGE): implement
14292 (LFUN_MESSAGE_PUSH): implement
14293 (LFUN_MESSAGE_POP): implement
14294 (initMiniBuffer): the initial/defualt minibuffer message.
14296 * lyxfont.[Ch]: inline some more getters
14298 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14300 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14302 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14303 (AutoSave): use LFUN_MESSAGE
14304 (Reconfigure): ditto
14306 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14308 * figureForm.C: use LFUN_MESSAGE
14310 * converter.C (runLaTeX): use LFUN_MESSAGE
14312 * bufferview_funcs.C: use LFUN_MESSAGE
14314 (changeDepth): ditto
14316 * bufferparams.h: use boost::
14318 * bufferlist.h: inherit privately from noncopyable
14320 * bufferlist.C (loadLyXFile): remove some commented code.
14322 * buffer.C (runChktex): use LFUN_MESSAGE
14324 * ShareContainer.h: inherit privately from noncopyable
14326 * ParagraphParameters.[hC] (depth): inline it.
14328 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14330 (message): new method
14331 (messagePush): ditto
14332 (messagePop): ditto
14333 (show): init minibuffer
14334 (showState): direct call
14336 * LaTeX.[Ch]: inherit privately from noncopyable
14337 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14338 instead of WriteStatus.
14340 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14342 * BufferView_pimpl.C (buffer): don't init minibuffer
14343 (workAreaButtonPress): use LFUN_MESSAGE
14344 (workAreaButtonRelease): ditto
14345 (savePosition): ditto
14346 (restorePosition): ditto
14347 (MenuInsertLyXFile): ditto
14348 (workAreaExpose): don't init minibuffer
14349 (update): remove commented code, simplify
14351 * BufferView2.C (openStuff): use LFUN_MESSAGE
14352 (toggleFloat): ditto
14355 (copyEnvironment): ditto
14356 (pasteEnvironment): ditto
14361 (updateInset): remove some commented code
14363 * lastfiles.h: inherit privately from noncopyable
14366 * lyx_main.h: ditto
14368 * lyxlex_pimpl.h: ditto
14370 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14371 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14372 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14374 * LyXAction.h: inherit privately from noncopyable, add methods
14375 func_begin, func_end, returning iterators to the func map.
14377 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14378 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14379 (func_begin): new method
14380 (func_end): new method
14382 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14384 (copySelection): ditto
14385 (pasteSelection): ditto
14387 * BufferView.C: whitespace change
14388 * BufferView.h: inherit privately from noncopyable
14390 2001-04-16 Allan Rae <rae@lyx.org>
14392 * tabular-old.C (l_getline):
14393 * spellchecker.C (sc_check_word):
14394 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14395 an unrecognised preprocessor directive. So ensure they're wrapped.
14397 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14399 * src/exporter.C (Export): Give an error message when path to file
14402 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14404 * LaTeX.C (deplog): Always check that foundfile exists.
14406 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14409 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14411 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * tabular.[Ch] (getLabelList): implement new method
14415 * minibuffer.h: comment ouf setTiimer
14417 * minibuffer.C (ExecutingCB): constify res
14418 (peek_event): constify s
14419 (Set): constify ntext
14420 (Init): constify nicename
14422 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14424 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14425 (savePosition): use two params to Minibuffer::Set
14426 (restorePosition): ditto
14428 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * lyx_main.C: include language.h
14432 * Makefile.am (lyx_main.o): add language.h
14434 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14440 * CutAndPaste.C: include gettext.h
14442 * lyxfont.h: remove old hack with ON and OFF.
14445 * lyxfont.h: do not include language.h...
14450 * bufferview_funcs.C:
14456 * paragraph.C: ... but do it here instead
14458 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14460 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14462 * tabular.C: small reformat
14464 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14467 (BreakParagraph): ditto
14468 (SetOnlyLayout): ditto
14471 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14474 * lastfiles.C: removed most using decl, add std:: where needed
14476 * buffer.C: ws changes
14478 * MenuBackend.C (class compare_format): put into anon namespace
14479 (expand): constify label, names, action, action2
14482 * text.C (SingleWidth): constify font
14483 (IsBoundary): constify rtl2
14484 (GetVisibleRow): constify ww
14486 * LaTeX.C (deplog): constify logfile
14488 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14490 (workAreaExpose): constify widthChange, heightChange
14492 * lyxrow.C (par): moved
14495 * lyxrow.h: as inlines here
14497 * lyxfont.h (shape): moved from lyxfont.C
14498 (emph): moved from lyxfont.C
14500 * lyxfont.C (LyXFont): use initialization list for all
14502 (shape): move to lyxfont.h as inline
14503 (emph): move to lyxfont.h as inline
14506 2001-04-04 Juergen Vigna <jug@sad.it>
14508 * vspace.C: had to include stdio.h for use of sscanf
14510 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14513 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14514 independent of xforms.
14516 2001-04-02 Juergen Vigna <jug@sad.it>
14518 * spellchecker.C: fixed namespace placing!
14520 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14522 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14523 the LyXParagraph * is 0.
14525 2001-03-29 Juergen Vigna <jug@sad.it>
14527 * vspace.C: added support for %, c%, p%, l%.
14528 (stringFromUnit): added helper function.
14529 (asLatexString): changed to give right results for the %-values.
14531 * buffer.C: convert the widthp in a width%.
14533 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14535 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14538 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14539 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14541 * lyx_cb.[Ch]: see above.
14543 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14547 * lyx.[Ch]: replaced by figure_form.[Ch].
14551 * lyxfunc.C: changed headers associated with above changes.
14553 2001-03-27 Juergen Vigna <jug@sad.it>
14555 * BufferView_pimpl.C: set the temporary cursor right!
14557 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14559 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14561 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14563 * LString.h: removed "using std::getline"!
14565 * BufferView_pimpl.C (Dispatch): changes due to changes in
14566 InsetInclude::Params.
14568 * buffer.C (tag_name): removed redundant break statements as they were
14569 producing lots of warnings with my compiler.
14571 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * LString.h: add "using std::getline" when using the real <string>.
14575 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14577 * buffer.C: removed bitset usage.
14578 PAR_TAG moved to an anonymous name space.
14579 (tag_name): new funtion, also in the anonymous namespace.
14580 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14581 (makeDocBookFile): clean code. Completed transition from string arrays
14583 (SimpleDocBookOnePar): code clean.
14585 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14587 * tabular.C: add some comments.
14589 2001-03-22 Juergen Vigna <jug@sad.it>
14591 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14592 compatibility read a bit and fixed bug with minipage in different
14595 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14597 * buffer.C (pop_tag): removed.
14598 (push_tag): removed.
14599 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14600 array replaced with vector. Added support for CDATA sections.
14601 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14603 (makeDocBookFile): XML conformant declaration of CDATA section,
14604 fixed bug related to <emphasis> in the first paragraph char.
14605 (sgmlOpenTag): exclude empty tags.
14606 (sgmlCloseTag): ditto.
14608 * buffer.h (pop_tag): removed.
14609 (push_tag): removed.
14611 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14613 * language.h (Languages): added size_type and size().
14615 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14617 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14618 response on compability reading of minipages. One probliem is that
14619 the old usage of minipages was «flertydig»
14621 * several files here and in subdirs: don't use static at file
14622 scope use anon namespaces instead.
14624 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14626 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14627 LaTeX output. This is necessary for Literate document
14630 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14632 * buffer.C: insert hfill when needed.
14634 * tabular.C (l_getline): use string::erase, small whitespace change.
14636 * BufferView_pimpl.C: try the anon namespace.
14637 * WorkArea.C: ditto
14639 2001-03-16 Juergen Vigna <jug@sad.it>
14641 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14642 otherwise it won't open options-dialogs.
14644 * buffer.C: honor pextraWidth(p) on converting minipages.
14646 * tabular.C (l_getline): changed the functions to strip trailing \r.
14648 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14650 * BufferView_pimpl.C:
14651 * minibuffer..C: added "using SigC::slot" declaration.
14653 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14655 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14661 * paragraph.C: ditto
14663 * lyxtext.h: NO_PEXTRA
14665 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14667 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14668 * ParameterStruct.h: ditto
14669 * ParagraphParameters.h: ditto
14670 * lyxparagraph.h: ditto
14672 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14674 * buffer.C: add compability for minipage alignment.
14675 (latexParagraphs): remove unwanted pextra check.
14677 * several files: remove CXX_WORKING_NAMESPACES
14679 * buffer.C (pop_tag): tie is in namespace boost
14681 * BufferView.h: noncopyable is in namespace boost
14683 * lyx_main.h: ditto
14686 * lastfiles.h: ditto
14687 * bufferlist.h: ditto
14688 * ShareContainer.h: ditto
14690 * LyXAction.h: ditto
14693 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14695 * Merging changes from BRANCH_MVC back into HEAD.
14697 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14699 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14701 * BufferView_pimpl.C: change from intl.C
14705 * Makefile.am: move combox.*
14711 * intl.C: remove dialog (covered by prefs)
14713 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14715 * lyxfunc.C (Dispatch): removed redundant break statement.
14717 2001-03-14 Juergen Vigna <jug@sad.it>
14719 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14721 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14723 * buffer.C: add hack to fix compability reading of minipages.
14725 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14727 * buffer.C (getLists): Cleanup.
14729 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14731 * lyxfont.C (update): don't honor toggleall on font size.
14733 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14737 * Makefile.am: moved to frontends/xforms/
14741 * BufferView_pimpl.C: changes for moved mathpanel
14743 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14745 * gettext.h: fix gettext_init() in --disable-nls
14747 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14751 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14754 * lyx.h: strip external form
14756 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14758 * BufferView_pimpl.C: add comment, destroySplash()
14760 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14762 * BufferView_pimpl.C:
14766 * lyxfunc.C: use re-worked insetinclude
14768 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14770 * buffer.C: add using std::stringstream.
14772 * lyx_cb.C: readd using std::ios.
14774 * buffer.C: add using std::map.
14776 * BufferView_pimpl.C: add using std::vector.
14778 * ShareContainer.h: add std:: to swap.
14780 * buffer.h: add some typedefs
14781 * buffer.C (getLists): use them
14782 (getLists): renamed from getTocList.
14783 add a counter for the different float types and use it in the
14785 (getLists): use the same counter for the NEW_INSETS and the "non"
14788 * lyx_cb.h: remove unused items, includes, using etc.
14790 * ShareContainer.h: remove some commented code, add more comments
14791 and "documentation".
14793 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14795 * buffer.C (getTocList): make the list also when NEW_INSETS is
14798 * buffer.h: remove TocType
14800 * buffer.C (getTocList): change to return a map<string,
14801 vector<TocItem> >, implement for dynamic number of list.
14803 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14804 * text2.C (PasteSelection): adjust
14805 * CutAndPaste.C (pasteSelection): adjust
14807 * FloatList.C (FloatList): update from the new_insets branch.
14808 * Floating.[Ch]: ditto
14809 * LaTeXFeatures.C: ditto
14811 * lyxlex_pimpl.C: ditto
14813 * paragraph.C (Last): remove when NEW_INSETS is defined.
14815 * other file: changes because of the above.
14817 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14819 * lyxparagraph.h: rename next to next_, previous to previous_,
14820 make them private for NEW_INSETS. Rename Next() to next(),
14821 Previous() to previous().
14823 * other files: changes because of the above.
14825 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14828 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14831 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * main.C (main): pass lyx_localedir to gettext_init().
14835 * gettext.h: remove locale_init and gettext_init macros
14837 * gettext.C (locale_init): new function
14838 (gettext_init): new function
14840 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14843 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14845 * Moved credits to frontends:
14846 * credits.[Ch]: removed
14847 * credits_form.[Ch]: removed
14848 * lyx_gui_misc.C: remove credits stuff
14851 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14853 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14855 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14856 unneeded destructor.
14858 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14859 a standalone pointer again.
14861 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14863 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14869 * ToolbarDefaults.C:
14878 * BufferView_pimpl.C: use new file dialog in GUII
14881 * lyx_cb.C: remove LayoutsCB to Toolbar
14883 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * ShareContainer.h (get): add std:: qualifier
14887 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * ShareContainer.h: define a proper ShareContainer::value_type
14890 type (and use typename to please compaq cxx)
14892 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14894 * lyxparagraph.h: move serveral local vars to
14895 ParameterStruct/ParagraphParameters., use ShareContainer in
14896 FontTable., make vars in FontTable private and add getter and
14899 * paragraph.C: changes because of the above.
14901 * lyxfont.h: remove copy constructor and copy assignment. (the
14902 default ones is ok), move number inside FontBits. move inlines to
14905 * lyxfont.C: add number to initializaton of statics, move several
14906 inlines here. constify several local vars. some whitespace
14907 cleanup. Dont hide outerscope variables.
14909 * Spacing.h: add two new constructors to match the set methods.
14911 * ShareContainer.h: new file, will perhaps be moved to support
14913 * ParameterStruct.h: new file
14915 * ParagraphParameters.h: new file
14917 * ParagraphParameters.C: new file
14919 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14920 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14922 * BufferView_pimpl.C: ParagraphParameter changes.
14923 * buffer.C: Likewise.
14924 * bufferview_funcs.C: Likewise.
14925 * text.C: Likewise.
14926 * text2.C: Likewise.
14928 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * lyxfind.C (LyXReplace): do not redefine default argument in
14932 (IsStringInText): ditto
14933 (SearchForward): ditto
14934 (SearchBackward): ditto
14936 2001-03-06 Juergen Vigna <jug@sad.it>
14938 * lyxfind.C (IsStringInText): put parentes around expressions.
14940 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14942 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14944 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14946 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14948 * stl_string_fwd.h: add comment
14950 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14953 * tabular.C: remove unused DocBook methods
14959 killed DO_USE_DEFAULT_LANGUAGE
14961 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * lyx_gui.C: do not include language.h.
14965 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14966 arguments in function implementation.
14968 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14970 * BufferView_pimpl.C: add <ctime>
14972 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14974 * BufferView_pimpl.C: add using std::find_if
14976 2001-02-27 José Matos <jamatos@fep.up.pt>
14978 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14981 2001-02-11 José Matos <jamatos@fep.up.pt>
14983 * buffer.C (makeDocBookFile): command styles now have a parameter as
14984 "title" by default.
14986 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14988 * layout_forms.[Ch]: removed
14989 * lyx_cb.[Ch]: out character
14990 * lyx_gui.C: out character
14991 * lyx_gui_misc.C: out character
14992 * bufferview_funcs.C: : out character,
14993 added toggleall as parameter in ToggleAndShow
14995 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14997 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14999 * text2.C (SetCurrentFont): Disable number property at boundary.
15001 2001-02-26 Juergen Vigna <jug@sad.it>
15003 * lyxfunc.C (getStatus): added a string argument override function so
15004 that this is correctly called from LyXFunc::Dispatch if it contains a
15005 do_not_use_argument which is used!
15006 (Dispatch): added check for "custom" export and call appropriate func.
15008 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15010 * lyxrc.C: Add language_command_local, language_use_babel and
15011 language_global_options.
15013 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15015 * buffer.C (makeLaTeXFile): Use language_use_babel and
15016 language_global_options.
15018 2001-02-23 Juergen Vigna <jug@sad.it>
15020 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15021 which works with LyXText and putted it inside BufferView. Here now we
15022 only call for that part the BufferView::Dispatch() function.
15024 * BufferView.C (Dispatch): added.
15026 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15027 functions which needs to use a LyXText over from LyXFunc.
15028 (MenuInsertLyXFile): added
15029 (getInsetByCode): added
15030 (moveCursorUpdate): added
15031 (static TEXT): added
15033 2001-02-22 Juergen Vigna <jug@sad.it>
15035 * BufferView_pimpl.C (update): call a status update to see if LyXText
15038 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15040 * vc-backend.C (revert): implement for CVS
15041 (getLog): implement for CVS
15043 2001-02-20 Juergen Vigna <jug@sad.it>
15045 * text2.C (ClearSelection): added BufferView param for inset_owner call
15047 * lyxfunc.C (TEXT): added this function and use it instead of
15048 directly owner->view()-text of getLyXText().
15050 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15052 * src/layout_forms.C: out preamble
15053 * src/layout_forms.h: out preamble
15054 * src/lyx_cb.C: out preamble
15055 * src/lyx_cb.h: out preamble
15056 * src/lyx_gui.C: out preamble
15057 * src/lyx_gui_misc.C: out preamble
15058 * src/lyxfunc.C: connect with guii preamble
15060 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15062 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15064 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15066 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15067 whether to run bibtex.
15069 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15071 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15073 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15075 * Makefile.am (lyx_SOURCES): removed bibforms.h
15077 * vspace.h: doxygen
15079 * text.C (GetVisibleRow): make several local vars const
15081 * tabular.C: small cleanup.
15083 * lyxserver.C (callback): use compare instead of strncmp
15085 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15086 inlines to after class or to paragraph.C
15088 * lyxfont.h: remove friend operator!=
15090 * converter.h: move friend bool operator< to non friend and after
15093 * combox.h: small cleanup
15095 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15096 to inlines after class def.
15098 * buffer.C (pop_tag): use string operations instead of strcmp
15100 * bmtable.c: doxygen, small cleanup
15102 * LaTeX.h: remove friend operator==
15104 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15116 * BufferView_pimpl.C:
15117 * BufferView.[Ch]: remove cruft
15119 2001-02-14 Juergen Vigna <jug@sad.it>
15121 * lyxfunc.C: removed #if 0 unused code
15123 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15125 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15127 * text2.C (SetSelection): added a BufferView * parameter
15129 2001-02-13 Juergen Vigna <jug@sad.it>
15131 * lyxfunc.C (Dispatch): fixed protected blank problem.
15132 * BufferView2.C (protectedBlank): added LyxText * parameter.
15134 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15135 (AppendColumn): same as above for column_info.
15137 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15138 (moveCursorUpdate): use a LyXText param for support of InsetText.
15140 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15141 (tripleClick): ditto
15143 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15145 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15147 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15149 * text2.C (SetSelection): set correct update status if inset_owner
15150 (ToggleFree): ditto
15152 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15154 * tabular.C: remove some commented code.
15156 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15158 * BufferView_pimpl.C: call hideSplash()
15160 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15163 * bibforms.h: remove
15166 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15167 add LFUN_CHILD_CREATE
15169 * counters.h: fix tiny typo
15174 * lyx.C: move splash to frontends/xforms/
15176 * lyx_gui_misc.C: move Include and Bibform to frontends
15178 * lyxvc.h: clarify comment
15180 * vspace.C: tiny housekeeping
15182 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15184 * text.C (PrepareToPrint): RTL Fix.
15186 * paragraph.C (GetUChar): New method.
15187 (String): Use GetUChar.
15189 * buffer.C (asciiParagraph): Use GetUChar.
15191 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15193 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15195 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15198 * buffer.C: rename to getLogName(), handle
15199 build log / latex log nicely
15201 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15204 * MenuBackend.h: remove support for reference menuitem type.
15206 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15208 * BufferView_pimpl.C: housekeeping
15209 * BufferView_pimpl.h:
15214 * minibuffer.h: move Timeout GUI-I
15216 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15218 * lyxrc.C (read): Update converters data-structures.
15220 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15222 * LaTeX.h (operator!=): add operator != for Aux_Info
15224 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15226 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15228 * LaTeXLog.C: deleted, useful code moved to Buffer
15231 * buffer.C: new function getLatexLogName()
15237 * lyxfunc.C: use frontends for LaTeX and VC logs
15239 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * LaTeX.h: yet another std:: that Allan forgot.
15243 * Variables.C (set): renamed from isset(), because this clashes
15244 with some HP-UX macros (grr).
15246 2001-02-06 Allan Rae <rae@lyx.org>
15248 * LaTeX.h: Another bug fix. Missing std:: this time.
15250 2001-02-04 Allan Rae <rae@lyx.org>
15252 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15253 floats problem. I've left it commented out because it's not quite
15254 correct. It should also test that the current object is a table or
15255 figure inset. But I haven't gotten around to figuring out how to do
15256 that. I *think* it'll be something like: "table" == inset.type()
15258 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15261 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15263 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15264 all the citation/databases/styles in the auxilary file.
15265 (run): Rerun latex if there was a babel language error.
15267 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15269 * text.C (Backspace): Preserve the font when changing newline char
15271 (BreakParagraph): If the cursor is before a space, delete the space.
15273 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15275 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15277 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15278 new argument (code).
15279 (ChangeCitationsIfUnique): New method.
15281 * paragraph.C (GetPositionOfInset): Handle bibkey.
15283 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * BufferView_pimpl.h: change type of Position::par_pos to
15286 LyXParagraph::size_type.
15288 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15290 * BufferView_pimpl.C (savePosition, restorePosition): Write
15291 messages to minibuffer.
15293 2001-01-28 José Matos <jamatos@fep.up.pt>
15295 * buffer.C (makeDocBookFile): adds support for document language.
15296 A silly restriction on the name of LatexCommand types where removed.
15297 Added support for CDATA sections, allows to chars unescaped, used
15298 among others in code, to avoid escape < and >.
15300 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15302 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15303 saved positions instrad of a stack. Furthermore, a position is
15304 stored using paragraph id/paragraph position.
15306 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15307 Remove LFUN_REF_BACK.
15309 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15311 * converter.C (dvipdfm_options): New method.
15313 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15315 * vspace.C (isValidLength): Fix for empty input string.
15317 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15319 * LyXAction.C (init): change description of LFUN_FIGURE to
15322 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15324 * LaTeX.C: add using directive
15326 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15328 * MenuBackend.C (expand): Fix the sorting of the formats.
15330 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15332 * lyx_main.C: tiny error message fix
15334 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15337 calling fl_initialize(). This fixes the problem with ',' as
15338 decimal separator in text files.
15340 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15342 * trans.C (process): Fix the keymap bug.
15344 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15346 * LaTeX.C (scanAuxFiles): New method. Provides support for
15347 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15348 (scanLogFile) Scan for "run BibTeX" messages.
15350 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15351 OT1 font encoding. Also, load the aecompl package if the ae
15354 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15356 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * texrow.C (increasePos): turn two error messages into debug
15361 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15363 * LaTeX.C (scanAux): Handle the \@input macro.
15364 (runBibTeX): Use scanAux().
15366 * language.C (latex_options_): New field.
15368 * LaTeXFeatures.C (getMacros): Add language macros.
15370 * buffer.C (makeLaTeXFile): Small fix.
15372 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15374 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15376 * text2.C: add a using directive.
15378 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15383 * lyxfunc.C: kill LyXBell.
15385 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15387 * text.C (IsBoundary): Remove the error message
15389 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15391 * lyxrc.C (setDefaults): Correct initialization value for
15394 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15396 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15399 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15400 and GotoNextNote().
15402 * src/LyXAction.C: Added reference-next.
15404 * text.C (InsertChar): Use contains instead of strchr.
15406 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15408 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15410 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15411 alignment commands (when needed).
15413 * text.C (InsertChar): Add ':' to number separator chars.