1 2004-04-08 Angus Leeming <leeming@lyx.org>
3 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
4 thereby squashing an unnecessary warning.
6 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
11 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
13 * BufferView.C (setCursor): call redoParagraph (some insets could
15 (putSelectionAt): remove the 'double update' trick
17 * BufferView_pimpl.C (fitCursor): call refreshPar
18 (workAreaDispatch): remove an uneeded update call
19 (dispatch): remove some manual update calls
21 * cursor.[Ch]: remove cached_y_, updatePos
22 (selHandle): set noUpdate when appropriate
24 * lyxfunc.C (dispatch): track if we need an update
26 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
28 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
29 (paintSelection): cheap optimization, do not call cursorX when not
31 (paintPars): change signature
34 (paintTextInset): adjust
38 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * lengthcommon.C: compilation fix: remove explicit array size from
41 unit_name[] and friends
43 2004-04-05 Angus Leeming <leeming@lyx.org>
45 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
47 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
48 present only for the preferences dialog.
49 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
51 2004-04-05 Angus Leeming <leeming@lyx.org>
53 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
54 to enable the frontends to export changes to lyxrc correctly.
56 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
58 2004-04-05 André Pönitz <poenitz@gmx.net>
60 * cursor.[Ch] (valign, halign...): remove unneeded functions
62 2004-04-05 Angus Leeming <leeming@lyx.org>
64 * lyxlength.[Ch] (unit_name et al.): const-correct.
66 2004-04-05 Angus Leeming <leeming@lyx.org>
77 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
79 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
81 * text3.C (getStatus): add LFUN_BEGINNINGBUF
83 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
85 * lyxfind.C: add a couple of inTexted() tests + other small fixes
86 * BufferView_pimpl.[Ch] (getStatus)
87 * BufferView.[Ch] (getStatus): add
88 * lyxfunc.C (getStatus): move lfuns handled in
89 BufferView::dispatch to te function above
90 * Cursor.C (setSelection): set selection() = true
92 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
94 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
96 2004-03-31 Angus Leeming <leeming@lyx.org>
98 * lyxfunc.C (dispatch): Fall through to the generic
99 Dialogs::show("preamble").
101 2004-03-31 Angus Leeming <leeming@lyx.org>
103 * lyxfunc.C (dispatch): Fall through to the generic
104 Dialogs::show("spellchecker").
106 2004-03-31 Angus Leeming <leeming@lyx.org>
108 * lyxfunc.C (getStatus, dispatch): changed invocation of the
111 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
116 * insetiterator.[Ch]:
121 * undo.[Ch]: s/DocumentIterator/DocIterator/g
123 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
125 * BufferView.C (setCursor, putSelectionAt): call edit to open the
126 insets where we are putting the cursor.
128 2004-03-31 Angus Leeming <leeming@lyx.org>
131 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
133 * lyxrc.[Ch] (read, write): overloaded member functions taking
134 a std::[io]stream arguments.
136 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
138 2004-03-31 Angus Leeming <leeming@lyx.org>
140 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
141 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
143 * lyxtextclass.C (load): if the text class couldn't be loaded, then
144 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
146 2004-03-31 Angus Leeming <leeming@lyx.org>
148 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
149 the LFUN_ALL_INSETS_TOGGLE code.
151 2004-03-30 Angus Leeming <leeming@lyx.org>
153 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
154 has died. Fall through to the generic Dialogs::show("document").
156 2004-03-30 Angus Leeming <leeming@lyx.org>
159 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
160 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
162 * lyxfunc.C (getStatus, dispatch): define the actions for these
163 lfuns. Little more than a cut and pste job from ControlDocument.C
165 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
167 2004-03-30 Angus Leeming <leeming@lyx.org>
170 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
171 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
173 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
174 open/closed state of ollapsable insets. Usage:
176 all-inset-toggle <state> <name>, where
177 <state> == "open" || "closed" || "toggle" and
178 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
180 * lyxtext.h, text2.C (toggleInset): removed.
182 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
183 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
184 now passes LFUN_INSET_TOGGLE to the found inset.
186 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
187 is now invoked as "all-insets-toggle toggle branch".
189 2004-03-30 Angus Leeming <leeming@lyx.org>
193 * pariterator.[Ch]: added/corrected header blurb.
195 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
197 * dociterator.[Ch]: add an inset_ member
198 (backwardPos): implemented
199 (backwardPos, forwardPos): use inset_ when the stack is empty.
200 (doc_iterator_begin, doc_iterator_end): implemented
201 * pariterator.[Ch]: adjust, add begin, end
202 * insetiterator.[Ch]: adjust, add begin, end
206 * BufferView_pimpl.C:
207 * CutAndPaste.C: adjust
209 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * buffer.C: increment file format to 232.
212 * LaTeXFeatures.C: add bibtopic package.
213 * bufferparams.[Ch]: param \use_bibtopic.
215 * lyxrc.[Ch]: add lyxrc bibtex_command
216 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
218 * buffer.C: increment file format to 231.
220 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
222 * dociterator.C: implement forwardPar
223 * iterators.[Ch]: remove, replaced by
224 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
226 * BufferView_pimpl.C:
229 * bufferview_funcs.C:
235 * Makefile.am: adjust
237 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
239 * CutAndPaste.C (pasteSelection): fix 2 crashes
240 (eraseSelection): fix a crash
241 * paragraph_funcs.C: remove a warning
243 2004-03-28 Angus Leeming <leeming@lyx.org>
246 * LyXAction.C (init): new LFUN_PRINT.
248 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
250 2004-03-27 Angus Leeming <leeming@lyx.org>
253 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
255 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
257 2004-03-27 Angus Leeming <leeming@lyx.org>
259 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
260 insetlist always contains non-null pointers to insets.
262 2004-03-26 Angus Leeming <leeming@lyx.org>
264 * src/BufferView_pimpl.C:
268 * src/output_plaintext.C:
269 * src/outputparams.h:
270 * src/paragraph_funcs.C:
274 * src/frontends/controllers/ControlErrorList.C:
275 * src/frontends/gtk/FileDialogPrivate.C:
276 * src/frontends/gtk/GPainter.C:
277 * src/frontends/gtk/GToolbar.C:
278 * src/frontends/qt2/QRef.C:
279 * src/mathed/math_scriptinset.C: squash compiler warnings.
281 2004-03-26 Angus Leeming <leeming@lyx.org>
283 * ispell.C (LaunchIspell::start):
284 * lyx_cb.C (AutoSaveBuffer::start):
285 invoke run(DontWait) rather than runNonBlocking().
287 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
289 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
291 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * kbsequence.C (print): adjust
295 * kbmap.C (printKeySym): rename and change signature
296 (printKey): use LyXKeySym::print()
298 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
300 * undo.C: add using std::advance to compile for stlport
302 2004-03-24 Angus Leeming <leeming@lyx.org>
304 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
305 it leads to a crash when no buffer is present.
307 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 Martin Vermeer <martin.vermeer@hut.fi>
310 * lyxfunc.C (dispatch):
311 * bufferparams.C (readToken): use the new LColor::setColor
313 * LColor.[Ch] (setColor): new version that takes two strings as
314 argument and creates a new color entry if necessary
316 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
318 * buffer.C (makeLaTeXFile): if the main latex file that is
319 processed is usually a subdocument of some master, then pretend
320 for a while that it is actually the master
322 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
324 * buffer.C (getLabelList):
325 (getBibkeyList): use getMasterBuffer()
326 (getMasterBuffer): new method. Returns the main document in the
327 case where one is using included documents.
329 2004-03-25 André Pönitz <poenitz@gmx.net>
333 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
335 * ParagraphList_fwd.h: change ParagraphList to a std::vector
337 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
338 text*.C over here. Rename namespace CutAndPaste to lyx::cap
340 * ParameterStruct.h: merge with ParagraphParameters
342 * lyxtext.h: remove LyXText::parOffset() and getPar()
344 * text3.C: Remove all 'manual' update calls. We do now one per user
345 interaction which is completely sufficient.
349 * BufferView_pimpl.C:
352 * ParagraphParameters.[Ch]:
364 * output_docbook.[Ch]:
366 * output_linuxdoc.[Ch]:
367 * output_plaintext.[Ch]:
369 * paragraph_funcs.[Ch]:
370 * paragraph_pimpl.[Ch]:
378 * frontends/controllers/ControlDocument.C:
379 * frontends/controllers/ControlErrorList.C:
380 * frontends/controllers/ControlSpellchecker.C:
383 * insets/insetbase.h:
384 * insets/insetbibitem.C:
386 * insets/insetbranch.C:
387 * insets/insetcaption.C:
388 * insets/insetcharstyle.C:
389 * insets/insetcharstyle.h:
390 * insets/insetcollapsable.C:
391 * insets/insetcollapsable.h:
393 * insets/insetfloat.C:
394 * insets/insetfoot.C:
395 * insets/insetmarginal.C:
396 * insets/insetnote.C:
397 * insets/insetoptarg.C:
398 * insets/insettabular.C:
399 * insets/insettext.C:
400 * insets/insettext.h:
401 * insets/insetwrap.C:
402 * mathed/math_mboxinset.C:
403 * mathed/math_nestinset.C:
404 * mathed/math_scriptinset.C:
405 * mathed/math_scriptinset.h:
408 2004-03-24 Angus Leeming <leeming@lyx.org>
410 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
411 deal with any child processes that have finished but are waiting to
412 communicate this fact to the rest of LyX.
414 2004-03-24 Angus Leeming <leeming@lyx.org>
416 64-bit compile fixes.
418 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
419 (c-tor): pass lyx::pos_types rather than ints.
421 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
424 * text.C (Delete): compile fix.
425 (getPar): ensure that function declaration is the same as that in
428 2004-03-23 Angus Leeming <leeming@lyx.org>
430 * ispell.C (LaunchIspell):
431 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
432 a boost::shred_ptr rather than a std::auto_ptr.
434 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * lyxfunc.C (getStatus): handle read-only buffers correctly;
437 handle LFUN_FILE_INSERT_*
439 * lyxrc.C (setDefaults, getDescription, output, read):
440 * lyxrc.h: remove ps_command
442 2004-03-22 Angus Leeming <leeming@lyx.org>
444 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
445 Ensure that error_handler is processed once only and that all data
446 is saved before attempting to output any warning messages.
448 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
450 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
452 * tabular.C (TeXRow): crash fix (from Kayvan and André)
454 2004-03-19 André Pönitz <poenitz@gmx.net>
456 * cursor.[Ch] (reset): take main text inset as argument
459 * BufferView_pimpl.C: adjust
461 * paragraph.[Ch]: fix completely broken operator=()
463 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * LColor.C (getFromLyXName): make sure that the color name is used
468 2004-03-17 Angus Leeming <leeming@lyx.org>
471 * LyXAction.C (init): remove LFUN_FORKS_KILL.
473 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
474 dialog and to kill a forked process.
476 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
478 * text2.C (setCursorFromCoordinates): fix font problem
480 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
482 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
483 bogus "rebuild cursor" code
485 2004-03-11 André Pönitz <poenitz@gmx.net>
487 * buffer.[Ch]: use InsetText instead of LyXText as container for
490 * dociterator.[Ch]: drop the BufferView * member which is not needed
491 anymore after the change to buffer.C
497 * BufferView_pimpl.[Ch]:
499 * cursor_slice.[Ch]: adjust
501 * text3.C: fix bug in mathDispatch
503 2004-03-08 André Pönitz <poenitz@gmx.net>
505 * undo.[Ch]: use 'StableDocumentIterator' as base for
508 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
511 * bufferparams.[Ch]: add jurabib support and param.
513 * LaTeX.C: add FIXME/comment.
515 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * buffer.C: increment file format to 230.
519 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
521 * cursor.C (dispatch): avoid infinite loops
523 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
525 * rowpainter.C (paintSelection): fix x coordinates
527 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
529 * text.C (rowBreakPoint): fix breaking before displayed insets
531 2004-03-01 André Pönitz <poenitz@gmx.net>
533 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
535 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
539 * BufferView_pimpl.C:
547 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
553 * BufferView_pimpl.C: rename textwidth -> maxwidth,
554 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
556 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
558 * Bidi.[Ch] (computeTables): const correctness
559 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
560 fill_hfill, fill_label_hfill and x from Row
561 * lyxtext.h: prepareToPrint returns a RowMetrics
562 * rowPainter.C: adjust
563 * text.C (prepareToPrint): use width, not textWidth. adjust
564 (redoParagraphInternal, cursorX): adjust
565 * text2.C (getColumnNearX): adjust
566 (init): put a default value to the top LyXText::width
568 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
570 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
572 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
574 * lyxtext.h: add FontIterator class
576 * text.C (FontIterator, operator*, operator->, operator++): add
577 (rowBreakPoint, setRowWidth): adjust (fixing a
580 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * BufferView_pimpl.C (workAreaDispatch): allow also
583 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
585 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
587 * text.C (rowBreakPoint): fix a bug showing with very large insets
589 2004-02-25 André Pönitz <poenitz@gmx.net>
592 * cursor.[Ch]: move some mathed specific code to mathed
594 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
597 use_tempdir in preferences
598 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
600 * lyx_main.C: ensure that tempdir is valid
601 * lyxlex.h: correct typo
602 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
603 * paragraph.[Ch] (isMultiLingual): make const
604 * cursor.[Ch] (openable): make const
606 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
608 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
610 2004-02-20 André Pönitz <poenitz@gmx.net>
612 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
614 * cursor.[Ch]: prepare for localized getStatus()
620 * text3.C: streamlines the LyXText cursor movement handlers a bit.
622 2004-02-20 André Pönitz <poenitz@gmx.net>
624 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
626 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
628 * text2.C (setCursorFromCoordinates): switch to absolute coords
631 * text3.C (dispatch): adjust
633 2004-02-16 André Pönitz <poenitz@gmx.net>
635 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
638 * cursor_slice.[Ch]: remove unneeded acessor function
640 * lyxtext.h: rename rtl() to isRTL()
648 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
650 * rowpainter.C (paintSelection): coord fix
652 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * Spacing.C: compile fix
656 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
658 * cursor.C (dispatch): restore current_ before returning
660 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
662 * text2.C (cursorUp, cursorDown): fix coords
665 2004-02-12 André Pönitz <poenitz@gmx.net>
670 * text3.C: add LCursor & parameter to most cursor movement functions
671 remove usage of LyXText::cursorRow() and cursorPar()
673 * cursor.[Ch]: add textRow() needed members
676 * BufferView_pimpl.C:
679 * BufferView_pimpl.C: adjust
681 2004-02-11 André Pönitz <poenitz@gmx.net>
685 * BufferView_pimpl.C: shift undo/redo handling
687 * cursor.[Ch]: fix mathed crash
690 * lyxtext.h: move selectionAsText to LCursor
698 * rowpainter.C: fix excessive drawing
700 2004-02-06 André Pönitz <poenitz@gmx.net>
703 * BufferView_pimpl.[Ch]:
704 * text3.C: move some text specific LFUN handling
706 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
708 * text3.C (checkInsetHit): adjust coords
709 * text2.C (getColumnNearX): adjust coords
710 (edit): adjust coords
711 * text.C (getRowNearY): add two asserts
713 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
716 * format.C: add using std::distance to compile on gcc 2.95/stlport
718 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
720 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
722 2004-02-04 André Pönitz <poenitz@gmx.net>
724 * BufferView.[Ch] (insertInset):
725 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
730 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
732 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
733 on the default clause of the switch
734 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
735 wasn't catched by LCursor::dispatch
737 2004-02-03 André Pönitz <poenitz@gmx.net>
740 * cursor.[Ch]: some additional asserts
742 * undo.[Ch]: remove LyXText dependency in interface
746 * lyxtext.h (firstPar, lastPar): remove dead functions
751 * paragraph.[Ch]: adjust
753 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
755 * lyxfind.C (find): fix argument order in call to ::find
757 2004-02-02 André Pönitz <poenitz@gmx.net>
759 * cursor.[Ch]: remove direct access to anchor
761 * text.C: remove findText() hack
763 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
765 * iterators.[Ch] (lockPath): remove in favour of...
766 * BufferView.[Ch] (setCursor): this addition
767 * BufferView.C (putSelectionAt): adjust
768 * undo.C (performUndoOrRedo): adjust
769 * lyxfunc.C (dispatch): adjust
771 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
773 * iterators.C (lockPath): add a missing slice
774 * undo.C (performUndoOrRedo): remove redundant positioning code
776 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
778 * vc-backend.C (scanMaster): ";" -> ';'
780 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
785 * lyxtextclass.C (compare_name): rename to...
786 (LayoutNamesEqual): ...this
788 * lyxlex_pimpl.C (compare_tags): inherit from
789 std::binary_function, put back into anon namespace
791 * lyxfind.C (MatchString): inherig from std::binary_function
792 (findChange): use empty() istead of !size()
794 * format.C (FormatNamesEqual): new functor
801 * converter.C (compare_Converter): rename to...
802 (ConverterEqual): ...this, and fixup a bit.
803 (getConverter): use it, and make function const
804 (getNumber): use it, and make function const
808 * bufferlist.C: add using boost::bind
810 * MenuBackend.C (MenuNamesEqual): new functor
811 (hasMenu): use it, and make function const
812 (hasSubmenu): use nested bind to get rid of compare_memfun.
814 2004-01-30 André Pönitz <poenitz@gmx.net>
816 * BufferView_pimpl.C:
827 * text3.C: move some of the edit(x,y) handling to the insets
828 some coordinate changes.
830 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
832 * text.C: add using statements for std::advance and std::distance
834 * paragraph.C: add using statement for std::distance
836 * lyxfind.C: add using statement for std::advance
838 * cursor.C (region): remove std:: from swap
839 (openable): use nucleus in stead of operator->
841 * BufferView.C: add using statements for std::distance and std::swap
843 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
845 * iterators.C: Remove the pimple, move the needed structures to
846 the header file. Create accessor for the positions stack.
847 (asPosIterator): remove function
849 * PosIterator.C (PosIterator): move constructors to top of file
850 (PosIterator): reimplement the constructor taking a ParIterator in
852 (setFrom): new function
853 (operator!=): inline it
855 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
857 * lyxfind.C (replaceAll): use std::advance
859 * iterators.h: inherit from std::iterator.
861 * PosIterator.C (advance, distance): remove
862 * PosIterator.h: interit from std::iterator.
864 2004-01-26 André Pönitz <poenitz@gmx.net>
867 * BufferView_pimpl.[Ch]:
871 * bufferview_funcs.C:
882 * output_plaintext.C:
884 * paragraph_funcs.[Ch]:
885 * paragraph_pimpl.[Ch]:
891 * text3.C: more IU: dumps most of the rest of the mathcursor
892 implementation into cursor.[Ch]; "globalize" a bit of it.
894 2004-01-25 Angus Leeming <leeming@lyx.org>
896 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
898 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * LaTeXFeatures.h: add nice_ and nice() const
901 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
903 2004-01-20 André Pönitz <poenitz@gmx.net>
906 * BufferView_pimpl.C:
908 * bufferview_funcs.C:
921 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
922 LCursor and mathcursor parts to LCursor and InsetBase.
924 2004-01-15 André Pönitz <poenitz@gmx.net>
926 * cursor_slice.[Ch]: add a few covienience functions
928 * funcrequest.[Ch]: remove BufferView * member
930 * BufferView_pimpl.C:
937 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
939 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
941 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
942 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
944 2004-01-13 André Pönitz <poenitz@gmx.net>
947 * lyxtext.h: hide cursor and selection anchor behind accessor function
950 * BufferView_pimpl.[Ch]:
952 * bufferview_funcs.C:
962 * cursor_slice.[Ch]: some integer type changes for inset unification
964 * lyxcursor.[hC]: remove, it's CursorSlice now.
967 * BufferView_pimpl.[Ch]:
968 * bufferview_funcs.C:
974 * textcursor.[Ch]: adjust
976 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
978 * text2.C (undoSpan): add and use
979 * text.C (breakParagraph): use undoSpan (fix bug 578)
982 2004-01-08 Angus Leeming <leeming@lyx.org>
984 * BufferView_pimpl.C (MenuInsertLyXFile):
985 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
986 * lyxfunc.C (menuNew, open, doImport):
987 FileFilterList change to the FileDialog open and save functions.
989 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
991 * ShareContainer.h: make isEqual and isUnique adaptable
993 * CutAndPaste.C: make resetOwnerAndChanges adaptable
995 2004-01-07 Angus Leeming <leeming@lyx.org>
998 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1000 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1002 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1003 functions replacing find, replace and replaceAll.
1005 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1006 LFUN_WORDFIND(FORWARD|BACKWARD).
1008 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1010 * text.C (breakParagraph): remove an outdated #warning
1012 2004-01-07 André Pönitz <poenitz@gmx.net>
1014 * lyxfind.C: somewhat clearer logic
1016 * text.C: prevent crash in cursorX on unitialized row cache
1018 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1020 * lyxcursor.[Ch] (operator>): add
1021 * textcursor.C (selStart, selEnd): use std::min and std::max
1023 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1025 * Chktex.C: include boost/format.hpp
1027 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1029 * InsetList.C: replace functor MathcIt with adaptable functor
1031 (insetIterator): modify accordingly
1033 * BranchList.h: move the BranchNamesEqual functor here from...
1034 * BranchList.C: ... to here
1036 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1038 (add): replace a finding loop with std::find_if.
1040 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1042 * output_docbook.C: moving LatexParam functionality into
1045 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * buffer.C: increment format to 229.
1049 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1052 * lyx_sty.[Ch]: remove minipageindent_def
1058 * text3.C: remove LFUN_INSET_MINIPAGE
1060 2003-12-28 Angus Leeming <leeming@lyx.org>
1062 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1064 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1066 * text2.C (setParagraph): fix off-by-one crash
1068 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1070 * output_docbook.C: header stuff for AGU
1072 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1074 * text2.C (redoCursor): remove
1077 * BufferView_pimpl.C: remove calls to redoCursor and
1078 setCursor(cursor.par(), cursor.pos()) all around
1080 2003-12-15 Angus Leeming <leeming@lyx.org>
1082 * buffer.C: up the format to 228.
1084 2003-12-15 André Pönitz <poenitz@gmx.net>
1086 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1091 * BufferView_pimpl.C:
1100 2003-12-15 Angus Leeming <leeming@lyx.org>
1102 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1103 than getFromGUIName to manipulate the color.
1105 2003-12-14 Angus Leeming <leeming@lyx.org>
1107 * BranchList.[Ch]: minimize the API.
1108 (Branch::getBranch, getColor): now return a 'const &'.
1109 (Branch::setSelected) now returns a bool set to true if the
1110 selection status changes.
1111 (BranchList::clear, size, getColor, setColor, setSelected,
1112 allBranches, allSelected, separator): removed.
1113 (BranchList::find): new functions, returning the Branch with
1115 (BranchList::add, remove): return a bool indicating that
1116 the operation was successful.
1118 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1119 new InsetBranch::isBranchSlected member function.
1121 * LColor.[Ch]: mimimize the API.
1122 (fill): renamed as addColor and made private.
1123 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1124 versions of these functions taking a string arg have been removed.
1126 * bufferparams.C (readToken):
1127 * lyxfunc.C (dispatch):
1128 * lyxrc.C (read): changes due to the altered BranchList and
1131 * factory.C (createInset, readInset): changes due to altered
1134 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1137 * lyxfunc.C: remove insetminipage. "minipage-insert"
1138 now produces a frameless minipage box inset.
1140 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1142 * textcursor.[Ch] (selStart,selEnd): add new methods
1143 remove selection::start, end, use LyXCursor::operator<
1144 * lyxcursor.[Ch] (operator<): add
1145 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1146 * BufferView.[Ch] (unsetXSel): add
1147 * text2.C (clearSelection): use unsetXSel,adjust
1150 * rowpainter.C: adjust
1151 * bufferview_funcs.C (put_selection_at): adjust
1153 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1155 * BufferView_pimpl.C: small coord. correction
1157 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1159 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1160 dragging over the splash screen.
1162 2003-12-11 Angus Leeming <leeming@lyx.org>
1164 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1165 as it is now handled in LyXText::dispatch.
1167 * text3.C (doInsertInset): remove a level of nesting.
1169 2003-12-11 Angus Leeming <leeming@lyx.org>
1171 * factory.C (createInset): changes due to the changed interface to
1172 InsetCommandMailer::string2params.
1174 2003-12-10 Angus Leeming <leeming@lyx.org>
1176 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1177 'dialog-show-new-inset <inset name>'
1179 2003-12-10 Angus Leeming <leeming@lyx.org>
1181 * buffer.C: up the format to 227.
1183 * factory.C: the box inset is now identified simply by 'Box'.
1185 2003-12-10 Angus Leeming <leeming@lyx.org>
1187 * buffer.C: up the format to 226.
1189 * factory.C: the note inset is now identified simply by 'Note'.
1191 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1193 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1194 when a pit is enough. Standarize a couple of loops.
1196 2003-12-05 Angus Leeming <leeming@lyx.org>
1198 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1199 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1200 data to the re-worked "log" dialog.
1202 2003-12-03 André Pönitz <poenitz@gmx.net>
1208 * paragraph_funcs.C:
1210 * text2.C: use Inset::getText instead of Inset::getParagraph
1212 2003-12-03 André Pönitz <poenitz@gmx.net>
1216 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1217 InsetText::read() as LyXText::read()
1219 2003-12-02 Angus Leeming <leeming@lyx.org>
1221 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1222 type. Add a comment in the implementation that the function uses
1223 the stream's bad() function rather than fail() as the std::streams
1226 2003-12-02 André Pönitz <poenitz@gmx.net>
1228 * lyxlex.[Ch]: make interface more similar to std::stream
1230 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1232 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1234 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1236 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1238 * vspace.[Ch]: remove VSpace::NONE
1240 2003-12-01 André Pönitz <poenitz@gmx.net>
1243 * lyxtext.h: move ParagraphList member to LyXText
1244 rename LyXText::ownerParagraphs to LyXText::paragraph
1247 * bufferview_funcs.C:
1257 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1259 * undo.C: fix cursor positioning
1261 2003-12-01 John Levon <levon@movementarian.org>
1263 * BufferView_pimpl.C: fix a crash on exit with
1266 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1268 * BranchList.C: fix setSelected() method.
1270 2003-11-28 André Pönitz <poenitz@gmx.net>
1272 * ParagraphParameters.[Ch]:
1273 * ParameterStruct.h: remove space above/below from Paragraph to
1276 * BufferView_pimpl.C:
1282 * paragraph_funcs.C:
1288 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1290 * factory.C: Syntax change for CharStyles
1292 2003-11-28 André Pönitz <poenitz@gmx.net>
1297 * buffer.[Ch]: move LyXText member
1299 2003-11-28 André Pönitz <poenitz@gmx.net>
1301 * BufferView.[Ch]: make LyXText * text a private member
1303 * BufferView_pimpl.C:
1314 * output_plaintext.C: cleanup
1316 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1319 * lyxtextclass.[Ch]: parametrize SGML document header
1321 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1324 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1327 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1329 * text2.C (setFont): rework using PosIterator (no more recursive)
1330 (setCharFont): no more needed
1331 (setLayout): no more selection cursors fiddling (done by redoCursor)
1332 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1333 destroy remaining ones)
1335 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1337 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1339 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1342 * text3.C: adjust + re-allow multi par depth changes
1343 * textcursor.C: simplify a bit
1345 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1351 * src/output_docbook.C:
1352 * src/output_latex.C:
1357 * src/text2.C: Introducing a number of tags parametrizing various
1358 XML formats that we may want to support
1360 2003-11-25 André Pönitz <poenitz@gmx.net>
1362 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1364 * lyxtext.h (leftMargin/rightMargin): simplify interface
1371 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1373 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1374 master file to any child files. Fixes bug 546.
1376 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1378 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1380 2003-11-24 André Pönitz <poenitz@gmx.net>
1382 * rowpainter.C: simplification
1384 * text2.C (updateCounters): remove call to redoParagraph on
1385 changed labels as this is far too expensive.
1387 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1389 * converter.C (convert): fix a crash: this function gets
1390 called with buffer == 0 from importer code.
1392 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1394 * text3.C (cursorPrevious): make sure that we do not compare
1395 iterators form different containers.
1398 * rowpainter.C (paintSelection): make sure that we do not compare
1399 iterators from different containers.
1401 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1402 iterators from different ParagraphList containers.
1405 * text2.C (LyXText): change order of initialization slightly
1406 (operator=): new function. copy all variables except cache_par_
1407 (moveUp): make sure that we do not compare iterators from
1408 different ParagraphList constainers.
1411 * text.C (firstPar): new function
1412 (lastPar): new function
1413 (endPar): new function
1415 * lyxtext.h: move things around and group public functions, public
1416 variables, private functions, private variables
1418 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1420 * factory.C: change call to InsetERT constructor to avoid
1421 additional invocation of method status
1422 * text2.C (toggleInset): remove redundant update() call
1423 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1424 instead of a Bufferview pointer
1426 2003-11-21 André Pönitz <poenitz@gmx.net>
1428 * rowpainter.C: simplification
1430 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1432 * text3.C (dispatch): make possible to extend a word/row selection
1435 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1437 * lyxtext.h: x0_,y0_ -> xo_,yo_
1438 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1439 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1440 * rowpainter.C (paintRows): paint full paragraphs
1442 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1444 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1447 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1449 * lyxtext.h: add x0_, y0_
1450 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1451 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1453 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1455 * text2.C (setCursorIntern): move the x_target update here *
1456 * text3.C: change some bv() to true/false in calls to
1457 cursorUp/Down/Right/Left
1458 * cursor.C: use helper function.
1460 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1462 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1463 * paragraph_funcs.[Ch]: correct comment
1464 * rowpainter.C: do not paint selections away from bv->cursor()
1465 Fix a long standing selection painting bug.
1466 * text3.C: generalize mouse-selection code to LyXTexts other that
1468 * textcursor.C: do not use y coords if we can use par offsets
1470 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1472 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1473 cursor position after e.g. inset insert)
1475 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1477 * lyxfind.C (replace): adjust to locking removal + some
1480 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1482 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1485 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1488 * output_docbook.C: XML sanitation: new layout
1489 parameters InnerTag and CommandDepth
1491 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1493 * BufferView_pimpl.C:
1495 * text3.C: Fix the insertion and modification of button-style
1498 2003-11-13 André Pönitz <poenitz@gmx.net>
1500 * InsetList.[Ch]: remove deleteLyXText
1502 * paragraph.[Ch]: cache beginOfBody position
1507 * text3.C: remove superfluous update() calls
1511 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1513 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1514 * BufferView.C (fitLockedInsetCursor): remove
1515 * cursor.[Ch] (getDim): add
1516 * text.C (getRowNearY): add faster version
1517 * text3.C: remove some update calls
1519 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1531 * text3.C: The Character Style /XML short element patch.
1533 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1536 * factory.C: Small step to solving 'unable to insert some insets'
1539 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1541 * cursor.[Ch] (updatePos): new function for updating the y
1542 position of the tip inset
1543 * bufferview_funcs.C (put_selection_at):
1544 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1546 2003-11-11 André Pönitz <poenitz@gmx.net>
1548 * text.C: remove big comment on invalid Paragraph pointers as it is
1551 2003-11-11 André Pönitz <poenitz@gmx.net>
1553 * text_funcs.[Ch]: merge with ...
1561 * Makefile.am: remove text_funcs.[Ch]
1563 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1565 * cursor.C (getPos): return absolute cached y coord
1567 * BufferView_pimpl.C (fitCursor): new simplistic code
1568 (workAreaDispatch): add a fitCursor call
1570 2003-11-10 André Pönitz <poenitz@gmx.net>
1573 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1575 2003-11-10 André Pönitz <poenitz@gmx.net>
1577 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1578 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1579 indicate that the cursor needs to leave an inset
1581 * lyxtext.h: remove inset locking
1583 * cursor.[Ch]: re-implement functionality provided by inset locking
1586 * BufferView_pimpl.[Ch]:
1588 * bufferview_funcs.[Ch]:
1600 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1602 * PosIterator.[Ch]: replace the stack with a vector, add inset
1604 * iterators.[C]: adjust
1606 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1608 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1610 * paragraph_funcs.C (readParToken): put the correct id in the
1611 error item, not the id of the top paragraph
1613 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1615 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1616 * bufferview_funcs.C (put_selection_at): use the above
1618 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1620 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1622 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1624 * output_linuxdoc.h:
1625 * output_plaintext.h:
1627 * output_docbook.h: add #include statements
1629 2003-11-05 José Matos <jamatos@lyx.org>
1631 * output_docbook.[Ch]:
1632 * output_latex.[Ch]:
1633 * output_linuxdoc.[Ch]:
1634 * output_plaintext.[Ch]: New files for output formats.
1635 * output.[Ch]: New file for helper functions.
1638 * paragraph_funcs.[Ch]: output functions moved to new files.
1640 * outputparams.h: rename of latexrunparams.h
1648 * paragraph_funcs.[Ch]:
1649 * paragraph_pimpl.[Ch]:
1650 * tabular.[Ch]: rename ascii to plaintext
1651 and LatexRunParams to OutputParams.
1653 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1655 * iterators.[Ch] (text): require bv argument
1656 * undo.C (recordUndo):
1657 * lyxfunc.C (dispatch):
1658 * bufferview_funcs.C (put_selection_at): adjust
1660 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1662 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1664 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1666 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1669 2003-11-04 André Pönitz <poenitz@gmx.net>
1671 * cursor.[Ch]: restructure
1674 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1676 * iterators.[Ch] (asCursor): remove
1678 * lfuns.h: remove LFUN_INSET_EDIT
1684 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1686 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1688 * lyxfind.[Ch]: complete overhaul
1689 * BufferView_pimpl.C:
1691 * paragraph.[Ch] (insert): add
1693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1697 * text.C: remove dead spellcheck code
1699 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * dispatchresult.h: add a val setter
1703 * cursor.C (dispatch): use a tempvar for data_[i]
1705 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1707 * PosIterator.[Ch]: compile fix
1709 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1711 * text.C (cursorPar): deactivate the cursor cache
1713 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1715 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1717 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * text3.C (dispatch): adjust for new DisptchResult semantics.
1721 * lyxfunc.C (dispatch): handle update when return from
1722 Cursor::dispatch, adjust for new DispatchResult semantics.
1724 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1725 DispatchResult(true) mean to not update. Add class functions for
1726 setting dispatched and update, as well as reading.
1728 * cursor.C (dispatch): don't handle update here
1730 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1733 * trans_mgr.C: adjust
1735 * paragraph_funcs.C (readParToken): exception safety
1737 * lyxvc.h: store the vcs pointer in a scoped_ptr
1740 * lyxsocket.C (serverCallback): exception safety
1742 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1744 * ispell.C (clone): make it return a auto_ptr
1746 * factory.C (createInset): exception safety
1747 (readInset): exception safety
1749 * bufferlist.C (newBuffer): exception safety
1751 * Thesaurus.C (Thesaurus): use initialization for aik_
1753 * MenuBackend.C (expandToc): exception safety.
1755 2003-11-03 André Pönitz <poenitz@gmx.net>
1759 * bufferview_funcs.C: remove getInsetFromId()
1762 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1768 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1770 * PosIterator.C (distance, advance): new
1771 * bufferview_funcs.[Ch] (put_selection_at): new
1772 * iterators.[Ch] (lockPath): new
1774 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1776 * iterators.[Ch] (asPosIterator): added
1777 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1778 * PosIterator.[Ch]: added
1780 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * cursor.C (dispatch):
1785 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1787 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1788 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1789 contructor, add a class function dispatched. Remove operator>=
1791 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * debug.C: only use the default constructor for debugstream
1796 * main.C (main): include debug.h and setup the lyxerr streambuf
1799 2003-10-31 José Matos <jamatos@lyx.org>
1801 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1803 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1804 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1805 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1806 * paragraph_pimpl.C (simpleTeXSpecialC):
1807 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1808 add LatexRunParams argument.
1810 * exporter.C (Export): change call accordingly.
1812 * latexrunparams.h: add new member to take care of the other backends.
1813 2003-10-30 José Matos <jamatos@lyx.org>
1815 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1816 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1817 factorise code for paragraph output.
1819 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1822 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * text3.C (dispatch):
1825 * lyxfunc.C (dispatch):
1826 * cursor.C (dispatch):
1827 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1829 * dispatchresult.h: make the dispatch_result_t ctor explicit
1831 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1834 * buffer.C: small refactoring of docbook stuff
1836 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1841 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1844 operator dispatch_result_t, and operators for == != and >=
1846 * cursor.C (dispatch): adjust for operator dispatch_result_t
1847 removal. comment out call to update
1849 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1851 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1862 * dispatchresult.h: new file, DispatchResult broken out of
1865 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1867 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1869 * text.C (rowBreakPoint): put a hack inside #if 0
1871 2003-10-28 André Pönitz <poenitz@gmx.net>
1875 * paragraph_funcs.C:
1878 * text2.C: general cleanup (lots of small stuff)
1880 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1882 * text2.C (cursorEnd): simple fix to the "end key goes to one
1883 before the end on last row" bug
1885 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1887 * text.C (backspace): fix the "zombie characters"
1889 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1891 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1893 2003-10-27 André Pönitz <poenitz@gmx.net>
1895 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1897 * factory.C: handle new InsetPagebreak, InsetLine
1899 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1900 and move handling into new InsetPagebreak, InsetLine
1902 * BufferView_pimpl.C:
1904 * ParagraphParameters.C:
1905 * ParameterStruct.h:
1910 * paragraph_funcs.C:
1911 * paragraph_pimpl.C:
1917 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1920 * lyxrow_funcs.[Ch]:
1926 * text3.C: remove lastPos uses in favour of Row::endpos
1928 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1930 * undo.C (performUndoOrRedo): fix two crashes by setting a
1931 cursor by hand and reordering some calls. Use bv->lockInset instead
1932 of inset->edit because the latter loses cursor information
1934 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1936 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1938 (rowBreakPoint): fix width. change point to point + 1.
1939 Add a missing check.
1941 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1944 * lyxfunc.C: fix (at least partly) the problems
1945 with the Nav menu and headers inside branch insets
1948 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1950 * paragraph.C (getChar): add strong asserts
1952 * lyxrow_funcs.C (lastPos): remove hideous hack
1954 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1955 (fill): adjust to that (avoid an infinite loop)
1957 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1959 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1961 2003-10-23 André Pönitz <poenitz@gmx.net>
1963 * RowList_fwd.h: change list<> to vector<> to gain speed
1964 after suggestion from Alfredo
1966 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1968 * lyxtext.h: move the bidi stuff from here...
1971 * Bidi.[Ch]: ... to here
1973 2003-10-23 André Pönitz <poenitz@gmx.net>
1976 * text.C (isLastRow, isFirstRow): new functions
1978 * paragraph.h: new width cache member
1980 * rowpainter.C: replace RowList::iterator with Row & where possible
1982 * lyxfunc.C: replace several view()->text with a single call
1984 * toc.C: fix 'unused' warning
1986 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1988 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1989 when woring with stream::pos_type
1990 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1992 2003-10-22 André Pönitz <poenitz@gmx.net>
1995 * text.C: use Row & instead of RowList::iterator
1997 * lyxrow.h: rename end() to endpos()
2003 2003-10-22 Angus Leeming <leeming@lyx.org>
2005 * buffer.[Ch] (fully_loaded): new member function, returning true
2006 only when the file has been loaded fully.
2007 Used to prevent the premature generation of previews and by the
2008 citation inset to prevent computation of the natbib-style label.
2010 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2011 templates are all set up.
2013 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2015 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2017 * text.C: fixed an "oops" in the "is a bit silly"
2020 2003-10-21 André Pönitz <poenitz@gmx.net>
2022 * FuncStatus.[Ch]: small stuff, whitespace
2024 * lyxfont.[Ch]: operator<<() for debug reasons
2028 * lyxtext.h: whitespace, spelling
2030 * paragraph.C: naming of variables
2033 * text2.C: small stuff
2036 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2038 * text.C: (1) finish off the inset display() work;
2039 (2) fix the "is a bit silly" bug (accessing char
2042 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2044 * text.C: re-introduce display() for insets, fixing the
2045 various bugs (stretch of line above, math inset
2048 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * text.C (rightMargin): remove spurious semicolon
2052 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2055 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2057 * text3.C: fix one crash due to wrong cursor def
2059 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * vc-backend.C (scanMaster): make the regex static
2063 * LaTeX.C (scanAuxFile): make the regexs static
2065 * text3.C (doInsertInset, dispatch, dispatch):
2066 * text2.C (cursorUp, cursorDown):
2067 * text.C (selectNextWordToSpellcheck):
2068 * BufferView_pimpl.C (dispatch):
2069 * lyxfunc.C (dispatch): localDispatch -> dispatch
2071 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 * lyxsocket.C: include <cerrno>
2075 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * lyxfunc.C (dispatch): remove textcache stuff
2079 * bufferlist.C (release): remove textcache stuff
2082 * TextCache.C: delete file
2083 * TextCache.h: delete file
2085 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2087 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2088 delete of the bv_->text.
2089 (resizeCurrentBuffer): remove texcache stuff
2090 (workAreaResize): ditto
2092 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2097 2003-10-16 André Pönitz <poenitz@gmx.net>
2104 * text3.C: speed up by storing y positions per paragraph plus per-row
2105 offset instead of having a 'full' y position in the row.
2107 2003-10-15 André Pönitz <poenitz@gmx.net>
2111 * undo.[Ch]: make undo aware of inner insets
2113 2003-10-14 Angus Leeming <leeming@lyx.org>
2115 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2116 static member functions LyX::ref() and LyX::cref.
2117 (lastfiles): new accessor functions for the new lastfiles_ member var.
2118 (addLyXView, views_): add a new LyXView to the list of views_.
2119 (updateInset): loop over all LyXViews to call their own updateInset
2120 member function, returning a pointer to the Buffer owning the inset.
2122 * BufferView_pimpl.C (loadLyXFile):
2123 * MenuBackend.C (expandLastfiles):
2124 * bufferlist.C (MenuWrite, QuitLyX):
2125 lastfiles is no longer a global variable.
2126 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2128 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2129 static function. Access through LyX::cref().emergencyCleanup().
2131 2003-10-14 André Pönitz <poenitz@gmx.net>
2133 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2135 * undo.[Ch]: restoring part of 'undo in insets'
2138 * undo_funcs.[Ch]: merge with undo.[Ch]
2140 * tabular.C: small cleansing stuff
2142 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2144 * paragraph_funcs.C (readParToken): report unknown insets as error
2145 boxes. Use the outer paragraph as location (also for unknown
2148 * factory.C (readInset): do not abort on reading an unknown inset.
2149 Eat it and return 0.
2151 2003-10-13 Angus Leeming <leeming@lyx.org>
2153 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2155 * lyxrc.C: displayTranslator is now a function,
2156 declared in GraphicsTypes.h.
2158 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2160 * format.C: new placeholder $$a to pass the socket address.
2162 * bufferlist.[Ch]: new function getBufferFromTmp.
2164 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2165 files in the temporary dir.
2167 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2169 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2171 * Makefile.am: add lyxsocket.[Ch].
2173 * lyx_main.C (error_handler): handle SIGPIPE.
2175 2003-10-13 André Pönitz <poenitz@gmx.net>
2177 * BufferView_pimpl.C:
2182 * undo_funcs.[Ch]: use paroffset_type instead of
2183 ParagraphList::iterators to prevent multiple conversion
2184 (and get a more robust interface)
2186 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2190 * text3.C (dispatch): ditto
2192 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2195 move the onlyfile, use onlyfile instead of foundfile in a couple
2198 * DepTable.C (update): flush the error stream a bit more
2200 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * lyxserver.C (callback): adjust
2204 * lyxfunc.C (getStatus): add a missing brace in commented code
2205 (ensureBufferClean): reindent
2206 (dispatch): delete version taking a string
2208 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * LaTeX.C (deplog): move found file handlig from here...
2211 (handleFoundFile): .. to new function here.
2212 (deplog): make sure to discover several files mentioned on the
2215 2003-10-10 André Pönitz <poenitz@gmx.net>
2222 * text3.C: fix some of the tabular crashes
2224 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2226 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2228 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2230 2003-10-09 André Pönitz <poenitz@gmx.net>
2232 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2235 * BufferView_pimpl.C:
2236 * bufferview_funcs.C:
2247 * undo_funcs.C: adjust
2249 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * text2.C (incrementItemDepth): new function, use a backtracking
2252 algorithm to discover the correct item depth.
2253 (resetEnumCounterIfNeeded): new function, use a backtracking
2254 algorithm to discover if counter reset is needed.
2255 (setCounter): use them. Simplify a bit. Add different labels for
2256 different item depths for itemize.
2258 * paragraph.C (Paragraph): remove initialization of enumdepth
2261 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2262 enumerate and itemize. Change the type of itemdepth to signed char.
2264 2003-10-08 André Pönitz <poenitz@gmx.net>
2266 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2271 * tabular.[Ch]: fix crash after 'row-insert'
2273 2003-10-08 Angus Leeming <leeming@lyx.org>
2275 Fix doxygen warnings.
2277 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2278 Remove CutAndPaste:: prefix from header file declaration.
2280 * LColor.h (fill): remove LColor:: prefix from declaration.
2282 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2283 use lyx::depth_type rather than Paragraph::depth_type so that
2284 header file and .C file match.
2286 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2288 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2289 * aspell.C: \file aspell_local.C -> \file aspell.C
2290 * gettext.C: \file gettext.C -> \file src/gettext.C
2291 * gettext.h: \file gettext.h -> \file src/gettext.h
2292 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2293 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2294 * text.C: \file text.C -> \file src/text.C
2296 * toc.C: move comment so that doxygen is not confused.
2298 2003-10-07 Angus Leeming <leeming@lyx.org>
2300 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2302 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2305 * aspell_local.h: add forgotten std::string's.
2307 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2314 * text3.C: The Box patch. Fancybox support, minipage, parbox
2316 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2322 * ParagraphParameters.h:
2332 * lyxtextclasslist.h:
2335 * paragraph_pimpl.C:
2336 * textcursor.h: add <string> and other small fixes to make Lars'
2337 std::string patch compile with STLport.
2339 2003-10-06 Angus Leeming <leeming@lyx.org>
2341 * LColor.h: Add missing #include <string>.
2343 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * All most all file in all subdirs: Make <string> be the prefered
2346 way of getting to std::string, add using declarations.
2348 2003-10-06 André Pönitz <poenitz@gmx.net>
2350 * metricsinfo.C: initialize LyXFont before changing attribute.
2351 (fixes the 'math in \emph is upright' bug)
2353 2003-10-06 André Pönitz <poenitz@gmx.net>
2355 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2357 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2360 * paragraph_pimpl.C: Small fixes to build using STLport
2362 2003-10-02 André Pönitz <poenitz@gmx.net>
2365 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2367 2003-10-01 André Pönitz <poenitz@gmx.net>
2369 * factory.C: assert early
2371 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * lyx_main.C: remove the global debug object
2375 * debug.h: adjust for new debugstream
2377 * debug.C: adjust for new debugstream and keep the global debug
2380 2003-09-22 Angus Leeming <leeming@lyx.org>
2382 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2383 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2384 an incomplete class LyXFont.
2386 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2388 * factory.C: bug fix in branches
2390 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * lyxfunc.C (processKeySym): adjust
2394 (dispatch): change arg name from ev to func, adjust
2395 (sendDispatchMessage): ditto
2397 * lyx_main.C (defaultKeyBindings): adjust keybindings
2398 (deadKeyBindings): ditto
2400 * kbsequence.C (addkey): return a FuncRequest
2402 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2404 * kbmap.C (bind): take a FuncRequest as arg, adjust
2407 (defkey): change to take a FuncRequest as arg, adjust
2408 (findbinding): take a FuncRequest as arg, adjust.
2410 * funcrequest.h (operator=): added
2412 * funcrequest.C (FuncRequest): default kb_action changed from
2413 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2415 * buffer.C (dispatch): simplify
2416 (dispatch): adjust to take a FuncRequest as arg, adjust
2418 * boost.C (assertion_failed): change assertion message slightly
2420 * ToolbarBackend.C (read): simplify
2422 * MenuBackend.C (binding): adjust call to findbinding, add a
2423 message if no binding is found.
2425 (expandToc): correct by adding a empty FuncRequest
2427 * LyXAction.C: include <boost/assert.hpp>
2428 (isPseudoAction): delete function
2429 (LookupFunc): change name to...
2430 (lookupFunc): this. change return type to FuncRequest.
2431 (getActionName): take kb_action as arg, simplify
2432 (funcHasFlag): add an assert, simplify.
2434 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * toc.C (action): return a FuncRequest, simplify
2438 * lyxfunc.C (processKeySym): adjust
2439 (getStatus): delete version that takes an int.
2441 (dispatch): delete version that takes action as int
2443 (sendDispatchMessage): simplify and adjust
2445 * funcrequest.C (getArg): take unsigned int as arg
2447 * ToolbarBackend.C (read): adjust
2448 (add): delete version that takes func as a string.
2449 (getIton): take a FuncRequest as arg
2451 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2454 * MenuBackend.C (MenuItem): add a new construct that only takes a
2455 Kind, simplify the constructor use for submenus.
2457 (expandLastfiles): adjust
2458 (expandDocuments): adjust
2459 (expandFormats): adjust
2460 (expandFloatListInsert): adjust
2461 (expandFloatInsert): adjust
2462 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2464 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2465 Remove class variables lyx_pseudo_map and lyx_arg_map
2467 * LyXAction.C (searchActionArg): delete function
2468 (getPseudoAction): delete function
2469 (retrieveActionArg): delete function
2470 (LookupFunc): make it return kb_action, simplify.
2471 (getActionName): simplify
2473 * factory.C (createInset): fix new bug
2475 2003-09-19 Angus Leeming <leeming@lyx.org>
2477 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2478 masterFilename_ parameter in the include inset.
2480 * factory.C (createInset): changes due to the changes to InsetInclude.
2482 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2484 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2486 2003-09-18 Angus Leeming <leeming@lyx.org>
2489 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2490 Inset::fillWithBibKeys.
2491 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2493 2003-09-18 Angus Leeming <leeming@lyx.org>
2495 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2497 (ctor): pass and store a 'Buffer const &'
2498 (buffer): new member function.
2500 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2501 '*this' to the LaTeXFeatures ctor.
2503 2003-09-18 Angus Leeming <leeming@lyx.org>
2509 * text.C: rename EnumLColor as LColor_color.
2511 2003-09-18 Angus Leeming <leeming@lyx.org>
2513 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2514 remove #include "insets/insetbase.h" from cursor.h.
2516 2003-09-18 Angus Leeming <leeming@lyx.org>
2518 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2519 InsetOld_code to remove #include "inset.h".
2521 * iterators.C: add #include "insets/inset.h"
2523 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2525 * BufferView.C: remove more locking stuff that apparently doesn't
2526 do anything sensible.
2528 2003-09-16 André Pönitz <poenitz@gmx.net>
2531 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2534 2003-09-16 Angus Leeming <leeming@lyx.org>
2536 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2538 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2541 * paragraph.h: remove #include "lyxfont.h". Forward declare
2544 2003-09-16 Angus Leeming <leeming@lyx.org>
2546 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2547 of support/textutils.h.
2548 (isWord): move the contents of support/textutils.h's IsWordChar here.
2554 * text2.C: add #include "paragraph.h".
2557 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2559 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * LaTeX.C: use namespace alias for lyx::support::os
2567 2003-09-16 Angus Leeming <leeming@lyx.org>
2570 * bufferview_funcs.C:
2573 * paragraph_pimpl.C:
2575 * text.C: add #include "LColor.h".
2577 2003-09-16 Angus Leeming <leeming@lyx.org>
2579 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2580 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2582 Store the FontBits::color variable as an int rather than as an
2583 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2586 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2587 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2588 string calls together.
2590 * lyxrc.C: add #include "LColor.h".
2592 2003-09-15 Angus Leeming <leeming@lyx.org>
2594 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2597 2003-09-15 Angus Leeming <leeming@lyx.org>
2599 * LColor.h: add an EnumLColor wrapper for LColor::color.
2601 * lyxfont.[Ch] (color, setColor, realColor):
2602 * lyxtext.h, text.C (backgroundColor):
2603 pass EnumLColor args to/from the functions, rather than LColor::color
2607 * lyxtext.h: forward declare EnumLColor.
2609 * lyx_main.C: add #include "LColor.h".
2611 2003-09-15 Angus Leeming <leeming@lyx.org>
2613 * .cvsignore: add lyx-gtk.
2615 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * ParagraphParameters.C
2624 * bufferview_funcs.C
2634 * vc-backend.C: remove usage of STRCONV
2636 2003-09-15 Angus Leeming <leeming@lyx.org>
2638 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2639 explicitly define the color passed to the painter.
2641 2003-09-15 Angus Leeming <leeming@lyx.org>
2643 * bufferparams.C (BufferParams): reorder member initializers to avoid
2646 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2648 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2649 * text.C (updateRowPositions): remove an unusual nop
2651 2003-09-12 André Pönitz <poenitz@gmx.net>
2653 * BufferView_pimpl.C:
2662 * Counters.[Ch]: finish the 'automatic counters' job
2664 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2666 * aspell.C: include <boost/assert.cpp> (compile fix)
2668 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2670 * boost.C (assertion_failed): use lyx::support::abort instead of
2673 2003-09-10 Angus Leeming <leeming@lyx.org>
2675 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2676 with their _fwd progeny.
2678 2003-09-09 Angus Leeming <leeming@lyx.org>
2680 134 files throughtout the source tree: replace 'using namespace abc;'
2681 directives with the appropriate 'using abc::xyz;' declarations.
2683 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2685 * boost.C (emergencyCleanup): moved here from LAssert.c
2686 (assertion_failed): new function, called by BOOST_ASSERT
2688 * several files: change Assert to BOOST_ASSERT
2690 2003-09-09 Angus Leeming <leeming@lyx.org>
2692 * buffer.[Ch]: Add an Impl class and move Buffer's member
2693 variables into it. As a result move several header files out of
2696 Add header files to lots of .C files all over the tree as a result.
2698 2003-09-09 Angus Leeming <leeming@lyx.org>
2700 * buffer.[Ch]: make Buffer's member variables private. Add
2703 Lots of changes all over the tree as a result.
2705 2003-09-08 Angus Leeming <leeming@lyx.org>
2707 * graph.C: #include <config.h>.
2709 2003-09-08 Angus Leeming <leeming@lyx.org>
2713 * BufferView_pimpl.C:
2742 * toc.C: remove redundant using directives.
2744 2003-09-07 Angus Leeming <leeming@lyx.org>
2746 * LaTeXFeatures.h: remove #include "support/types.h".
2747 * ToolbarBackend.h: remove #include <algorithm>.
2748 * changes.h: remove #include <ctime>.
2749 * debug.h: remove #include <iosfwd>.
2750 * graph.h: remove #include "support/std_string.h".
2751 * lyx_main.h: remove #include <csignal>.
2752 * lyxlex_pimpl.h: remove #include <fstream>.
2753 * sgml.h: remove #include <algorithm>, <utility>.
2754 * toc.h: remove #include "support/std_ostream.h".
2755 Add #include <iosfwd>.
2757 2003-09-07 Angus Leeming <leeming@lyx.org>
2759 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2761 * converter.h: forward declare LatexRunParams.
2762 * encoding.h: remove #include "lyxrc.h".
2763 * lyxtext.h: remove #include "LColor.h".
2764 * lyxtextclass.h: remove #include "support/types.h".
2765 * trans.h: remove #include "tex-accent.h".
2766 * trans_mgr.h: remove #include "tex-accent.h".
2767 * insets/inset.h: remove #include "support/types.h", <vector>.
2768 * insets/insetcollapsable.h: remove #include "LColor.h".
2769 * insets/insetinclude.h: remove #include "dimension.h".
2770 * insets/insetlatexaccent.h: remove #include "dimension.h".
2771 * insets/insetoptarg.h:: remove #include "insettext.h".
2772 * insets/insettext.h: remove #include "dimension.h",
2773 <boost/shared_ptr.hpp>
2775 * insets/renderers.h: add #include "dimension.h".
2776 * insets/updatableinset.h: add #include "support/types.h".
2778 * many .C files: Associated changes.
2780 2003-09-06 Angus Leeming <leeming@lyx.org>
2782 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2783 one, inside testInvariant.
2785 * PrinterParams.C: new file.
2786 * PrinterParams.[Ch]: move the function bodies out of line.
2788 2003-09-06 Angus Leeming <leeming@lyx.org>
2790 * ParagraphParameters.h: forward declare ParameterStruct rather than
2791 including its header file.
2792 (depth): moved out-of-line.
2794 2003-09-06 Angus Leeming <leeming@lyx.org>
2796 * BufferView_pimpl.h:
2799 * lyxfunc.h: forward declare LyXKeySym rather than
2800 #include "frontends/LyXKeySym.h".
2802 * BufferView_pimpl.C:
2805 * lyxfunc.C: associated changes.
2807 2003-09-06 Angus Leeming <leeming@lyx.org>
2809 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2810 As a result, can remove the #include "insets/inset.h" from BufferView.h
2812 2003-09-06 Angus Leeming <leeming@lyx.org>
2814 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2815 As a result, can remove the #include "insets/inset.h" from BufferView.h
2817 2003-09-06 Angus Leeming <leeming@lyx.org>
2823 * bufferview_funcs.C:
2824 * BufferView_pimpl.C:
2829 * ParagraphParameters.C:
2834 * frontends/controllers/ControlDocument.C:
2835 * insets/insetcaption.C: rearrange the #includes into some sort of
2838 * buffer.h: remove #includes ErrorList.h, undo.h
2840 2003-09-06 Angus Leeming <leeming@lyx.org>
2842 * support/types.h: add a 'depth_type' typedef, used to store the
2843 nesting depth of a paragraph.
2846 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2847 defining explicitly.
2850 * paragraph_funcs.h:
2851 * ParagraphParameters.h:
2852 * sgml.h: use lyx::depth_type rather than Paragraph or
2853 ParameterStruct's depth_type.
2856 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2859 * BufferView_pimpl.C:
2861 * ParagraphParameters.C:
2864 * bufferview_funcs.C:
2871 * frontends/LyXView.C:
2872 * frontends/controllers/ControlDocument.C:
2873 * frontends/controllers/ControlErrorList.C:
2874 * insets/insetbibitem.C:
2875 * insets/insetbranch.C:
2876 * insets/insetcaption.C:
2877 * insets/insetcollapsable.C:
2878 * insets/insetenv.C:
2879 * insets/insetert.C:
2880 * insets/insetfloat.C:
2881 * insets/insetfoot.C:
2882 * insets/insetfootlike.C:
2883 * insets/insetnewline.C:
2884 * insets/insetquotes.C:
2885 * insets/insettabular.C:
2886 * insets/insettext.C:
2887 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2889 * frontends/controllers/ControlChanges.C: #include "changes.h".
2891 2003-09-06 Angus Leeming <leeming@lyx.org>
2893 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2894 than #including paragraph.h.
2897 * RowList.h: deleted. Superfluous.
2907 * insets/insettext.h: use ParagraphList_fwd.h rather than
2910 * paragraph.h: don't forward declare ParagraphList.
2913 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2914 rather than ParagraphList.h. paragraph.h is still needed for the
2915 Paragraph::depth_type parameters.
2917 * textcursor.h: enable it to compile stand-alone in light of the
2920 * bufferview_funcs.C:
2932 * frontends/controllers/ControlParagraph.C:
2933 * frontends/controllers/ControlTabular.C:
2934 * insets/insetmarginal.C:
2935 * insets/insetminipage.C:
2936 * insets/insetnote.C:
2937 * insets/insetoptarg.C: add header files needed to compile again.
2939 2003-09-06 Angus Leeming <leeming@lyx.org>
2941 * RowList_fwd.h: new file, forward-declaring Row rather than
2942 #including lyxrow.h.
2947 * insets/insettext.h: use it instead of RowList.h
2949 * bufferview_funcs.C:
2956 * text3.C: #include "RowList.h".
2958 2003-09-05 Angus Leeming <leeming@lyx.org>
2960 * factory.C (createInset):
2961 * vspace.C (c-tor): replace sscanf call with an istringstream.
2962 * ispell.C: re-add missing HP/UX headers.
2963 * lyxserver.C: re-add missing os2 headers.
2965 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2974 * text3.C: re-add missing system headers, needed for 2.95.2.
2976 2003-09-05 Angus Leeming <leeming@lyx.org>
2978 Changes most place everywhere due to the removal of using directives
2979 from support/std_sstream.h.
2981 2003-09-05 Angus Leeming <leeming@lyx.org>
2983 Replace LString.h with support/std_string.h,
2984 Lsstream.h with support/std_sstream.h,
2985 support/LIstream.h with support/std_istream.h,
2986 support/LOstream.h with support/std_ostream.h.
2988 Changes resulting throughout the tree.
2990 2003-09-05 Angus Leeming <leeming@lyx.org>
2992 * sgml.h: ensure that the header file can be compiled stand-alone.
2993 * *.C: strip out redundant #includes. (320 in total.)
2995 2003-09-04 Angus Leeming <leeming@lyx.org>
2997 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2998 here (from getPackages).
3000 * debug.[Ch]: add a new EXTERNAL tag.
3002 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3004 * text2.C (cursorEnd): simplify
3006 (getColumnNearX): adjust
3008 * text.C (computeBidiTables): adjust
3011 * rowpainter.C (paintChars): adjust
3012 (paintSelection): adjust
3013 (paintChangeBar): adjust
3016 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3018 (numberOfSeparators): adjust
3020 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3026 * text3.C: Restricts the mouse click functionality
3027 of insets like bibtex, include, toc and floatlist to the visible
3028 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3029 up the dialogs. Cursor has to be in front of the inset (i.e.
3030 start of row) for this to function.
3032 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3034 * bufferview_funcs.C (currentState): output row information
3036 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3038 * bufferview_funcs.C (currentState): output paragraph position
3040 2003-09-04 Angus Leeming <leeming@lyx.org>
3042 * FloatList.h: move out #include "Floating.h".
3043 * LaTeX.h: move out #include "DepTable.h".
3044 * LyXAction.h: move out #include "funcrequest.h".
3045 * buffer.h: move out #include "author.h", "iterators.h".
3046 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3047 * lyx_main.h: move out #include "errorlist.h".
3048 * lyxfunc.h: move out #include "FuncStatus.h".
3049 * lyxtext: move out #include "lyxcursor.h".
3050 * paragraph_pimpl.h: move out #include "counters.h".
3052 2003-09-03 Angus Leeming <leeming@lyx.org>
3054 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3055 preamble_snippets list, enabling us to add snippets to the preamble
3056 only if the snippet was not there already.
3058 2003-09-04 Angus Leeming <leeming@lyx.org>
3060 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3062 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3067 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3069 * BranchList.C: point fix, earlier forgotten
3071 2003-09-02 Angus Leeming <leeming@lyx.org>
3073 * box.C (contains): renamed from 'contained' after a fantastic
3076 2003-09-02 John Levon <levon@movementarian.org>
3082 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3084 2003-09-02 John Levon <levon@movementarian.org>
3086 * text2.C: simplification of cursorEnd(), including partial
3089 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * buffer.C (readFile): add a space
3093 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3095 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3097 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * buffer.C (readFile): new function, take a filename and a
3100 ParagraphList::iterator
3102 (readFile): adjust, make it private. don't use setStream, make
3103 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3104 always contain the filename.
3106 * BufferView.C (insertLyXFile): simplify and make it work for
3109 2003-08-30 John Levon <levon@movementarian.org>
3111 * Makefile.am: fix dist (from Kayvan)
3113 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * most files: change to use const Buffer refs
3117 2003-08-27 André Pönitz <poenitz@gmx.net>
3119 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3120 on top of ownerPar().
3122 2003-08-27 John Levon <levon@movementarian.org>
3124 * funcrequest.C: properly initialise POD members
3126 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3128 * lyxtext.h (top_y): move top_y from here
3133 * BufferView_pimpl.[Ch]: to here
3134 * frontends/screen.C:
3135 * insets/insettabular.C:
3136 * insets/insettext.C: adjust
3137 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3139 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3142 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3144 2003-08-26 André Pönitz <poenitz@gmx.net>
3146 * paragraph_func.[Ch] (outerPar): new function
3149 * paragraph_funcs.C:
3150 * paragraph_funcs.h:
3151 * paragraph_pimpl.C:
3152 * text2.C: remove Inset::par_owner
3154 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3159 * text2.C: eliminates the needFullRow/display() stuff
3160 altogether, putting the logic in metrics/draw in the insets.
3162 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3164 * text2.C (redoParagraphInternal, redoParagraphs):
3165 * text.C (redoParagraph): add a call to updateRowPositions at the
3166 end of each 'metrics-like' call. Remove all others.
3167 (getRow): remove the 'y-computing' version.
3168 (getRowNearY): do not compute nor return the real y. Solve the
3169 'y < 0' problem and simplify.
3171 2003-08-22 Angus Leeming <leeming@lyx.org>
3173 * *.[Ch]: clean-up of licence and author blurbs.
3174 Also move config.h out of a few .h files and into a few .C files.
3176 2003-08-22 André Pönitz <poenitz@gmx.net>
3178 * lyxrow.[Ch]: add x_ and *fill_ members
3183 * text2.C: adjust/remove prepareToPrint() calls
3185 2003-08-22 André Pönitz <poenitz@gmx.net>
3187 * lyxrow.[Ch]: add end_ member
3189 * lyxrow_funcs.C: use LyXRow::end_
3191 * lyxtext.h (singleWidth): add LyXFont parameter
3194 * text2.C: adjust LyXText::singleWidth() calls
3196 * text.C (redoParagraph): simplify row breaking logic
3199 2003-08-19 André Pönitz <poenitz@gmx.net>
3201 * funcrequest.C: initialize button_ member
3204 * rowpainter.[Ch]: interface consolidation
3206 2003-08-18 André Pönitz <poenitz@gmx.net>
3209 * BufferView_pimpl.C:
3211 * paragraph_funcs.C:
3213 * text3.C: remove LyXScreen::draw() and fitCursor calls
3215 * BranchList.h: remove spurious semicolons
3217 * MenuBackend.C: fix branchlist related crash
3219 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3227 * bufferparams.[Ch]:
3231 * text3.C: implements the 'branch inset'
3232 idea. This allows the output of various versions of a document
3233 from a single source version, selectively outputing or suppressing
3234 output of parts of the text.
3235 This implementation contains a 'branch list editor' in a separate
3236 tab of the document settings dialog. Branches are user definable
3237 and have a "display colour" to distinguish them on-screen.
3239 ColorHandler was somewhat cleaned up.
3240 (1) make possible a dynamically growing LColor list by allowing
3241 the graphic context cache to grow along (vector);
3242 (2) eliminate an IMHO unnecessary step in colour allocation.
3244 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3246 * BufferView_pimpl.C: compile fix
3248 2003-08-15 André Pönitz <poenitz@gmx.net>
3250 * rowpainter.C: remove extra metrics calls
3252 * lyxtext.h: merge the two constructors into a single one,
3253 pass reference to owner's par list
3255 * BufferView_pimpl.C:
3259 2003-08-15 André Pönitz <poenitz@gmx.net>
3261 * lyxrow_funcs.[Ch]:
3264 * paragraph_funcs.C:
3269 * text_funcs.C: split LyXText::rowlist_ into individual
3270 Paragraph::rows_ chunks
3273 * BufferView_pimpl.[Ch]:
3276 * text3.C: remove toggleSelection()
3278 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3280 * bufferlist.C: beautify two alerts (shorter text of buttons)
3281 * buffer.C: Remove redundant ' ' from message
3283 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3284 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3285 rename VALIGN_CENTER to VALIGN_MIDDLE
3287 2003-08-11 André Pönitz <poenitz@gmx.net>
3289 * lyxtext.h (getPar):
3290 * text.C: new function
3292 2003-08-11 André Pönitz <poenitz@gmx.net>
3295 * tracer.[Ch]: remove unneeded files
3297 * InsetList.[Ch]: remove resizeInsetsLyXText()
3302 * text3.C: merge insertParagraphs() and appendParagraph()
3303 remove breakAgain(), update()
3305 * BufferView_pimpl.[Ch]:
3306 * bufferview_funcs.[Ch]:
3310 * tabular.C: adjust after text & InsetList changes.
3312 2003-08-08 André Pönitz <poenitz@gmx.net>
3314 * text.C (insertChar, backspace): replace rowlist fiddling
3315 with rebreak of full par
3318 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3319 checkParagraph, updateInset): removed
3321 2003-08-07 André Pönitz <poenitz@gmx.net>
3324 * text3.C: merge some LFUN handlers, remove dead code
3326 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3328 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3330 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3332 * text2.C (DEPM): fix part of bug 1255 and 1256
3334 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3336 * BufferView_pimpl.C (workAreaDispatch): change to use
3337 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3338 that are no mouse related.
3340 2003-08-05 André Pönitz <poenitz@gmx.net>
3343 * BufferView_pimpl.[Ch]:
3344 * bufferview_funcs.C:
3346 * text3.C: rip out "deep update"
3348 * textcursor.[Ch] (last_sel_cursor): remove unused member
3350 2003-08-04 André Pönitz <poenitz@gmx.net>
3353 * BufferView_pimpl.[Ch]:
3354 * ParagraphParameters.C:
3355 * bufferview_funcs.C:
3361 * text3.C: replace "complicated" BufferView::update(...) calls with
3364 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3366 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3368 * Makefile.am (lyx_SOURCES): add paper.h
3370 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3372 * Makefile.am: move things around so that both lyx-qt and
3373 lyx-xforms can be built (according to --with-frontend). Then lyx
3374 is a symbolic link to lyx-[firstfrontend]
3376 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3378 * Always use std::endl with lyxerr
3380 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3382 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3384 2003-08-01 André Pönitz <poenitz@gmx.net>
3387 * BufferView_pimpl.[Ch]:
3389 * text3.C: merge BufferView::repaint() and BufferView::update()
3391 2003-08-01 José Matos <jamatos@lyx.org>
3393 * buffer.[Ch]: file_format is no longer a buffer data element.
3395 2003-08-01 André Pönitz <poenitz@gmx.net>
3400 * text2.C: make redoParagraph more independent of current cursor
3402 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3404 * text2.C: remove unneeded members
3406 2003-07-30 André Pönitz <poenitz@gmx.net>
3408 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3410 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3411 create a single function...
3413 * paragraph_funcs.C (moveItem): ... here.
3416 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3418 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3420 * LColor.[Ch]: Add comment and greyedout logical colors.
3422 2003-07-30 André Pönitz <poenitz@gmx.net>
3424 * tabular.C: don't use Assert too heavily. This crashes where it
3427 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3429 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3430 is disabled (bug 1232)
3432 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3434 * factory.C: limited 'arg' scope
3436 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3438 * factory.C: fixed Note submenu issues
3440 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3442 * factory.C: submenu for Note/Comment/Greyedout
3444 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3447 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3449 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3452 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3453 greyedout. Patch provided by Jürgen Spitzmüller.
3455 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3457 * kbmap.C (read): fix error message when reading bind files
3459 2003-07-29 Angus Leeming <leeming@lyx.org>
3461 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3462 certainly does not do what it purports to do. I am doing it, and
3463 us, a favour by killing it.
3465 2003-07-28 José Matos <jamatos@lyx.org>
3467 * buffer.C (readBody, do_writeFile):
3468 * paragraph.C(readParagraph): \end_document replaces \the_end.
3470 2003-07-29 André Pönitz <poenitz@gmx.net>
3473 * BufferView_pimpl.[Ch]:
3477 * textcursor.[Ch]: remove toggleToggle & Co
3479 2003-07-28 José Matos <jamatos@fep.up.pt>
3481 * buffer.C (readParagraph):
3482 * params_func (readParToken, readParagraph):
3483 * paragraph.C (write): \layout -> \begin_layout.
3485 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * lyxlex_pimpl.C (setFile): clean up slightly.
3489 * bufferparams.h: add compressed var
3491 * buffer_funcs.C (readFile): adjust for LyXLex change
3492 (newFile): ditto + simplify
3494 * buffer.C (writeFile): handle writing of compressed files
3496 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3497 Check if the file is compressed and set a bufferparm if so.
3499 * Makefile.am (lyx_LDADD): remove explicit -lz
3501 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3503 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3504 makeDocBookFile): put the real LyX version in the first line of
3508 * version.C.in: remove lyx_docversion
3510 * tabular.C (write_attribute): add a template-based version to
3511 write enums properly
3513 2003-07-28 André Pönitz <poenitz@gmx.net>
3518 * text3.C: use doubles again for x-coordinates. They are needed.
3520 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * messages.C (getLocaleDir): use lyx_localedir()
3524 * lyxlex_pimpl.C (setFile): compress stuff
3526 * buffer.C (writeFile): add some compression stuff
3527 (do_writeFile): new func, dont call expliti close... will this
3530 * Makefile.am (lyx_LDADD): add -lz
3532 2003-07-28 José Matos <jamatos@fep.up.pt>
3534 * buffer.C: increment file format.
3535 * paragraph_funcs (readParagraph, readParToken):
3536 * paragraph.C (readParagraph): add \end_layout.
3538 2003-07-27 Angus Leeming <leeming@lyx.org>
3540 * Makefile.am: remove special casing for configure-time setting of
3541 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3543 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3544 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3546 2003-07-26 André Pönitz <poenitz@gmx.net>
3548 * paragraph_func.[Ch]:
3549 * paragraph.C (realizeFont): inline it whereever it is used
3554 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3557 2003-07-26 André Pönitz <poenitz@gmx.net>
3561 * text2.C: get rid of LyXText::need_break_row
3563 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * toc.[Ch]: put namespace toc inside namespace lyx
3567 * MenuBackend.C (expandToc2): adjust for lyx::toc
3570 * lyxfunc.C (dispatch): adjust for lyx::find
3572 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3573 lyx::find instead. Reorganize a bit.
3574 (LyXReplace): rename to replace
3575 (LyXFind): rename to find
3577 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3580 2003-07-26 André Pönitz <poenitz@gmx.net>
3582 * text.C (setHeightOfRow): restrict scope of temporary variable
3584 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3585 code (never has been used?)
3587 2003-07-27 Asger Alstrup <alstrup@local>
3589 * text.C (fill): Optimise algorithm to exploit that we can reuse
3590 the LyXFont for many characters.
3591 (setHeightOfRow): Same thing.
3592 (rowBreakPoint): Same thing.
3594 2003-07-26 Asger Alstrup <alstrup@local>
3596 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3598 * text.C (singleWidth): Spurious font copying in hot-spot
3599 singleWidth avoided. Reorder tests for arabic for efficiency.
3601 * text.C (fill): handle empty paragraphs better.
3603 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3606 * encoding.h: add includes
3608 * lyxrc.C: remove reading of bind files
3610 * lyx_main.C (init): setup bindings and menus only if we have a
3613 * kbmap.C (read): new method. Do the actual reading of bind
3616 * converter.C (dvipdfm_options):
3619 (output): adapt PAPER_* enums.
3621 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3623 * bufferparams.h: remove paper-related enums from there
3625 * paper.h: New file. A trivial header file to hold paper-related
3626 enums. It should later expand to contain many paper-related
3629 * lyxrc.C: declare extern displayTranslator
3631 2003-07-27 José Matos <jamatos@fep.up.pt>
3633 * tabular.[Ch] (linuxdoc): add support for tables and figures
3636 2003-07-27 José Matos <jamatos@fep.up.pt>
3638 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3639 consistency in both functions.
3640 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3642 2003-07-26 Asger Alstrup <alstrup@local>
3644 * rowpainter.C (paintRows): Change algorithm to work directly on
3645 the insets rather than asking every character in the document
3646 whether its an inset.
3648 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3650 * buffer.C (openFileWrite): factorize some code
3652 2003-07-26 Angus Leeming <leeming@lyx.org>
3655 * lyx_main.[Ch]: replace occurances of system_tempdir with
3658 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * rename Inset to InsetOld
3662 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3664 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3665 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3666 which I think is a bit clearer. EDIT is gone, since it was
3667 premature optimisation, and broken for mathed anyway.
3668 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3669 with cursor positioning in insets as well (math insets still do not
3670 work, but that's a different story anyway.) It mysteriously
3671 crashes sometimes with undo in the first paragraph, but I'm fairly
3672 confident that this is a compiler bug.
3674 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * paragraph.C (Paragraph): adjust for new clone return type
3678 (copyIntoMinibuffer): ditto
3680 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3682 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3683 by not having a special case, and always doing a full rebreak of
3684 the document after undo.
3686 2003-07-23 Angus Leeming <leeming@lyx.org>
3688 * factory.C (createInset): InsetExternal::setParams now takes a
3691 2003-07-23 Angus Leeming <leeming@lyx.org>
3693 * factory.C (createInset): changed interface to the external and
3694 graphics mailers' string2params functions.
3696 2003-07-23 Angus Leeming <leeming@lyx.org>
3698 * factory.C (createInset): pass a
3699 Buffer const * parameter to InsetExternalMailer's string2params.
3701 2003-07-22 John Levon <levon@movementarian.org>
3703 * Thesaurus.h: include the right aiksaurus header
3705 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3707 * MenuBackend.C (expand): check menu shortcuts unconditionally
3709 2003-07-21 Angus Leeming <leeming@lyx.org>
3711 * factory.C (createInset): pass a
3712 buffer_path parameter to InsetGraphicsMailer's string2params.
3714 2003-07-21 Angus Leeming <leeming@lyx.org>
3716 * BufferView_pimpl.C (buffer):
3719 * lyxfunc.C (dispatch):
3720 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3721 rather than the grfx shortcut.
3723 2003-07-21 André Pönitz <poenitz@gmx.net>
3725 * rowpainter.C: remove unused variables
3728 * tabular_funcs.h: move to tabular.C
3729 * Makefile.am: adjust
3731 * tabular.[Ch]: basic optical cleaning
3733 * author.h: pass references, not values
3735 2003-07-18 André Pönitz <poenitz@gmx.net>
3743 * text3.C: two-phase drawing for InsetText and InsetTabular
3744 some float -> int changes.
3746 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3748 * lyx_main.C: fix the fix
3750 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3752 * lyx_main.C: fix a crash in batch mode if no files specified
3755 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3757 * format.[Ch] (papersize): moved to BufferParams
3758 * converter.[Ch] (dvips_options): moved to BufferParams
3759 (dvipdfm_options): moved to anon namespace
3760 * bufferparams.[Ch]: added above functions.
3762 2003-07-17 André Pönitz <poenitz@gmx.net>
3766 * text2.C: don't call inset->update() anymore
3768 * metricsinfo.[Ch]: add convenience constructor
3770 2003-07-16 André Pönitz <poenitz@gmx.net>
3775 * text2.C: replace the LyXCursor::irow_ member with
3776 on-demand computation of the value
3778 2003-07-16 John Levon <levon@movementarian.org>
3780 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3782 2003-07-15 André Pönitz <poenitz@gmx.net>
3785 * text2.C: remove no more needed refresh_row
3787 2003-07-15 André Pönitz <poenitz@gmx.net>
3792 * text3.C: refresh_status tristate -> need_update bool
3794 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3796 * lyxtext.h (init): remove reinit argument (act as if always true)
3797 * text2.C: adjust to that
3799 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3801 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3802 * text3.C: use it to delete selections in some cases
3803 (bugs 441, 673, 702, 954).
3805 2003-07-14 André Pönitz <poenitz@gmx.net>
3807 * rowpainter.[Ch]: reduce interface
3809 2003-07-14 André Pönitz <poenitz@gmx.net>
3811 * BufferView_pimpl.C:
3812 * text2.C: adjust after removing unused BufferView * argument
3814 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3816 * text2.C (init): fix a crash fired on resize
3818 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3820 * buffer.[Ch]: added new closing signal
3821 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3822 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3823 BufferView::Pimpl via the closing the signal
3825 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3827 * buffer.[Ch]: take out all bv-related from buffer
3829 * BufferView_pimpl.[Ch]: connect to new signals
3830 * CutAndPaste.C: removed useless asserts
3831 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3834 * lyxfunc.C: moved view-related funciontality from vc here
3835 * paragraph.C: removed outdated comments
3838 2003-07-10 André Pönitz <poenitz@gmx.net>
3840 * BufferView_pimpl.C:
3844 * text2.C: remove InsetText::InnerCache, clean up consequences
3846 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3848 * ispell.C: fix two typos in error messages
3850 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3852 * Extend Note inset to other forms of annotation like Comment
3853 and Greyedout. Right button click gives dialog.
3855 Files modified or added (+):
3859 * ControlNote.[Ch] +
3861 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3862 frontends/controllers
3866 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3868 * aspell.C: add missing namespace lyx::support
3870 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3872 * BufferView.[Ch] (newFile): Add
3873 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3874 * LaTeX.[Ch] (message): added this signal and use it
3875 * buffer.[Ch] (busy, message): added these signals and use them
3876 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3880 * importer.C: use buffer signals instead of direct bv calling
3881 * lyx_cb.[Ch] (ShowMessage): removed
3884 * paragraph_funcs.C:
3885 * text2.C: use buffer signals
3887 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * introduce namespace lyx::graphics
3891 2003-07-02 André Pönitz <poenitz@gmx.net>
3893 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3895 2003-07-01 André Pönitz <poenitz@gmx.net>
3902 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3903 text*.C to text_func.C
3905 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * introduce namespace lyx::support
3909 2003-06-30 André Pönitz <poenitz@gmx.net>
3914 * text.C: re-enable --with-included-string
3916 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3918 * textcursor.C: add <config.h>
3920 * text.C (getWord): remove const from word_location arg
3922 * lyxvc.C (getLogFile): fix const type order
3924 * lyxtext.h: remove const from word_location arg, add arg name
3926 * lyxlayout.h: currect type on labeltype.
3928 * importer.C: correct \file
3930 * converter.C (intToFormat): use std:: on ret val, ws changes
3932 * bufferlist.h: correct \file
3934 * buffer.C (makeLinuxDocFile): fix const type order
3935 (makeDocBookFile): ditto
3936 (fillWithBibKeys): use std:: on stdlib args.
3938 * CutAndPaste.C: fix authors.
3939 (availableSelections): use std:: on return vector
3941 2003-06-27 André Pönitz <poenitz@gmx.net>
3943 * BufferView_pimpl.C:
3944 * bufferview_funcs.C:
3952 * text3.C: remove LyXCursor::row_ member
3955 * text.C: rename fullRebreak() to partialRebreak() and implement
3956 a fullRebreak() that really bereks fully
3958 * textcursor.h: new struct for cursor-related data
3960 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3962 * lyx_main.C (LyX): get full path of document loaded on the
3965 2003-06-26 André Pönitz <poenitz@gmx.net>
3967 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3968 remove unused/broken operator>,<,>=.
3970 * text.C: remove only use of broken operator<= in an Assert().
3972 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3974 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3975 moved errorlist_.clear to showErrorList
3977 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3979 * converter.C (scanLog, runLaTeX):
3980 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3981 move the bv->showErrorList call to the callers
3982 * lyxfunc.C: i.e. here...
3984 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3985 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3986 namespace, the second to...
3987 * buffer_funcs (BufferFormat, parseErrors): added
3988 * errorlist.C (ErrorList(TeXErrors const &)): removed
3990 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3992 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3994 2003-06-24 "Garst R. Reese" <reese@isn.net>
3998 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4000 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4002 * version.C.in: change docversion to 1.4
4004 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4006 * buffer.C: fix a bug just introduced
4008 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4010 * buffer.[Ch]: added the parseError signal and use it, removed
4012 * BufferView.[Ch] (addError): moved to ...
4013 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4014 to the Buffer::parseError signal to catch (guess what) parse errors
4015 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4017 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4019 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4020 ability to create a buffer and to return an existing one from
4021 the list. Moved these functions to...
4022 * buffer_funcs.[Ch]: added
4023 * BufferView.[Ch] (loadLyXFile): added
4024 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4025 job removed from bufferlist::loadLyXFile.
4026 * buffer.C (setReadOnly): make it work without view
4027 (i.e added an if (users))
4029 2003-06-19 Angus Leeming <leeming@lyx.org>
4032 * LyXAction.C (init):
4033 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4034 with LFUN_DIALOG_SHOW <name> <data>.
4036 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4038 * CutAndPaste.C (availableSelections): small compilation fix for
4039 ancient (gcc 2.9x) compilers
4041 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * text3.C (cursorNext): add tmp var
4045 * text2.C (updateCounters): for function calling out of for clause
4046 (replaceSelectionWithString): ditto
4047 (insertStringAsParagraphs): ditto
4048 (getColumnNearX): add tmp var
4049 (setCursorFromCoordinates): add tmp var
4050 (cursorDownParagraph): add tmp var
4051 (deleteEmptyParagraphMechanism): add tmp var
4053 * text.C (insertChar): add tmp var
4055 * rowpainter.C (paintDepthBar): add tmp var
4057 * CutAndPaste.C (availableSelections): potentially check all
4058 paragraphs in a cut to fill the shown strings.
4060 2003-06-18 André Pönitz <poenitz@gmx.net>
4062 * kbmap.[Ch]: use vector<> instead of list<>
4064 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4066 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4067 pasteSelection with index
4069 * text2.C (pasteSelection): modify, call pasteSelection with index
4071 * paragraph.C (asString): reimplement version with no interval to
4072 call the one with interval.
4074 * lyxtext.h: add index arg to pasteSelection
4076 * MenuBackend.C (MenuItem): handle PasteRecent
4077 (Menu::read::Menutags): add md_pasterecent
4079 (expandPasteRecent): new function
4082 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4084 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4086 (availableSelections): new function
4088 2003-06-17 Angus Leeming <leeming@lyx.org>
4090 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4092 2003-06-17 Angus Leeming <leeming@lyx.org>
4095 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4097 * lyxfunc.C (dispatch): invoke it.
4099 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * iterators.C (operator++, ParPosition): reintroduce some
4102 const_cast for the benefit of older compilers.
4104 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4106 * text3.C (dispatch): do not modify clipboard when doing
4107 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4108 LFUN_DELETE_SKIP on a selection selection
4110 2003-06-16 André Pönitz <poenitz@gmx.net>
4116 * tabular.[Ch]: IU of clone() and getLabelList();
4118 2003-06-13 André Pönitz <poenitz@gmx.net>
4120 * tabular.h: compactification
4122 2003-06-12 André Pönitz <poenitz@gmx.net>
4126 * tabular_funcs.h: some renaming plus whitespace
4128 2003-06-12 André Pönitz <poenitz@gmx.net>
4131 * BufferView_pimpl.C:
4137 * toc.C: Return a Paragraph & for ParIterator::operator*()
4139 2003-06-11 John Levon <levon@movementarian.org>
4143 * ToolbarBackend.C: add "Toolbars" section and
4146 2003-06-10 Angus Leeming <leeming@lyx.org>
4149 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4151 * lyxfunc.C (dispatch): invoke it.
4153 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * main.C: protect <ios> with HAVE_IOS
4156 (main): protect sync_with_stdio with HAVE_IOS
4158 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4160 * text2.C (cutSelection): adjust
4161 (pasteSelection): adjust
4163 * messages.C: handle get of empty string
4165 * main.C (main): use sync_with_stdio(false)
4167 * lyxfunc.C (dispatch): adjust
4169 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4170 (WriteAs): remove unneeded BufferView arg.
4172 * bufferparams.h: use correct types on papersize, papersize2 and
4175 * bufferparams.C (readToken): adjust for type
4176 (writeLaTeX): add missing cases to switch.
4178 * bufferlist.C (quitWriteBuffer): adjust
4181 * buffer.C (asciiParagraph): remove some commented code.
4183 * CutAndPaste.C: remove current_view extern variable.
4184 (cutSelection): add BufferParams arg.
4185 (eraseSelection): add BufferParams arg.
4186 (pasteSelection): add Buffer const & arg
4188 2003-06-07 John Levon <levon@movementarian.org>
4191 * paragraph_funcs.C:
4192 * paragraph_pimpl.C:
4196 * paragraph.C: allow InsetERT to freely space lines,
4197 and some consolidation of code
4199 2003-06-06 José Matos <jamatos@fep.up.pt>
4201 * buffer.C (makeDocBookFile): fix bug #821
4203 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4205 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4207 2003-06-04 Angus Leeming <leeming@lyx.org>
4209 * buffer.C: bump format to 224.
4211 2003-06-05 André Pönitz <poenitz@gmx.net>
4213 * text2.C (redoParagraphs): remove two const_cast<>
4215 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4217 * ParagraphList.h: remove last remnants of NO_STD_LIST
4219 2003-06-03 Angus Leeming <leeming@lyx.org>
4221 * factory.C (createInset): small change to the way InsetExternal's params
4224 2003-06-04 André Pönitz <poenitz@gmx.net>
4226 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4228 * paragraph_pimpl.h:
4229 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4231 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4233 * undo_funcs.C: make some simple cases of undo work again
4235 2003-06-03 John Levon <levon@movementarian.org>
4237 * ispell.C: HPUX doesn't have sys/select.h
4240 2003-06-03 John Levon <levon@movementarian.org>
4242 * CutAndPaste.C: update tabular and include inset
4247 * paragraph.C: remove owningBuffer(), don't pass Buffer
4250 * factory.C: insetGraphicsParams changed
4252 2003-06-02 John Levon <levon@movementarian.org>
4258 * text3.C: remove insetparent
4260 2003-06-02 John Levon <levon@movementarian.org>
4263 * buffer.C: fix inset_iterator.end(), move out of line
4266 2003-06-01 John Levon <levon@movementarian.org>
4268 * text3.C: use a proper cut/paste when doing inset
4269 insert (from Jürgen Spitzmüller)
4271 2003-06-01 John Levon <levon@movementarian.org>
4273 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4275 2003-05-30 André Pönitz <poenitz@gmx.net>
4277 * rowpainter.C: unify second drawing phase
4279 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * trans_mgr.C: remove one case of current_view
4283 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4285 * paragraph_funcs.h: remove paragraph.h include
4287 * paragraph.h: delete NO_STD_LIST stuff
4289 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4291 * buffer.h: remove paragraph.h include
4293 * ParagraphList.C: delete file
4295 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4297 * toc.C (getTocList): adjust
4299 * paragraph_pimpl.C (validate): adjust
4301 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4303 * paragraph.C (Paragraph): adjust
4304 (getPositionOfInset): use const_iterator, adjust
4305 (bibitem): use const_iterator, adjust
4306 (setInsetOwner): adjust
4308 * iterators.C (operator++): adjust
4310 * InsetList.[Ch]: Replace selfmade iterator with standard
4311 vector::iterator also introduce const_iterator. Remove getPos,
4312 getInset and setInset from InsetTable. Adjust accordingly.
4314 * BufferView.C (lockInset): adjust
4315 (ChangeInsets): adjust
4317 * tabular.[Ch]: delete commented same_id functions
4319 2003-05-28 John Levon <levon@movementarian.org>
4321 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4323 2003-05-28 André Pönitz <poenitz@gmx.net>
4325 * metricsinfo.[Ch]: remove 'fullredraw' member
4327 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4329 * lyxtextclass.C (operator): remove caching.
4331 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * text2.C (cursorBottom): adjust
4336 (setCounter): use ParagraphList::find, adjust
4338 * text.C (workWidth): use ParagraphList::find, adjust
4340 * lyxcursor.C (LyXCursor): adjust
4342 * buffer.C (inset_iterator): adjust
4344 * ParagraphList.h: make iterator(value_type) private, make
4345 ParagraphList a friend of iterator.
4347 * ParagraphList.C (find): new function
4349 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4351 2003-05-27 André Pönitz <poenitz@gmx.net>
4353 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4355 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4357 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4359 2003-05-26 John Levon <levon@movementarian.org>
4361 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4363 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * remove same_id from function signatures, adjust.
4367 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4371 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4373 * paragraph.C (Paragraph): get rid of same_ids parameter
4375 * ParagraphList.C (insert): adjust
4378 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4380 * paragraph_funcs.C (breakParagraph): adjust
4381 (breakParagraphConservative): adjust
4383 * buffer.C (readParagraph): adjust
4385 * ParagraphList.C (insert): take a reference instead of a pointer
4388 * paragraph.[Ch] (id): new function
4390 * bufferlist.C (newFile): adjust
4392 * ParagraphList.C (ParagraphList): adjust
4394 (push_back): take a reference instead of a pointer.
4396 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4398 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4401 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4402 set else use old code.
4404 * ParagraphList.C: remove all NO_NEXT code and only compile this
4405 code of NO_STD_LIST is set.
4407 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4409 * BufferView_pimpl.C:
4419 * graphics/GraphicsConverter.C:
4420 * graphics/PreviewLoader.C: header adjustment
4422 2003-05-23 Angus Leeming <leeming@lyx.org>
4424 * LaTeXFeatures.[Ch] (useBabel): new method.
4425 * bufferparams.C (writeLaTeX): use it.
4427 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * ParagraphList.h (set): remove unused function.
4431 2003-05-23 André Pönitz <poenitz@gmx.net>
4434 * BufferView_pimpl.C:
4438 * undo_funcs.C: setUndo reworked
4440 * iterators.[Ch]: add access to topmost ParagraphList
4442 * lyxtext.[Ch] (workWidth): add a const
4444 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4446 * texrow.[Ch] (increasePos): remove function
4447 * exporter.C (export): removed unused var and outdated comment
4449 2003-05-23 Angus Leeming <leeming@lyx.org>
4451 * latexrunparams.h: rename fragile as moving_arg.
4452 * paragraph.C (simpleTeXOnePar): ditto.
4453 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4455 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4459 (textUndoOrRedo): comment out a currently unused var.
4461 * paragraph.h (NO_NEXT): enable NO_NEXT
4463 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4465 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4467 * exporter.C (Export): adjust for removeAutoInsets removal.
4469 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4471 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4473 * BufferView.[Ch] (removeAutoInsets): delete function
4475 2003-05-22 Angus Leeming <leeming@lyx.org>
4477 * latexrunparams.h: add a free_spacing variable.
4479 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4480 to pass moving_arg, as the data is stored in runparams.fragile.
4482 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4483 to Inset::latexOptional or to simpleTeXOnePar.
4485 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4486 free_spacing arg to Inset::latexOptional.
4488 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4491 2003-05-22 Angus Leeming <leeming@lyx.org>
4493 * latexrunparams.h: add fragile and use_babel variables.
4495 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4496 * buffer.C (makeLaTeXFile): store this returned value in
4497 runparams.use_babel, thus passing it to the inset::latex methods.
4499 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4500 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4502 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4503 longer has a fragile arg, as it is stored in runparams.fragile.
4505 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4506 moving_arg parameter as the data is stored in runparams.fragile.
4508 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4509 a fragile parameter as the data is stored in runparams.fragile.
4511 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4515 2003-05-22 Angus Leeming <leeming@lyx.org>
4517 * latexrunparams.h: add a 'bool nice' which defaults to false.
4519 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4520 now encapsulated within runparams.
4522 * bufferlist.C (updateIncludedTeXfiles):
4523 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4525 2003-05-22 Angus Leeming <leeming@lyx.org>
4527 * latexrunparams.h: new file containing struct LatexRunParams.
4528 * Makefile.am: add new file.
4530 * LaTeX.[Ch] (c-tor, run):
4531 * buffer.[Ch] (makeLaTeXFile):
4532 * bufferlist.[Ch] (updateIncludedTeXfiles):
4533 * converter.C (convert, scanLog):
4534 * converter.[Ch] (runLaTeX):
4535 * exporter.C (Export):
4536 * paragraph.[Ch] (simpleTeXOnePar):
4537 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4538 * paragraph_funcs.[Ch] (latexParagraphs):
4539 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4540 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4541 pass around a LatexRunParams parameter.
4543 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * paragraph.[Ch]: remove unused constructor
4547 * ParagraphList.C (erase): new function, taking two iterators
4549 2003-05-22 André Pönitz <poenitz@gmx.net>
4551 * undo_funcs.C: remove duplicated code
4553 * iterator.[Ch]: operator=
4555 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * tabular.C (SetMultiColumn): ws changes
4559 * rowpainter.C (paintFirst): get rid of a ->previous
4561 * lyx_cb.C (getPossibleLabel): parlist simplification
4563 * BufferView.C (ChangeInsets): simplify slightly.
4565 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4567 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4568 * lfuns.h: new LFUN_SPACE
4569 * lyxfunc.C: protected space has a new lfun
4570 * paragraph_funcs.C: read new space insets
4572 * factory.C: handle new space insets
4574 2003-05-22 André Pönitz <poenitz@gmx.net>
4577 * BufferView_pimpl.C:
4580 * undo_funcs.C: return a ParIterator from getParFromID.
4582 * iterators.[Ch]: add two const's
4584 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * toc.C (getTocList): adjust
4588 * iterators.[Ch]: rework for parlist
4590 * buffer.C (par_iterator_begin): adjust
4591 (par_iterator_end): adjust
4593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4595 * BufferView.C (removeAutoInsets): adjust
4596 (ChangeInsets): adjust
4598 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4600 * text.C (top_y): fix bug 1110
4602 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4604 * errorlist.[Ch]: added
4607 * BufferView_pimpl.C:
4608 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4611 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * Makefile.am: ensure that lyx is relinked upon changes to the
4614 various "convenience" libs.
4616 2003-05-20 Angus Leeming <leeming@lyx.org>
4618 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4619 files are compiled in alphabetical order again.
4621 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4623 2003-05-19 Angus Leeming <leeming@lyx.org>
4625 * gettext.[Ch]: remove "char const * _(char const *)".
4627 2003-05-19 André Pönitz <poenitz@gmx.net>
4629 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4638 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4640 2003-05-19 André Pönitz <poenitz@gmx.net>
4644 * lyxtextclass.[Ch]:
4646 * paragraph_funcs.[Ch]:
4648 * text3.C: more insetenv work
4650 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4652 * ParagraphParameters.C (params2string): small bug fixed
4654 2003-05-16 André Pönitz <poenitz@gmx.net>
4657 * bufferview_funcs.C: patch from Kornel Benko to prevent
4658 crash when _(...) is called twice in a statement
4660 2003-05-16 André Pönitz <poenitz@gmx.net>
4667 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4669 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4671 * lyx_main.C (init): remove spurious static_cast
4673 2003-05-14 André Pönitz <poenitz@gmx.net>
4675 * BufferView.C: fix format string
4677 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4679 * BufferView.[Ch] (insertErrors): removed
4680 * BufferView.[Ch] (showErrorList): added
4681 * buffer.C (runChkTeX):
4682 * converter.C (scanLog): call showErrorList instead of inserterrors
4684 2003-05-13 André Pönitz <poenitz@gmx.net>
4686 * BufferView_pimpl.C:
4688 * bufferview_func.C:
4695 * tabular_funcs.h: tostr() from its own header
4697 * ParagraphParameters.C:
4702 * text3.C: STRCONV()
4704 2003-05-12 André Pönitz <poenitz@gmx.net>
4707 * BufferView_pimpl.C:
4711 * ParagraphParameters.C:
4715 * bufferview_funcs.C:
4728 * paragraph_funcs.C:
4732 * text3.C: boost::format -> bformat all over the place
4735 2003-05-09 André Pönitz <poenitz@gmx.net>
4737 * LColor.[Ch]: Pimpl the #include <map> away
4739 2003-05-09 John Levon <levon@movementarian.org>
4741 * bufferlist.C: never remove emergency saves
4743 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * Makefile.am: better lib building
4747 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4751 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4752 (simpleTeXSpecialChars): adjust
4753 (simpleTeXSpecialChars): adjust
4754 * paragraph.C (simpleTeXOnePar): adjust
4755 * buffer.C (makeLaTeXFile): adjust
4757 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4759 * text2.C (changeDepth): parlist cleanup
4760 (getColumnNearX): ditto
4762 * rowpainter.C (getLabelFont): parlist cleanup
4764 * bufferlist.C (newFile): parlist cleanup
4766 * CutAndPaste.C (eraseSelection): parlist cleanup
4768 * BufferView_pimpl.C (trackChanges): parlist cleanup
4771 * BufferView.C (lockInset): parlist cleanup.
4772 (ChangeInsets): ditto
4774 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * CutAndPaste.h: Update file header.
4778 * CutAndPaste.C: Update file header.
4779 Store the parts cut out of the Document in a limited_stack.
4780 (copySelection): adjust
4781 (pasteSelection): new function, takes the index in the limited stack.
4782 (nrOfParagraphs): adjust
4783 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4784 simplify error inset insertion.
4785 (checkPastePossible): adjust
4787 2003-05-06 John Levon <levon@movementarian.org>
4789 * text2.C: don't cast wrap inset to float
4791 2003-05-05 André Pönitz <poenitz@gmx.net>
4794 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4796 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4797 few naked Paragraph *.
4799 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4801 * bufferparams.C: Output warning if a document with missing
4802 TeX document class is loaded
4803 * exporter.C: Disable TeX exports if the document class is missing
4806 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4807 isTeXClassAvailable()
4809 2003-05-03 John Levon <levon@movementarian.org>
4812 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4813 explicit cursor show/hide
4815 * BufferView_pimpl.h:
4816 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4817 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4819 * lyxfunc.C: hide cursor before dispatching.
4824 * text3.C: remove explicit cursor hides
4826 2003-05-02 André Pönitz <poenitz@gmx.net>
4828 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4831 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4834 * text2.C: tiny whitespace
4836 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * undo_funcs.C: almost only ws changes.
4840 * ParagraphList.C (splice): just return if pl is empty.
4842 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * ParagraphList.C (splice): new function.
4846 * CutAndPaste.C (pasteSelection): use it
4848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * CutAndPaste.C (pasteSelection): remove the last next and
4851 previous from this file.
4853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * CutAndPaste.C (pasteSelection): more clean up, user proper
4856 ParagraphList functions for pasteing.
4858 * ParagraphList.C (insert): new function, three arg insert
4860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * ParagraphList.C (insert): new function, three arg insert
4864 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4867 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4871 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4875 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4878 (copySelection): clean up a bit.
4879 (pasteSelection): use make_pair
4881 * ParagraphList.C (ParagraphList): implement copy constructor
4882 (operator=): implement, base on copy constructor.
4885 * paragraph.C (erase): return a bool
4887 * paragraph_pimpl.C (erasePos): remove function, move contents...
4888 (erase): ... here. Return a bool.
4889 (erase): call erase instead of erasePos.
4891 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4893 * ParagraphList.h: define PitPosPair
4894 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4895 ParagraphList, fix a bug on pasting multiple pars
4896 * text2.C: change interface to C&P
4898 2003-04-30 André Pönitz <poenitz@gmx.net>
4900 * undo_func.C: revert part of yesterday's patch 2
4902 2003-04-30 John Levon <levon@movementarian.org>
4904 * LColor.C: s/tabular/table/
4906 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * text3.C (dispatch): do not convert iterator -> pointer
4909 * undo_funcs.C (setCursorParUndo): ditto
4910 * text_funcs.C (transposeChars): ditto
4912 * text2.C (setLayout): ws changes only
4914 * text.C (breakParagraph): do not convert iterator -> pointer
4916 (acceptChange): ditto
4917 (rejectChange): ditto
4922 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4925 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4927 * text3.C (gotoInset): YABG (yet another bad getChar)
4929 2003-04-29 André Pönitz <poenitz@gmx.net>
4931 * paragraph.h: make operator= private unimplemented as long as
4934 * ParagraphList.C: whitespace
4937 * paragraph_pimpl.[Ch]:
4938 * paragraph_funcs.C:
4940 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4943 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4945 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4947 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4948 * paragraph.[Ch] (erase):
4949 * paragraph_pimpl.[Ch] (erase): change return type and value
4950 * text2.C (cutSelection): some rework
4952 2003-04-28 John Levon <levon@movementarian.org>
4954 * bufferlist.C: changes for unsaved changes dialog
4956 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * bufferlist.C (newFile): set language (messages_) for new
4961 * buffer.C (readFile): ws changes only.
4963 2003-04-28 André Pönitz <poenitz@gmx.net>
4968 * BufferView_pimpl.C:
4969 * BufferView.C: getParFromID related ParagraphList::iterator changes
4971 2003-04-28 André Pönitz <poenitz@gmx.net>
4973 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4976 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * messages.C: remove one more localedir class variable.
4980 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * messages.C (getLocaleDir): singleton generation function
4984 (Messages): add a default constructor.
4986 * main.C (main): do not setup localedir here, do not call
4989 * gettext.C (_): use it.
4990 (gettext_init): delete funciton
4992 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * gettext.C (getLyXMessages): new singleton generating function.
4996 * buffer.C (updateDocLang): adjust
4998 * Makefile.am (messages.o): add target
4999 (main.o): remove target
5001 2003-04-27 John Levon <levon@movementarian.org>
5006 * lyxvc.C: specify cancel button in Alert::prompt
5008 2003-04-26 John Levon <levon@movementarian.org>
5013 * LyXAction.C: add LFUN_INSET_SETTINGS
5015 * lyxfunc.C: don't enable tabular-feature when there's
5016 just any locking inset
5018 2003-04-26 John Levon <levon@movementarian.org>
5020 * bufferlist.C: re-add Cancel to buffer close question
5022 * lyxfunc.C: fix import UI a bit
5024 2003-04-25 John Levon <levon@movementarian.org>
5026 * gettext.C: remove the broken asserts for now
5028 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * messages.C: make case where setlocale cannot comply work better.
5032 * buffer.C (updateDocLang): new function
5033 (changeLanguage): use it
5036 * text2.C (setCounter): use B_ a bit.
5038 * lyxlayout.C (Read): be sure to trim the label strings.
5040 * messages.C (Messages): fix typo in comment
5042 * buffer.C (readFile): set message_ after file is loaded.
5043 (makeDocBookFile): remove double return
5044 (changeLanguage): reset message_ upon language change.
5045 (B_): new func, use this to get translated buffer strings.
5047 * main.C: add myself and Jean Marc as authors.
5049 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * messages.[hC]: pimplify Messages, and three different pimpls to be
5052 used in different circumstances.
5054 * gettext.[Ch]: change for use with new message code.
5056 2003-04-24 André Pönitz <poenitz@gmx.net>
5058 * factory.C: support for eqref
5060 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * messages.[Ch]: add missing char
5064 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5066 * messages.[Ch]: New files
5068 2003-04-18 John Levon <levon@movementarian.org>
5072 * BufferView_pimpl.C:
5076 * text2.C: remove layout-copy/paste (bug 778)
5078 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5080 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5082 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5084 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5085 if they succeed. Act accordingly.
5087 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * text2.C (setCharFont): adjust
5090 (setCounter): adjust
5091 (insertStringAsLines): adjust
5093 * text.C (leftMargin): adjust
5094 (setHeightOfRow): adjust
5096 * rowpainter.C (paintFirst): adjust
5099 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5101 (isFirstInSequence): ditto
5102 (getEndLabel): ditto
5105 * paragraph.C (getParLanguage): comment out some hard stuff.
5107 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5109 (simpleDocBookOnePar): ditto
5110 (makeDocBookFile): use ParagraphList::iterator
5112 * CutAndPaste.C (pasteSelection): adjust
5114 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * text2.C (getFont): adjust
5117 (getLayoutFont): adjust
5118 (getLabelFont): adjust
5120 * paragraph_funcs.C (TeXOnePar): adjust
5122 * buffer.C (simpleLinuxDocOnePar): adjust
5123 (simpleDocBookOnePar): adjust
5125 * CutAndPaste.C (pasteSelection): adjust
5127 * BufferView.C (getEncoding): adjust
5129 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5131 2003-04-16 John Levon <levon@movementarian.org>
5133 * lyxfind.C: use parlist stuff for search/changes
5135 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5139 * text2.C (deleteEmptyParagraphMechanism): adjust
5141 * text2.[Ch] (ownerParagraph): delete func (both of them
5143 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5147 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * ParagraphList.C: prepare for NO_NEXT
5151 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text2.C (getFont): adjust
5154 (getLayoutFont): adjust
5155 (getLabelFont): adjust
5157 * paragraph.C (getFont): adjust
5158 (getLabelFont): adjust
5159 (getLayoutFont): adjust
5161 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5163 2003-04-15 John Levon <levon@movementarian.org>
5167 * lyx_main.C: handle Include in .ui files
5169 2003-04-15 John Levon <levon@movementarian.org>
5171 * MenuBackend.C: make the doc files length shorter
5174 * ToolbarBackend.C: handle toolbar placement flags,
5177 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5182 * paragraph_funcs.C (TeXOnePar): adjust
5184 * paragraph.C (getLabelFont): add outerfont arg, adjust
5185 (getLayoutFont): ditto
5186 (simpleTeXOnePar): adjust
5188 * paragraph_pimpl.C (realizeFont): delete func
5190 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5192 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5193 row argument, constify cur argument.
5195 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * text2.C (getFont): adjust
5198 (getLayoutFont): adjust
5199 (getLabelFont): adjust
5201 * paragraph_funcs.C (TeXOnePar): adjust
5202 (outerFont): new func...
5203 (realizeFont): ...moved out from here, changed this to facilitate
5206 * paragraph.C (getFont): take outerfont as arg, adjust
5207 (simpleTeXOnePar): add outerfont arg, adjust
5209 * buffer.C (simpleLinuxDocOnePar): adjust
5210 (simpleDocBookOnePar): adjust
5212 * CutAndPaste.C (pasteSelection): adjust
5214 * BufferView.C (getEncoding): adjust
5216 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text2.C (setCharFont): adjust
5219 (setCounter): adjust
5221 * text.C (leftMargin): adjust
5222 (setHeightOfRow): adjust
5224 * rowpainter.C (paintFirst): adjust
5227 * paragraph_pimpl.C (realizeFont): adjust
5229 * paragraph.C (isFirstInSequence): move from here...
5230 * paragraph_funcs.C (isFirstInSequence): ...to here
5232 * paragraph.C (outerHook): move from here...
5233 * paragraph_funcs.C (outerHook): ...to here
5235 * paragraph.C (depthHook): move from here...
5236 * paragraph_funcs.C (depthHook): ...to here
5238 * paragraph.C (getEndLabel): move from here...
5239 * paragraph_funcs.C (getEndLabel): ...to here
5241 * text2.C (realizeFont): move from here...
5242 * paragraph_funcs.C (realizeFont): ...to here
5244 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5248 2003-04-14 Angus Leeming <leeming@lyx.org>
5250 * LColor.[Ch]: scrap LColor mathcursor.
5252 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * lyxlex.[Ch] (text): delete function
5255 * trans.C (Load): adjust
5256 * paragraph_funcs.C (readParToken): adjust
5258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5261 vector<char> instead of a char[].
5263 * lyxlex_pimpl.C (getString): adjust
5265 (lex): use getString
5269 * lyxlex.C (text): use pimpl_->getString()
5273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5276 (makeFontEntriesLayoutSpecific): temp var for par.size()
5277 (setLayout): temp var for ownerParagraphs().end()
5278 (fullRebreak): temp var for rows().end()
5279 (selectionAsString): temp var for boost::next(startpit), realize
5280 that the while really is a regular for loop.
5281 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5282 setCursor in one place.
5283 (setParagraph): temp vr for ownerParagraphs().end()
5284 (updateCounters): make the while loop a for loop
5285 (cutSelection): temp var for ownerParagraphs().end()
5286 (updateInset): make the do {} while() a regular for loop
5287 (getCursorX): use temp vars
5288 (setCurrentFont): use temp vars
5289 (getColumnNearX): use temp vars
5291 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * text.C (transformChar): use temp var for getChar
5294 (computeBidiTables): use temp var for row->par()
5295 (fill): move temp vars for row->par() and pit->layout() earlier in
5297 (labelFill): use temp var for row->par()
5298 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5299 asc and desc, realize that pit never changes and that firstpit is
5300 just a duplicate and not needed. Exchange rit->par() with pit in a
5302 (breakAgain): use a temp var for boost::next(rit)
5303 (breakAgainOneRow): ditto
5304 (breakParagraph): use a temp var for rows().begin()
5305 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5306 (cursorRightOneWord): use temp var for cursor.par() and
5307 cursor.pos(), remove usage of tmpcursor.
5308 (cursorLeftOneWord): use temp var for cursor.par() and
5309 cursor.pos() only set cur at end of function.
5311 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * text.C, text2.C: exchange all usage of Paragraph::next with
5314 boost::next(ParagraphList::iterator)
5316 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5318 * text2.C (cursorTop): simplify implementation
5319 (cursorBottom): ditto
5320 (setParagraph): use ParagraphList::iterator
5321 (setCurrentFont): adjust
5322 (getColumnNearX): adjust
5323 (cursorRight): adjust
5324 (cursorLeft): remove usage of Paragraph::previous
5325 (cursorUpParagraph): ditto
5326 (deleteEmptyParagraphMechanism): slight cleanup
5328 * text.C (isBoundary): take a Paragraph const & instead of a
5330 (addressBreakPoint): ditto
5331 (leftMargin): remove usage of Paragraph::previous.
5332 (setHeightOfRow): ditto
5333 (cursorLeftOneWord): ditto
5334 (selectNextWordToSpellcheck): ditto
5337 (breakParagraph): remove one usage of Paragraph::next
5338 (redoParagraph): ditto
5339 (acceptChange): ditto
5340 (insertChar): adjust
5341 (rowBreakPoint): adjust
5343 * bufferview_funcs.C (toggleAndShow): adjust
5345 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5347 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5348 methods to access it.
5350 * text.C: Added updateRowPositions to compute all row positions.
5351 Make top_y and getRowNearY() to use the cached y position
5353 2003-04-11 John Levon <levon@movementarian.org>
5355 * text.C (rowBreakPoint): reintroduce the labelEnd
5356 checks, code copied from the row fill stuff. Deep voodoo.
5358 * text.C (fill): add a comment and debugging for the
5361 2003-04-11 John Levon <levon@movementarian.org>
5363 * text.C: make sure fullrow insets get wrapped to the next line,
5364 even when they're in a manual label
5366 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * text2.C (insertParagraph): make it take ParagraphList::iterator
5370 (setLayout): make it return ParagraphList::iterator
5371 (redoParagraphs): ditto
5373 (checkParagraph): ditto
5375 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5377 * text2.C: adjust several funcs.
5378 (realizeFont): take a ParagraphList::iterator as arg.
5379 (getLayoutFont): ditto
5380 (getLabelFont): ditto
5381 (setCharFont): ditto
5383 * text.C: adjust several funcs.
5385 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5387 * text.C (selectNextWordToSpellcheck): don't accidentally
5390 2003-04-10 John Levon <levon@movementarian.org>
5392 * ToolbarBackend.C (getIcon): special handling for
5395 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5397 * text2.C (cursorRight): a getChar assert fixed
5399 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * text2.C (getFont): change to take a ParagraphList::iterator
5402 instead of Paragraph*
5403 Adjust several functions.
5405 * text.C (transformChar): change to take a ParagraphList::iterator
5406 instead of Paragraph*
5407 (singleWidth): ditto
5408 Adjust several functions.
5410 * rowpainter.C: adjust several functions
5411 * rowpainter.h:store a ParagraphList::iterator and not a
5415 2003-04-09 John Levon <levon@movementarian.org>
5420 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5421 and the "help" bits as well
5423 2003-04-09 John Levon <levon@movementarian.org>
5426 * ToolbarBackend.C: allow multiple toolbars
5428 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * undo_funcs.C (setCursorParUndo): adjust
5432 * text_funcs.C (transposeChars): adjust
5434 * text3.C (gotoNextInset): adjust
5437 * text2.C (setLayout): adjust
5438 (changeDepth): adjust
5440 (redoParagraphs): adjust
5441 (selectionAsString): adjust
5442 (setParagraph): adjust
5443 (insertInset): adjust
5444 (cutSelection): adjust
5445 (copySelection): adjust
5446 (pasteSelection): adjust
5447 (insertStringAsLines): adjust
5448 (updateInset): adjust
5449 (setCursor): change to take a ParagraphList::iterator parameter
5450 (setCursorIntern): change to take a ParagraphList::iterator parameter
5451 (setCurrentFont): adjust
5452 (cursorLeft): adjust
5453 (cursorRight): adjust
5454 (deleteEmptyParagraphMechanism): adjust
5456 * text.C (breakParagraph): adjust
5457 (insertChar): adjust
5458 (acceptChange): adjust
5459 (rejectChange): adjust
5460 (selectNextWordToSpellcheck): adjust
5461 (changeCase): adjust
5465 * lyxfind.C (SearchForward): adjust
5466 (SearchBackward): adjust
5467 (nextChange): adjust
5469 * lyxcursor.C (par): adjust
5471 * lyxcursor.h: store a ParagraphList::iterator instead of a
5474 * lyx_cb.C (getPossibleLabel): adjust
5476 * bufferview_funcs.C (toggleAndShow): adjust
5478 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5481 * BufferView.C (removeAutoInsets): adjust
5482 (lockedInsetStoreUndo): adjust
5484 2003-04-09 John Levon <levon@movementarian.org>
5486 * ToolbarBackend.C: try icon without argument
5487 if with argument fails
5489 2003-04-08 John Levon <levon@movementarian.org>
5492 * ToolbarBackend.C: add getIcon(), handle tooltip,
5493 and change from "Icon" to "Item".
5495 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5497 * BufferView.C (lockInset): another bad getchar crunched
5499 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5501 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5504 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5506 * lyxfind.C (searchForward, searchBackwards): bug 782
5508 2003-04-07 John Levon <levon@movementarian.org>
5510 * paragraph.C: remove dead comment
5512 * text.C: remove troublesome depth-fiddling code
5513 in leftMargin() and rightMargin() (bug 1017)
5515 * text.C: fix breaking of rows in nested lists
5518 * text2.C (updateCounters): fix up depth values
5521 2003-04-07 John Levon <levon@movementarian.org>
5523 * BufferView_pimpl.C: clear message when doc finishes resizing,
5524 and after a mouse event
5526 * lyxfunc.C: clear message after exiting inset
5528 2003-04-07 John Levon <levon@movementarian.org>
5530 * bufferview_funcs.C: show math status not outside
5531 status in the statusbar
5533 2003-04-07 John Levon <levon@movementarian.org>
5535 * lyxfunc.C: note status changed after a depth change
5537 2003-04-04 Angus Leeming <leeming@lyx.org>
5539 * LaTeX.h: move AuxInfo operator==, != out of line.
5540 Remove LaTeX virtual destructor; nothing derives from it.
5541 Move operator()() out of public area and rename it startscript().
5542 Change protected for private.
5544 2003-04-04 Angus Leeming <leeming@lyx.org>
5547 * text2.C: remove unneeded #includes.
5549 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5551 * text2.C (dEPM): fix the heigth of the next row
5553 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5555 * text.C: squashed an invalid getChar requester + some ws changes
5557 2003-04-03 John Levon <levon@movementarian.org>
5559 * bufferview_funcs.h:
5560 * bufferview_funcs.C:
5563 * text2.C: make getStatus work for the env depth lfuns
5565 2003-04-03 John Levon <levon@movementarian.org>
5567 * bufferview_funcs.h:
5568 * bufferview_funcs.C:
5571 * text2.C: parlistize decDepth(), by merging it with incDepth()
5573 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * lyxrow.h: store a ParagraphList::iterator instead of a
5576 Paragraph* and adjust other class functions to suit.
5578 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5581 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5583 * text2.C (setCursor): do not anchor to cursor row for the time being
5585 2003-04-02 John Levon <levon@movementarian.org>
5592 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5594 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * paragraph.h: make ParagraphList and ParagraphList::iterator
5597 friends of Paragraph.
5599 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5601 * ParagraphList.C: Use the private next_ and previous_ from
5604 2003-04-01 John Levon <levon@movementarian.org>
5608 * Makefile.am: rename, remove defaults gunk
5611 * MenuBackend.C: remove defaults gunk
5614 * Languages.C: remove defaults gunk
5617 * lyx_main.C: error out if files couldn't be found.
5619 2003-04-02 John Levon <levon@movementarian.org>
5621 * text2.C: make incDepth() use parlist
5623 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * undo_funcs.C (firstUndoParagraph): adjust
5627 * text3.C (gotoInset): adjust
5628 (dispatch): adjust, and rewrite loop.
5630 * text2.C (init): adjust, and rewrite loop.
5631 (redoParagraphs): adjust
5632 (updateInset): adjust, and rewrite loop.
5633 (deleteEmptyParagraphMechanism): adjust
5635 * tabular.C (LyXTabular): adjust
5636 (SetMultiColumn): adjust
5639 * lyxtext.[Ch] (ownerParagraph): delete function
5640 (ownerParagraphs): new function returns a ParagraphList.
5642 * BufferView.C (removeAutoInsets): adjust
5643 (insertErrors): adjust
5644 (setCursorFromRow): adjust
5646 2003-04-01 Angus Leeming <leeming@lyx.org>
5648 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5651 2003-04-02 John Levon <levon@movementarian.org>
5657 * text_funcs.C: make transposeChars a free function
5659 * lyxrow_funcs.C: remove wrong comment
5661 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * rowpainter.C: adjust
5669 * lyxrow_funcs. [Ch]: new files
5671 * lyxrow.[Ch]: remove next and previous pointers
5672 (next,previous): remove accessor functions
5673 (isParEnd): move to lyxrow_funcs
5674 (lastPos): move to lyxrow_funcs
5675 (nextRowIsAllInset): move to lyxrow_funcs
5676 (lastPrintablePos): move to lyxrow_funcs
5677 (numberOfSeparators): move to lyxrow_funcs
5678 (numberOfHfills): move to lyxrow_funcs
5679 (numberOfLabelHfills): move to lyxrow_funcs
5680 (hfillExpansion): move to lyxrow_funcs
5684 * bufferview_funcs.C (toggleAndShow): adjust
5686 * RowList.h: Remove class RowList from file leave just a
5689 * RowList.C: delete file
5691 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5694 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * text3.C (cursorPrevious): adjust
5697 (cursorNext): adjust
5700 * text2.C (redoHeightOfParagraph): adjust
5701 (redoDrawingOfParagraph): adjust
5704 * text.C (breakParagraph): adjust
5705 (insertChar): adjust
5708 * rowpainter.C (RowPainter): adjust
5709 (leftMargin): simplify and adjust
5710 (most rowpainter functions): adjust.
5712 * rowpainter.h: store the row as RowList::iterator not as Row*
5714 * lyxcursor.C (row): taka RowList::iterator as arg
5717 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5720 2003-04-01 Angus Leeming <leeming@lyx.org>
5722 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5723 stuff like bool Bool.
5725 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5727 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5730 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5735 * lyxtext.h (rows): drop one version and leve a const variant that
5736 returns a RowList::iterator.
5738 2003-03-31 Angus Leeming <leeming@lyx.org>
5740 * text.C (fill): ensure that the signature is the same as that in the
5743 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5745 * text2.C (redoParagraphs): adjust
5746 (updateCounters): adjust
5747 (checkParagraph): adjust
5748 (getColumnNearX): adjust and reformat a bit.
5750 * text.C (top_y): adjust
5752 (leftMargin): adjust
5753 (prepareToPrint): adjust
5755 (getRowNearY): adjust
5757 * lyxtext.h: make rowlist_ mutable.
5759 * RowList.h: add const_iterator
5760 * RowList.C: adjust for RowList::const_iterator.
5762 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5765 2003-03-31 John Levon <levon@movementarian.org>
5768 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5770 * lyx_main.C: set default fonts from using lyx_gui funcs
5772 * exporter.C: pdf_mode moved from lyxrc
5775 * lyxfunc.C: changes from above
5777 2003-03-31 John Levon <levon@movementarian.org>
5779 * lyx_main.C: fix to the last fix
5781 2003-03-31 John Levon <levon@movementarian.org>
5783 * bufferlist.C: "Load original" -> "Load Original"
5789 * format.C: more Alert cleanups
5791 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * text2.C (removeParagraph): make it take a RowList::iterator as
5795 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5796 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5798 * text.C (anchor_row): make it take a RowList::iterator as arg,
5800 (computeBidiTables): make it take a const reference to Row instead
5801 of Row pointer, adjust.
5802 (leftMargin): make it take a RowList::iterator as arg, adjust.
5803 (rowBreakPoint): adjust
5804 (breakAgainOneRow): make it take a RowList::iterator as arg,
5806 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5808 * bufferview_funcs.C (toggleAndShow): adjust
5810 2003-03-30 John Levon <levon@movementarian.org>
5814 * boost-inst.C: moved to support
5816 * several files: changes as a result
5818 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * text2.C (LyXText): adjust.
5822 (removeRow): make it take a RowList::iterator as arg, adjust.
5823 (fullRebreak): adjust
5824 (deleteEmptyParagraphMechanism): adjust
5825 (clearPaint): adjust
5828 * text.C (top_y): adjust
5829 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5830 (breakAgain): make it take a RowList::iterator as arg, adjust.
5831 (breakParagraph): adjust
5832 (insertChar): adjust
5835 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5836 need_break_row, and refresh_row.
5838 * text3.C (dispatch): adjust
5840 * text2.C (checkParagraph): adjust
5842 (setCursorFromCoordinates): adjust
5844 * text.C (top_y): adjust
5846 (getRow): make it return a RowList::iterator, adjust
5847 (getRowNearY): make it return a RowList::iterator, adjust
5849 * text2.C (init): adjust
5850 (insertRow): remove function
5851 (insertParagraph): adjust
5852 (redoParagraphs): adjust
5853 (fullRebreak): adjust
5854 (updateCounters): adjust
5856 * text.C (top_y): rewrite to use RowList iterators.
5858 (setHeightOfRow): rewrite to sue RowList iterators.
5859 (appendParagraph): adjust
5860 (breakAgain): adjust
5861 (breakAgainOneRow): adjust
5862 (breakParagraph): adjust
5864 (getRowNearY): adjust, and remove commented code.
5866 * lyxtext.h (firstRow): delete function
5867 (lastRow): delete function
5868 (rows): new function (const and non-const versions.)
5869 (insertRow): delete function
5871 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5873 2003-03-29 John Levon <levon@movementarian.org>
5875 * BufferView_pimpl.C: always update scrollbar top
5876 because pasting text when we're anchored could mean we
5877 miss an update altogether
5879 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * text2.C (init): use rowlist_.end() and not 0.
5882 (insertRow): change to take a RowList::iterator as arg, adjust
5884 (insertParagraph): change to take a RowList::iterator as arg,
5886 (redoParagraphs): remove some debug msgs.
5888 * text.C (appendParagraph): change to take a RowList::iterator
5889 arg, adjust for this.
5890 (breakAgain): add an assert
5891 (breakAgainOneRow): ditto
5893 2003-03-29 John Levon <levon@movementarian.org>
5895 * text2.C: do not clear selection after inc/decDepth
5898 2003-03-29 John Levon <levon@movementarian.org>
5901 * buffer.C: fix broken strerrors according to Lars
5903 2003-03-29 John Levon <levon@movementarian.org>
5905 * converters.C: more Alert cleanups
5907 2003-03-29 John Levon <levon@movementarian.org>
5909 * bufferview_funcs.C: remove pointless Alert
5911 * buffer.C: fix confusing error message when
5912 a template is chmoded 000
5914 2003-03-29 John Levon <levon@movementarian.org>
5918 * BufferView_pimpl.C: Alert fixes
5922 * tabular-old.C: remove unused table compat reading
5924 2003-03-29 John Levon <levon@movementarian.org>
5929 * lyx_cb.C: more Alert cleanups
5931 * lyxfunc.C: don't allow chktex if not latex document
5933 2003-03-29 John Levon <levon@movementarian.org>
5937 * buffer.C: warnings pushed down from support/,
5940 2003-03-29 John Levon <levon@movementarian.org>
5942 * lyxfunc.C: safety check for C-r (revert)
5944 2003-03-29 John Levon <levon@movementarian.org>
5947 * bufferlist.C: several UI fixes using Alert::prompt.
5948 Fix the pointless looping quit code. Fix stupid revert
5953 * lyx_cb.C: use Alert::prompt
5955 * lyx_main.C: remove a silly question
5957 * lyxfunc.C: remove a couple of silly questions,
5960 2003-03-28 John Levon <levon@movementarian.org>
5962 * text2.C: fix bug 974 (End on empty par)
5964 2003-03-28 John Levon <levon@movementarian.org>
5966 * BufferView_pimpl.C:
5968 * lfuns.h: remove do-nothing math greek lfuns
5970 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * lyxgluelength.h (isValidGlueLength): add default arg on
5973 parameter 2. Remove default arg from friend in class.
5975 * lyxlength.h (isValidLength): add default arg on parameter 2.
5976 Remove default arg from friend in class.
5978 * text2.C (LyXText): adjust, initialize refresh_row.
5982 (insertParagraph): adjst
5983 (redoParagraphs): adjust
5984 (fullRebreak): adjust
5985 (updateCounters): adjust
5986 (deleteEmptyParagraphMechanism): first attempt at fixing a
5989 * text.C (top_y): adjust
5990 (setHeightOfRow): adjust
5992 (getRowNearY): adjust
5994 * lyxtext.h: include RowList.h
5995 (~LyXText): not needed anymore, deleted.
5996 (firstRow): modify for RowList
5997 (lastRow): new function
5998 Delete firstrow and lastrow class variables, add a Rowlist
5999 rowlist_ class variable.
6001 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6004 * RowList.C (insert): fix case where it == begin().
6006 2003-03-26 Angus Leeming <leeming@lyx.org>
6008 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6009 the thesaurus dialog.
6011 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6015 * RowList.[Ch]: new files
6017 * ParagraphList.C (erase): handle the case where it == begin
6020 2003-03-25 John Levon <levon@movementarian.org>
6024 * aspell.C: add new aspell support
6027 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6030 2003-03-25 Angus Leeming <leeming@lyx.org>
6033 * LyXAction.C (init): new LFUN_INSET_INSERT.
6035 * BufferView_pimpl.C (dispatch): split out part of the
6036 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6038 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6041 2003-03-25 Angus Leeming <leeming@lyx.org>
6043 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6045 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6048 * text3.C: remove useless row->height(0)
6050 2003-03-25 John Levon <levon@movementarian.org>
6054 * text3.C: rename the refreshing stuff to better names
6056 2003-03-24 John Levon <levon@movementarian.org>
6058 * BufferView_pimpl.h:
6059 * BufferView_pimpl.C: update layout choice on a mouse
6062 2003-03-23 John Levon <levon@movementarian.org>
6064 * Makefile.am: fix commandtags.h reference
6066 2003-03-22 John Levon <levon@movementarian.org>
6068 * BufferView_pimpl.C:
6073 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6075 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6078 * text.C: take the rtl methods out of line
6080 2003-03-21 André Pönitz <poenitz@gmx.net>
6082 * metricsinfo.[Ch]: new files containing structures to be passed around
6083 during the two-phase-drawing...
6085 2003-03-21 André Pönitz <poenitz@gmx.net>
6087 * lyxtextclass.C: read 'environment' tag.
6089 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6091 * text2.C (removeRow): fix bug 964
6093 2003-03-20 John Levon <levon@movementarian.org>
6097 * text2.C: paint cleanups. Inset::update() dropped font
6100 2003-03-19 John Levon <levon@movementarian.org>
6102 * lyxfunc.C: only fitcursor/markDirty if available()
6104 2003-03-19 John Levon <levon@movementarian.org>
6106 * commandtags.h: rename to ...
6108 * lfuns.h: ... this, and renumber / cleanup
6110 2003-03-19 John Levon <levon@movementarian.org>
6112 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6113 fit the cursor after an lfun
6117 * BufferView_pimpl.h:
6118 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6120 * LyXAction.C: layout-character should have ReadOnly
6122 * ParagraphParameters.C:
6124 * bufferview_funcs.C:
6131 * undo_funcs.C: changes from above
6133 2003-03-18 John Levon <levon@movementarian.org>
6135 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6136 remove it from update()
6138 * lyxfunc.C: update layout choice after an lfun
6140 * text3.C: remove extra updateLayoutChoice()s
6142 2003-03-18 John Levon <levon@movementarian.org>
6144 * text.C: top_y change means full repaint, fix
6145 a drawing bug with cursor movement
6147 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6151 * text2.C: anchor row on setCursor
6153 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6155 * lyxtext.h: remove almost all mutable keywords
6158 * text3.C: remove const keywords accordingly
6160 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6164 (TeXEnvironment): ditto
6167 2003-03-17 John Levon <levon@movementarian.org>
6169 * text.C (rowBreakPoint): remove attempt to fix displayed
6170 math insets inside a manual label
6172 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * lyxtext.h: remove BufferView* as first arg from almost all class
6176 * other files: adjust.
6178 2003-03-17 John Levon <levon@movementarian.org>
6182 * text2.C: more paint cleanups
6184 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6187 * rowpainter.C: remove "smart" background painting code
6189 2003-03-16 John Levon <levon@movementarian.org>
6194 * text3.C: add helper functions for setting refresh_row/y
6196 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6198 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6199 newline inset which *can* get inserted in the pass_thru layouts.
6200 This is primarily for literate documents.
6202 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6204 * buffer.C: increment LYX_FORMAT to 223
6206 2003-03-14 André Pönitz <poenitz@gmx.net>
6208 * textclass.h: prepare for environment handling, ws changes
6209 * lyxlayout.C: read latexheader and latexfooter tags
6211 2003-03-14 John Levon <levon@movementarian.org>
6213 * text2.C: rewrite ::status() a bit
6215 2003-03-13 John Levon <levon@movementarian.org>
6217 * lyxtext.h: add some docs
6219 2003-03-13 John Levon <levon@movementarian.org>
6224 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6226 2003-03-13 John Levon <levon@movementarian.org>
6228 * text3.C: fix appendix redrawing
6230 2003-03-13 John Levon <levon@movementarian.org>
6232 * text.C (setHeightOfRow):
6234 * rowpainter.C: make appendix mark have the text
6235 "Appendix" so the user knows what it is
6238 * LColor.C: s/appendixline/appendix/ from above
6240 2003-03-13 John Levon <levon@movementarian.org>
6242 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6244 * text.C: fix a getChar(pos) bug properly
6246 2003-03-13 Angus Leeming <leeming@lyx.org>
6249 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6250 Probably only temporary. Let's see how things pan out.
6252 * BufferView.C (unlockInset):
6253 * BufferView_pimpl.C (fitCursor):
6254 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6256 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6257 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6259 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6260 new functions that convert ParagraphParameters to and from a string.
6262 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6263 BufferView::Pimpl's dispatch.
6264 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6266 2003-03-13 André Pönitz <poenitz@gmx.net>
6270 * factory.C: make it aware of InsetEnv
6272 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6274 * text2.C (setCursor): never ask for one past last
6275 (setCursor): add some debugging messages.
6277 * text.C (singleWidth): never ask for one past last
6278 (singleWidth): ditto
6280 (rightMargin): ditto
6281 (rowBreakPoint): ditto
6282 (setHeightOfRow): ditto
6283 (prepareToPrint): ditto
6285 * rowpainter.C (paintBackground): never ask for one past last
6286 (paintText): never ask for one past last
6288 * paragraph_pimpl.C (getChar): make the assert stricter, never
6289 allow the one past last pos to be taken
6291 * paragraph.C (getChar): ws changes only
6293 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6294 (numberOfSeparators): ditto
6295 (numberOfHfills): ditto
6297 2003-03-12 John Levon <levon@movementarian.org>
6303 * paragraph_funcs.C: fix per-buffer authorlists
6305 2003-03-12 John Levon <levon@movementarian.org>
6307 * text.C: fix newline in right address
6309 2003-03-12 Angus Leeming <leeming@lyx.org>
6311 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6312 duplicate those in LyXFunc::dispatch.
6316 * ToolbarDefaults.C:
6317 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6318 Add LFUN_FONTFREE_UPDATE.
6320 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6321 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6323 * bufferview_func.[Ch]: several new functions to facilliate
6324 transfer of data to and from the character dialog.
6326 2003-03-12 John Levon <levon@movementarian.org>
6331 * paragraph_funcs.C:
6332 * paragraph_pimpl.C:
6336 * text3.C: remove META_NEWLINE in favour of an inset
6339 * rowpainter.C: remove paintNewline (done by inset)
6341 2003-03-12 John Levon <levon@movementarian.org>
6343 * paragraph_pimpl.C: complain about bad getChar()s
6344 for a while at least
6346 2003-03-12 John Levon <levon@movementarian.org>
6349 * buffer.C: move paragraph read into a separate function,
6350 a little renaming to reflect that.
6353 * bufferparams.C: remove the author_ids map, not necessary now
6356 * factory.C: moved Buffer::readInset to here
6358 * paragraph_funcs.h:
6359 * paragraph_funcs.C: readParagraph free function moved from
6362 * tabular.C: name change
6364 2003-03-12 John Levon <levon@movementarian.org>
6367 * ParagraphParameters.C: move par params input to
6370 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6371 behave like a normal read from the stream wrt reading
6372 a line vs. a \\token
6374 2003-03-12 John Levon <levon@movementarian.org>
6377 * ParagraphParameters.h:
6378 * ParagraphParameters.C: move output code to a
6381 2003-03-12 John Levon <levon@movementarian.org>
6383 * BufferView.C (insertLyXFile):
6386 * tabular.C: use a parlist iterator for creating the
6389 2003-03-12 John Levon <levon@movementarian.org>
6391 * buffer.C: make current_change static local not
6394 2003-03-12 John Levon <levon@movementarian.org>
6396 * buffer.C: fix insertStringAsLines for change tracking
6398 2003-03-12 John Levon <levon@movementarian.org>
6405 * bufferparams.C: move author list into params. Rename some
6406 functions. Move the header reading into a separate token
6407 loop. Move the header token reading into BufferParams.
6409 2003-03-12 John Levon <levon@movementarian.org>
6411 * changes.C: put debug inside lyxerr.debugging() checks
6413 2003-03-11 André Pönitz <poenitz@gmx.net>
6415 * factory.C: make it aware of InsetHFill
6417 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * buffer.C (latexParagraphs): move function from here...
6420 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6423 2003-03-10 Angus Leeming <leeming@lyx.org>
6425 * LyXAction.C (init): fix bug in poplating array with multiple entries
6426 with the same LFUN (spotted by JMarc).
6428 2003-03-10 John Levon <levon@movementarian.org>
6431 * text2.C: move getColumnNearX() near its
6434 2003-03-10 John Levon <levon@movementarian.org>
6436 * text.C: fix break before a minipage
6438 2003-03-10 John Levon <levon@movementarian.org>
6440 * text.C: fix the last commit
6442 2003-03-09 John Levon <levon@movementarian.org>
6446 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6447 bug 365 (don't break before insets unless needed). Don't
6448 return a value > last under any circumstances.
6450 2003-03-09 Angus Leeming <leeming@lyx.org>
6452 * BufferView_pimpl.C (trackChanges, dispatch): call
6453 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6455 2003-03-09 Angus Leeming <leeming@lyx.org>
6457 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6458 than Dialogs::showAboutlyx().
6460 2003-03-09 Angus Leeming <leeming@lyx.org>
6462 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6463 than Dialogs::showTabularCreate().
6465 2003-03-09 John Levon <levon@movementarian.org>
6469 * text2.C: 3rd arg to nextBreakPoint was always the same.
6472 2003-03-08 John Levon <levon@movementarian.org>
6479 * text2.C: Remove the "main" bit from the "main body"
6482 2003-03-08 John Levon <levon@movementarian.org>
6484 * text.C (leftMargin): The left margin of an empty
6485 manual label paragraph should not include the label width
6488 * text.C (prepareToPrint): don't attempt to measure hfills
6489 for empty manual label paragraphs - the answer should be 0
6491 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * CutAndPaste.C: remove commented code and reindent.
6495 2003-03-08 John Levon <levon@movementarian.org>
6498 * lyxfunc.C: move reloadBuffer()
6501 * BufferView.C: to here
6503 * lyxvc.C: add comment
6506 * vc-backend.C: call bv->reload() to avoid
6507 getStatus() check on MENURELOAD
6509 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6511 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6512 to an old format .dep file.
6514 2003-03-07 Angus Leeming <leeming@lyx.org>
6516 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6517 when the LFUN_MOUSE_RELEASE should have been handled by
6518 inset->localDispatch.
6520 2003-03-07 Angus Leeming <leeming@lyx.org>
6522 * BufferView_pimpl.C (dispatch):
6523 * LyXAction.C (init):
6524 * ToolbarDefaults.C (init):
6526 * lyxfunc.C (getStatus):
6527 remove LFUN_INSET_GRAPHICS.
6529 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6531 2003-03-07 Angus Leeming <leeming@lyx.org>
6534 * LyXAction.C (init):
6535 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6537 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6540 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6542 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6543 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6545 2003-03-07 Angus Leeming <leeming@lyx.org>
6547 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6550 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6552 * ParagraphList.C (front): new function
6555 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6557 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6558 and top_row_offset_. removed var first_y.
6560 * text2.C (LyXText, removeRow):
6562 * BufferView_pimpl.C:
6563 use these methods instead of using first_y
6565 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * text2.C (pasteSelection): adjust for checkPastePossible
6569 * CutAndPaste.C: remove Paragraph * buf and replace with
6570 ParagraphList paragraphs.
6571 (DeleteBuffer): delete
6572 (cutSelection): change the tc type to textclass_type
6573 (copySelection): change the tc type to textclass_type
6574 (copySelection): adjust for ParagraphList
6575 (pasteSelection): change the tc type to textclass_type
6576 (pasteSelection): adjust for Paragraphlist
6577 (nrOfParagraphs): simplify for ParagraphList
6578 (checkPastePossible): simplify for ParagraphList
6579 (checkPastePossible): remove unused arg
6581 * ParagraphList.C (insert): handle the case where there are no
6584 * CutAndPaste.h: make CutAndPaste a namespace.
6586 * text3.C (dispatch): adjust
6588 * text.C (breakParagraph): add a ParagraphList as arg
6590 * paragraph_funcs.C (breakParagraph): change to take a
6591 BufferParams and a ParagraphList as args.
6592 (breakParagraphConservative): ditto
6593 (mergeParagraph): ditto
6594 (TeXDeeper): add a ParagraphList arg
6595 (TeXEnvironment): ditto
6598 * buffer.C (readLyXformat2): adjust
6599 (insertStringAsLines): adjust
6600 (latexParagraphs): adjust
6602 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6603 (cutSelection): adjust
6604 (pasteSelection): adjust
6606 * BufferView_pimpl.C (insertInset): adjust
6608 2003-03-05 Angus Leeming <leeming@lyx.org>
6611 * LyXAction.C (init):
6612 * BufferView_pimpl.C (dispatch):
6613 * lyxfunc.C (getStatus):
6614 remove LFUN_CHILD_INSERT.
6616 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6618 2003-03-05 Angus Leeming <leeming@lyx.org>
6621 * LyXAction.C (init):
6622 * src/factory.C (createInset):
6623 * lyxfunc.C (getStatus):
6624 * text3.C (dispatch):
6625 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6627 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6629 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * ParagraphList.C (insert): handle insert right before end()
6632 (erase): fix cases where it can be first or last paragraph.
6634 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6637 Paragraph::next and Paragraph::previous
6640 * text.C (breakParagraph): adjust
6642 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6643 BufferParams& as arg.
6644 (breakParagraph): use ParagraphList::insert
6645 (breakParagraphConservative): take a Buffer* instead of a
6646 BufferParams& as arg.
6647 (breakParagraphConservative): use ParagraphList::insert.
6649 * buffer.C (insertStringAsLines): un-const it
6650 (insertStringAsLines): adjust
6652 * ParagraphList.C (insert): new function
6654 * CutAndPaste.C (pasteSelection): adjust
6656 * text.C (backspace): adjust
6658 * tabular.C (SetMultiColumn): adjust
6660 * CutAndPaste.C (cutSelection): adjust
6661 (pasteSelection): adjust
6663 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6664 Buffer const * as arg
6666 * ParagraphList.C (erase): new function
6667 * paragraph_funcs.C (mergeParagraph): use it
6668 (mergeParagraph): make it take a Buffer* instead of a
6669 BufferParams* as arg
6671 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6673 (breakParagraphConservative): ditto
6675 * paragraph.h: remove the breakParagraph friend
6677 * paragraph.C (eraseIntern): new function
6678 (setChange): new function
6680 * paragraph_funcs.C (mergeParagraph): make it take a
6681 ParagraphList::iterator instead of a Paragraph *, adjust
6684 * paragraph.h: move an #endif so that the change tracking stuff
6685 also works in the NO_NEXT case.
6687 2003-03-04 Angus Leeming <leeming@lyx.org>
6690 * LyXAction.C: new LFUN_INSET_MODIFY.
6692 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6693 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6695 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6697 * several files: ws changes only
6699 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6700 (TeXEnvironment): ditto
6703 * buffer.C (makeLaTeXFile): adjust
6704 (latexParagraphs): make it take ParagraphList::iterator as args
6706 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * buffer.C (latexParagraphs): adjust
6710 * paragraph.C (TeXOnePar): move function...
6711 (optArgInset): move function...
6712 (TeXEnvironment): move function...
6713 * paragraph_pimpl.C (TeXDeeper): move function...
6714 * paragraph_funcs.C: ...here
6716 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6718 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6720 * buffer.C (readInset): remove compability code for old Figure and
6723 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * buffer.C: ws changes
6728 * BufferView_pimpl.C: ditto
6731 * bufferlist.h: ditto
6735 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6737 * converter.[Ch]: split into itself +
6740 * Makefile.am: += graph.[Ch] + format.[Ch]
6747 * lyxrc.C: added #include "format.h"
6749 2003-02-27 Angus Leeming <leeming@lyx.org>
6751 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6754 * factory.C (createInset): add "label" to the factory.
6756 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6757 string and do no more.
6759 2003-02-27 Angus Leeming <leeming@lyx.org>
6762 * LyXAction.C (init):
6763 * factory.C (createInset):
6764 * BufferView_pimpl.C (dispatch):
6765 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6767 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6769 * lyxfunc.C (dispatch):
6770 * text3.C (dispatch): pass name to params2string.
6772 2003-02-26 Angus Leeming <leeming@lyx.org>
6774 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6776 Rearrange the ~includes. Strip out the unnecessary ones.
6778 * factory.C (createInset): reformat.
6779 create new insets for the various LFUN_XYZ_APPLY lfuns.
6781 2003-02-26 John Levon <levon@movementarian.org>
6784 * lyxrow.C: add isParStart,isParEnd helpers
6786 * paragraph.h: make isInserted/DeletedText take refs
6788 * paragraph_funcs.h:
6789 * paragraph_funcs.C: remove #if 0'd code
6794 * text.C: use lyxrow helpers above.
6795 Move draw and paint routines to RowPainter.
6796 Make several methods use refs not pointers.
6797 Make backgroundColor() const.
6798 Add markChangeInDraw(), isInInset().
6799 Merge changeRegionCase into changeCase.
6800 Make workWidth() shouldn't-happen code into an Assert.
6803 * rowpainter.C: new class for painting a row.
6806 * vspace.C: make inPixels take a ref
6808 2003-02-26 Angus Leeming <leeming@lyx.org>
6810 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6813 2003-02-25 John Levon <levon@movementarian.org>
6815 * ispell.C: give the forked command a more accurate name
6817 2003-02-22 John Levon <levon@movementarian.org>
6820 * toc.C: make TocItem store an id not a Paragraph *
6823 2003-02-21 Angus Leeming <leeming@lyx.org>
6825 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6826 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6827 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6828 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6829 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6830 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6832 * BufferView_pimpl.C (dispatch):
6833 * LyXAction.C (init):
6834 * factory.C (createInset):
6835 * lyxfunc.C (getStatus, dispatch):
6836 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6838 2003-02-21 Angus Leeming <leeming@lyx.org>
6840 * BufferView_pimpl.C (MenuInsertLyXFile):
6841 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6842 * lyxfunc.C (menuNew, open, doImport):
6843 no longer pass a LyXView & to fileDlg.
6845 2003-02-21 Angus Leeming <leeming@lyx.org>
6847 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6848 * LyXAction.C: change, BIBKEY to BIBITEM.
6849 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6850 Change InsetBibKey to InsetBibitem.
6851 Change BIBKEY_CODE to BIBITEM_CODE.
6852 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6853 * factory.C: replace insetbib.h with insetbibitem.h.
6854 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6855 * paragraph.C: replace insetbib.h with insetbibitem.h.
6856 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6857 Change bibkey() to bibitem().
6858 * text.C: remove insetbib.h.
6859 * text2.C: replace insetbib.h with insetbibitem.h.
6860 change bibkey() to bibitem().
6861 * text3.C: remove insetbib.h.
6862 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6864 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * lyxrc.C (output): enclose user email in quotes (in case there are
6869 2003-02-18 John Levon <levon@movementarian.org>
6871 * buffer.h: add std::
6873 2003-02-17 John Levon <levon@movementarian.org>
6879 * pspell.C: reworking. Especially in ispell, a large
6880 number of clean ups and bug fixes.
6882 * lyxfunc.C: fix revert to behave sensibly
6884 2003-02-17 André Pönitz <poenitz@gmx.net>
6887 * commandtags.h: new LFUN_INSERT_BIBKEY
6897 * paragraph_func.C: remove special bibkey handling
6899 2003-02-17 John Levon <levon@movementarian.org>
6901 * text.C (Delete): fix case where delete at the end of
6902 the very first paragraph would not merge the pars
6904 2003-02-17 John Levon <levon@movementarian.org>
6906 * lyxrow.C: fix lastPrintablePos()
6908 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6910 * bufferparams.C (writeLaTeX): add a std:here
6912 * buffer.C: and remove a using directive there
6914 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * buffer.C (makeLaTeXFile): move the code that generates the
6919 * bufferparams.C (writeLaTeX): ... in this new method
6921 * LaTeXFeatures.C (getEncodingSet): make const
6922 (getLanguages): make const
6924 * MenuBackend.C (binding): returns the binding associated to this
6926 (add): sets the status of each item by calling getStatus. Adds
6928 (read): add support for OptSubMenu
6929 (expand): remove extra separator at the end of expanded menu
6931 2003-02-15 John Levon <levon@movementarian.org>
6934 * BufferView_pimpl.C:
6936 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6937 inset code that had no actual effect. Remove unneeded status
6940 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6945 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6947 * text.C (drawLengthMarker): also draw an arrow marker for
6948 symbolic lengths (medskip...)
6950 2003-02-14 John Levon <levon@movementarian.org>
6953 * tabular.C: better method names
6955 2003-02-14 John Levon <levon@movementarian.org>
6957 * BufferView_pimpl.C:
6962 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6963 it's a more accurate name. Remove some pointless uses.
6965 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6967 * text2.C (LyXText): change order of initilizers to shut off
6970 2003-02-14 John Levon <levon@movementarian.org>
6972 * buffer.C: use ParIterator for getParFromID()
6976 * paragraph_pimpl.h:
6977 * paragraph_pimpl.C: remove unused getParFromID()
6979 2003-02-14 John Levon <levon@movementarian.org>
6981 * buffer.C: remove some very old #if 0'd parse code
6983 2003-02-13 John Levon <levon@movementarian.org>
6987 * text2.C: move hfillExpansion(), numberOfSeparators(),
6988 rowLast(), rowLastPrintable(), numberofHfills(),
6989 numberOfLabelHfills() ...
6992 * lyxrow.C: ... to member functions here.
6997 * text.C: remove LyXText::beginningOfMainBody(), and call
6998 p->beginningOfMainBody() directly. Move the check for
6999 LABEL_MANUAL into the latter.
7006 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7012 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7013 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7015 2003-02-13 John Levon <levon@movementarian.org>
7017 * CutAndPaste.C: remove debug
7019 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7021 * paragraph.C (asString): remove two unused variables
7023 * lyxtextclass.C (readTitleType):
7025 (LyXTextClass): handle new members titletype_ and titlename_
7027 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7029 2003-02-09 John Levon <levon@movementarian.org>
7032 * buffer.C: replace hand-coded list with a map for the dep clean
7034 2003-02-08 John Levon <levon@movementarian.org>
7036 * LaTeX.C: consolidate code into showRunMessage() helper
7038 2003-02-08 John Levon <levon@movementarian.org>
7043 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7044 and pass the size in explicitly
7046 * BufferView_pimpl.h:
7047 * BufferView_pimpl.C:
7049 * BufferView.C: add getCurrentChange()
7051 * BufferView_pimpl.h:
7052 * BufferView_pimpl.C: handle change lfuns
7054 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7055 for changes. Mark pasted paragraphs as new.
7057 * support/lyxtime.h:
7058 * support/lyxtime.C:
7059 * DepTable.C: abstract time_t as lyx::time_type
7062 * LColor.C: add colours for new text, deleted text, changebars
7064 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7065 package use "usenames" option.
7069 * LyXAction.C: add change lfuns
7073 * author.C: author handling
7076 * buffer.C: add a per-buffer author list, with first entry as
7077 current author. Handle new .lyx tokens for change tracking. Output
7078 author list to .lyx file. Output dvipost stuff to .tex preamble.
7079 Bump lyx format to 222.
7082 * bufferlist.C: add setCurrentAuthor() to reset current author details
7086 * bufferparams.C: add param for tracking
7088 * bufferview_funcs.C: output change info in minibuffer
7092 * changes.C: add change-tracking structure
7095 * debug.C: add CHANGES debug flag
7098 * lyxfind.C: add code for finding the next change piece
7101 * lyxrc.C: add user_name and user_email
7104 * lyxrow.C: add a metric for the top of the text line
7107 * text.C: implement accept/rejectChange()
7110 * text.C: paint changebars. Paint new/deleted text in the chosen
7111 colours. Strike through deleted text.
7115 * paragraph_pimpl.h:
7116 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7117 in the current change to the insert functions. Rework erase to
7118 mark text as deleted, adding an eraseIntern() and a range-based
7119 erase(). Implement per-paragraph change lookup and
7122 * paragraph_funcs.C: Fixup paste for change tracking.
7124 * tabular.C: mark added row/columns as new.
7126 * text.C: fix rowLast() to never return -1. Don't allow
7127 spellchecking of deleted text. Track transpose changes. Don't
7128 allow paragraph break or merge where appropriate.
7130 * text2.C: leave cursor at end of selection after a cut.
7132 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7134 * text.C (getLengthMarkerHeight):
7135 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7136 visible on screen too.
7138 2003-02-07 John Levon <levon@movementarian.org>
7140 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7142 2003-02-05 Angus Leeming <leeming@lyx.org>
7144 * lyxserver.C (read_ready): revert my patch of 11 September last year
7145 as it sends PC cpu through the roof. Presumably this means that
7146 the lyxserver will no longer run on an Alpha...
7148 2003-01-30 Angus Leeming <leeming@lyx.org>
7150 * factory.C (createInset): create an InsetCommandParam of type "index"
7151 and use it to 'do the right thing'.
7153 * text2.C (getStringToIndex): ensure that cursor position is always
7154 reset to the reset_cursor position.
7156 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7158 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7161 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7165 * lyxfunc.C: Output messages with identical spelling, punctuation,
7168 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7170 * MenuBackend.C (expandFormats): List only viewable export formats
7173 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7176 * lyxfunc.C (getStatus): Make sure that formats other than
7177 "fax" can also be disabled
7179 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7181 * text3.C (dispatch): put the lfuns that insert insets in 3
7182 groups, and call doInsertInset with appropriate arguments.
7183 (doInsertInset): new function, that creates an inset and inserts
7184 it according to some boolean parameters.
7186 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * buffer.C (readFile): remember to pass on 'par' when calling
7189 readFile recursively.
7191 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7193 * MenuBackend.C (expandFormats): add "..." to import formats.
7195 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7197 * paragraph.C (asString): Remove XForms RTL hacks.
7199 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7200 * buffer.C: fix typo
7202 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * Makefile.am (LIBS): delete var
7205 (lyx_LDADD): add @LIBS@ here instead.
7207 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7209 * Clarify the meaning of "wheel mouse jump"
7211 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7216 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7218 * importer.C (Loaders): do not preallocate 3 elements in the
7219 vector, since one ends up with 6 elements otherwise
7221 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7223 * DepTable.C (write): write the file name as last element of the
7224 .dep file (because it may contain spaces)
7225 (read): read info in the right order
7227 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7229 * paragraph_pimpl.C (simpleTeXBlanks):
7230 (simpleTeXSpecialChars):
7231 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7233 * tabular.C (latex): add some missing case statements. Reindent.
7235 * MenuBackend.C (expandToc): remove unused variable.
7237 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7246 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7249 2003-01-05 John Levon <levon@movementarian.org>
7252 * BufferView.C: add getEncoding()
7255 * kbsequence.C: do not store last keypress
7258 * lyxfunc.C: store last keypress here instead. Pass encoding
7261 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7263 * lyx_main.C (init): remove annoying error message when following
7264 symbolic links (bug #780)
7266 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * text.C (insertChar):
7269 * lyxrc.C (getDescription): remove extra spaces
7271 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7273 * lyxrc.C (getDescription): remove extra spaces
7275 2002-12-20 John Levon <levon@movementarian.org>
7277 * text3.C: hack fix for page up/down across tall rows
7279 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7281 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7284 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7286 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7287 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7288 thesaurus is not compiled in
7290 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7292 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7294 2002-12-16 Angus Leeming <leeming@lyx.org>
7297 * lyx_main.C (init): remove override_x_deadkeys stuff.
7299 2002-12-12 John Levon <levon@movementarian.org>
7301 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7302 insert. Only remove shift modifier under strict
7305 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7307 * MenuBackend.C (expandToc): fix crash.
7309 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * MenuBackend.C (expandToc): gettext on float names.
7313 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7315 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7316 implement bool empty() [bug 490]
7318 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7322 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * several files: ws changes
7326 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * text2.C (setCounter): clean up a bit, use boost.format.
7329 (updateCounters): initialize par upon declaration.
7331 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7332 if the layout exists. We do not just store the layout any more.
7333 (SwitchLayoutsBetweenClasses): use boost.format
7335 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7337 * converter.C (convert): if from and to files are the same, use a
7338 temporary files as intermediary
7340 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7343 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7345 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7347 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7349 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * tabular.C (asciiPrintCell): use string(size, char) instead of
7354 * sgml.C (openTag): fix order of arguments to string constructor
7357 * lyxfunc.C (dispatch): use boost.format
7359 * lots of files: change "c" -> 'c'
7361 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7363 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7365 2002-11-25 Angus Leeming <leeming@lyx.org>
7367 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7369 * lyx_main.C (init): compile fix.
7371 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * lyx_cb.C (start): boost.formatify
7374 do not include <iostream>
7376 * lengthcommon.C: ws only
7378 * boost-inst.C,BoostFormat.h: add more explict instantations
7380 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * lots of files: handle USE_BOOST_FORMAT
7384 2002-11-21 John Levon <levon@movementarian.org>
7386 * pspell.C: fix compile
7388 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7390 * lyxfunc.C (dispatch): use boost::format
7394 * lyxfont.C (stateText): use boost::format
7396 * lyx_main.C (LyX): use boost::format
7398 (queryUserLyXDir): ditto
7401 (typedef boost::function): use the recommened syntax.
7403 * importer.C (Import): use boost::format
7405 * debug.C (showLevel): use boost::format
7407 * converter.C (view): use boost::format
7412 * bufferview_funcs.C (currentState): use boost::format
7414 * bufferlist.C (emergencyWrite): use boost::format
7416 * buffer.C (readLyXformat2): use boost::format
7417 (parseSingleLyXformat2Token): ditto
7419 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7421 * LaTeX.C (run): use boost::format
7423 * Chktex.C (scanLogFile): use boost::format
7425 * BufferView_pimpl.C (savePosition): use boost::format
7426 (restorePosition): ditto
7427 (MenuInsertLyXFile): ditto
7429 * BoostFormat.h: help file for explicit instation.
7431 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7433 * tabular.C (latex): Support for block alignment in fixed width
7436 2002-11-17 John Levon <levon@movementarian.org>
7438 * BufferView_pimpl.C:
7440 * lyxfunc.C: split filedialog into open/save
7442 2002-11-08 Juergen Vigna <jug@sad.it>
7444 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7445 by my last patch (hopefully).
7447 2002-11-08 John Levon <levon@movementarian.org>
7456 * toc.C: ParConstIterator, and use it (from Lars)
7458 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7460 * lyxtextclass.[Ch]: revise and add doxygen comments
7462 2002-11-07 John Levon <levon@movementarian.org>
7464 * text.C: fix progress value for spellchecker
7466 * toc.C: fix navigate menu for insetwrap inside minipage
7468 * paragraph_funcs.C: added FIXME for suspect code
7470 2002-11-07 John Levon <levon@movementarian.org>
7472 * BufferView_pimpl.C: fix redrawing of insets
7475 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7477 * text2.C (updateCounters): fix bug 668
7479 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7481 * text3.C (dispatch): Do not make the buffer dirty when moving the
7484 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * vc-backend.C: STRCONV
7489 * text2.C (setCounter): STRCONV
7491 * paragraph.C (asString): STRCONV
7493 * lyxlength.C (asString): STRCONV
7494 (asLatexString): ditto
7496 * lyxgluelength.C (asString): STRCONV
7497 (asLatexString): ditto
7499 * lyxfunc.C (dispatch): STRCONV
7502 * lyxfont.C (stateText): STRCONV
7504 * importer.C (Import): STRCONV
7506 * counters.C (labelItem): STRCONV
7507 (numberLabel): ditto
7508 (numberLabel): remove unused ostringstream o
7513 * bufferview_funcs.C (currentState): STRCONV
7515 * buffer.C (readFile): STRCONV
7516 (asciiParagraph): ditto
7517 (makeLaTeXFile): ditto
7519 * Spacing.C (writeEnvirBegin): STRCONV
7521 * LaTeXFeatures.C (getLanguages): STRCONV
7522 (getPackages): ditto
7524 (getBabelOptions): ditto
7525 (getTClassPreamble): ditto
7526 (getLyXSGMLEntities): ditto
7527 (getIncludedFiles): ditto
7531 (scanAuxFile): ditto
7534 * LString.h: add the STRCONV macros
7536 * BufferView_pimpl.C (savePosition): STRCONV
7537 (restorePosition): ditto
7538 (MenuInsertLyXFile): ditto
7540 * vc-backend.C (scanMaster): change from submatch[...] to
7543 * funcrequest.C: include config.h
7545 * factory.C: include config.h
7547 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7549 * box.C: include config.h
7551 * LaTeX.C (scanAuxFile): change from submatch[...] to
7555 2002-10-25 Angus Leeming <leeming@lyx.org>
7557 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7559 * ispell.[Ch] (setError): new method.
7560 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7561 Use setError() insetead of goto END.
7563 * lyx_cb.C (AutoSave): move out child process into new class
7566 2002-10-30 John Levon <levon@movementarian.org>
7568 * text3.C: make start appendix undoable
7570 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7572 * lyxlength.C (inPixels): Fix returned value.
7574 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7577 2002-10-24 Angus Leeming <leeming@lyx.org>
7579 * lyxgluelength.h: no need to forward declare BufferParams
7580 or BufferView, so don't.
7582 2002-10-21 John Levon <levon@movementarian.org>
7584 * BufferView.C: menuUndo ->undo, redo
7586 * BufferView.h: document, remove dead, make some methods private
7588 * paragraph_funcs.h:
7589 * paragraph_funcs.C:
7590 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7595 * sgml.C: move sgml open/close tag into sgml.C
7597 * bufferview_funcs.h: unused prototype
7600 * lyxfunc.C: remove unused
7603 * text.C: remove unused
7605 2002-10-21 John Levon <levon@movementarian.org>
7609 * BufferView_pimpl.h:
7610 * BufferView_pimpl.C: fix mouse wheel handling based on
7611 patch from Darren Freeman
7613 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7615 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7617 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7619 * lyxlength.C (inPixels): Fix hanfling of negative length.
7620 Fix LyXLength::MU case.
7622 2002-10-16 John Levon <levon@movementarian.org>
7624 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7626 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7628 * converter.C (view): add support for $$i (file name) and $$p
7629 (file path) for the viewer command. If $$i is not specified, then
7630 it is appended to the command (for compatibility with old syntax)
7632 2002-10-14 Juergen Vigna <jug@sad.it>
7634 * undo_funcs.C (textHandleUndo): alter the order in which the
7635 new undopar is added to the LyXText, as we have to set first
7636 the right prev/next and then add it as otherwise the rebuild of
7637 LyXText is not correct. Also reset the cursor to the right paragraph,
7638 with this IMO we could remove the hack in "redoParagraphs()".
7640 2002-10-09 Angus Leeming <leeming@lyx.org>
7642 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7643 to turn off an optimisation if a new inset is to be inserted.
7645 2002-10-11 André Pönitz <poenitz@gmx.net>
7647 * lyxtext.h: make some functions public to allow access
7648 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7650 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7652 * text3.C (dispatch): when changing layout, avoid an infinite loop
7655 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7657 * lyxrc.C (read): treat a viewer or converter command of "none" as
7660 * MenuBackend.C (expandFormats): for an update, also allow the
7661 formats that are not viewable
7663 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7664 script if it is newer than the lyxrc.defaults in user directory
7666 2002-10-07 André Pönitz <poenitz@gmx.net>
7668 * text.C: Vitaly Lipatov's small i18n fix
7670 2002-09-25 Angus Leeming <leeming@lyx.org>
7672 * ispell.h: doxygen fix.
7674 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7676 * buffer.h (readFile): Add a new argument to the method, to allow
7677 reading of old-format templates.
7679 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7681 * toc.C (getTocList): Get TOC from InsetWrap.
7683 2002-09-16 John Levon <levon@movementarian.org>
7685 * lyxfunc.C: check tabular for cut/copy too
7687 2002-09-12 John Levon <levon@movementarian.org>
7692 * factory.C: add header
7694 * paragraph_funcs.h:
7695 * paragraph_funcs.C: cleanup
7697 2002-09-11 John Levon <levon@movementarian.org>
7699 * PrinterParams.h: odd/even default to true
7701 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7703 * PrinterParams.h: update printer parameters for new xforms dialog
7705 2002-09-11 Angus Leeming <leeming@lyx.org>
7707 * lyxserver.C (read_ready): re-write to make it more transparent
7708 and to make it work in coherent fashion under Tru64 Unix.
7710 2002-09-11 André Pönitz <poenitz@gmx.net>
7714 * text3.C: implement LFUN_WORDSEL
7716 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7719 make floatlist_ a boost::shared_ptr<FloatList>
7721 * lyxtextclass.C: include FloatList.h
7722 (LyXTextClass): initialize floatlist_
7723 (TextClassTags): add TC_NOFLOAT
7724 (Read): match "nofloat" to TC_NOFLOAT and use it.
7725 (readFloat): modify call to floatlist_
7729 * FloatList.[Ch] (FloatList): remove commented out float
7731 (erase): new function
7733 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7735 * MenuBackend.C (expandToc): fix crash when there is no document
7738 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7740 * many files: Add insetwrap.
7742 2002-09-09 John Levon <levon@movementarian.org>
7744 * text2.C: remove confusing and awkward depth wraparound
7746 2002-09-09 John Levon <levon@movementarian.org>
7748 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7751 * buffer.C: remove getIncludeonlyList()
7754 * lyxfunc.C: remove headers
7756 2002-09-09 Juergen Vigna <jug@sad.it>
7758 * text.C (getColumnNearX): fix form Michael this is most
7759 probably a cut&paste bug.
7761 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7765 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7766 references, ws changes.
7768 * text2.C (init): update counters after init
7769 (insertParagraph): no need to set counter on idividual paragraphs.
7770 (setCounter): access the counters object in the textclass object
7771 on in the buffer object.
7772 (updateCounters): ditto
7774 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7775 shared_ptr<Counters> to avoid loading counters.h in all
7777 (LyXTextClass): initialize ctrs_
7778 (TextClassTags): add TC_COUNTER, and ...
7779 (Read): use it here.
7780 (CounterTags): new tags
7781 (readCounter): new function
7782 (counters): new funtion
7783 (defaultLayoutName): return a const reference
7785 * counters.C (Counters): remove contructor
7786 (newCounter): remove a couple of unneeded statements.
7787 (newCounter): simplify a bit.
7788 (numberLabel): some small formatting changes.
7790 * buffer.[Ch]: remove all traces of counters, move the Counters
7791 object to the LyXTextClass.
7793 2002-09-06 Alain Castera <castera@in2p3.fr>
7795 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7796 package to set the horizontal alignment on fixed width columns.
7799 * lyx_sty.h: added tabularnewline macro def.
7801 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7803 2002-09-06 John Levon <levon@movementarian.org>
7805 * LyXAction.C: tooltips for sub/superscript
7807 * MenuBackend.C: a bit more verbose
7809 * lyxfunc.C: tiny clean
7811 * undo_funcs.C: document undo_frozen
7813 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * counters.C (Counters): add missing algorithm counter.
7817 * text2.C (setCounter): lookup the counter with layouts latexname
7818 instead of by section number.
7819 (setCounter): use a hackish way to lookup the correct enum
7821 a float name->type change
7822 reset enum couners with counter name directly instead of depth value.
7824 * counters.C (Counters): remove the push_backs, change to use the
7825 float type not the float name.
7826 (labelItem): remove unused string, float name->type change
7828 * counters.h: don't include vector, loose the enums and sects vectors
7830 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7833 (Read): add float->TC_FLOAT to textclassTags
7834 (Read): and handle it in the switch
7835 (readFloat): new function
7837 * FloatList.C (FloatList): comment out the hardcoded float
7840 * lyxlayout.h: ws change.
7842 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7844 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7846 2002-09-03 Angus Leeming <leeming@lyx.org>
7848 * BufferView_pimpl.h: qualified name is not allowed in member
7849 declaration: WorkArea & Pimpl::workarea() const;
7851 * factory.C: added using std::endl directive.
7853 * text3.C: added using std::find and std::vector directives.
7855 2002-08-29 André Pönitz <poenitz@gmx.net>
7858 * text2.C: remove unused member number_of_rows
7861 * BufferView2.C: remove file, move contents to...
7862 * BufferView.C: ... here
7864 * BufferView_pimpl.C:
7865 * factory.C: move more inset creation to factory
7867 * vspace.C: avoid direct usage of LyXText, ws changes
7870 don't provide direct access to WorkArea, use two simple
7871 acessors haveSelction() and workHeight() instead
7874 2002-08-29 John Levon <levon@movementarian.org>
7876 * BufferView_pimpl.C (dispatch): do not continue when
7879 2002-08-28 André Pönitz <poenitz@gmx.net>
7881 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7884 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7886 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7888 * buffer.C: increment LYX_FORMAT to 221
7890 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7891 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7893 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7895 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7897 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7899 * factory.C (createInset): use LyXTextClass::floats
7901 * MenuBackend.C (expandFloatListInsert):
7902 (expandFloatInsert):
7905 * text2.C (setCounter):
7907 * LaTeXFeatures.C (useFloat):
7908 (getFloatDefinitions):
7910 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7912 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7913 floatlist_, with accessor floats().
7915 * FloatList.h: remove global FloatList
7917 2002-08-26 André Pönitz <poenitz@gmx.net>
7919 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7923 * BufferView_pimpl.C:
7924 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7926 2002-08-25 John Levon <levon@movementarian.org>
7928 * LyXAction.C: fix margin note description
7930 2002-08-24 John Levon <levon@movementarian.org>
7934 * bufferview_funcs.C:
7936 * undo_funcs.C: cleanups
7938 * lyxfunc.C: disable CUT/COPY when no selection
7940 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7942 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7943 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7945 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7946 Add backward compatibility to "mono", "gray" and "no".
7948 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7950 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7951 (and file_format >= 200).
7953 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7957 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7961 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7963 * BufferView_pimpl.C:
7970 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7971 inset and code to make it work with the paragraph code. The inset
7972 can be anywhere in the paragraph, but will only do the expected
7973 thing in LaTeX if the layout file contains the parameter line
7975 (or more generally, a nonzero value) for that layout.
7977 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * paragraph.h: remove the declaration of undefined counters class
7982 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7984 * text2.C (setCounter): fixed enumeration mis-count as reported by
7985 Dr. Richard Hawkins.
7987 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7989 * paragraph_funcs.h: remove some unneeded includes
7991 * text.C (backspace): pasteParagraph now in global scipe
7993 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7994 (pasteSelection): ditto
7996 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7997 * paragraph_funcs.C (pasteParagraph): ... here
7999 2002-08-20 André Pönitz <poenitz@gmx.net>
8001 * commandtags.h: new LFUNs for swapping/copying table row/colums
8004 * lyxfunc.C: support for new lfuns
8006 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * buffer.[Ch]: remove NO_COMPABILITY stuff
8011 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8013 * boost.C (throw_exception): new file, with helper function for
8014 boost compiled without exceptions.
8019 * ParameterStruct.h:
8020 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8022 * bufferlist.C (emergencyWriteAll): use boost bind
8024 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8026 * text.C: include paragraph_funcs.h
8027 (breakParagraph): breakParagraph is now in global scope
8029 * paragraph_funcs.[Ch]: new files
8031 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8034 * buffer.C: include paragraph_funcs.h
8035 (insertStringAsLines): breakParagraph is now in global scope
8037 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8040 * CutAndPaste.C: include paragraph_funcs.h
8041 (cutSelection): breakParagraphConservative is now in global scope
8042 (pasteSelection): ditto
8044 * buffer.h: declare oprator== and operator!= for
8045 Buffer::inset_iterator
8047 * bufferlist.C (emergencyWrite): don't use fmt(...)
8049 * text3.C: add using std::endl
8051 * BufferView.C (moveCursorUpdate): remove default arg
8053 2002-08-20 André Pönitz <poenitz@gmx.net>
8055 * buffer.[Ch]: move inline functions to .C
8058 * BufferView_pimpl.C:
8060 * buffer.[Ch]: use improved inset_iterator
8063 * paragraph.[Ch]: write one paragraph at a time
8065 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8067 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8068 style if style is not specified.
8070 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8072 * text2.C (setCounter): when searching for right label for a
8073 caption, make sure to recurse to parent insets (so that a caption
8074 in a minipage in a figure float works) (bug #568)
8076 2002-08-20 André Pönitz <poenitz@gmx.net>
8078 * text3.C: new file for LyXText::dispatch() and helpers
8080 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8082 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8084 2002-08-19 André Pönitz <poenitz@gmx.net>
8087 * text.C: new LyXText::dispatch()
8089 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8091 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8093 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8095 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8098 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * Makefile.am: use $(variables) instead of @substitutions@
8102 2002-08-15 André Pönitz <poenitz@gmx.net>
8105 * BufferView_pimpl.C: streamlining mathed <-> outer world
8109 * LyXAction.C: remove unused LFUN_MATH
8111 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8115 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8117 * paragraph.C (Paragraph): reformat a bit
8118 (cutIntoMinibuffer): use builtin InsetList function instad of
8122 * buffer.C: include boost/bind.hpp, add using std::for_each
8123 (writeFileAscii): use ParagraphList iterators
8124 (validate): use for_each for validate traversal of paragraphs
8125 (getBibkeyList): use ParagraphList iterators
8126 (resizeInsets): use for_each to resizeInsetsLyXText for all
8128 (getParFromID): use ParagraphList iterators
8130 * BufferView2.C (lockInset): use paragraph list and iterators
8132 2002-08-14 John Levon <levon@movementarian.org>
8134 * lyxserver.C: remove spurious xforms include
8136 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8138 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8140 2002-08-13 André Pönitz <poenitz@gmx.net>
8143 * lyxfunc.C: further cleaning
8145 2002-08-13 André Pönitz <poenitz@gmx.net>
8147 * funcrequest.h: new constructor
8149 * funcrequest.C: move stuff here from .h
8152 * BufferView_pimpl.C:
8155 * lyxfunc.C: subsequent changes
8157 * lyxfunc.h: new view() member function
8159 * lyxfunc.C: subsequent changes
8161 2002-08-13 Angus Leeming <leeming@lyx.org>
8164 * BufferView_pimpl.C:
8172 changes due to the changed LyXView interface that now returns references
8173 to member variables not pointers.
8175 2002-08-13 Angus Leeming <leeming@lyx.org>
8177 * WordLangTuple (word, lang_code): return references to strings,
8182 * lyxtext.h: forward-declare WordLangTuple.
8187 * text.C: #include "WordLangTuple.h".
8190 * text.C: (selectNextWordToSpellcheck): constify return type.
8192 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8198 * paragraph_pimpl.h:
8201 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8203 Made updateCounter always count from start of buffer, and removed
8204 second argument (par).
8205 Reverted floats number display to '#'. Perhaps I'll try again when the
8206 code base is sanitized a bit.
8208 2002-08-12 Angus Leeming <leeming@lyx.org>
8210 * buffer.[Ch] (getLabelList): constify.
8212 2002-08-07 André Pönitz <poenitz@gmx.net>
8214 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8216 * funcrequest.h: extension to keep mouse (x,y) position
8218 2002-08-12 Juergen Vigna <jug@sad.it>
8220 * BufferView2.C (insertErrors): forbid undo when inserting error
8223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8225 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8227 * ParagraphList.[Ch]: new files
8229 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8231 * BufferView2.C (lockInset): ParagraphList changes
8234 * bufferlist.C: ditto
8238 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8241 unused class variable counter_,
8243 * paragraph.[Ch] (getFirstCounter): delete unused function
8245 * counters.C: include LAssert.h
8246 (reset): add a new function with no arg, change other version to
8247 not have def. arg and to not allow empty arg.
8249 * text2.C (setCounter): remove empty arg from call to Counters::reset
8251 2002-08-11 John Levon <levon@movementarian.org>
8253 * Makefile.am: add WordLangTuple.h
8255 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8258 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8260 * insets/insettext.C: InsetList changes
8262 * graphics/GraphicsSupport.C (operator()): InsetList changes
8264 * toc.C (getTocList): InsetList changes
8266 * paragraph_pimpl.[Ch]: InsetList changes
8268 * paragraph.[Ch]: InsetList changes
8270 * buffer.C (inset_iterator): InsetList changes
8271 (setParagraph): ditto
8272 * buffer.h (inset_iterator): ditto
8273 * iterators.C (operator++): ditto
8274 * iterators.h: ditto
8276 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8278 * InsetList.[Ch]: new files, most InsetList handling moved out of
8281 * BufferView2.C (removeAutoInsets): InsetList changes
8283 (ChangeInsets): ditto
8285 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * paragraph_pimpl.h (empty): new function
8289 * paragraph.[Ch] (empty): new function
8291 * other files: use the new Paragraph::empty function
8293 2002-08-09 John Levon <levon@movementarian.org>
8295 * lyxtext.h: remove unused refresh_height
8297 2002-08-09 John Levon <levon@movementarian.org>
8304 * paragraph.C: move sgml char escaping out of paragraph
8307 * paragraph.C: remove id setter
8311 * paragraph_pimpl.C: remove dead tex_code_break_column
8313 * bufferview_funcs.C: small cleanup
8315 * lyxfunc.C: remove dead proto
8317 * lyxtext.h: make some stuff private. Remove some dead stuff.
8319 * lyxgluelength.C: make as[LyX]String() readable
8321 2002-08-08 John Levon <levon@movementarian.org>
8326 * ToolbarDefaults.C:
8329 * toc.C: lyxaction cleanup
8331 2002-08-08 John Levon <levon@movementarian.org>
8333 * BufferView2.C: small cleanup
8336 * lyxfind.C: move unnecessary header into the .C
8338 2002-08-08 John Levon <levon@movementarian.org>
8340 * funcrequest.h: just tedious nonsense
8343 * lyx_main.C: cleanups
8346 * vspace.C: remove dead header lyx_main.h
8348 2002-08-07 Angus Leeming <leeming@lyx.org>
8351 * paragraph_pimpl.h:
8352 Forward declare class Counters in paragraph.h by moving the ctrs member
8353 variable into Paragraph::Pimpl.
8354 (counters): new method, returning a reference to pimpl_->ctrs.
8356 * text2.C: ensuing changes.
8358 2002-08-07 John Levon <levon@movementarian.org>
8360 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8362 * BufferView_pimpl.C: announce X selection on double/triple
8365 * lyx_main.C: use correct bool in batch dispatch
8367 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8369 2002-08-07 André Pönitz <poenitz@gmx.net>
8371 * funcrequest.h: new class to wrap a kb_action and its argument
8374 * BufferView_pimpl[Ch]:
8378 * lyxrc.C: subsequent changes
8381 2002-08-07 John Levon <levon@movementarian.org>
8383 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8384 document options change.
8386 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8391 * makefile.am: move counters functionality over from
8392 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8394 2002-08-06 John Levon <levon@movementarian.org>
8396 * WordLangTuple.h: new file for word + language code tuple
8407 * BufferView2.C: use WordLangTuple
8410 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8412 2002-08-06 John Levon <levon@movementarian.org>
8414 * lyx_main.C: fix cmdline batch handling
8416 2002-08-06 André Pönitz <poenitz@gmx.net>
8418 * lyxrc.C: set default for show_banner to true
8420 2002-08-06 John Levon <levon@movementarian.org>
8422 * pspell.C: fix a crash, and allow new aspell to work
8424 2002-08-06 John Levon <levon@movementarian.org>
8427 * kbmap.C: small cleanup
8430 * vspace.C: add const
8432 2002-08-05 John Levon <levon@movementarian.org>
8434 * LyXAction.C: back to tabular-insert
8436 2002-08-04 John Levon <levon@movementarian.org>
8439 * BufferView.C: cosmetic change
8441 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8451 * BufferView2.C: purge all "Lyx" not "LyX" strings
8454 * lyxcursor.C: attempt to add some documentation
8459 * ToolbarDefaults.C:
8460 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8461 merge with LFUN_TABULAR_INSERT
8468 * pspell.C: split up i/pspell implementations into separate
8469 files, many cleanups
8471 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8473 * text2.C: some cleanup
8475 * lyxfunc.C: don't check for isp_command == "none" any more, it
8476 didn't make any sense
8478 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8483 * makefile.am: move counters functionality over
8484 from text2.C/paragraph.[Ch] to counters.[Ch], and
8486 2002-08-02 John Levon <levon@movementarian.org>
8488 * buffer.C: s/lyxconvert/lyx2lyx/
8490 2002-08-02 Angus Leeming <leeming@lyx.org>
8492 * lyxlex.C: revert John's change as it breaks reading of the user
8495 2002-08-02 Angus Leeming <leeming@lyx.org>
8497 * importer.C (Import):
8498 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8499 changes due to LyXView::view() now returning a boost::shared_ptr.
8501 2002-08-02 John Levon <levon@movementarian.org>
8503 * lyxlex.C: small cleanup
8505 2002-08-02 John Levon <levon@movementarian.org>
8507 * text2.C (status): small cleanup, no logic change
8509 2002-08-01 John Levon <levon@movementarian.org>
8512 * buffer.C (writeFile): don't output alerts, caller
8516 * lyx_cb.C: from above
8518 * lyxfunc.C: allow to open non-existent files
8520 2002-07-31 John Levon <levon@movementarian.org>
8522 * lyxserver.C: don't let incidental errors get
8525 2002-07-30 John Levon <levon@movementarian.org>
8527 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8529 2002-07-30 John Levon <levon@movementarian.org>
8532 * lyxserver.C: remove I/O callback too
8534 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8539 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * many files: strip,frontStrip -> trim,ltrim,rtrim
8543 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * PrinterParams.h: remove extern containsOnly, and include
8546 support/lstrings.h instead.
8548 * LaTeX.C (scanAuxFile): modify because of strip changes
8550 * buffer.C (makeLaTeXFile): ditto
8551 * bufferparams.C (writeFile): ditt
8552 * lyxfont.C (stateText): ditto
8553 * lyxserver.C (read_ready): ditto
8554 * vc-backend.C (scanMaster): ditto
8556 * BufferView_pimpl.h: ws changes
8558 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8560 2002-07-26 André Pönitz <poenitz@gmx.net>
8562 * kb_sequence.C: remove unnedred usings
8564 2002-07-26 Juergen Vigna <jug@sad.it>
8566 * lyxfind.C (LyXReplace): we have to check better if the returned
8567 text is not of theLockingInset()->getLockingInset().
8569 2002-07-25 Juergen Vigna <jug@sad.it>
8571 * lyxfind.C (LyXReplace): don't replace if we don't get the
8574 * undo_funcs.C (createUndo): remove debugging code.
8576 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8578 * buffer.C (parseSingleLyXformat2Token): Use default placement
8579 when reading old floats.
8581 * FloatList.C (FloatList): Change the default placement of figure
8582 and tables to "tbp".
8584 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8586 * MenuBackend.C: using std::max
8588 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8590 * MenuBackend.C (expandToc):
8591 (expandToc2): code moved from xforms menu frontend. It is now
8592 generic and TOCs are transparent to menu frontends.
8594 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8596 * toc.C (getTocList): protect against buf=0
8598 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8599 Menu as first parameter. Now, this calls itself recursively to
8600 expand a whole tree (this will be useful for TOC handling)
8601 (expandFloatInsert): remove 'wide' version of floats
8603 * MenuBackend.h (submenuname): returns the name of the submenu.
8604 (submenu): returns the submenu itself, provided it has been
8605 created by MenuBackend::expand
8607 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8609 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8610 insets which have noFontChange == true. (bug #172)
8612 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8614 * BufferView_pimpl.C: add connection objects and use them...
8617 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8619 * MenuBackend.C (expandLastfiles):
8622 (expandFloatListInsert):
8623 (expandFloatInsert):
8624 (expand): split expand in parts
8626 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8628 * lyx_gui.C: use lyx_gui::exit()
8630 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8632 * LyXAction.C: show the failing pseudo action
8634 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8636 * buffer.C (readFile): Run the lyxconvert script in order to read
8639 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8643 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8645 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8649 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8651 2002-07-22 Herbert Voss <voss@lyx.org>
8654 * lyxlength.[Ch]: add support for the vertical lengths
8656 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8658 * toc.[Ch]: std:: fixes
8660 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8662 * lyxrc.C: do not include lyx_main.h
8664 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8670 * BufferView2.C: include "lyxlex.h"
8673 * bufferparams.h: do not #include "lyxlex.h"
8675 * lyxtextclasslist.C (Add): remove method
8676 (classlist): renamed to classlist_
8678 * paragraph_pimpl.C:
8682 * bufferview_funcs.C:
8687 * toc.C (getTocList): use BufferParams::getLyXTextClass
8689 * toc.C (getTocList): use InsetFloat::addToToc
8691 * toc.[Ch]: new files, containing helper functions to handle table
8694 * lyxfunc.C (dispatch): no need to remove spaces around command
8696 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8697 first command of the sequence; it is not very clever, but I do not
8698 have a better idea, actually
8700 * LyXAction.C (LookupFunc): make sure to remove space at the
8701 beginning and end of the command
8703 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8705 * MenuBackend.C (getMenubar): new method: return the menubar of
8707 (read): treat differently reading of menu and menubar (in
8708 particular, the menubar has no name now)
8709 (Menu::menubar): remove
8711 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8714 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8716 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8717 a bibitem inset in a RTL paragraph.
8719 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8721 * paragraph_pimpl.C: constify
8723 * BufferView_pimpl.C:
8725 * lyxfunc.C: fix dispatch in a nicer way
8727 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8729 * lyxfunc.C (dispatch):
8730 * BufferView_pimpl.C:
8731 * BufferView_pimpl.h:
8733 * BufferView.h: rename Dispatch() to dispatch()
8735 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8737 * lyxlayout.C (Read): honor DependsOn tag
8739 * lyxlayout.[Ch] (depends_on): new method
8741 * version.C.in: update lyx_docversion
8743 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8745 * paragraph.C (validate): remove from here...
8746 * paragraph_pimpl.C (validate): ... and move here
8747 (isTextAt): make it const
8749 * buffer.C (getLists): ws cleanup
8751 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8753 * language.C (read): Use iso8859-1 encoding in latex_lang
8754 (this prevents LyX from crashing when using iso10646-1 encoding).
8756 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * text2.C (toggleInset): if cursor is inside an inset, close the
8759 inset and leave cursor _after_ it
8761 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8763 * lyxfunc.C: move minibuffer completion handling out of here
8765 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.C:
8768 * LaTeX.C: fix dispatch calls
8770 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8772 * text.C (drawChars): Fix Arabic text rendering.
8774 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8778 * lyxfunc.C: remove message-push/pop
8782 * lyxfunc.C: rationalise some code by removing verboseDispatch
8783 in favour of a bool argument to dispatch()
8785 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * lyx_main.C (init): make sure to read symlinks as absolute paths
8789 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8792 * lyxfunc.C: no need for commandshortcut to be a member
8794 2002-07-15 André Pönitz <poenitz@gmx.net>
8796 * converter.C: add support for $$s (scripts from lib/scripts dir)
8797 * lyx_main.C: white space
8799 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8803 * lyxrc.C: remove second exit confirmation
8805 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8810 * BufferView_pimpl.h:
8811 * BufferView_pimpl.C:
8812 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8814 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * MenuBackend.C (expand): add numeric shortcuts to document menu
8818 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8820 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8822 * lyxfont.C (setLyXFamily):
8829 * buffer.C (asciiParagraph): use ascii_lowercase
8831 2002-07-15 Mike Fabian <mfabian@suse.de>
8833 * lyxlex_pimpl.C (search_kw):
8834 * lyxlex.C (getLongString):
8835 * converter.h (operator<):
8836 * converter.C (operator<):
8837 * buffer.C (parseSingleLyXformat2Token):
8839 * ToolbarDefaults.C (read):
8840 * MenuBackend.C (checkShortcuts):
8842 * LColor.C (getFromGUIName):
8843 (getFromLyXName): use the compare_ascii_no_case instead of
8844 compare_no_case, because in turkish, 'i' is not the lowercase
8845 version of 'I', and thus turkish locale breaks parsing of tags.
8847 2002-07-16 Angus Leeming <leeming@lyx.org>
8849 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8850 now takes a Buffer const & argument.
8852 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8854 * BufferView.C (resize): check there's a buffer to resize
8856 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8858 * lyxfunc.C: remove dead code
8861 * lyxserver.C: use lyx_guii::set_read_callback
8863 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8865 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8866 an inset in a RTL paragraph.
8868 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8870 * lyxfunc.C: repaint after a font size update
8872 2002-07-15 André Pönitz <poenitz@gmx.net>
8874 * lyxlength.C: inBP should be able to return negative values
8876 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8878 * lyxfunc.C: use lyx_gui::update_fonts()
8880 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8882 * lyxfunc.C: use lyx_gui::update_color()
8884 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8890 * lyxrc.C: remove file->new asks for name option, and let
8891 buffer-new take an argument
8893 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8895 * BufferView_pimpl.C: remove unneeded extra repaint()
8897 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8899 * LyXAction.C: allow command-sequence with NoBuffer
8901 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8903 2002-07-10 Angus Leeming <leeming@lyx.org>
8905 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8907 2002-07-09 Angus Leeming <leeming@lyx.org>
8909 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8911 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8913 * lengthcommon.h: whitespace
8915 * lyxfunc.C: update scrollbar after goto paragraph
8917 * lyxtext.h: factor out page break drawing, and fix it so
8918 page break/added space paints as selected nicely
8920 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8922 * BufferView_pimpl.C: add FIXMEs, clean up a little
8924 2002-07-09 André Pönitz <poenitz@gmx.net>
8926 * lyxfont.[Ch]: support for wasy symbols
8928 2002-07-08 André Pönitz <poenitz@gmx.net>
8930 * BufferView_pimpl.C: apply John's patch for #93.
8932 2002-07-05 Angus Leeming <leeming@lyx.org>
8934 * BufferView_pimpl.C (buffer): generate previews if desired.
8936 * LColor.h: add "preview" to the color enum.
8938 * LColor.C (LColor): add a corresponding entry to the items array.
8940 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8943 2002-07-05 Angus Leeming <leeming@lyx.org>
8945 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8946 The body of the code is now in the method that is passed an ostream &
8947 rather than a file name.
8948 Pass an additional only_preamble parameter, useful for the forthcoming
8951 2002-07-03 André Pönitz <poenitz@gmx.net>
8953 * lyxfunc.C: simplify getStatus() a bit for math stuff
8955 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8957 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8959 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8961 * text.C (changeRegionCase): do not change case of all the
8962 document when region ends at paragraph end (bug #461)
8964 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * paragraph.C (startTeXParParams):
8967 (endTeXParParams): add \protect when necessary
8969 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8971 * BufferView_pimpl.C (workAreaExpose): remove warning
8973 2002-06-27 Angus Leeming <leeming@lyx.org>
8975 * Makefile.am: add lyxlayout_ptr_fwd.h.
8977 2002-06-26 André Pönitz <poenitz@gmx.net>
8979 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8981 2002-06-25 Angus Leeming <leeming@lyx.org>
8983 * lyxfunc.C (dispatch): Comment out the call to
8984 grfx::GCache::changeDisplay. The method no longer exists now that the
8985 pixmap generation part of the graphics loader has been moved into
8988 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * text2.C: layout as layout
8992 * text.C: layout as layout
8994 * tabular.C (OldFormatRead): layout as layout
8996 * paragraph_pimpl.C (TeXDeeper): layout as layout
8997 (realizeFont): layout as layout
8999 * paragraph.C (writeFile): layout as layout
9000 (validate): layout as layout
9001 (getFont): layout as layout
9002 (getLabelFont): layout as layout
9003 (getLayoutFont): layout as layout
9004 (breakParagraph): layout as layout
9005 (stripLeadingSpaces): layout as layout
9006 (getEndLabel): layout as layout
9007 (getMaxDepthAfter): layout as layout
9008 (applyLayout): layout as layout
9009 (TeXOnePar): layout as layout
9010 (simpleTeXOnePar): layout as layout
9011 (TeXEnvironment): layout as layout
9012 (layout): layout as layout
9013 (layout): layout as layout
9015 * lyxtextclass.C (compare_name): new functor to work with
9016 shared_ptr, layout as layout
9017 (Read): layout as layout
9018 (hasLayout): layout as layout
9019 (operator): layout as layout
9020 (delete_layout): layout as layout
9021 (defaultLayout): layout as layout
9023 * lyxlayout_ptr_fwd.h: new file
9025 * lyxlayout.C (Read): layout as layout
9027 * lyx_cb.C (MenuInsertLabel): layout as layout
9029 * bufferlist.C (newFile): layout as layout
9031 * buffer.C (readLyXformat2): layout as layout
9032 (parseSingleLyXformat2Token): layout as layout
9033 (insertStringAsLines): layout as layout
9034 (asciiParagraph): layout as layout
9035 (latexParagraphs): layout as layout
9036 (makeLinuxDocFile): layout as layout
9037 (simpleLinuxDocOnePar): layout as layout
9038 (makeDocBookFile): layout as layout
9039 (simpleDocBookOnePar): layout as layout
9040 (getLists): layout as layout
9042 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9044 * CutAndPaste.C (cutSelection): layout as layout
9045 (pasteSelection): layout as layout
9046 (SwitchLayoutsBetweenClasses): layout as layout
9048 * BufferView_pimpl.C (Dispatch): layout as layout
9049 (smartQuote): layout as layout
9051 * BufferView2.C (unlockInset): layout as layout
9053 2002-06-24 André Pönitz <poenitz@gmx.net>
9055 * lyxfunc.C: fix #487
9057 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9061 * lyxfunc.C: remove display_shortcuts, show_banner
9063 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9065 * Buffer_pimpl.C: oops, update on resize
9067 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9074 * BufferView.C: use repaint()
9076 * BufferView_pimpl.h:
9077 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9078 as it's a clearer description. Remove superfluous
9081 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9083 * text.C: fix bug 488. Not ideal, but getting
9084 getWord() to work properly for the insets that
9085 matter is more difficult ...
9087 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9089 * BufferView_pimpl.C:
9092 * lyxfunc.C: remove the six million index lyxfuncs to just
9093 one, and DTRT (bug 458)
9095 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9099 * BufferView_pimpl.h:
9100 * BufferView_pimpl.C: clean up resize() stuff,
9101 and unnecessary updateScreen()s
9103 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9107 * BufferView_pimpl.h:
9108 * BufferView_pimpl.C:
9111 * minibuffer.C: remove focus management of workarea,
9112 not needed. Use screen's greyOut()
9114 2002-06-17 Herbert Voss <voss@lyx.org>
9116 * converter.C: (convert) do not post a message, when converting
9117 fails, let the calling function decide what to do in this case
9119 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9121 * lyxfunc.C: tidy up a little
9123 2002-06-16 <alstrup@diku.dk>
9125 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9126 Got rid of FORMS_H_LOCATION include. Now we are
9129 2002-06-15 LyX Development team <lyx@rilke>
9131 * buffer.[Ch] (sgmlOpenTag):
9132 (sgmlCloseTag): Added support for avoiding pernicious mixed
9133 content. Return number of lines written.
9136 (makeDocBookFile): Fixed calls to sgml*Tag.
9137 Simple white space clean.
9139 (simpleDocBookOnePar): Simple white space clean.
9141 * tabular.[Ch] (docBook): Renamed to docbook and got another
9142 argument to related with the pernicious mixed content.
9144 (docbookRow): Fixed calls for docbook inset method.
9146 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9148 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9149 so it's X11 independent.
9153 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9155 2002-06-15 Lyx Development team <lyx@electronia>
9157 * intl.h: Renamed getTrans to getTransManager.
9159 2002-06-14 Angus Leeming <leeming@lyx.org>
9161 * Makefile.am: nuke forgotten stl_string_fwd.h.
9163 2002-06-12 Angus Leeming <leeming@lyx.org>
9165 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9167 2002-06-13 Angus Leeming <leeming@lyx.org>
9170 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9172 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9174 * kbmap.C (getiso): add support for cyrillic and greek
9176 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9180 * BufferView_pimpl.h:
9181 * BufferView_pimpl.C: move bogus scrolling logic
9184 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.C: view->resize() change
9189 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9191 * BufferView_pimpl.C: topCursorVisible
9194 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9198 * lyx_gui.C: move to frontends/
9202 * lyx_main.C: changes from above
9204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9211 * lyx_main.C: minor tidy
9213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9215 * BufferView_pimpl.h:
9216 * BufferView_pimpl.C:
9218 * BufferView.C: make painter() const,
9221 * BufferView2.C: use screen() accessor
9224 * lyx_main.C: some minor cleanup
9226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9228 * BufferView_pimpl.h:
9229 * BufferView_pimpl.C: remove enter/leaveView,
9232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9237 * BufferView_pimpl.h:
9238 * BufferView_pimpl.C: only construct screen once,
9241 * lyxrc.C: remove pointless comment
9243 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9246 * BufferView.C: remove active() and belowMouse()
9248 * BufferView_pimpl.h:
9249 * BufferView_pimpl.C: use workarea() not workarea_,
9250 and make it use a scoped_ptr instead
9252 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9254 * lyx_gui.C: add debug message on BadWindow
9256 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * sp_spell.C: fdopen is not part of the C++ standard.
9260 * paragraph.C (InsetIterator): use >= instead of ==
9262 2002-06-07 Angus Leeming <leeming@lyx.org>
9264 Fixes needed to compile with Compaq cxx 6.5.
9265 * BufferView_pimpl.C:
9272 * lyxtextclasslist.C:
9277 all c-library variables have been moved into namespace std. Wrap
9278 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9283 Add a using std::abs declaration.
9285 * kbmap.h (modifier_pair):
9286 * paragraph.h (InsetTable, InsetList):
9287 * lyxfont.h (FontBits):
9288 type definition made public.
9290 * bufferlist.C (emergencyWriteAll): the compiler complains that
9291 there is more than one possible lyx::class_fun template to choose from.
9292 I re-named the void specialisation as lyx::void_class_fun.
9294 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9296 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9297 the compiler is is unable to find tostr in write_attribute.
9299 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9301 * buffer.C (sgmlError): hide #warning
9303 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9305 * xtl/*: get rid of xtl, which is not in use anyway
9307 * LyXAction.C (init):
9308 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9309 were unimplemented xtl experimentation
9311 2002-06-04 André Pönitz <poenitz@gmx.net>
9313 * lyxfunc.C: disable array operation on simple formulae
9315 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9317 * converter.C: constify a bit
9319 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9321 * lyx_gui.C: check xforms version correctly
9323 2002-04-30 Herbert Voss <voss@lyx.org>
9325 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9328 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9330 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9331 attempt to register it with a VCS)
9333 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * lyx_main.C (init): honor variables LYX_DIR_13x and
9338 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9342 * lyx_main.C: fix a crash on bad command line,
9343 and give a useful exit status on error
9345 * lyxfunc.C (doImport): allow -i lyx to work
9347 2002-03-30 André Pönitz <poenitz@gmx.net>
9349 * lyxfunc.C: mathed font changes
9351 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9366 * trans_mgr.h: srcdocs, and some minor cleanups
9368 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9371 call getFont all the time)
9373 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * switch from SigC signals to boost::signals
9377 2002-05-29 André Pönitz <poenitz@gmx.net>
9379 * paragraph_pimpl.C (getChar): don't call size() too often...
9381 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9383 * paragraph_pimpl.C (insertChar): do not try to update tables when
9384 appending (pos == size())
9386 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9387 in order to reduce drastically the number of comparisons needed to
9388 parse a large document
9390 2002-05-29 André Pönitz <poenitz@gmx.net>
9396 * textclasslist.[Ch]:
9397 * sp_ispell.h: whitespace change
9399 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9402 lyxaction directly now.
9404 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9408 * lyxvc.C: remove unused headers
9410 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9417 * undo_funcs.C: some cleanups. Use shared_ptr
9418 and a template for the undo stacks.
9420 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9422 * BufferView_pimpl.h:
9423 * BufferView_pimpl.C:
9430 * text2.C: use key_state/mouse_state
9432 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9434 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9437 * chset.C: change include order
9438 (loadFile): use boost regex and get rid of LRegex and LSubstring
9440 * Makefile.am (BOOST_LIBS): new variable
9443 * LaTeX.C: change include order.
9444 (scanAuxFile): use boost regex and get rid of LRegex and
9448 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9453 * FontInfo.C: moved to frontends/xforms/
9456 * FontLoader.C: moved into frontends for GUIIzation
9461 * lyxfunc.C: changes from above
9463 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9465 * LColor.C: remove spurious X include
9467 * BufferView_pimpl.C:
9472 * text2.C: move font metrics to frontends/
9474 2002-05-24 Juergen Vigna <jug@sad.it>
9476 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9477 setting the undo_cursor.
9479 * ParagraphParameters.h: include local includes first.
9481 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9483 * BufferView_pimpl.C:
9484 * BufferView_pimpl.h:
9488 * screen.C: move WorkArea into frontends/
9494 * BufferView2.C: move LyXScreen into frontends/
9498 * lyx_gui.C: move lyxlookup into frontends/xforms/
9500 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9503 * BufferView_pimpl.C:
9513 * bufferview_funcs.C:
9526 * vc-backend.C: move LyX/XFormsView into frontends/
9528 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9540 * text2.C: move Painter to frontends/
9542 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9544 * buffer.C: comment out some some code that depend upon lyx_format
9547 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9548 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9550 * buffer.h (NO_COMPABILITY): turn off compability
9552 * ColorHandler.C: include scoped_array.hpp
9554 * font.C: Use more specific smart_ptr header.
9557 * ShareContainer.h: ditto
9561 * BufferView_pimpl.h: ditto
9562 * ColorHandler.h: ditto
9564 * kbmap.C (defkey): change call to shared_ptr::reset
9566 2002-05-21 Juergen Vigna <jug@sad.it>
9568 * buffer.C (insertErtContents): fix to insert ert asis if it is
9569 non empty. Skip it completely if it contains only whitespaces.
9571 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.C:
9574 * BufferView2.C: clear selection on paste (bug 393)
9576 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * DepTable.C: include ctime
9580 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9582 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9584 2002-05-14 Juergen Vigna <jug@sad.it>
9586 * text.C (breakParagraph): fixed function to honor the keepempty
9587 layout in the right maner and also to permit the right breaking
9588 algorithm on empty or non empyt keepempty paragraphs.
9590 * paragraph.C (breakParagraph): we have to check also if the par
9591 is really empty (!size()) for isempty otherwise we do the wrong
9594 2002-05-10 Juergen Vigna <jug@sad.it>
9596 * buffer.[Ch] : The following are only changes to the ert
9597 compatibility read reading old LaTeX layout and font stuff and
9598 convert it to ERTInsets.
9600 * buffer.h: added isErtInset().
9602 * buffer.C (struct ErtComp): add a fromlayout bool to check
9603 if we're inside a LaTeX layout.
9604 (isErtInset): new helper function.
9605 (insertErtContents): look for other ert insets before this one
9606 and insert the contents there, so that we don't have subsequent
9607 ERT insets with nothing between them. This way we create only one
9608 inset with multiple paragraphs. Also check if we don't insert only
9609 spaces ' ' as they are ignored anyway afterwards in the .tex file
9610 so if we have only spaces we will ignore this latex part in the
9612 (parseSingleLyXformat2Token \\layout): better compatibility when
9613 reading layout-latex stuff.
9614 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9616 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9617 stuff after reading the inset only get the information back from
9620 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9622 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9624 * LaTeXFeatures.C (getBabelOptions): New method.
9626 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * BufferView_pimpl.C (Dispatch): work around missing argument for
9631 2002-05-08 Juergen Vigna <jug@sad.it>
9633 * text.C (leftMargin): handle paragraph leftindent.
9635 * paragraph.C (writeFile): write the new \\leftindent tag.
9636 (validate): handle leftindent code.
9637 (TeXEnvironment): handle paragraphleftindent code again.
9639 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9641 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9642 for paragrap_extra indent code and new token \\leftindent.
9643 (latexParagraphs): handle the leftindent as environment.
9645 * ParameterStruct.h: added leftindent support.
9647 * ParagraphParameters.C (leftIndent): added support functions for
9648 the paragraph left indent.
9650 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9653 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9655 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9658 * text.C (computeBidiTables): No bidi in insetERT.
9660 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9663 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9665 * version.C.in: pre 5
9667 2002-05-02 José Matos <jamatos@fep.up.pt>
9668 * buffer.C (makeDocBookFile): white space changes, add newline to
9670 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9672 * tabular.C (docBook): fix typo.
9674 2002-05-03 Juergen Vigna <jug@sad.it>
9676 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9677 change in LyXText as we can not be sure it was not freed.
9678 (drawOneRow): remove unused code.
9680 * text.C (drawInset): redo the calculation of the need_break_row as
9681 it could have a row which was already freed.
9682 (draw): look at the return value of drawInset and return false if
9683 it also returned false.
9684 (paintRowText): look at the return value of draw and return false if
9685 it also returned false.
9687 * lyxtext.h: added bool return type to drawInset() and draw() so that
9688 if we have a change in the row so that the rowbreak has to be redone
9689 we abort drawing as it will be called again.
9691 2002-05-02 Juergen Vigna <jug@sad.it>
9693 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9694 a change in the maintext also if we're inside an inset.
9695 (Dispatch): set the cursor again after a break line and after the
9696 screen has been updated as it could be we're in a different row.
9698 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9699 to set the cursor behind the pargraph with > size().
9700 (setCursor): check also for the same paragraph when checking where
9701 to put the cursor if we have a NFR inset.
9703 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9704 parts of layout read further up as it still was in the wrong
9707 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * screen.C (drawFromTo): change sine fullRebreak always return
9712 * buffer.C (parseSingleLyXformat2Token): reindent some
9714 * BufferView_pimpl.C (update): change since fullRebreak always
9716 (Dispatch): git rid of the last hardcoded "Standard"s.
9718 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9720 * text2.[Ch] (fullRebreak): make it return void now that we always
9723 2002-04-30 Juergen Vigna <jug@sad.it>
9725 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9726 ert compatibility check for "latex" layout.
9728 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9730 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9731 minipages: use col% instead of p%, and also use the current font.
9732 (makeLaTeXFile): Fix use babel condition.
9733 (parseSingleLyXformat2Token): Correct font when reading old floats.
9735 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9737 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9738 inserting list of floats.
9740 2002-04-25 Herbert Voss <voss@lyx.org>
9742 * MenuBackend.C (expand): don't add the graphics extensions to the
9745 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9748 non-existing layout, do not complain if it was the default layout
9749 of the original class (bug #342)
9751 2002-04-24 Juergen Vigna <jug@sad.it>
9753 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9754 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9756 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9758 * buffer.C (getBibkeyList): If using \bibliography, return the
9759 option field with the reference itself. Enables us to provide natbib
9760 support when using \bibliography.
9762 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9764 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9766 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9767 natbib is provided by the LaTeX class.
9769 2002-04-23 Juergen Vigna <jug@sad.it>
9771 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9774 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9776 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9780 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9781 ensuremath around textordmasculine, textordfeminine and
9784 2002-04-19 Juergen Vigna <jug@sad.it>
9786 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9787 reinitializing the buffer otherwise row-dimensions may be wrong.
9788 (update): reset also the selection cursors if they do exits otherwise
9789 their x/y positions may be wrong.
9791 * text2.C (cursorDown): don't enter the inset if we came from a row
9792 above and are one row over the inset.
9794 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9795 really leaving an inset.
9797 2002-04-18 Juergen Vigna <jug@sad.it>
9799 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9800 of the selected paragraph does not have the selected layout also if
9803 * text2.C (setLayout): fixed bug which did not change last selected
9806 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9807 changed the read and substituted \\end_float with \\end_inset!
9809 * BufferView_pimpl.C (cursorPrevious):
9810 (cursorNext): fixed to make it work with rows heigher than the work
9811 area without moving the cursor only the draw of the row.
9812 (workAreaMotionNotify): fix jumping over high rows.
9814 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9819 2002-04-16 Juergen Vigna <jug@sad.it>
9821 * text2.C (setCursor): set also the irow().
9822 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9824 (cursorDown): support for locking an inset if the x_fix value goes
9825 inside it. That way I can transverse insets too with cursor up/down.
9827 * lyxrow.h: added irow helper function same as other (i) functions.
9829 * BufferView_pimpl.C (cursorPrevious):
9830 (cursorNext): fixed for insets!
9832 2002-04-15 Juergen Vigna <jug@sad.it>
9834 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9835 position otherwise it is wrong in some cases.
9837 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9838 inside the inset before the call.
9840 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9842 * buffer.[Ch] (getBibkeyList): make it const.
9844 2002-04-12 Juergen Vigna <jug@sad.it>
9846 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9848 * text2.C (getCursorX): new helper function
9849 (setCursor): compute also ix_
9850 (setCursorFromCoordinates): set also ix.
9852 * lyxcursor.h: added ix_ and helper functions.
9854 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9856 * buffer.C (insertStringAsLines): dont break paragraph if the this
9857 paragraph is inside an inset which does not permit it!
9859 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9860 also with no chars on this paragraph.
9861 (paintRowText): only paint stuff if it's inside the workarea!
9863 * paragraph.C (breakParagraph): honor keepempty flag and break the
9864 paragraph always below not above.
9866 * BufferView2.C (unlockInset): update the paragraph layout on inset
9867 unlock as we changed paragraph in such a case.
9869 * lyxfind.C (LyXFind): clear the former selection if not found!
9871 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9872 again called in insertChar().
9874 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9875 an inset which uses the whole row!
9876 (rightMargin): ditto.
9877 (insertChar): force a rebreak if we inserted an inset!
9879 2002-03-28 Herbert Voss <voss@lyx.org>
9881 * lyxlength.[Ch]: add inBP() to get the right PS-point
9882 units (BigPoint). With inPixels we have rounding errors
9884 2002-04-11 Juergen Vigna <jug@sad.it>
9886 * text2.C (setCursorFromCoordinates): set iy to the right value.
9887 (setCursor): add check if row->previous exists!
9889 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9890 an old float_type as this was the case in the old code!
9892 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9894 * BufferView2.C (showLockedInsetCursor): use iy
9895 (fitLockedInsetCursor): ditto
9897 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9898 locked insets as there we have the right value now.
9900 * lyxcursor.C: added iy_ variable and iy functions to set to the
9901 baseline of cursor-y of the locked inset.
9903 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9904 (setCursor): fixed for insets which need a full row.
9906 * text.C (rowLastPrintable): don't ignore the last space when before
9907 an inset which needs a full row.
9908 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9909 as last character of a row when before a inset which needs a full row.
9911 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * version.C.in: update date
9915 * text2.C (fullRebreak): try to always return true and see what
9918 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9920 * MenuBackend.C (expand): use Floating::listName
9922 * FloatList.C (FloatList): add listName argument to the built-in
9925 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9926 text associated with the float.
9928 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9932 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * ShareContainer.h: add a couple of missing typenames.
9936 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9938 * lyxrc.C (getDescription): use _() correctly rather than N_().
9940 2002-03-28 Herbert Voss <voss@lyx.org>
9942 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9943 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9945 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9948 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9950 2002-03-29 Juergen Vigna <jug@sad.it>
9952 * lyxfunc.C (dispatch): add a missing fitCursor call.
9954 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9955 it was scrolled by a cursor move, so return the bool status.
9957 * BufferView.C (fitCursor): return the bool flag also to the outside
9958 world as this is needed.
9960 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9962 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9963 call the edit() as it is not needed (and wrong) IMO.
9964 (workAreaButtonPress): set the screen_first variable before evt.
9965 unlock the inset as this may change screen_first and then we have
9966 a wrong y position for the click!
9968 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9970 * MenuBackend.C (expand): another translation that I missed
9972 2002-03-28 Juergen Vigna <jug@sad.it>
9974 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9976 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9978 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9982 * MenuBackend.C (expand): fix export/view/update when there is no
9985 2002-03-27 Herbert Voss <voss@lyx.org>
9987 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9990 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * bufferview_funcs.C (currentState): only show paragraph number
9993 for is DEVEL_VERSION is set.
9995 * lyxfunc.C (dispatch): put warning in INFO channel
9997 * MenuBackend.C (expand): translate the name of floats
9999 * FloatList.C (FloatList): mark the float names for translation
10001 * converter.C (convert): use LibScriptSearch
10003 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * MenuBackend.C (defaults): fix default menu (we might as well get
10008 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10010 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10013 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * lyxvc.C: reorder includes.
10017 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10019 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10022 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10024 * CutAndPaste.C: change layouts earlier on paste
10025 to avoid crashing when calling getFont()
10027 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10029 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10032 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * WorkArea.C: remove 'Pending' debug message.
10036 * most files: ws cleanup
10038 * buffer.[Ch]: ws changes
10040 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10042 2002-03-21 Juergen Vigna <jug@sad.it>
10044 * tabular.C (SetMultiColumn): collapse also the contents of the
10045 cells and set the last border right. Added a Buffer const * param.
10047 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10052 2002-03-19 Juergen Vigna <jug@sad.it>
10054 * text2.C (clearSelection): reset also xsel_cache.
10056 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10057 where it needs to be called (John tells us to do so too :)
10058 (selectionLost): reset sel_cache.
10060 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10062 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10064 * text2.C (setCursorIntern): put debuging code in INSETS channel
10066 2002-03-19 André Pönitz <poenitz@gmx.net>
10068 * lyxfunc.C: tiny whitespace change
10070 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10072 * ToolbarDefaults.C (init):
10073 * LyXAction.C (init):
10075 * BufferView_pimpl.C (Dispatch):
10076 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10078 2002-03-19 Allan Rae <rae@lyx.org>
10080 * exporter.C (Export): removeAutoInsets before doing anything else.
10081 While I've just introduced a dependency on BufferView this really is
10082 the best place to clean the buffer otherwise you need to cleanup in
10083 a dozen places before calling export or cleanup in a dozen functions
10086 * converter.C (runLaTeX):
10087 (scanLog): Better handling of removeAutoInsets and screen updates.
10089 * lyxfunc.C (dispatch): small whitespace changes
10091 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * WorkArea.C (C_WorkAreaEvent): return a value.
10094 (event_cb): return 1 if we handled the event, 0 otherwise.
10096 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10098 2002-03-18 Juergen Vigna <jug@sad.it>
10100 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10101 (GetAdditionalWidth): ditto.
10102 (RightLine): ditto.
10105 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10106 inset if we're there actually (probably not used right now but this
10107 is the direction to go for unifying code).
10108 (paste): disable code to clear the selection.
10110 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10111 inside an InsetText and move the check further up as it is in the
10114 * text2.C (pasteSelection): set a selection over the pasted text.
10116 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10118 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10119 and libgraphics to build on Cygwin.
10121 2002-03-15 Juergen Vigna <jug@sad.it>
10123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10124 inserting an Inset into the paragraph. I know this is not the best
10125 fix but we already use current_view in CutAndPaste so we will remove
10126 all of it's using at the same time.
10128 * buffer.C (sgmlError): deactivated function till it is rewritten in
10129 the right mode, now it can create problems.
10131 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10132 before accessing it.
10134 2002-03-14 Juergen Vigna <jug@sad.it>
10136 * undo_funcs.C (textHandleUndo): do the right thing when updating
10137 the inset after the undo/redo.
10139 * text2.C (setCursor): just some testcode for #44 not ready yet.
10141 * undo_funcs.C (textHandleUndo): set the next() and previous()
10142 pointers of the paragraph to 0 before deleting otherwise we have
10143 problems with the Paragraph::[destructor].
10145 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10146 on a paragraph insertion.
10148 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10150 * buffer.C (asciiParagraph): use += operator for char append to
10153 * paragraph.C (getFontSettings): compare >= not just >
10154 (highestFontInRange): ditto
10157 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * paragraph.C: change several algorithm to be more appripriate for
10160 the problem domain. This is lookip in FontList and in the InsetList.
10162 2002-03-13 André Pönitz <poenitz@gmx.net>
10165 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10167 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10174 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * Painter.C (display): anon helper function, adjust code for this
10178 (pixmap): remove function.
10180 * Painter.h: remove private display variable.
10182 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10184 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10186 * WorkArea.[Ch]: remove figinset_canvas cruft.
10188 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10190 * lyxtextclass.C (operator): add one item cache optimization.
10192 * bufferlist.h: doxy changes
10194 * bufferlist.C: ws changes
10196 * DepTable.[Ch] (ext_exist): place const in the right spot.
10198 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10200 (workAreaExpose): call resizeInsets when the with BufferView changes.
10201 (Dispatch): adjust for protectedBlank removal
10202 (specialChar): call updateInset if the insert went ok.
10204 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10205 specialChar instead.
10207 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10209 * BufferView.h: doxy change
10211 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10213 * lyxtextclass.C (operator[]): remove non-const version
10214 (defaultLayout): remove non-const version
10216 2002-03-12 Juergen Vigna <jug@sad.it>
10218 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10219 did resize the LyXText too.
10221 * buffer.C (readLyXformat2): set layout information on newly allocated
10224 * tabular.C (OldFormatRead): set layout information on the paragraph.
10226 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10228 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10230 2002-03-11 Juergen Vigna <jug@sad.it>
10232 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10234 (resizeCurrentBuffer): force also the insets to resize themselfes.
10235 (moveCursorUpdate): fixed up for InsetText.
10237 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10240 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10241 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10242 value of Dialogs::tooltipsEnabled().
10243 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10245 2002-03-08 Juergen Vigna <jug@sad.it>
10247 * BufferView_pimpl.C (updateInset): update inset inside inset also
10248 if it isn't inside theLockingInset().
10250 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * buffer.C (asciiParagraph): redo some of the word and line length
10254 (getLists): look for Caption instead of caption.
10256 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * buffer.C (Buffer): initialize niceFile to true
10260 (makeLinuxDocFile):
10261 (makeDocBookFile): make sure niceFile is true on exit
10263 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10265 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10267 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10269 * LyXSendto.C: remove.
10270 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10271 * lyx_gui.C: remove now-redundant comment.
10272 * ColorHandler.h: remove forward declaration of class WorkArea.
10273 * lyxfunc.C: remove #include "WorkArea.h".
10275 2002-03-07 Juergen Vigna <jug@sad.it>
10277 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10278 got moved away with the DEPM and also set the inset_owner always
10279 right which before could have been omitted.
10281 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10284 wanted layout is not found.
10286 2002-03-07 Juergen Vigna <jug@sad.it>
10288 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10290 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10292 * paragraph.C (breakParagraph): use default layout not layout of
10294 (Paragraph): clear ParagraphParameters.
10296 2002-03-06 Juergen Vigna <jug@sad.it>
10298 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10299 otherwise it would not be a valid lenght. Fixed a special case in
10300 the minipage compatibility read where we end the document with a
10303 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10304 was set as it could be 0 for InsetTexts first entry.
10306 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * paragraph.C (writeFile): if layout is empty write out
10309 defaultLayoutName().
10311 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10312 file without named layout we set layout to defaultLayoutName().
10314 2002-03-06 Juergen Vigna <jug@sad.it>
10316 * CutAndPaste.C (copySelection): set layout for new paragraph.
10318 * text.C (prepareToPrint): leave ERT inset left aligned
10319 (leftMargin): don't indent paragraphs inside ERT insets
10321 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * paragraph.C (breakParagraph): dont call clear do the work manually
10325 * paragraph.[Ch] (clear): remove function
10327 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * paragraph.C (Paragraph): dont call clear, the work has already
10332 * lyxtextclass.C (operator): assert if n is empty
10334 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10335 work manually instead.
10337 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView_pimpl.C: protect selectionLost against text == 0
10341 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10343 * text.C (breakParagraph): fix a setting layout to '0' problem.
10345 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10347 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10348 final location of file, for the included files, and graphics.
10350 2002-03-05 Juergen Vigna <jug@sad.it>
10352 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10354 2002-03-04 Juergen Vigna <jug@sad.it>
10356 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10358 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10359 last column of multicolumn cells.
10360 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10362 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10364 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10365 file if it doesn't go to a temporary file.
10367 * buffer.C (sgmlOpenTag):
10368 (sgmlCloseTag): remove extra newline insertion.
10370 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * text.C (getRowNearY): comment out debug msg
10374 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * text2.C: first -> first_y
10378 * text.C (getRowNearY): add some attemts at a possible
10379 optimization, not working.
10381 * tabular.[Ch]: add BufferParams to several function so that newly
10382 created paragraph can be initialized to he default layotu for the
10385 * tabular-old.C (ReadOld): add buf->params to call of Init
10387 * screen.C: rename text->first to text->first_y
10389 * paragraph.C (breakParagraph): always set layout in the broken
10392 * lyxtextclass.C (Read): remove lowercase
10395 (delete_layout): ditto
10397 * lyxtext.h: rename first -> first_y
10399 * lyxlayout.C (Read): remove lowercase
10402 (obsoleted_by): ditto
10404 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10406 * buffer.C (insertErtContents): add params are to InsetERT
10407 (parseSingleLyXformat2Token): add code to check if a paragraphs
10408 layout really exist.
10409 (parseSingleLyXformat2Token): add params to several inset
10411 (asciiParagraph): remove lowercase, do the layout comparisons with
10414 * BufferView_pimpl.C (cursorNext): first -> first_y
10415 (resizeCurrentBuffer): first -> first_y
10416 (updateScrollbar): first -> first_y
10417 (scrollCB): first -> first_y
10418 (workAreaMotionNotify): first -> first_y
10419 (workAreaButtonPress): first -> first_y
10420 (checkInsetHit): first -> first_y
10421 (cursorPrevious): first -> first_y
10422 (cursorNext): first -> first_y
10423 (Dispatch): add buffer_->params to severl inset contructors
10425 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * lyxlayout.C (Read): remove some debug info that I forgot.
10429 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10430 clean up the code slightly.
10431 (makeLinuxDocFile): ditto
10432 (makeDocBookFile): ditto
10434 * text2.C: layout as string
10436 * text.C: layout as string
10438 * paragraph_pimpl.C: layout as string
10440 * paragraph.[Ch]: layout as string
10442 * lyxtextclasslist.[Ch]: layout as string
10444 * lyxtextclass.[Ch]: layout as string
10446 * lyxtext.h: layout as string
10448 * lyxlayout.[Ch]: layout as string
10450 * lyx_cb.C: layout as string
10452 * bufferview_funcs.C: layout as string
10454 * bufferparams.C: layout as string
10456 * buffer.C: layout as string
10458 * LyXView.[Ch]: layout as string
10460 * LaTeXFeatures.[Ch]: layout as string
10462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10464 * BufferView_pimpl.C: change current_layout to string, remove
10469 (workAreaButtonRelease): layout as string
10471 * BufferView2.C (unlockInset): adjust
10473 * vspace.C (asLatexCommand): use an explict temp variable.
10475 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10477 * Makefile.am: use FRONTEND_*
10479 2002-03-01 Juergen Vigna <jug@sad.it>
10481 * tabular.C (SetWidthOfMulticolCell): changed to something better
10482 I hope but still work in progress.
10483 (recalculateMulticolumnsOfColumn): renamed function from
10484 recalculateMulticolCells as it is more appropriate now.
10485 (SetWidthOfCell): calculate multicols better.
10487 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10491 * lyxfunc.C (processKeySym): print sequence also if it is
10492 `deleted' (complete)
10494 * kbsequence.C (print): print sequence even if it is deleted
10495 (complete would be a better word, actually).
10497 * lyxfunc.C (dispatch): print complete options after a prefix key
10499 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10501 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10503 * text2.C (setCharFont): eliminate setCharFont code duplication.
10505 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10508 LFUN_TABULAR_FEATURE (bug #177)
10510 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10512 * Makefile.am: remove figure.h
10514 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10516 * Bufferview_pimpl.C:
10528 * text2.C: remove #include "lyx_gui_misc.h".
10530 * LaTeX.C: added #include <cstdio>
10532 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10535 that the paragraph following this one can have.
10537 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10539 * vspace.C (asLatexCommand): fix bogus gcc warning
10541 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10543 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10545 * text2.C (setLayout): get rid of redundant code
10547 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10549 * text2.C (incDepth): make sure depth cannot be increased beyond
10552 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10554 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10555 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10557 * PainterBase.h (image):
10558 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10559 a LyXImage const *.
10561 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10565 * BufferView_pimpl.C:
10566 * BufferView_pimpl.h:
10586 * sp_spell.C: remove fig inset, and the crap house of
10587 cards that follows it
10589 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10594 * os2_errortable.h:
10595 * nt_defines.h: move .h into support/
10597 * vms_defines.h: remove
10599 * WorkArea.C: add space in debug output
10603 * buffer.C: add WITH_WARNINGS
10607 * bufferlist.C: s/retrive/retrieve/, add docs
10616 * chset.C: add docs
10618 * lyxgui.C: add ID to X error handler
10620 * lyxtestclass.c: fix typo
10622 2002-02-26 Juergen Vigna <jug@sad.it>
10624 * tabular_funcs.C (write_attribute): changed so that some default
10625 attributes are not written at all.
10626 (getTokenValue): set default values before trying to read the
10627 value so we have the return value always set as default if we don't
10628 find the token we search for.
10630 * tabular.C (Write): write bools as bools not as strings!
10632 2002-02-22 Juergen Vigna <jug@sad.it>
10634 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10635 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10637 * text.C (leftMargin): don't add an indent for paragraphs inside
10638 tabular cells (fix #208).
10640 2002-02-21 José Matos <jamatos@fep.up.pt>
10642 * tabular.C (docBook): fixed support for long tables.
10644 2002-02-20 Juergen Vigna <jug@sad.it>
10646 * text2.C (getFont): get the drawing font of the Inset if this
10647 paragraph is inside an inset (only important for InsetERT for now).
10649 * buffer.C (insertErtContents): use new lanugage params in ERT
10652 * CutAndPaste.C: commenting out seemingly uneeded code.
10654 2002-02-19 Allan Rae <rae@lyx.org>
10656 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10657 Iterators might be simple to use but they also get invalidated.
10658 (removeAutoInsets): renamed saved cursor tracking variables and added
10659 some comments to clarify what everything does.
10661 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10668 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10669 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10672 * vc-backend.h: remove #include "support/syscall.h"
10676 * converter.C: rearrange #includes in Lars' approved fashion.
10678 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10679 forward declare class Timeout in the header file.
10681 * XFormsView.C: changes due to the above.
10683 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10684 similar to LyXView.
10686 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10687 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10689 2002-02-18 José Matos <jamatos@fep.up.pt>
10691 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10694 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10696 * a lot of small ws changes
10697 * add a lot of using std::XXX
10698 * use std construcs some places where approp.
10699 * use some exisint stuff from lyxfunctional where approp.
10700 * Make file changes to use partial linking (lets test this now...)
10702 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10706 remove #include "support/syscontr.h" as it's redundant. Always has been.
10714 change Systemcalls::System to Systemcalls::Wait and
10715 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10716 No change of functionality, just reflects the stripped down Systemcalls
10719 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10721 * debug.[Ch]: add a GRAPHICS type to the enum.
10723 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10725 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10727 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10730 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10732 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10733 match the changes below.
10735 * text2.C (toggleInset): if there is not editable inset at cursor
10736 position, try to see if cursor is _inside_ a collapsable inset
10739 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10742 document menu has a nice checkbox
10744 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * lyxlength.C (asLatexString): change PW to output as percent of
10749 * lengthcommon.C: change '%' to 't%'
10751 * lyxfunc.C (dispatch): a few comments from Martin
10753 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10757 * BufferView_pimpl.h:
10758 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10761 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10763 * vspace.C (inPixels): fix compiler warning
10765 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10767 * lyxfunc.C (getStatus): fix status message for disabled commands.
10769 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10771 * BufferView_pimpl.C: fix crash on close buffer
10772 during selection (#227)
10774 2002-01-27 Herbert Voss <voss@lyx.org>
10776 * buffer.C: link old Figure to new graphic inset
10778 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10780 * FontLoader.C (getFontinfo): Change the latex font names in order
10781 to match the names of type1inst.
10783 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10787 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10788 (extchanged): ditto
10790 (remove_files_with_extension): ditto
10791 (remove_file): ditto
10794 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10795 document is smaller than the work area height. Do not initialize
10796 static variables to 0.
10798 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10802 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10803 LFUN_LAYOUT_PARAGRAPHS.
10805 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10806 tabular. It is possible to provide a possible cell, which will
10807 typically be the actcell from the corresponding insettabular
10809 * lyxfunc.C (getStatus): small cleanup; disable
10810 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10813 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10817 * paragraph.C (startTeXParParams):
10818 (endTeXParParams): new methods. The LaTeX code to
10819 start/end paragraph formatting
10820 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10821 empty (fixes bug #200)
10823 * vspace.C (inPixels): adapt to the change below
10824 (inPixels): [later] more cleanups (remove unused variables)
10826 * lyxlength.C (inPixels): change to use a width and a height as
10829 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10832 Replaced with \paperwidth
10834 * DepTable.C (insert): add std:: qualifier
10836 2002-01-18 Allan Rae <rae@lyx.org>
10838 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10841 * text.C (drawInset): Turned out I didn't know enough about how
10842 rebreaking worked. This fixes most of the redraw problems. I see
10843 an occasional cursor trail when a line is broken now and the cursor
10844 placement can seem out by a few pixels also after a rebreak.
10846 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * buffer.C (parseSingleLyXformat2Token): update because minipage
10849 width is now a LyXLength
10851 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10853 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10856 2002-01-17 Juergen Vigna <jug@sad.it>
10858 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10860 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10861 is set correctly and the inset is updated correctly.
10863 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10866 the beginning of the loop.
10868 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10870 * lyxrc.C: improve help for use_scalable_fonts
10872 2002-01-17 Allan Rae <rae@lyx.org>
10874 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10876 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10879 make sure to set their inset_owner to the right value (bug #171)
10881 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10884 * DepTable.C: Implement mtime checking to reduce time spent doing
10887 2002-01-16 Juergen Vigna <jug@sad.it>
10889 * tabular.C (GetAdditionalHeight): one of error fixed.
10891 * lyxrc.C (output): small fix in writing use_pspell.
10893 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10895 * sp_base.h: #include LString.h
10897 2002-01-16 Allan Rae <rae@lyx.org>
10899 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10900 Can someone check this please?
10902 * text.C (drawInset): It was possible that p.row would be removed by
10903 breakAgainOneRow upsetting a few other settings. There may be another
10904 small tweak possible by setting need_break_row = 0 when p.row has been
10905 removed but I don't know enough about the logic here.
10907 2002-01-15 Allan Rae <rae@lyx.org>
10909 * text.C (insertChar): removed conditional truism.
10911 * BufferView2.C (removeAutoInsets): More tweaks.
10912 cur_par_prev could be a stray pointer. Check for trailing empty line
10913 in case last line was cur_par and only had an error inset on it.
10915 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10920 * vc-backend.C (most methods):
10921 * exporter.C (Export):
10922 * converter.C (convert):
10924 * LyXSendto.C (SendtoApplyCB):
10925 * lyxfunc.C (dispatch):
10929 * lyx_cb.C (AutoSave):
10931 * BufferView_pimpl.C (MenuInsertLyXFile):
10932 * buffer.C (runChktex): use Buffer::filePath().
10934 * buffer.h: rename filename to filename_; rename filepath to
10935 filepath_ and make it private
10936 (filePath): new method
10938 * buffer.C (writeFile): use fileName()
10941 * lyx_main.C (init): fix starting of LyX when the binary is a
10942 link from so,ewhere else.
10944 * minibuffer.C: include <cctype> for isprint
10946 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10948 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10949 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10950 name clash with InsetCollapsable's width function.
10952 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * lastfiles.C: include <iterator>
10956 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10958 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10961 * buffer.C (makeLaTeXFile): ditto.
10962 Also make loop operation more transparent.
10964 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10966 * ToolbarDefaults.C: remove trailing comma closing namespace.
10968 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10970 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10973 * trans.C (Load): comment out unused variable, allowed.
10975 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10977 * minibuffer.[Ch] (append_char): new method to recieve input from the
10978 drop-down completion browser. If a key was pressed, then recieve this
10979 char and append it to the existing string.
10980 (peek_event): modify the positioning data passed to the completion
10981 browser so that it can be placed above the minibuffer rather than below.
10982 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * LyXAction.C (init): alloe error-next for readonly documents.
10986 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10989 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * bufferlist.C (readFile): create the buffer _after_ checking that
10994 * lyxfunc.C (verboseDispatch): fix handling of arguments
10996 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10998 * lyxrc.C: use string::erase() instead of initializing to "".
11001 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11003 * BufferView_pimpl.h:
11004 * BufferView_pimpl.C:
11007 * text2.C: tell X when we have made a selection for copying
11009 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * BufferView_pimpl.C (MenuInsertLyXFile):
11012 * lyxfunc.C (menuNew):
11014 (doImport): add shortcuts to directory buttons
11016 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11019 * lyxfunc.C (setStatusMessage):
11020 (getStatusMessage): new methods
11021 (getStatus):use setStatusMessage instead of setErrorMessage
11022 (dispatch): when function is disabled, set error message here
11023 [instead of in getStatus previously]
11025 * BufferView_pimpl.C (workAreaButtonRelease): update
11026 toolbar/menubar here too.
11028 2002-01-13 Allan Rae <rae@lyx.org>
11030 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11031 Now seems indestructible. Remaining task is to audit all other
11032 code affected by deleteEmptyParagraphMechanism. One small quirk
11033 left is that an empty document with an error in the preamble can
11034 be made to report an error but no error box appears. I don't know
11036 (removeAutoInsets): Improved comments.
11038 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11041 * Thesaurus.C: update for Aiksaurus 0.14
11043 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11045 * text2.C (firstParagraph): removed member function, all uses
11046 replaces with ownerParagraph
11047 (redoParagraphs): here
11048 (updateInset): here
11049 (toggleAppendix): here
11050 * BufferView2.C (insertErrors): here
11051 (setCursorFromRow): here
11053 2002-01-13 Allan Rae <rae@lyx.org>
11055 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11056 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11057 There is still a way to segfault this although you may have to do this
11058 multiple times: Have an InsetERT with an unknown command in it.
11059 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11060 <down-arrow>, <Enter> again, View->DVI, BANG!
11062 * text2.C (setCursor):
11063 (deleteEmptyParagraphMechanism):
11064 * lyxtext.h (setCursor):
11065 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11066 Making use of the return value may help fix other bugs.
11068 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11072 * LyXView.C (updateMenubar): call MenuBar::update here
11073 (updateToolbar): but not here
11074 (showState): do not update toolbar/menubar
11076 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11077 should need to care about that.
11079 * lyxfunc.C (verboseDispatch): simplify a bit
11080 (getStatus): have a version which takes a pseudoaction, and
11081 another which requires a (kb_action,string).
11083 * LyXAction.C (retrieveActionArg): make it work also when action
11084 is not a pseudo-action.
11085 (getActionName): simplify a bit
11088 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * lyxfunc.C (verboseDispatch): new families of methods with
11091 several ways to specify a command and a bool to indicate whether
11092 the command name and shortcut should be displayed in minibuffer
11093 (eventually, we could extend that to a finer bitmask like
11094 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11095 (dispatch): the pristine dispatch command which just, well,
11096 dispatchs! Note it still sets its result to minibuffer; I'm not
11099 * lyxfunc.h: remove setHintMessage
11101 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11103 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11105 * BufferView_pimpl.C (specialChar): delete new inset if we have
11106 not been able to insert it.
11108 * kbmap.C: revert to using int instead of kb_action, since all we
11109 are dealing with is pseudo-actions.
11111 * LyXAction.C (searchActionArg): change to return int instead of
11112 kb_action, since the result is a pseudoaction.
11114 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11116 * buffer.C (insertErtContents): Fix (partially) the font bug.
11118 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11120 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11121 as the other one is broken on my machine!
11123 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11126 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11128 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11130 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11131 reflect their actual use. Provide compatibility code for older lyxrc
11134 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11136 change names of popup font variables in line with the changes to lyxrc.C
11138 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * buffer.C (asciiParagraph): avoid outputing a word twice after
11143 * lyxrc.C (getDescription): document that document_path and
11144 template_path can be empty.
11146 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * LaTeXFeatures.C (getMacros):
11149 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11151 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11153 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11155 (getPackages): rename feature "floats" to "float". Use an array to
11156 iterate over 'simple' features (i.e. just a \usepackage). Add
11157 handling of "amsmath" (renamed from "amsstyle").
11159 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11161 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11164 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11166 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11167 FuncStaus::FuncStatus & FuncStaus::some_method().
11169 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11171 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11172 of the func_satus stuff. Edited and massaged in various ways by
11175 * lyxfunc.C (getStatus): use FuncStatus
11177 2002-01-08 Juergen Vigna <jug@sad.it>
11179 * text.C (nextBreakPoint): use function Inset::isChar().
11181 * paragraph.C (TeXOnePar): use function
11182 Inset::forceDefaultParagraphs.
11184 * buffer.C (latexParagraphs): use function
11185 Inset::forceDefaultParagraphs.
11187 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11189 * lyx_gui.C (init): set the style of the menu popups to
11190 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11192 2002-01-07 Juergen Vigna <jug@sad.it>
11194 * text.C (setHeightOfRow): small fix
11195 (prepareToPrint): don't look at alignment if we don't have the place
11198 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11200 * box.C: New file. Move the Box methods and functions out of box.h,
11201 following Lars' suggestion.
11203 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11205 * box.h: #include "support/LOstream.h", needed for inlined function.
11208 * lyxtextclasslist.C: added some using std declarations.
11210 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11212 * box.h: make signed dimensions to allow insets wider than
11213 the screen (bug #162)
11215 * BufferView_pimpl.C: add some insetHit debug
11217 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11219 * vc-backend.C: add FIXME
11221 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * lyxfunc.C (getStatus): enable code for showing math font status
11226 2002-01-07 Juergen Vigna <jug@sad.it>
11228 * text.C (nextBreakPoint): removed debug output not needed anymore.
11230 2002-01-06 Juergen Vigna <jug@sad.it>
11232 * text.C (nextBreakPoint): fixed up this function we had this bug
11233 since ever but now hopefully we break row better.
11234 (insertChar): we have to check if an inset is the next char as it
11235 could now happen that a large inset is causing a break.
11237 2002-01-05 Juergen Vigna <jug@sad.it>
11239 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11240 if it doesn't like to be drawed.
11242 2002-01-04 Juergen Vigna <jug@sad.it>
11244 * BufferView2.C (lockInset): forgot to set a cursor.
11246 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11248 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11250 * FormMathsPanel.C:
11253 * form_maths_panel.C:
11254 * form_maths_panel.h:
11255 * form_maths_panel.fd: implemented sub- and super- buttons in math
11258 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11259 (or ^ space) to be used as in TeX (req'd by André).
11261 * lyxfunc.C: Allow ^ and _ again to be used both as
11262 super/subscript (mathed) and as themselves (in text).
11264 2002-01-03 Allan Rae <rae@lyx.org>
11266 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11267 "LyX" or the filename of the current buffer if it has one. This is a
11268 modified form of John Levon's patch.
11270 * XFormsView.C (setWindowTitle): also set icon title.
11272 * LyXView.h (setWindowTitle): signature changed.
11273 * XFormsView.h (setWindowTitle): ditto.
11275 2002-01-02 Juergen Vigna <jug@sad.it>
11277 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11279 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * screen.C (topCursorVisible): introduce a temp var for
11282 text->cursor.row(), handle the case where this row is null. (kindo
11285 * text2.C (setCursor): add a couple of asserts.
11287 * paragraph.h (inset_iterator): add -> operator
11289 * paragraph.[Ch] (autoDeleteInsets): remove member function
11291 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11292 cursor pos correctly and handle inset deletion by itself.
11293 (insertErrors): move iterator declaration out of for expression
11295 * lyxtextclass.C: add <algorithm>
11297 * Makefile.am: added the new files to sources, removed layout.C
11299 * layout.C: removed file
11301 * layout.h: remove LYX_DUMMY_LAYOUT
11303 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11307 * lyxtextclass.[Ch]:
11308 * lyxtextclasslist.[Ch]: new files
11310 * include order changes to a lot of files, also changes because of
11313 2001-12-27 Juergen Vigna <jug@sad.it>
11315 * buffer.C (asciiParagraph): more fixes.
11317 * tabular.C (ascii): make ascii export support export of only the
11318 data separated by a column-delimiter.
11319 (ascii): better support for ascii export.
11321 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11323 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11325 * tabular_funcs.C: use a "using std::getline" instead of the
11326 previous fix from Angus (necessary for cxx + lyxstring)
11328 2001-12-24 Juergen Vigna <jug@sad.it>
11330 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11332 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11333 problems. First check a minipage also if we have some ert-contents
11334 (not only on par->size(), second set the right depth of the paragraph
11335 on the relink to the root-paragraph-list!
11337 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11338 which then did not anymore update the main paragraphs on undo/redo!
11340 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11343 code. Support all font-changing funcs (even those which are not in
11344 menu currently). Support for reporting font settings in
11345 mathed (disabled until Andre provides a function on mathed's side).
11347 * func_status.h (toggle): small helper function to set toggle
11350 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11352 * tabular_funcs.C: getline -> std::getline
11354 2001-12-21 Juergen Vigna <jug@sad.it>
11356 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11357 accessed and could be 0 (I couldn't generate this but it seems
11360 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11363 * tabular_funcs.h: here and include iosfwd
11365 2001-12-20 Juergen Vigna <jug@sad.it>
11367 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11368 inside inset but undo_par was.
11370 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * Thesaurus.C: always include <config.h> in sources.
11376 * box.h: do not include <config.h> in header files
11378 * text.C (paintLastRow): remove unused variable
11380 * text.C (transformChar):
11382 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11384 * Painter.C (text):
11385 * font.C (width): rewrite to use uppercase() instead of
11388 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11390 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11392 * lyxfind.C: clean up of find failure position change
11394 2001-12-20 Juergen Vigna <jug@sad.it>
11396 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11398 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11399 (TeXRow): added to LaTeX a single tabular row.
11400 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11401 (Latex): simplified and finally good LT-h/f support.
11402 (various_functions): just small adaptions for LT-h/f support.
11404 * tabular_funcs.[hC]: added and moved here all not classfunctions
11407 2001-12-19 Juergen Vigna <jug@sad.it>
11409 * tabular.[Ch]: better support for longtabular options (not finished
11412 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * text.C (paintLastRow): use the label font instead of the font of
11415 the last character to compute the size of *_BOX. This makes more
11416 sense and avoids a crash with empty paragraphs.
11417 Use Painter::rectangle to draw EMPTY_BOX.
11419 2001-12-19 Juergen Vigna <jug@sad.it>
11421 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11422 the paragraphs if the replaced paragraph is not the first one!
11423 Tried to delete not used paragraphs but does not work yet so for
11424 now it's inside #ifdef's and by default off!
11426 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11428 * MenuBackend.C: include "lyx_main.h" instead of declaring
11429 lastfiles (actually was declared as LastFiles* instead of a
11432 2001-12-17 Juergen Vigna <jug@sad.it>
11434 * tabular.C (AppendColumn): applied John's fix
11436 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView_pimpl.h:
11441 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11444 * box.h: new start of class for above
11446 * lyxfunc.C: ignore space-only minibuffer dispatches.
11447 Show the command name when it doesn't exist
11449 * minibuffer.C: don't add empty lines to the history
11451 * minibuffer.C: add a space on dropdown completion
11453 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11455 * text.C: fix line above/below drawing in insets
11457 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * lyxlength.C (LyXLength): Initialize private variables.
11461 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11464 when inserting error insets.
11466 2001-12-13 Juergen Vigna <jug@sad.it>
11468 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11469 actually sometimes the before-paragraph.
11470 (setUndo): don't clear the redostack if we're not actually undoing!
11472 2001-12-06 Juergen Vigna <jug@sad.it>
11474 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11475 and fixed redoing of main paragraph, so we can use it now ;)
11477 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11479 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11484 2001-12-13 André Pönitz <poenitz@gmx.net>
11487 * undo_func.C: minor cleanup
11489 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11492 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11493 font in urw-fonts package which is marked as -urw-fontspecific and
11494 does not work (incidentally, changing the encoding in the
11495 fonts.dir of this package to -adobe-fontspecific fixes the
11498 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11499 is a crash when undoing first paragraph (Juergen, please take a
11500 look). THis does not mean the undo fix is wrong, just that it
11503 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11504 the (Paragraph*) version when needed instead of duplicating the
11507 * text.C (workWidth): use Inset::parOwner to find out where the
11508 inset has been inserted. This is a huge performance gain for large
11509 documents with lots of insets. If Inset::parOwner is not set, fall
11510 back on the brute force method
11512 * paragraph_pimpl.C (insertInset):
11513 * paragraph.C (Paragraph):
11514 (cutIntoMinibuffer): set parOwner of insets when
11515 inserting/removing them
11517 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11519 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11525 * mathed/formulabase.C:
11526 * mathed/math_cursor.[Ch]:
11527 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11530 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * lyxlength.[Ch] (operator!=): new function
11534 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11536 * text.C (workWidth): use Inset::parOwner to find out where the
11537 inset has been inserted. This is a huge performance gain for large
11538 documents with lots of insets. If Inset::parOwner is not set, fall
11539 back on the brute force method
11541 * paragraph_pimpl.C (insertInset):
11542 * paragraph.C (Paragraph):
11543 (cutIntoMinibuffer): set parOwner of insets when
11544 inserting/removing them
11546 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11548 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * tabular-old.C (getTokenValue):
11551 * tabular.C (getTokenValue):
11552 (write_attribute): new versions for LyXLength
11553 (everywhere): adjust the use of widths
11555 * tabular.h: change the type of widths from string to LyXLength
11557 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11559 * paragraph.C: fixed missing line number count when exporting
11560 Environments to LaTeX file
11562 * buffer.C: added informational message for checking line numbers.
11564 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11566 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11567 paragraph, do the 'double space' part, but not the 'empty
11570 * text.C (workWidth): small optimization
11571 (getLengthMarkerHeight): use minimal size for negative lengths.
11573 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11575 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11577 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11579 2001-12-11 André Pönitz <poenitz@gmx.net>
11582 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11584 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11586 * text2.C: keep selection on a setFont()
11588 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11590 * lyx_cb.C: another bv->text misuse, from insert label
11592 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11595 * kbsequence.C: re-instate nmodifier mask
11597 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11599 * lyx_main.h: make lyxGUI private.
11601 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11603 * lyxfind.C: place the cursor correctly on failed search
11605 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * text.C (getLengthMarkerHeight): for small heights, the arrows
11608 are not always on top/bottom of the text
11609 (drawLengthMarker): smaller arrows; take the left margin in
11610 account; draw also vfills.
11612 (paintLastRow): remove special code for vfill and standard spaces,
11613 since everything is handled in drawLengthMarker now.
11615 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * buffer.C (insertErtContents): try to handle font and language
11618 interaction a bit better.g
11620 * ColorHandler.C (updateColor): change the hash to cover the whole
11621 LColor enum, ws cleanup
11622 (getGCLinepars): ditto
11623 (getGCLinepars): only lookup in the linecache once.
11625 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11627 * iterators.C (operator++): Make the iterator more robust
11629 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11636 * text.C: better added space drawing
11638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView2.C: fix layout combo update on inset unlock
11643 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11645 * Makefile.am: don't compile unused files
11647 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11651 * LyXAction.C: remove old LFUN_LAYOUTNO
11653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11655 * paragraph_pimpl.h:
11656 * paragraph_pimpl.C: isTextAt() doesn't need font param
11658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11661 * lyxlex.C: little cleanup
11663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.C: fix insertAscii for insets
11667 2001-12-05 Juergen Vigna <jug@sad.it>
11669 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11670 set the right font on the "multi" paragraph paste!
11672 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * lyxlength.C: remove out-commented code.
11680 * BufferView_pimpl:
11694 * vc-backend.C: change "while(" to "while ("
11696 * lyxlength.[Ch]: add zero function to check if length is zero or
11698 * lyxgluelength.C: use it
11700 2001-12-05 Allan Rae <rae@lyx.org>
11702 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11703 Works for 2.95.3, from what I understand of Garst's reports this should
11704 work for other g++ versions. We're screwed if the abs(int) definition
11705 changed between bugfix releases of gcc.
11707 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11709 * text.C: fix chapter label offset !
11711 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11714 * text.C: fix hfill at end of line, clean up
11716 2001-12-04 Juergen Vigna <jug@sad.it>
11718 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11719 that we force an update of the inset and it's owners if neccessary.
11721 2001-12-03 Juergen Vigna <jug@sad.it>
11723 * text.C (rowLast): simplified code
11725 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11727 * lyxfunc.C: fix show options on timeout
11729 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * screen.C (topCursorVisible): scroll half a page when the cursor
11732 reached top of bottom of screen
11734 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11736 * minibuffer.C: deactivate on loss of focus
11738 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * vspace.[Ch] (operator!=): add operator.
11742 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C: refuse to open an inset when
11745 there's a selection.
11747 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11749 * BufferView_pimpl.C: allow to click on RHS of full row insets
11751 2001-11-30 Juergen Vigna <jug@sad.it>
11753 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11754 insets for undo reasons.
11756 2001-11-28 André Pönitz <poenitz@gmx.net>
11758 * vspace.[Ch]: cosmetical changes
11760 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11770 * kbsequence.C: part re-write of old kb code
11773 * WorkArea.C: remove Lgb_bug_find_hack
11775 2001-11-30 José Matos <jamatos@fep.up.pt>
11777 * buffer.C (makeDocBookFile): add a comment to point a hack.
11778 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11779 Fixed a double write of labels.
11781 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11784 * LaTeX.h Fixed bug in LaTeX class where it would not
11785 re-run latex if no depfiles were changed, but the .dvi was removed.
11787 2001-11-28 André Pönitz <poenitz@gmx.net>
11789 * all the files from the change on 2001/11/26:
11790 use lyx::layout_type instead of LyXTextClass::size_type
11791 use lyx::textclass_type instead of LyXTextClassList::size_type
11793 2001-11-29 Juergen Vigna <jug@sad.it>
11795 * text.C: added support for paragraph::isFreeSpacing()
11797 * buffer.C: same as above
11799 * paragraph.h: inserted isFreeSpacing() function to enable
11800 FreeSpacing inside InsetERT.
11802 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11803 of the paragraph's in the cut/copy buffer to 0!
11805 * text2.C (removeRow): remove the assert as it can!
11807 * lyxtext.h: added helper function firstRow returning firstrow and
11808 made firstrow private again.
11810 * BufferView2.C (lockInset): don't relock if we're already locked!
11812 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11813 the only paragraph.
11814 (removeRow): added Assert::(firstrow)
11816 * debug.C: forgot to add INSETTEXT here.
11818 2001-11-28 Juergen Vigna <jug@sad.it>
11820 * sp_spell.C (initialize): changed error text to more general
11821 spellchecker command use (not only ispell!)
11823 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11825 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11827 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11829 * vspace.C: initialise lyxgluelength on failure
11831 2001-11-28 Allan Rae <rae@lyx.org>
11833 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11834 declaration & definition that looks like a function declaration.
11836 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * BufferView2.C (copy):
11839 (copyEnvironment): do not clear the selection when doing a copy.
11841 * text.C (paintFirstRow): compilation fix
11843 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11845 * tabular.C (Latex): correct line count when writing latex.
11847 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11849 * paragraph_pimpl.h:
11850 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11853 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11857 * LColor.C: change vfillline->added_space
11859 * text.C: add markers and text for added space
11861 * vspace.C: fix comment
11863 2001-11-28 André Pönitz <poenitz@gmx.net>
11865 * paragraph.C: whitespace changes
11866 * all the other files from the change on 2001/11/26:
11867 change *::pos_type into lyx::pos_type
11869 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11871 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11872 language of the document when inserting error insets.
11874 2001-11-26 André Pönitz <poenitz@gmx.net>
11876 * BufferView_pimpl.[Ch]:
11884 * paragraph_pimpl.[Ch]:
11887 * text2.C: reduce header dependencies, introduce type for positions
11889 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11891 * <various>: change to use Alert.h
11893 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11895 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11896 when encountering an unknown token.
11897 (readLyXformat2): Show an error message if there were unknown tokens.
11899 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11902 * BufferView_pimpl.C:
11906 * text2.C: use par->isInset()
11908 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11910 * paragraph_pimpl.h:
11911 * paragraph_pimpl.C: cleanup
11913 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * text2.C (removeRow):
11916 * text.C (setHeightOfRow): remove useless (and costly) call to
11919 2001-11-20 Allan Rae <rae@lyx.org>
11921 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11922 Now need Inset*::checkInsertChar() to return true for appropriate
11923 cases so that the characters in the minibuffer will actually be
11926 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * text.C: change the order of the includes.
11929 (workWidth): initialize it at once.
11930 (workWidth): make maxw unsigned
11931 (setHeightOfRow): remove unused variable (inset)
11932 (selectSelectedWord): remove unused variable (inset)
11933 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11935 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11938 server is not running.
11940 (closeConnection): add debug info when server is disabled.
11942 * ColorHandler.C (getGCForeground): send debug message to GUI
11945 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11947 * kbmap.C (bind): modify because return conventions of
11948 kb_sequence::parse have changed.
11950 * kbsequence.C (parse): only ignore spaces and not any stupid
11951 control character. This avoids tests like s[i] <= ' ', which are
11952 guaranteed to fail with 8bit characters and signed chars.
11953 Change return code to string::npos when there have been no error
11954 (0 was a bad idea when error is at first character)
11956 2001-11-14 José Matos <jamatos@fep.up.pt>
11959 * buffer.C (simpleDocBookOnePar): removed unused argument.
11961 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11963 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11964 insets which are part of a word. Paragraph::isLetter takes care of
11965 that now. Use Paragraph::isInset to identify insets.
11966 (selectSelectedWord): do not test for hyphenation break.
11968 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11969 that protected spaces are considered as spaces.
11971 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11974 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11977 * lyxserver.C: fix it. and small cleanup.
11979 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11981 * BufferView_pimpl.C: use inline helpers
11984 * LaTeXFeatures.C: fix typos
11987 * Spacing.C: move spacing_string into class
11989 * ToolbarDefaults.C: move stuff into namespace anon
11991 * layout.h: update enum
11993 * lyxfunc.C: use better debug
11995 * minibuffer.h: fix typo
11999 * WorkArea.C: add and use Debug::WORKAREA
12003 * text2.C: code re-organisation, inline helpers
12005 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12007 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12008 std::vector.empty().
12010 2001-11-09 Allan Rae <rae@lyx.org>
12012 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12013 '\n's after tables. Tabular and ERT inset work now makes this no
12016 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12019 * minibuffer.C: fix crash, improve drop-down completion
12021 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12024 * lyxserver.C: invalidate fd's when doing endPipe()
12026 2001-11-08 José Matos <jamatos@fep.up.pt>
12028 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12029 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12032 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12034 2001-11-07 José Matos <jamatos@fep.up.pt>
12037 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12040 * buffer.C (sgmlOpenTag):
12041 * buffer.C (sgmlCloseTag): removed debug info.
12043 * buffer.h (sgmlOpenTag):
12044 * buffer.h (sgmlCloseTag): made public.
12046 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * buffer.C (saveParamsAsDefaults):
12049 * lyx_cb.C (MenuLayoutSave): remove
12051 * LyXAction.C (init):
12053 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12055 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * buffer.C (setPaperStuff): removed from here...
12059 * bufferparams.C (setPaperStuff): ... and moved there.
12061 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12065 * XFormsView.C: add support for drop-down completion
12067 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12069 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12072 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12077 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12079 * lyx_main.C: change ref to known bugs
12081 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12083 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12084 to work around older babel problems.
12086 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12088 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12090 2001-10-24 Juergen Vigna <jug@sad.it>
12092 * tabular-old.C (ReadOld): below variable changes reflected.
12094 * tabular.[Ch]: added ltType struct for longtable header/footer
12095 defines and changed all instances where they are used. Added
12096 future support for double top/bottom rows.
12098 2001-10-24 José Matos <jamatos@fep.up.pt>
12100 * buffer.h (docbookHandleCaption):
12101 * buffer.C (docbookHandleCaption): removed unused function.
12102 (makeDocBookFile): moved docbook supported version to v4.1.
12104 2001-10-24 José Matos <jamatos@fep.up.pt>
12107 * tabular.C (docbookRow): new function to export docbook code of a row.
12108 (DocBook): now honors the longtable flags.
12110 2001-10-23 José Matos <jamatos@fep.up.pt>
12113 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12114 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12116 * buffer.C (makeLinuxDocFile):
12117 (makeDocBookFile): reworked the preamble, more clean, and with
12118 support for lyx defined entities. Changed the document declaration
12119 to be more XML friendly.
12121 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12122 if we need to output XML that should be done with a filter.
12124 2001-10-22 Juergen Vigna <jug@sad.it>
12126 * sp_pspell.h (class PSpell): add alive function needed in the
12127 controller to see if the spellchecker could be started.
12129 2001-10-22 Juergen Vigna <jug@sad.it>
12131 * buffer.C (insertStringAsLines): modify the font for inserting
12132 chars in certain conditions by calling checkInsertChar(font).
12134 2001-10-19 Juergen Vigna <jug@sad.it>
12136 * text.C (workWidth): use getRow instead of wrong algorithm.
12137 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12139 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12144 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12146 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * text.C (workWidth): do not search for the exact row when
12149 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12150 optimization for big documents.
12152 2001-10-18 Juergen Vigna <jug@sad.it>
12154 * text.C (workWidth): new function with added Inset * parameter.
12156 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12160 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12161 change return type of getColumnNearX.
12164 * text.C (changeRegionCase): use uppercase/lowercase instead of
12167 (rightMargin): simplify code by factoring out the uses of
12172 (appendParagraph): use Paragraph::size_type
12174 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12176 * vspace.C (asLatexString): add a missing break
12178 2001-10-15 Herbert Voss <voss@perce.de>
12180 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12182 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12187 2001-10-10 André Pönitz <poenitz@gmx.net>
12189 * lyxfunc.C: removed greek_kb_flag.
12191 2001-10-10 Herbert Voss <voss@perce.de>
12193 * lyx_main.C: delete global string help_lyxdir.
12195 2001-10-09 Herbert Voss <voss@perce.de>
12197 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12199 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12201 * lyx_main.C: added global string help_lyxdir.
12203 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12205 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12207 * lyxrc.C (set_font_norm_type): support iso8859-4
12209 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12211 * LaTeX.C (deplog): add another regex for MikTeX
12213 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12215 * lyxrc.C (set_font_norm_type): support iso8859-3
12217 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12219 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12221 * LaTeXFeatures.C: remove special case of french and index
12223 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12224 before \begin{document}). This solves several incompatibilities.
12226 2001-10-03 Garst Reese <reese@isn.net>
12228 * lyx_cb.C: change CheckTex error msg.
12230 2001-10-03 José Matos <jamatos@fep.up.pt>
12232 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12234 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12236 * .cvsignore: update
12238 * lyx_main.C (commandLineVersionInfo): use new style version info.
12240 * buffer.C (writeFile):
12242 (makeLinuxDocFile):
12243 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12245 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12247 * version.h: update to use stuff in version.C
12249 * version.C.in: new file. Contains version information determined
12250 at compile time. This is a merging of version.h and
12253 2001-10-03 Juergen Vigna <jug@sad.it>
12255 * BufferView_pimpl.C (update): don't change "dirty" status in
12258 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12260 * WorkArea.C (c-tor): re-position version string slightly.
12262 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12264 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12265 revert to previous code.
12267 WorkArea.[Ch]: (show, destroySplash): methods removed.
12269 WorkArea.C: rework code so that it's an amalgam of the codes before and
12270 after the splash screen was moved to WorkArea.
12272 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * vspace.C (inPixels):
12278 * buffer.C (insertStringAsLines):
12279 (asciiParagraph): fix types to be large enough
12281 * lyxlex_pimpl.h: change member status from short to int
12283 * layout.h: fix type of endlabeltype
12286 * kbsequence.C (parse): change return type to string::size_type
12288 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12291 * Bullet.C (bulletSize):
12292 (bulletEntry): do not use short ints as parameters
12294 * BufferView2.C (insertLyXFile): change a char to an int.
12296 * WorkArea.C (WorkArea): remove unneeded floats in computation
12298 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12300 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12302 * paragraph.C (asString): Do not ignore newline/hfill chars when
12303 copying to the clipboard.
12305 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12307 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12308 after a multi-line inset.
12310 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12312 * paragraph.C (validate): Set NeedLyXFootnoteCode
12314 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12316 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12317 and decrease-error to decrease.
12319 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12321 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12322 it more readable (should be equivalent)
12324 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12326 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12328 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12331 of a cursor (row, etc.) after a character has been deleted
12332 (deleteEmptyParagraphMechanism): call the method above on _all_
12333 cursors held by the LyXText when a double space has been
12336 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12338 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12340 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12342 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12343 background. Use greyOut() and the new show() methods to toggle between
12344 the foreground and background. Add code to remove the splash after
12345 its initial showing.
12347 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12348 (create_forms): no longer call Dialogs::showSplash.
12350 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12352 * .cvsignore: add version_info.h
12354 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * version_info.h.in: new file
12358 * Makefile.am: add version_info.h.in
12360 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12361 version_info.h instead of VERSION_INFO
12363 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12365 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12366 The ERT inset now returns string().
12368 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12370 * lyxtext.h, text.C (selectNextWord): renamed as
12371 selectNextWordToSpellcheck.
12373 * text.C (selectNextWordToSpellcheck): Modified to not select
12374 words inside an ERT inset.
12376 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12378 * lyx_cb.C (MenuLayoutSave): change a bit the question
12380 * sp_base.h: include <sys/types.h>
12382 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12384 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12386 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12388 * several files: fix typos in user-visible strings
12390 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12392 * text2.C (pasteSelection): do not set the selection, since it
12393 will be cleared later. Actually, the intent was to fix the way the
12394 selection was set, but I figured rmoving the code was just as good.
12396 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12398 * FontLoader.C (available): Check if font is available without
12401 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12403 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12405 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12407 * lyxrc.[Ch]: added display_graphics variable and associated code.
12409 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * bufferparams.C (hasClassDefaults): new method. Returns true if
12412 the buffer parameters correspond to known class defaults
12414 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12416 * XFormsView.C (show): set minimum size to the main window.
12418 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * text2.C (copySelection):
12422 * lyxfind.C (LyXReplace):
12423 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12424 LyXText::selectionAsString.
12426 * paragraph.C (asString): add "label" argument to the second form
12428 * text2.C (selectionAsString): add "label" argument and pass it to
12429 Paragraph::asString.
12431 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12433 * lyx_main.C (commandLineHelp): remove version information
12435 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12437 * lyx_main.C: add -version commandline option
12439 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12441 * paragraph.h: make the optional constructor arg required instead.
12442 some modifications to other files because of this.
12444 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12446 * lyxserver.C (C_LyXComm_callback): make it static
12448 * lyx_main.C (error_handler): make it static
12450 * lyx_gui.C (LyX_XErrHandler): make it static
12452 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12454 * WorkArea.C: make the extern "C" methods static.
12456 * Makefile.am (lyx_LDADD): simplify
12458 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12460 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12461 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12463 * LyXAction.C (init):
12464 * lyxfunc.C (dispatch): associated code removal.
12466 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12468 * lyxfont.h (isSymbolFont): shut off warning
12470 * text.C (setHeightOfRow):
12471 (getVisibleRow): fix crash with empty paragraphs which have a
12474 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12476 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12479 2001-09-04 José Matos <jamatos@fep.up.pt>
12482 * tabular.C (docbook): rename docBook method to docbook.
12484 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12486 * Makefile.am: add dependencies to main.o.
12488 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12490 * FontLoader.C (available): Return false if !lyxrc.use_gui
12492 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12494 * FontInfo.C (query):
12495 * converter.C (view):
12496 * importer.C (Import):
12497 * exporter.C (Export): Can not -> cannot.
12499 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12501 * BufferView_pimpl.C: allow to create index inset even if
12504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12506 * buffer.C (getLists): replace boost::tie code with an explicit pair
12507 as boost::tie can break some compilers.
12509 * iterators.h: Added a std:: declaration to the return type of
12512 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12514 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12517 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12519 * iterators.[Ch]: New files. Provide paragraph iterators.
12521 * buffer.C (changeLanguage): Use paragraph iterators.
12522 (isMultiLingual): ditto
12524 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12526 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12528 * FontLoader.C: Support for cmr font.
12530 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12532 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12533 (available): New method.
12535 * FontInfo.C (getFontname): Use scalable fonts even when
12536 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12539 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12541 * converter.C (Formats::view): reverted! Incorrect fix.
12543 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12545 * converter.C (Formats::view): only output the -paper option
12546 if the dvi viewer is xdvi, thereby fixing bug #233429.
12548 2001-08-23 Herbert Voss <voss@perce>
12550 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12552 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12554 * Spacing.h (Spacing): Set space to Default on in the default
12557 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * vc-backend.h (RCS::versionString): add RCS to version
12560 (CVS::versionString): add CVS to version
12562 * vc-backend.C (scanMaster): do not add CVS to version.
12563 (scanMaster): do not add RCS to version
12565 * lyxvc.C (versionString): new method
12567 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12569 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12571 * Spacing.C (set): initialize fval
12573 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12575 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12578 2001-08-16 Juergen Vigna <jug@sad.it>
12580 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12582 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12584 * BufferView_pimpl.C:
12587 * text2.C: setParagraph takes linespacing now
12589 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12591 * LyxAction.C: add internal LFUN_CITATION_INSERT
12593 * LyXView.C: actually apply fix
12595 * bufferlist.C: fix open non-existent file
12597 * lyxfind.C: fix indentation
12599 * lyxfunc.C: remove unneeded assert, fix typo
12601 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12603 * MenuBackend.C: use "Floatname List"
12605 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12607 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12608 when converting LaTeX layout to insetERT.
12609 Generate a non-collapsed float when reading old float
12611 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12613 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12616 2001-08-13 Juergen Vigna <jug@sad.it>
12618 * text.C (fill): return 0 instead of 20 as this seems to be the more
12621 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12623 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12626 2001-08-13 Juergen Vigna <jug@sad.it>
12628 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12630 (SearchBackward): comment out the unlocking of the inset_owner this
12631 should not be needed!
12633 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12635 * Many files: Remove inherit_language, and add latex_language
12637 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12638 collapsible insets.
12640 2001-08-10 Juergen Vigna <jug@sad.it>
12642 * text.C (prepareToPrint): fixed hfill-width in draw!
12644 * BufferView2.C (selectLastWord): save the selection cursor as this
12645 now is cleared in the function LyXText::clearSelection!
12647 2001-08-08 Juergen Vigna <jug@sad.it>
12649 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12650 BACKSPACE type functions.
12652 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12653 is only cutted from the document but not put in the cut-buffer, where
12654 still the old stuff should be.
12656 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12658 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12660 * tabular.C (SetWidthOfCell): fixed special case where the width
12662 (LeftLine): handle '|' in align_special.
12664 (LeftAlreadyDrawed): ditto
12665 (SetWidthOfCell): ditto
12667 2001-08-07 Juergen Vigna <jug@sad.it>
12669 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12671 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12674 * lyxlex.[hC]: ditto
12676 2001-08-06 Juergen Vigna <jug@sad.it>
12678 * text.C (getVisibleRow): fix up row clearing a bit.
12680 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12682 * minibuffer.C: make sure the X server sees the changes in the input.
12684 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * paragraph.C (getFont): split into...
12687 (getLabelFont): this
12688 (getLayoutFont): and this
12689 * paragraph_pimpl.C (realizeFont): calling this
12691 * text2.C (getFont): split into...
12692 (getLayoutFont): this
12693 (getLabelFont): and this
12694 (realizeFont): all three calling this
12696 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12699 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12703 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12705 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12706 layouts from the Quote inset insertion.
12708 2001-08-03 Juergen Vigna <jug@sad.it>
12710 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12712 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12713 only if status not is already CHANGED_IN_DRAW (second level).
12715 * text.C (draw): don't set the need_break_row when inside an
12718 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * buffer.C (parseSingleLyXformat2Token): handle more latex
12723 * bufferview_funcs.[hC]: change function names to
12724 begin with small char, adjust other files.
12726 2001-08-02 André Pönitz <poenitz@gmx.net>
12729 BufferView_pimpl.C: remove broken special code for math-greek
12731 2001-08-02 Juergen Vigna <jug@sad.it>
12733 * BufferView_pimpl.C (update): redone this function so that we
12734 update the text again if there was a CHANGE_IN_DRAW.
12736 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12737 (drawFromTo): added a new internal bool which is used by draw() and
12739 (general): some cursor drawing problems fixed.
12741 2001-08-01 Juergen Vigna <jug@sad.it>
12743 * lyxfind.C (LyXFind): fixed
12744 (SearchForward): ditto
12745 (SearchBackward): ditto
12747 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12748 spurius drawing of the cursor in the main area.
12750 * text2.C (status): small fix which could lead to a segfault!
12751 (clearSelection): remove unneeded BufferView param.
12753 2001-08-01 André Pönitz <poenitz@gmx.net>
12755 * lyxfunc.C: small change due to changed mathed interface
12757 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12759 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12761 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12763 * lyxfunc.c: fail gracefully if file doesn't exist
12768 * BufferView_pimpl.C: IsDirWriteable() proto changed
12770 * LyXView.C: fix updateWindowTitle() to store the last title
12772 2001-07-31 Juergen Vigna <jug@sad.it>
12774 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12775 the font (wrong since using of Paragraph::highestFontInRange).
12777 * paragraph.C (highestFontInRange): added a default_size parameter.
12779 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12780 (setHeightOfRow): reformat
12782 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * converter.[hC] + affected files: move to (inital-char)lowercase
12787 * ParagraphParameters.C (ParagraphParameters): remove commented code
12789 * PainterBase.[Ch]: remove commented code
12791 * LaTeXFeatures.h: add "bool floats" for float.sty
12793 * LaTeXFeatures.C (LaTeXFeatures): init floats
12794 (require): handle float
12795 (getPackages): do it with floats
12797 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * BufferView_pimpl.C (Dispatch): improve handling of
12800 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12802 * commandtags.h: #include lyxfont.h here temporarily to avoid
12805 * bufferlist.h: include LString.h here.
12807 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12809 * text2.C (getStringToIndex): new method.
12811 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12813 * *: Reduced header file dependencies all over.
12815 2001-07-30 Baruch Even <baruch@lyx.org>
12817 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12819 2001-07-29 Baruch Even <baruch@lyx.org>
12821 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12823 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * ParameterStruct.h (endif): add a default constructor to make
12826 sure that all variables is initialized.
12828 * ParagraphParameters.C (ParagraphParameters): adjust
12830 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12832 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12833 index; also, check that there is something to index, and that it
12834 does not span over several paragraphs.
12835 (doubleClick): use WHOLE_WORD_STRICT for double click.
12837 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12839 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12842 2001-07-26 Baruch Even <baruch@lyx.org>
12844 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12845 an InsetFig figure, backwards compatible reading of old figure code.
12847 2001-07-27 Juergen Vigna <jug@sad.it>
12849 * text2.C: font.realize function adaption.
12851 * text.C (draw): add a warnings lyxerr text if needed.
12853 * layout.C: font.realize function adaption.
12855 * language.C: add inherit_language and implement it's handlings
12857 * bufferview_funcs.C (StyleReset): remove language parameter from
12858 font creation (should be language_inherit now).
12860 * bufferparams.C (writeFile): handle ignore_language.
12862 * paragraph.C (getFontSettings): the language has to be resolved
12863 otherwise we have problems in LyXFont!
12865 * lyxfont.C (lyxWriteChanges): added document_language parameter
12866 (update): removed unneeded language parameter
12868 * paragraph.C (validate): fixed wrong output of color-package when
12869 using interface colors for certain fonts in certain environments,
12870 which should not seen as that on the final output.
12872 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12874 * BufferView_pimpl.C:
12879 * LyXAction.C: add thesaurus support
12882 * lyxfind.C: add "once" parameter, for thesaurus, to not
12883 move to the next match
12885 2001-07-26 Juergen Vigna <jug@sad.it>
12887 * lyxfont.C (realize): honor ignore_language too!
12890 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12892 * text.C (draw): one place more for ignore_language to not draw
12895 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12897 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12899 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12902 the minipage conversion problem.
12904 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12909 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * BufferView.h: don't forward declare WorkArea
12913 * BufferView.C: don't include WorkArea.h
12915 2001-07-25 André Pönitz <poenitz@gmx.net>
12919 * lyxfunc.C: new LFUN 'math-space'
12921 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12923 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * text2.C (toggleInset): call open/close
12927 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * lyxfunc.C (dispatch): add debug for the disabled case
12931 * font.C (buttonText): make similar to rectText
12933 * buffer.C (readInset): comment out parsing of insetlist and
12936 * PainterBase.C (rectText): small correction
12938 * BufferView_pimpl.C: comment out insettheorem and insetlist
12939 * LyXAction.C: ditto
12940 * commandtags.h: ditto
12942 2001-07-24 Juergen Vigna <jug@sad.it>
12944 * text.C (draw): honor the ignore_language.
12946 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12948 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12953 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12955 * lyxtext.h: remove unused (and unimplemented) methods
12957 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12959 * text.C (getVisibleRow): honor background color
12962 * Painter.h: remove default color argument for fillRectangle
12964 * text.C (backgroundColor): new method
12966 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * text.C (getVisibleRow): adjust
12970 * font.[Ch] (rectText): new method, metrics
12971 (buttonText): new method, metrics
12973 * PainterBase.[hC]: make rectText and buttonText always draw and take
12976 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12978 * ToolbarDefaults.C (read):
12979 * MenuBackend.C (read): allow escaping in all strings
12981 * BufferView_pimpl.C (insertAndEditInset): new method.
12982 (Dispatch): use insertAndEditInset whenever appropriate.
12984 * BufferView_pimpl.C (insertNote): removed
12986 * BufferView_pimpl.C (smartQuote): new method, moved from
12987 BufferView; if an insetquote cannot be inserted, insert a '"'
12990 * BufferView2.C: remove insertCorrectQuote();
12992 * lyxfunc.C (getStatus): Add support for all remaingin
12993 inset-insert lfuns.
12995 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12997 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12998 command (necessary to pass " as parameter of self-insert.
13000 * text.C (selectWordWhenUnderCursor):
13001 (selectWord): add word_location parameter
13002 (selectWordWhenUnderCursor): same + remove special code for word
13004 (selectNextWord): use kind() to guess type of insetspecialchar,
13007 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13008 (insertErtContents): create ert insets as collapsed.
13009 (readInset): better compatibility code for Info inset.
13011 2001-07-20 Juergen Vigna <jug@sad.it>
13013 * lyxfunc.C (dispatch): use always LyXFind now!
13015 * text2.C (init): add a reinit flag so that the LyXText can be
13016 reinited instead of deleted and reallocated (used in InsetText).
13018 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13024 2001-07-18 Juergen Vigna <jug@sad.it>
13026 * text.C (selectNextWord): handle insets inside inset by calling
13027 always the bv->text functions so that we can go up the_locking_inset!
13029 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13030 in strange locations when inside an inset!
13032 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13033 handling to include insets.
13035 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13037 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * LyXAction.C (init):
13041 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13042 LIGATURE_BREAK, since the name is so stupid.
13044 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13046 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13049 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13051 * sp_form.[Ch]: remove.
13053 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13055 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13058 * src/buffer.C (readInset): ditto.
13060 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13062 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13063 menuSeparator(), endOfSentenceDot(), ldots() and
13064 hyphenationPoint(), which are therefore removed.
13065 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13067 * LyXAction.C (init):
13068 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13070 * paragraph.C (getWord): removed.
13072 * BufferView_pimpl.C (Dispatch): use last word or selection for
13073 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13075 * lyx_main.C (queryUserLyXDir): do not ask before creating
13076 user_dir, except if it has been named explicitely.
13078 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13080 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13081 a document of zero size.
13083 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13085 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13086 approriately in the c-tor and in require().
13087 (getPackages): output the appropriate LaTeX for natbib support.
13089 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13090 variables "use_natbib" and "use_numerical_citations" when reading the
13092 (readInset): read the various natbib cite commands.
13093 (validate): white-space change.
13095 * bufferparams.[Ch]: new variables "bool use_natbib" and
13096 "bool use_numerical_citations".
13097 (writeFile): output them in the LyX file.
13099 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13101 * lyxfunc.C (getStatus): add support for all the inset insertion
13104 * text2.C (insertInset):
13105 * paragraph.C (insetAllowed):
13106 * BufferView_pimpl.C (insertInset): update to take in account the
13107 renaming of insertInsetAllowed
13109 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13111 * text2.C (getInset): new method. returns inset at cursor position.
13113 * BufferView_pimpl.C (Dispatch): changes because of this.
13115 * LyXAction.C (init): rename open-stuff to inset-toggle.
13117 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13119 * text2.C (toggleInset): renamed from openStuff; use
13122 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13124 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13126 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13128 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13130 * buffer.C (readLyXformat2): Add filename to the error dialog
13132 2001-07-18 Juergen Vigna <jug@sad.it>
13134 * tabular.C (GetCellNumber): put an assert here instead of the check!
13136 2001-07-17 Juergen Vigna <jug@sad.it>
13138 * BufferView_pimpl.C (toggleSelection): adapted too.
13140 * text.C (selectNextWord): adapted for use with insets.
13141 (selectSelectedWord): ditto
13143 2001-07-17 Juergen Vigna <jug@sad.it>
13145 * sp_spell.C (PSpell): fix initialitation order.
13147 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * paragraph.C: spacing
13151 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13153 * sp_spell.C: repair language selection for pspell
13155 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * lyxfunc.h: change more methods to begin with lower char.
13159 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13161 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13162 for unknown layouts.
13164 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13166 * buffer.C (readLyXformat2): Generate an error dialog if there are
13169 2001-07-16 Juergen Vigna <jug@sad.it>
13171 * sp_spell.C: always compile ISpell part.
13173 * lyxrc.C: added use_pspell entry and it's handling.
13175 2001-07-13 Juergen Vigna <jug@sad.it>
13177 * sp_spell.C: removed double includes.
13179 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13181 Consistent use of Lsstream.h:
13182 * Lsstream.h: added using std::stringstream for consistencies sake.
13184 * buffer.C: removed using std::stringstream
13186 * lyxfont.C (stateText):
13187 * paragraph.C (asString):
13188 * text.C (selectNextWord, selectSelectedWord):
13189 * text2.C (setCounter):
13190 * vspace.C (asString, asLatexString):
13191 std::ostringstream -> ostringstream.
13193 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13195 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13196 * commandtags.h: add LFUN_HELP_ABOUTLYX
13197 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13199 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13201 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13203 * lyx_gui_misc.C: remove spellchecker
13204 * lyxfunc.C: showSpellchecker
13206 * sp_ispell.h: added
13207 * sp_pspell.h: added
13208 * sp_spell.C: added
13209 * sp_form.[Ch]: removed
13210 * spellchecker.[Ch]: removed
13212 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13214 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13216 (simpleTeXSpecialChars): Simply print the input character without
13217 any special translation if pass_thru is set.
13219 * layout.h: Added bool pass_thru to layout class for being able to
13220 implement pass through of a paragraph for Literate Programming.
13222 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13223 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13224 * layout.C (Read): add "passthru" to list of layout tags and add
13225 code to set the pass_thru boolean when it is read.
13227 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13229 * trans_decl.h: remove allowed from KmodInfo
13231 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13232 remove allowed code
13235 * paragraph_pimpl.C (erase): use boost::prior
13237 * Painter.C (text): use data() instead of c_str() when length is
13239 * WorkArea.C (putClipboard): ditto
13240 * font.h (width): ditto
13242 * BufferView2.C: use it-> instead of (*it). for iterators
13244 * paragraph_pimpl.C: ditto
13245 * paragraph.C: ditto
13246 * minibuffer.C: ditto
13247 * language.C: ditto
13249 * encoding.C: ditto
13250 * counters.C: ditto
13251 * converter.C: ditto
13253 * Variables.C: ditto
13254 * TextCache.C: ditto
13255 * MenuBackend.C: ditto
13256 * LyXAction.C: ditto
13258 * FloatList.C: ditto
13259 * DepTable.C: ditto
13260 * ColorHandler.C (LyXColorHandler): ditto
13262 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13266 * text2.C (openStuff): reintroduce this method (which had been
13267 nuked in NEW_INSETS frenzy).
13269 * lyxfunc.C (Dispatch): when an action has not been handled, use
13270 its name in the error message, not its number.
13272 * paragraph.C (inInset): change method name to begin with lowercase.
13275 * text2.C: updates because of this.
13277 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13279 * ToolbarDefaults.C (add): add spaces in error message
13281 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13284 (readLyXformat2): rename return_par to first_par, use lyxlex's
13285 pushToken and remove the manual push handling.
13286 (parseSingleLyXformat2Token): add another ert comp. variable:
13287 in_tabular, rename return_par to first_par. handle newlines better
13289 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13293 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * text2.C (getParFromID): removed
13297 * buffer.C (getParFromID): new method moved form lyxtext.
13298 * BufferView2.C (insertErrors): adjust
13299 (setCursorFromRow): adjust
13300 * BufferView_pimpl.C (restorePosition): adjust
13301 * lyxfunc.C (Dispatch): adjust
13302 * undo_funcs.C (textUndo): adjust
13304 (textHandleUndo): adjust
13305 (textHandleUndo): adjust
13307 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * buffer.C: up' the LYX_FORMAT
13311 * lyxfont.h: turn NO_LATEX on as default
13313 * buffer.C (insertErtContents): new methods of tex style compability.
13314 (parseSingleLyXformat2Token): use it several places.
13315 * tabular.C (OldFormatRead): and here
13317 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * text2.C: remove some commented code.
13322 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13323 * trans.C: changes because of the above.
13325 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13327 * text2.C (setCounter): Fix counters bug with bibliography layout.
13329 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13332 own member functions
13333 (simpleTeXSpecialChars): ditto
13335 2001-07-06 Juergen Vigna <jug@sad.it>
13337 * a lot of files: changed the access to LyXText::status and the
13338 call of undo-functions.
13340 * undo.[Ch]: added a inset_id to the undo informations.
13342 * undo_funcs.[Ch]: added and moved here all undo functions.
13344 * lyxtext.h: give the status enum a weight, made status_ a private
13345 variable and made accessor functions for it, removed the whole bunch
13346 of undo-functions as they are now in their own file, make some
13347 functions publically available. Added function ownerParagraph with
13350 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13351 made InInset() a const function, added getParFromID() function.
13353 * buffer.[Ch]: added const version for inset_iterator functions,
13354 added getInsetFromID() function.
13356 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13357 changed undo functions for new version.
13359 2001-07-05 Juergen Vigna <jug@sad.it>
13361 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13362 unknow mechanism does not call the proper constructor but only this
13363 one also if I request the other!?
13365 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13369 * text2.C (LyXText): use initialization lists.
13371 * lyxtext.h (Selection): initialize set_ and mark_
13372 (init): remove method
13374 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13376 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13378 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * screen.[Ch]: change method names to begin with lowercase
13382 * BufferView_pimpl.C (updateScrollbar): simplify further and
13383 hopefully make it a bit faster.
13385 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13387 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13388 calling directly xforms functions.
13390 * Painter.C (Painter):
13391 * lyx_cb.C (MenuWrite):
13392 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13395 * lyx_gui.C: remove bogus guiruntime extern declaration.
13397 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13401 (redoDrawingOfParagraph): ditto
13402 (redoParagraphs): ditto
13403 (cutSelection): don't create a object for CutAndPaste use the
13404 static method directly
13405 (pasteSelection): ditto
13407 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13410 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * modifications to some other files because of this.
13414 * Makefile.am (lyx_SOURCES): add XFormsView
13416 * XFormsView.[Ch]: new files
13418 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13419 the main window. Move the gui dependent stuff to XFormsView
13421 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * tabular.C (GetCellInset): update cur_cell also in the row/col
13424 version of this function.
13426 * lyxfunc.C: no need to include figure_form.h here.
13432 * lyxvc.C: no need to include forms.h here.
13434 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13438 * lyxfunc.C (Dispatch):
13440 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13441 constructor argument.
13443 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * paragraph.C (Paragraph): dont't clear, and just set layout.
13446 (makeSameLayout): use params's copy contructor.
13448 * ParagraphParameters.[Ch] (makeSame): delete method
13450 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13452 * Variables.[Ch]: fix indentation, rename set to isSet
13454 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * lyxfunc.C (Dispatch): fix typo
13458 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13463 * bufferlist.C: include assert.h for emergencyWrite().
13465 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13467 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13468 give up at last (bug #425202) !
13470 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13476 * spellchecker.C: strip spellchecker options and bring up
13477 preferences tab instead
13479 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13481 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13482 the istringstream constructor
13484 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13486 * paragraph.C (getLayout): fix return value
13488 * paragraph.h: do not declare getLayout as inline.
13490 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13492 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13494 * lyxcursor.h (operator<): new func
13495 (operator>): new func
13496 (operator>=): new func
13497 (operator<=): new func
13499 * text.C (changeCase): use selection.start and selection.end
13500 (changeRegionCase): require from to be <= to. Require par to be a
13503 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13505 2001-06-27 Juergen Vigna <jug@sad.it>
13507 * text.C (cursorLeftOneWord): changed to return the cursor and added
13508 overlay with BufferView * parameter which calls this one.
13510 (selectWord): use new getWord function.
13511 (changeCase): renamed from changeWordCase as and extended to work
13512 also on selections.
13514 * lyxtext.h: added enum word_location
13516 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13517 changeCase as this operates now also on selections.
13519 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13521 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13523 * many files: send debug output to Debug::INFO instead of
13526 * converter.C (View):
13528 (Move): send debug output to Debug::FILES instead of console.
13530 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13532 * lyxfunc.C (getStatus): use func_status
13534 * func_status.h: new header, describing the results of
13535 LyXFunc::getStatus;
13537 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13540 2001-06-25 The LyX Project <jug@sad.it>
13542 * buffer.C (sgmlOpenTag):
13544 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13546 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * text2.C: remove some dead code
13550 * tabular.C (GetCellInset): store the last cell checked (gotten)
13552 * tabular.h: add the helper for the speedup
13554 * lyxtext.h: remove some dead code
13556 2001-06-26 The LyX Project <Asger>
13558 * paragraph.C: Change export to LaTeX of alignment to
13559 \begin{center} and family for better roundtrip work with reLyX.
13561 * Tune the math drawing a bit.
13563 2001-06-25 The LyX Project <Asger>
13565 * LColor.C (LColor): New color for math background. New color
13568 2001-06-25 The LyX Project <jug@sad.it>
13570 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13572 * lyxfunc.C (Open):
13573 * bufferlist.C (newFile): do not restrict to files ending with
13576 * BufferView_pimpl.C (MenuInsertLyXFile):
13578 2001-06-24 The LyX Project <jug@sad.it>
13580 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13583 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13585 * lyxtext.h: rename most methods to begin with a small char.
13586 Lots of changes because of this.
13588 * paragraph.C (Paragraph): do not call fitToSize
13589 (erase): call Pimpl::erase
13590 (insertChar): call Pimpl::insertChar
13591 (insertInset): call Pipl::insertInset
13592 (breakParagraph): do not call fitToSize
13593 (breakParagraphConservative): do not call fitToSize
13594 (fitToSize): remove method
13596 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13598 2001-06-24 The LyX Project <Asger>
13600 * Fix Qt compilation^2
13602 2001-06-24 The LyX Project <jug@sad.it>
13604 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13605 depthHook(getDepth()-1).
13608 * ParagraphParameters.h:
13609 * ParameterStruct.h: change type of depth to unsigned int ==
13610 depth_type. Many adaptations to other files before of that.
13612 2001-06-24 The LyX Project <Asger>
13614 * Fix Qt compilation.
13616 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * paragraph.h: renamed several methods to begin with small letter.
13619 several changes to many parts of the code because of this.
13621 2001-06-23 The LyX Project <jug@sad.it>
13623 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13624 rewritten to discard all double spaces when KeepEmpty is off
13625 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13626 to only handle newlines but not fiddle with spaces and friends.
13628 * lyxfunc.C (MenuNew): when doing 'new from template', use
13629 template_path as default directory
13631 2001-06-23 The LyX Project <Asger>
13633 * Clean-up of header file includes all over
13634 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13636 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13638 * paragraph.h: renamed from lyxparagraph.h
13640 2001-06-23 Asger <lyx@violet.home.sad.it>
13642 * Buffer.h: Removed Buffer::resize
13643 * BufferList.h: Removed BufferList::resize
13644 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13645 the document lazily when we change the width, or the font settings.
13647 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13649 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13651 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13653 * buffer.h: remove out of date comment
13655 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13658 * screen.C: fix "theoretical" GC leak
13660 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * LaTeX.C (scanAuxFile):
13663 (deplog): remove trailing \r when reading stream (useful under
13666 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13668 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13669 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13670 and BufferView::theLockingInset(Inset*), so should use them and not
13671 access bv_->text->the_locking_inset directly.
13673 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13675 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13678 * tex-defs.h: remove old unused file
13680 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13682 * BufferView_pimpl.C: fix typo, remove minibuffer message
13683 when buffer has loaded
13685 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * lyxfunc.C (Dispatch): use stringstream
13688 (MenuNew): use stringstream
13689 (Open): use stringstream
13691 * importer.C (Import): use stringstream
13693 * bufferview_funcs.C (CurrentState): use stringstream
13695 * LaTeX.C (run): use stringstream
13697 * BufferView_pimpl.C (savePosition): use stringstream
13698 (restorePosition): use stringstream
13699 (MenuInsertLyXFile): use stringstream
13701 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13714 * vspace.C: removed // -*- C++ -*- as first line.
13717 * version.h: added // -*- C++ -*- as first line.
13719 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13723 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13726 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13731 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * gettext.C: include LString.h even when --disable-nls is on.
13735 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13737 * converter.h (Get): changed argument type from int to
13738 FormatList::size_type to avoid unnecessary conversion.
13740 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13743 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * gettext.h: include LString.h even when --disable-nls is on.
13747 2001-06-07 Juergen Vigna <jug@sad.it>
13749 * text.C (BreakAgain): subst spaces with tabs.
13751 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13752 (resizeInsetsLyXText): set force on resizeLyXText.
13754 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13756 * gettext.h (gettext_init):
13757 (locale_init): use a real definition instead of a macro
13759 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13761 * Bufferview_pimpl.C:
13763 * LColor.C: further lcolor tidies
13765 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * BufferView_pimpl.C (updateScrollbar): simplify.
13769 * BufferView2.C: don't include insets/insetinfo.h, change
13770 prototype for insertInset and call the Pimpl version. let
13771 updateInset call Pimpl version.
13773 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13774 gotoInset to BufferView::Pimpl
13776 2001-06-01 Juergen Vigna <jug@sad.it>
13778 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13779 inside a LockingInset (is the update needed at all?).
13781 2001-05-31 Juergen Vigna <jug@sad.it>
13783 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13784 here not the old one otherwise how should we compare it afterwards
13787 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13792 * FontInfo.C: bring C functions into global namespace when
13795 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13797 * LString.h: make sure config.h has been loaded before LString.h.
13799 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13800 (one for each char read by EatLine!).
13802 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13805 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13808 to the same as the par we break from
13810 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13814 * MenuBackend.C (expand): also create menu entries for wide
13815 versions of the floats.
13817 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13819 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13821 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13822 frontends/Makefile.am
13828 * tabular.C (getTokenValue): add std::
13830 * tabular-old.C (getTokenValue): add std::
13831 (getTokenValue): ditto
13832 (getTokenValue): ditto
13834 * screen.C (ToggleSelection): adjust
13836 * lyxtext.h: put selection cursors inside a Selection struct.
13838 * lyxfunc.C (moveCursorUpdate): adjust
13840 * lyxfont.C (latexWriteStartChanges): add std::
13842 * lyxfind.C: adjust
13844 * font.h: delete with(char const *, LyXFont const &)
13846 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13848 * FontInfo.C (getFontname): add std::
13850 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13851 (workAreaButtonPress): adjust
13852 (tripleClick): adjust
13854 (moveCursorUpdate): adjust
13857 * BufferView2.C (gotoInset): adjust
13859 2001-05-30 Juergen Vigna <jug@sad.it>
13861 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13862 to check pspell I add this as default as I now have new pspell
13863 libraries and they seem to use this.
13865 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * text2.C (CutSelection): make the cursor valid before the call to
13870 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13873 relied on 0 terminated strings and other horrors. Bug found due to
13874 the new assert in lyxstring!
13876 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13879 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13881 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13884 * lyxfunc.C (processKeySym): change method of getting to the
13887 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13888 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13889 * BufferView_pimpl.[Ch]: here as private methods.
13891 2001-05-28 Juergen Vigna <jug@sad.it>
13893 * text.C (SetHeightOfRow): added the update() call again as it is
13894 needed to initialize inset dimensions!
13896 2001-05-16 Juergen Vigna <jug@sad.it>
13898 * text2.C (SetCharFont): Add new function with BufferView * and
13899 bool toggleall parameters for setting insets internal fonts.
13900 (SetFont): Freeze the undo as we may change fonts in Insets and
13901 all this change should be inside only one Undo!
13903 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13904 setting font's in insets as for them we have the SetFont function!
13906 2001-05-15 Juergen Vigna <jug@sad.it>
13908 * text2.C (ClearSelection): to be sure we REALLY don't have any
13911 * tabular.C (TeXCellPreamble): fixed the left border problem for
13914 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13916 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13919 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13922 LFUN_BREAKPARAGRAPH.
13924 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13925 help test to "internal only", similar for LFUN_INSERT_URL
13927 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13928 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13929 auto_region_delete and deadkeys.
13931 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13934 * LColor.C: remove some dead entries, tidy a little
13936 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13940 (Dispatch): implement LFUN_ESCAPE
13942 * commandtags.h: add LFUN_ESCAPE
13944 * LyXAction.C (init): add entry for LFUN_ESCAPE
13946 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13947 Remove commented code.
13948 (insertNote): moved here
13949 (open_new_inset): moved here
13951 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13954 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * kbmap.C (findbinding): clean it up and make it work correctly.
13958 * lyx_main.C (init): do not pass argc and argv as parameters
13960 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13962 * buffer.C: fix path for OS/2 & Win32
13966 * lyx_main.C: Added os:: class.
13968 * os2_defines.h: update
13970 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13972 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13973 better by trying again with reduced state.
13975 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * lyxrc.C (read): print error about invalid key sequence only when
13978 debugging (because not all latinX keysyms are known to some X
13981 * kbsequence.C (getiso): add a few std:: qualifiers
13982 (getiso): comment out extra return statement.
13984 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13986 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13988 (Dispatch): enhance the accent inset a bit. (not perfect)
13990 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13992 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13994 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13996 * bufferlist.C (emergencyWrite): fix assert() call
13998 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14000 * text.C (InsertChar): Added trivial patch to only send the "you
14001 can not do multiple spaces this way" message once during a
14004 2001-05-08 Baruch Even <baruch@lyx.org>
14006 * Makefile.am: Changed order of libraries to get LyX to link properly
14007 with the gnome frontend.
14009 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * LaTeXFeatures.h: add a std:: qualifier
14013 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14015 * paragraph.C (String): use stringstream
14017 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14019 * paragraph.C (writeFile): remove footflag arg
14021 * buffer.C (makeLaTeXFile): use stringstream
14022 (latexParagraphs): remove footnot gurba
14024 * LaTeXFeatures.C (getPackages): use stringstream
14025 (getMacros): likewise
14026 (getTClassPreamble): likewise
14027 (getFloatDefinitions): new method
14029 * paragraph.C (writeFile): reindent
14032 * WorkArea.h: revert the xpos + etc changes.
14034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14036 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14038 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14039 (pasteSelection): likewise
14040 * text2.C (CreateUndo): likewise
14042 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * minibuffer.C (peek_event): temporarily reduce the functionality
14045 of the minibuffer (to allow args on lfuns)
14047 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14048 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14050 * buffer.C (readInset): add compability reading of old float
14051 lists, add reading of new style float list.
14052 (readInset): avoid reevaluation of inscmd.getCmdName()
14053 (getLists): reindent
14055 * MenuBackend.C (MenuItem): implement parsing of
14056 md_floatlistinsert and md_floatinsert.
14057 (expand::LastFiles): move initalizaton of iterators out of loop,
14058 avoid reevaluation.
14059 (expand::Documents): introduce typdedef vector<string> Strings,
14061 (expand::ExportFormats): introduce typedef vector<Format const *>
14062 Formats, and use it.
14063 (expand): implement FloatListInsert and FloatInsert.
14065 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14066 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14067 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14069 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14071 (Dispatch::LFUN_FLOAT_LIST): implement
14073 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14075 * LaTeX.C (run): Fix problem with --export code.
14077 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14079 * BufferView.[Ch] (workarea): removed.
14080 (getClipboard) new method; wrapper for workarea()->getClipboard()
14082 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14085 * WorkArea.h (width, height, xpos, ypos): These methods all
14086 returned the dimensions of the work_area sub-area of WorkArea,
14087 resulting in a position error if the WorkArea were resized. Now
14088 return the dimensions of the entire WorkArea.
14090 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14092 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * LaTeX.C (deplog): correct the syntax of regex reg1
14096 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * undo.C: remove !NEW_INSETS cruft
14100 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * text2.C: remove !NEW_INSETS cruft
14104 * text.C: remove !NEW_INSETS cruft
14106 * tabular.C: remove !NEW_INSETS cruft
14108 * spellchecker.C: remove !NEW_INSETS cruft
14110 * lyxtext.h: remove !NEW_INSETS cruft
14112 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14114 * lyxfunc.C: remove !NEW_INSETS cruft
14116 * lyxfind.C: remove !NEW_INSETS cruft
14118 * lyx_cb.C: remove !NEW_INSETS cruft
14120 * figureForm.C: remove !NEW_INSETS cruft
14122 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14124 * buffer.[Ch]: remove !NEW_INSETS cruft
14126 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14128 * CutAndPaste.C: remove !NEW_INSETS cruft
14130 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14132 * BufferView2.C: remove !NEW_INSETS cruft
14134 * BufferView.h: remove !NEW_INSETS cruft
14136 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * Lsstream.h: include LString.h before the sstream headers to
14139 fix problem with gcc 2.95.3 and lyxstring
14141 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14143 * lyx_main.C: add using directives when needed for C functions
14144 declared in std:: namespace.
14146 2001-04-27 Juergen Vigna <jug@sad.it>
14148 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14149 (SetHeightOfRow): comment out the update call should not be needed!
14151 2001-04-13 Juergen Vigna <jug@sad.it>
14153 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14154 (LyXTabular): tried to minimize operator= operations (and realized
14155 hopfully Lars wish).
14157 2001-04-27 Juergen Vigna <jug@sad.it>
14159 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14161 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14165 * buffer.C (readInset): hack to make listof algorithm work
14167 * BufferView_pimpl.C: hack to make listof algorithm work
14169 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14171 * LyXAction.C: removed all !NEW_INSETS cruft
14172 (init): moved lfun_item in method
14174 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14176 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14178 * BufferView2.C (theLockingInset): white space.
14180 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * minibuffer.C: include <iostream>
14184 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14186 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14188 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14190 * text.[Ch] (TransposeChars): new method
14192 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * call message directly through LyXView instead of through LyXFunc
14195 * BufferView2.C: adjust
14196 * BufferView_pimpl.C: adjust
14197 * FontLoader.C: adjust
14199 * bufferview_funcs.C: adjust
14200 * converter.C: adjust
14201 * figureForm.C: adjust
14202 * importer.C: adjust
14204 * lyx_gui_misc.C: adjust
14205 * lyxfunc.C: adjust
14208 + more files in subdirs
14210 * lyxparagraph.h (size): move up int file
14213 * adjust all uses of Assert to lyx::Assert.
14215 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14216 lyxfunctional in namespace lyx
14217 * layout.C (hasLayout): ditto
14220 (delete_layout): ditto
14221 (NumberOfClass): ditto
14222 * converter.C (GetFormat): ditto
14227 * bufferlist.C (getFileNames): ditto
14228 (emergencyWriteAll): ditto
14231 * MenuBackend.C (hasSubmenu): ditto
14234 * BufferView_pimpl.C (getInsetByCode): ditto
14236 2001-04-18 Juergen Vigna <jug@sad.it>
14238 * vspace.C (asLatexString): fixed the 100% problem.
14240 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * lyxfunc.C (Dispatch):
14244 * minibuffer.h: add a few std:: qualifiers
14246 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * minibuffer.[Ch]: reimplement so that commands is initiated and
14249 run from lyxfunc, simplified som handling, and made the completion
14250 and history code for complete. wip.
14252 * lyxfunc.C (processKeySym): call message
14253 (miniDispatch): new temporary method
14254 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14255 (LFUN_MESSAGE): implement
14256 (LFUN_MESSAGE_PUSH): implement
14257 (LFUN_MESSAGE_POP): implement
14258 (initMiniBuffer): the initial/defualt minibuffer message.
14260 * lyxfont.[Ch]: inline some more getters
14262 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14264 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14266 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14267 (AutoSave): use LFUN_MESSAGE
14268 (Reconfigure): ditto
14270 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14272 * figureForm.C: use LFUN_MESSAGE
14274 * converter.C (runLaTeX): use LFUN_MESSAGE
14276 * bufferview_funcs.C: use LFUN_MESSAGE
14278 (changeDepth): ditto
14280 * bufferparams.h: use boost::
14282 * bufferlist.h: inherit privately from noncopyable
14284 * bufferlist.C (loadLyXFile): remove some commented code.
14286 * buffer.C (runChktex): use LFUN_MESSAGE
14288 * ShareContainer.h: inherit privately from noncopyable
14290 * ParagraphParameters.[hC] (depth): inline it.
14292 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14294 (message): new method
14295 (messagePush): ditto
14296 (messagePop): ditto
14297 (show): init minibuffer
14298 (showState): direct call
14300 * LaTeX.[Ch]: inherit privately from noncopyable
14301 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14302 instead of WriteStatus.
14304 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14306 * BufferView_pimpl.C (buffer): don't init minibuffer
14307 (workAreaButtonPress): use LFUN_MESSAGE
14308 (workAreaButtonRelease): ditto
14309 (savePosition): ditto
14310 (restorePosition): ditto
14311 (MenuInsertLyXFile): ditto
14312 (workAreaExpose): don't init minibuffer
14313 (update): remove commented code, simplify
14315 * BufferView2.C (openStuff): use LFUN_MESSAGE
14316 (toggleFloat): ditto
14319 (copyEnvironment): ditto
14320 (pasteEnvironment): ditto
14325 (updateInset): remove some commented code
14327 * lastfiles.h: inherit privately from noncopyable
14330 * lyx_main.h: ditto
14332 * lyxlex_pimpl.h: ditto
14334 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14335 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14336 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14338 * LyXAction.h: inherit privately from noncopyable, add methods
14339 func_begin, func_end, returning iterators to the func map.
14341 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14342 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14343 (func_begin): new method
14344 (func_end): new method
14346 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14348 (copySelection): ditto
14349 (pasteSelection): ditto
14351 * BufferView.C: whitespace change
14352 * BufferView.h: inherit privately from noncopyable
14354 2001-04-16 Allan Rae <rae@lyx.org>
14356 * tabular-old.C (l_getline):
14357 * spellchecker.C (sc_check_word):
14358 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14359 an unrecognised preprocessor directive. So ensure they're wrapped.
14361 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14363 * src/exporter.C (Export): Give an error message when path to file
14366 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14368 * LaTeX.C (deplog): Always check that foundfile exists.
14370 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14373 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14375 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14377 * tabular.[Ch] (getLabelList): implement new method
14379 * minibuffer.h: comment ouf setTiimer
14381 * minibuffer.C (ExecutingCB): constify res
14382 (peek_event): constify s
14383 (Set): constify ntext
14384 (Init): constify nicename
14386 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14388 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14389 (savePosition): use two params to Minibuffer::Set
14390 (restorePosition): ditto
14392 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * lyx_main.C: include language.h
14396 * Makefile.am (lyx_main.o): add language.h
14398 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * CutAndPaste.C: include gettext.h
14406 * lyxfont.h: remove old hack with ON and OFF.
14409 * lyxfont.h: do not include language.h...
14414 * bufferview_funcs.C:
14420 * paragraph.C: ... but do it here instead
14422 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14424 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14426 * tabular.C: small reformat
14428 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14431 (BreakParagraph): ditto
14432 (SetOnlyLayout): ditto
14435 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14438 * lastfiles.C: removed most using decl, add std:: where needed
14440 * buffer.C: ws changes
14442 * MenuBackend.C (class compare_format): put into anon namespace
14443 (expand): constify label, names, action, action2
14446 * text.C (SingleWidth): constify font
14447 (IsBoundary): constify rtl2
14448 (GetVisibleRow): constify ww
14450 * LaTeX.C (deplog): constify logfile
14452 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14454 (workAreaExpose): constify widthChange, heightChange
14456 * lyxrow.C (par): moved
14459 * lyxrow.h: as inlines here
14461 * lyxfont.h (shape): moved from lyxfont.C
14462 (emph): moved from lyxfont.C
14464 * lyxfont.C (LyXFont): use initialization list for all
14466 (shape): move to lyxfont.h as inline
14467 (emph): move to lyxfont.h as inline
14470 2001-04-04 Juergen Vigna <jug@sad.it>
14472 * vspace.C: had to include stdio.h for use of sscanf
14474 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14477 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14478 independent of xforms.
14480 2001-04-02 Juergen Vigna <jug@sad.it>
14482 * spellchecker.C: fixed namespace placing!
14484 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14486 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14487 the LyXParagraph * is 0.
14489 2001-03-29 Juergen Vigna <jug@sad.it>
14491 * vspace.C: added support for %, c%, p%, l%.
14492 (stringFromUnit): added helper function.
14493 (asLatexString): changed to give right results for the %-values.
14495 * buffer.C: convert the widthp in a width%.
14497 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14499 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14502 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14503 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14505 * lyx_cb.[Ch]: see above.
14507 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14511 * lyx.[Ch]: replaced by figure_form.[Ch].
14515 * lyxfunc.C: changed headers associated with above changes.
14517 2001-03-27 Juergen Vigna <jug@sad.it>
14519 * BufferView_pimpl.C: set the temporary cursor right!
14521 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14523 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14525 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14527 * LString.h: removed "using std::getline"!
14529 * BufferView_pimpl.C (Dispatch): changes due to changes in
14530 InsetInclude::Params.
14532 * buffer.C (tag_name): removed redundant break statements as they were
14533 producing lots of warnings with my compiler.
14535 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14537 * LString.h: add "using std::getline" when using the real <string>.
14539 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14541 * buffer.C: removed bitset usage.
14542 PAR_TAG moved to an anonymous name space.
14543 (tag_name): new funtion, also in the anonymous namespace.
14544 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14545 (makeDocBookFile): clean code. Completed transition from string arrays
14547 (SimpleDocBookOnePar): code clean.
14549 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14551 * tabular.C: add some comments.
14553 2001-03-22 Juergen Vigna <jug@sad.it>
14555 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14556 compatibility read a bit and fixed bug with minipage in different
14559 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14561 * buffer.C (pop_tag): removed.
14562 (push_tag): removed.
14563 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14564 array replaced with vector. Added support for CDATA sections.
14565 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14567 (makeDocBookFile): XML conformant declaration of CDATA section,
14568 fixed bug related to <emphasis> in the first paragraph char.
14569 (sgmlOpenTag): exclude empty tags.
14570 (sgmlCloseTag): ditto.
14572 * buffer.h (pop_tag): removed.
14573 (push_tag): removed.
14575 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14577 * language.h (Languages): added size_type and size().
14579 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14581 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14582 response on compability reading of minipages. One probliem is that
14583 the old usage of minipages was «flertydig»
14585 * several files here and in subdirs: don't use static at file
14586 scope use anon namespaces instead.
14588 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14590 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14591 LaTeX output. This is necessary for Literate document
14594 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14596 * buffer.C: insert hfill when needed.
14598 * tabular.C (l_getline): use string::erase, small whitespace change.
14600 * BufferView_pimpl.C: try the anon namespace.
14601 * WorkArea.C: ditto
14603 2001-03-16 Juergen Vigna <jug@sad.it>
14605 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14606 otherwise it won't open options-dialogs.
14608 * buffer.C: honor pextraWidth(p) on converting minipages.
14610 * tabular.C (l_getline): changed the functions to strip trailing \r.
14612 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14614 * BufferView_pimpl.C:
14615 * minibuffer..C: added "using SigC::slot" declaration.
14617 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14619 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14625 * paragraph.C: ditto
14627 * lyxtext.h: NO_PEXTRA
14629 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14631 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14632 * ParameterStruct.h: ditto
14633 * ParagraphParameters.h: ditto
14634 * lyxparagraph.h: ditto
14636 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14638 * buffer.C: add compability for minipage alignment.
14639 (latexParagraphs): remove unwanted pextra check.
14641 * several files: remove CXX_WORKING_NAMESPACES
14643 * buffer.C (pop_tag): tie is in namespace boost
14645 * BufferView.h: noncopyable is in namespace boost
14647 * lyx_main.h: ditto
14650 * lastfiles.h: ditto
14651 * bufferlist.h: ditto
14652 * ShareContainer.h: ditto
14654 * LyXAction.h: ditto
14657 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14659 * Merging changes from BRANCH_MVC back into HEAD.
14661 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14663 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14665 * BufferView_pimpl.C: change from intl.C
14669 * Makefile.am: move combox.*
14675 * intl.C: remove dialog (covered by prefs)
14677 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14679 * lyxfunc.C (Dispatch): removed redundant break statement.
14681 2001-03-14 Juergen Vigna <jug@sad.it>
14683 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14685 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14687 * buffer.C: add hack to fix compability reading of minipages.
14689 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14691 * buffer.C (getLists): Cleanup.
14693 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14695 * lyxfont.C (update): don't honor toggleall on font size.
14697 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14701 * Makefile.am: moved to frontends/xforms/
14705 * BufferView_pimpl.C: changes for moved mathpanel
14707 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14709 * gettext.h: fix gettext_init() in --disable-nls
14711 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14715 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14718 * lyx.h: strip external form
14720 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14722 * BufferView_pimpl.C: add comment, destroySplash()
14724 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14726 * BufferView_pimpl.C:
14730 * lyxfunc.C: use re-worked insetinclude
14732 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14734 * buffer.C: add using std::stringstream.
14736 * lyx_cb.C: readd using std::ios.
14738 * buffer.C: add using std::map.
14740 * BufferView_pimpl.C: add using std::vector.
14742 * ShareContainer.h: add std:: to swap.
14744 * buffer.h: add some typedefs
14745 * buffer.C (getLists): use them
14746 (getLists): renamed from getTocList.
14747 add a counter for the different float types and use it in the
14749 (getLists): use the same counter for the NEW_INSETS and the "non"
14752 * lyx_cb.h: remove unused items, includes, using etc.
14754 * ShareContainer.h: remove some commented code, add more comments
14755 and "documentation".
14757 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14759 * buffer.C (getTocList): make the list also when NEW_INSETS is
14762 * buffer.h: remove TocType
14764 * buffer.C (getTocList): change to return a map<string,
14765 vector<TocItem> >, implement for dynamic number of list.
14767 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14768 * text2.C (PasteSelection): adjust
14769 * CutAndPaste.C (pasteSelection): adjust
14771 * FloatList.C (FloatList): update from the new_insets branch.
14772 * Floating.[Ch]: ditto
14773 * LaTeXFeatures.C: ditto
14775 * lyxlex_pimpl.C: ditto
14777 * paragraph.C (Last): remove when NEW_INSETS is defined.
14779 * other file: changes because of the above.
14781 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14783 * lyxparagraph.h: rename next to next_, previous to previous_,
14784 make them private for NEW_INSETS. Rename Next() to next(),
14785 Previous() to previous().
14787 * other files: changes because of the above.
14789 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14792 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14795 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * main.C (main): pass lyx_localedir to gettext_init().
14799 * gettext.h: remove locale_init and gettext_init macros
14801 * gettext.C (locale_init): new function
14802 (gettext_init): new function
14804 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14807 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14809 * Moved credits to frontends:
14810 * credits.[Ch]: removed
14811 * credits_form.[Ch]: removed
14812 * lyx_gui_misc.C: remove credits stuff
14815 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14817 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14819 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14820 unneeded destructor.
14822 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14823 a standalone pointer again.
14825 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14827 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14833 * ToolbarDefaults.C:
14842 * BufferView_pimpl.C: use new file dialog in GUII
14845 * lyx_cb.C: remove LayoutsCB to Toolbar
14847 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * ShareContainer.h (get): add std:: qualifier
14851 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14853 * ShareContainer.h: define a proper ShareContainer::value_type
14854 type (and use typename to please compaq cxx)
14856 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14858 * lyxparagraph.h: move serveral local vars to
14859 ParameterStruct/ParagraphParameters., use ShareContainer in
14860 FontTable., make vars in FontTable private and add getter and
14863 * paragraph.C: changes because of the above.
14865 * lyxfont.h: remove copy constructor and copy assignment. (the
14866 default ones is ok), move number inside FontBits. move inlines to
14869 * lyxfont.C: add number to initializaton of statics, move several
14870 inlines here. constify several local vars. some whitespace
14871 cleanup. Dont hide outerscope variables.
14873 * Spacing.h: add two new constructors to match the set methods.
14875 * ShareContainer.h: new file, will perhaps be moved to support
14877 * ParameterStruct.h: new file
14879 * ParagraphParameters.h: new file
14881 * ParagraphParameters.C: new file
14883 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14884 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14886 * BufferView_pimpl.C: ParagraphParameter changes.
14887 * buffer.C: Likewise.
14888 * bufferview_funcs.C: Likewise.
14889 * text.C: Likewise.
14890 * text2.C: Likewise.
14892 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14894 * lyxfind.C (LyXReplace): do not redefine default argument in
14896 (IsStringInText): ditto
14897 (SearchForward): ditto
14898 (SearchBackward): ditto
14900 2001-03-06 Juergen Vigna <jug@sad.it>
14902 * lyxfind.C (IsStringInText): put parentes around expressions.
14904 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14906 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14908 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14910 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14912 * stl_string_fwd.h: add comment
14914 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14917 * tabular.C: remove unused DocBook methods
14923 killed DO_USE_DEFAULT_LANGUAGE
14925 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * lyx_gui.C: do not include language.h.
14929 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14930 arguments in function implementation.
14932 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14934 * BufferView_pimpl.C: add <ctime>
14936 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14938 * BufferView_pimpl.C: add using std::find_if
14940 2001-02-27 José Matos <jamatos@fep.up.pt>
14942 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14945 2001-02-11 José Matos <jamatos@fep.up.pt>
14947 * buffer.C (makeDocBookFile): command styles now have a parameter as
14948 "title" by default.
14950 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14952 * layout_forms.[Ch]: removed
14953 * lyx_cb.[Ch]: out character
14954 * lyx_gui.C: out character
14955 * lyx_gui_misc.C: out character
14956 * bufferview_funcs.C: : out character,
14957 added toggleall as parameter in ToggleAndShow
14959 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14961 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14963 * text2.C (SetCurrentFont): Disable number property at boundary.
14965 2001-02-26 Juergen Vigna <jug@sad.it>
14967 * lyxfunc.C (getStatus): added a string argument override function so
14968 that this is correctly called from LyXFunc::Dispatch if it contains a
14969 do_not_use_argument which is used!
14970 (Dispatch): added check for "custom" export and call appropriate func.
14972 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14974 * lyxrc.C: Add language_command_local, language_use_babel and
14975 language_global_options.
14977 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14979 * buffer.C (makeLaTeXFile): Use language_use_babel and
14980 language_global_options.
14982 2001-02-23 Juergen Vigna <jug@sad.it>
14984 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14985 which works with LyXText and putted it inside BufferView. Here now we
14986 only call for that part the BufferView::Dispatch() function.
14988 * BufferView.C (Dispatch): added.
14990 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14991 functions which needs to use a LyXText over from LyXFunc.
14992 (MenuInsertLyXFile): added
14993 (getInsetByCode): added
14994 (moveCursorUpdate): added
14995 (static TEXT): added
14997 2001-02-22 Juergen Vigna <jug@sad.it>
14999 * BufferView_pimpl.C (update): call a status update to see if LyXText
15002 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15004 * vc-backend.C (revert): implement for CVS
15005 (getLog): implement for CVS
15007 2001-02-20 Juergen Vigna <jug@sad.it>
15009 * text2.C (ClearSelection): added BufferView param for inset_owner call
15011 * lyxfunc.C (TEXT): added this function and use it instead of
15012 directly owner->view()-text of getLyXText().
15014 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15016 * src/layout_forms.C: out preamble
15017 * src/layout_forms.h: out preamble
15018 * src/lyx_cb.C: out preamble
15019 * src/lyx_cb.h: out preamble
15020 * src/lyx_gui.C: out preamble
15021 * src/lyx_gui_misc.C: out preamble
15022 * src/lyxfunc.C: connect with guii preamble
15024 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15026 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15028 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15030 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15031 whether to run bibtex.
15033 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15035 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15037 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15039 * Makefile.am (lyx_SOURCES): removed bibforms.h
15041 * vspace.h: doxygen
15043 * text.C (GetVisibleRow): make several local vars const
15045 * tabular.C: small cleanup.
15047 * lyxserver.C (callback): use compare instead of strncmp
15049 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15050 inlines to after class or to paragraph.C
15052 * lyxfont.h: remove friend operator!=
15054 * converter.h: move friend bool operator< to non friend and after
15057 * combox.h: small cleanup
15059 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15060 to inlines after class def.
15062 * buffer.C (pop_tag): use string operations instead of strcmp
15064 * bmtable.c: doxygen, small cleanup
15066 * LaTeX.h: remove friend operator==
15068 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15080 * BufferView_pimpl.C:
15081 * BufferView.[Ch]: remove cruft
15083 2001-02-14 Juergen Vigna <jug@sad.it>
15085 * lyxfunc.C: removed #if 0 unused code
15087 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15089 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15091 * text2.C (SetSelection): added a BufferView * parameter
15093 2001-02-13 Juergen Vigna <jug@sad.it>
15095 * lyxfunc.C (Dispatch): fixed protected blank problem.
15096 * BufferView2.C (protectedBlank): added LyxText * parameter.
15098 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15099 (AppendColumn): same as above for column_info.
15101 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15102 (moveCursorUpdate): use a LyXText param for support of InsetText.
15104 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15105 (tripleClick): ditto
15107 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15109 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15111 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15113 * text2.C (SetSelection): set correct update status if inset_owner
15114 (ToggleFree): ditto
15116 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15118 * tabular.C: remove some commented code.
15120 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15122 * BufferView_pimpl.C: call hideSplash()
15124 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15127 * bibforms.h: remove
15130 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15131 add LFUN_CHILD_CREATE
15133 * counters.h: fix tiny typo
15138 * lyx.C: move splash to frontends/xforms/
15140 * lyx_gui_misc.C: move Include and Bibform to frontends
15142 * lyxvc.h: clarify comment
15144 * vspace.C: tiny housekeeping
15146 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15148 * text.C (PrepareToPrint): RTL Fix.
15150 * paragraph.C (GetUChar): New method.
15151 (String): Use GetUChar.
15153 * buffer.C (asciiParagraph): Use GetUChar.
15155 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15157 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15159 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15162 * buffer.C: rename to getLogName(), handle
15163 build log / latex log nicely
15165 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * MenuBackend.h: remove support for reference menuitem type.
15170 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15172 * BufferView_pimpl.C: housekeeping
15173 * BufferView_pimpl.h:
15178 * minibuffer.h: move Timeout GUI-I
15180 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15182 * lyxrc.C (read): Update converters data-structures.
15184 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15186 * LaTeX.h (operator!=): add operator != for Aux_Info
15188 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15190 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15192 * LaTeXLog.C: deleted, useful code moved to Buffer
15195 * buffer.C: new function getLatexLogName()
15201 * lyxfunc.C: use frontends for LaTeX and VC logs
15203 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * LaTeX.h: yet another std:: that Allan forgot.
15207 * Variables.C (set): renamed from isset(), because this clashes
15208 with some HP-UX macros (grr).
15210 2001-02-06 Allan Rae <rae@lyx.org>
15212 * LaTeX.h: Another bug fix. Missing std:: this time.
15214 2001-02-04 Allan Rae <rae@lyx.org>
15216 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15217 floats problem. I've left it commented out because it's not quite
15218 correct. It should also test that the current object is a table or
15219 figure inset. But I haven't gotten around to figuring out how to do
15220 that. I *think* it'll be something like: "table" == inset.type()
15222 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15225 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15227 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15228 all the citation/databases/styles in the auxilary file.
15229 (run): Rerun latex if there was a babel language error.
15231 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15233 * text.C (Backspace): Preserve the font when changing newline char
15235 (BreakParagraph): If the cursor is before a space, delete the space.
15237 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15239 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15241 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15242 new argument (code).
15243 (ChangeCitationsIfUnique): New method.
15245 * paragraph.C (GetPositionOfInset): Handle bibkey.
15247 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * BufferView_pimpl.h: change type of Position::par_pos to
15250 LyXParagraph::size_type.
15252 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15254 * BufferView_pimpl.C (savePosition, restorePosition): Write
15255 messages to minibuffer.
15257 2001-01-28 José Matos <jamatos@fep.up.pt>
15259 * buffer.C (makeDocBookFile): adds support for document language.
15260 A silly restriction on the name of LatexCommand types where removed.
15261 Added support for CDATA sections, allows to chars unescaped, used
15262 among others in code, to avoid escape < and >.
15264 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15266 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15267 saved positions instrad of a stack. Furthermore, a position is
15268 stored using paragraph id/paragraph position.
15270 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15271 Remove LFUN_REF_BACK.
15273 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15275 * converter.C (dvipdfm_options): New method.
15277 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15279 * vspace.C (isValidLength): Fix for empty input string.
15281 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15283 * LyXAction.C (init): change description of LFUN_FIGURE to
15286 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * LaTeX.C: add using directive
15290 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15292 * MenuBackend.C (expand): Fix the sorting of the formats.
15294 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15296 * lyx_main.C: tiny error message fix
15298 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15301 calling fl_initialize(). This fixes the problem with ',' as
15302 decimal separator in text files.
15304 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15306 * trans.C (process): Fix the keymap bug.
15308 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15310 * LaTeX.C (scanAuxFiles): New method. Provides support for
15311 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15312 (scanLogFile) Scan for "run BibTeX" messages.
15314 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15315 OT1 font encoding. Also, load the aecompl package if the ae
15318 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15320 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * texrow.C (increasePos): turn two error messages into debug
15325 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15327 * LaTeX.C (scanAux): Handle the \@input macro.
15328 (runBibTeX): Use scanAux().
15330 * language.C (latex_options_): New field.
15332 * LaTeXFeatures.C (getMacros): Add language macros.
15334 * buffer.C (makeLaTeXFile): Small fix.
15336 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15338 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15340 * text2.C: add a using directive.
15342 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15347 * lyxfunc.C: kill LyXBell.
15349 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15351 * text.C (IsBoundary): Remove the error message
15353 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15355 * lyxrc.C (setDefaults): Correct initialization value for
15358 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15360 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15363 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15364 and GotoNextNote().
15366 * src/LyXAction.C: Added reference-next.
15368 * text.C (InsertChar): Use contains instead of strchr.
15370 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15372 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15374 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15375 alignment commands (when needed).
15377 * text.C (InsertChar): Add ':' to number separator chars.