2 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
4 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
6 2004-03-31 Angus Leeming <leeming@lyx.org>
8 * lyxfunc.C (dispatch): Fall through to the generic
9 Dialogs::show("preamble").
11 2004-03-31 Angus Leeming <leeming@lyx.org>
13 * lyxfunc.C (dispatch): Fall through to the generic
14 Dialogs::show("spellchecker").
16 2004-03-31 Angus Leeming <leeming@lyx.org>
18 * lyxfunc.C (getStatus, dispatch): changed invocation of the
21 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
31 * undo.[Ch]: s/DocumentIterator/DocIterator/g
33 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
35 * BufferView.C (setCursor, putSelectionAt): call edit to open the
36 insets where we are putting the cursor.
38 2004-03-31 Angus Leeming <leeming@lyx.org>
41 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
43 * lyxrc.[Ch] (read, write): overloaded member functions taking
44 a std::[io]stream arguments.
46 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
48 2004-03-31 Angus Leeming <leeming@lyx.org>
50 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
51 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
53 * lyxtextclass.C (load): if the text class couldn't be loaded, then
54 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
56 2004-03-31 Angus Leeming <leeming@lyx.org>
58 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
59 the LFUN_ALL_INSETS_TOGGLE code.
61 2004-03-30 Angus Leeming <leeming@lyx.org>
63 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
64 has died. Fall through to the generic Dialogs::show("document").
66 2004-03-30 Angus Leeming <leeming@lyx.org>
69 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
70 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
72 * lyxfunc.C (getStatus, dispatch): define the actions for these
73 lfuns. Little more than a cut and pste job from ControlDocument.C
75 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
77 2004-03-30 Angus Leeming <leeming@lyx.org>
80 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
81 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
83 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
84 open/closed state of ollapsable insets. Usage:
86 all-inset-toggle <state> <name>, where
87 <state> == "open" || "closed" || "toggle" and
88 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
90 * lyxtext.h, text2.C (toggleInset): removed.
92 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
93 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
94 now passes LFUN_INSET_TOGGLE to the found inset.
96 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
97 is now invoked as "all-insets-toggle toggle branch".
99 2004-03-30 Angus Leeming <leeming@lyx.org>
103 * pariterator.[Ch]: added/corrected header blurb.
105 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
107 * dociterator.[Ch]: add an inset_ member
108 (backwardPos): implemented
109 (backwardPos, forwardPos): use inset_ when the stack is empty.
110 (doc_iterator_begin, doc_iterator_end): implemented
111 * pariterator.[Ch]: adjust, add begin, end
112 * insetiterator.[Ch]: adjust, add begin, end
116 * BufferView_pimpl.C:
117 * CutAndPaste.C: adjust
119 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * buffer.C: increment file format to 232.
122 * LaTeXFeatures.C: add bibtopic package.
123 * bufferparams.[Ch]: param \use_bibtopic.
125 * lyxrc.[Ch]: add lyxrc bibtex_command
126 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
128 * buffer.C: increment file format to 231.
130 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
132 * dociterator.C: implement forwardPar
133 * iterators.[Ch]: remove, replaced by
134 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
136 * BufferView_pimpl.C:
139 * bufferview_funcs.C:
145 * Makefile.am: adjust
147 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
149 * CutAndPaste.C (pasteSelection): fix 2 crashes
150 (eraseSelection): fix a crash
151 * paragraph_funcs.C: remove a warning
153 2004-03-28 Angus Leeming <leeming@lyx.org>
156 * LyXAction.C (init): new LFUN_PRINT.
158 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
160 2004-03-27 Angus Leeming <leeming@lyx.org>
163 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
165 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
167 2004-03-27 Angus Leeming <leeming@lyx.org>
169 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
170 insetlist always contains non-null pointers to insets.
172 2004-03-26 Angus Leeming <leeming@lyx.org>
174 * src/BufferView_pimpl.C:
178 * src/output_plaintext.C:
179 * src/outputparams.h:
180 * src/paragraph_funcs.C:
184 * src/frontends/controllers/ControlErrorList.C:
185 * src/frontends/gtk/FileDialogPrivate.C:
186 * src/frontends/gtk/GPainter.C:
187 * src/frontends/gtk/GToolbar.C:
188 * src/frontends/qt2/QRef.C:
189 * src/mathed/math_scriptinset.C: squash compiler warnings.
191 2004-03-26 Angus Leeming <leeming@lyx.org>
193 * ispell.C (LaunchIspell::start):
194 * lyx_cb.C (AutoSaveBuffer::start):
195 invoke run(DontWait) rather than runNonBlocking().
197 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
199 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
201 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * kbsequence.C (print): adjust
205 * kbmap.C (printKeySym): rename and change signature
206 (printKey): use LyXKeySym::print()
208 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
210 * undo.C: add using std::advance to compile for stlport
212 2004-03-24 Angus Leeming <leeming@lyx.org>
214 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
215 it leads to a crash when no buffer is present.
217 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 Martin Vermeer <martin.vermeer@hut.fi>
220 * lyxfunc.C (dispatch):
221 * bufferparams.C (readToken): use the new LColor::setColor
223 * LColor.[Ch] (setColor): new version that takes two strings as
224 argument and creates a new color entry if necessary
226 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
228 * buffer.C (makeLaTeXFile): if the main latex file that is
229 processed is usually a subdocument of some master, then pretend
230 for a while that it is actually the master
232 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
234 * buffer.C (getLabelList):
235 (getBibkeyList): use getMasterBuffer()
236 (getMasterBuffer): new method. Returns the main document in the
237 case where one is using included documents.
239 2004-03-25 André Pönitz <poenitz@gmx.net>
243 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
245 * ParagraphList_fwd.h: change ParagraphList to a std::vector
247 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
248 text*.C over here. Rename namespace CutAndPaste to lyx::cap
250 * ParameterStruct.h: merge with ParagraphParameters
252 * lyxtext.h: remove LyXText::parOffset() and getPar()
254 * text3.C: Remove all 'manual' update calls. We do now one per user
255 interaction which is completely sufficient.
259 * BufferView_pimpl.C:
262 * ParagraphParameters.[Ch]:
274 * output_docbook.[Ch]:
276 * output_linuxdoc.[Ch]:
277 * output_plaintext.[Ch]:
279 * paragraph_funcs.[Ch]:
280 * paragraph_pimpl.[Ch]:
288 * frontends/controllers/ControlDocument.C:
289 * frontends/controllers/ControlErrorList.C:
290 * frontends/controllers/ControlSpellchecker.C:
293 * insets/insetbase.h:
294 * insets/insetbibitem.C:
296 * insets/insetbranch.C:
297 * insets/insetcaption.C:
298 * insets/insetcharstyle.C:
299 * insets/insetcharstyle.h:
300 * insets/insetcollapsable.C:
301 * insets/insetcollapsable.h:
303 * insets/insetfloat.C:
304 * insets/insetfoot.C:
305 * insets/insetmarginal.C:
306 * insets/insetnote.C:
307 * insets/insetoptarg.C:
308 * insets/insettabular.C:
309 * insets/insettext.C:
310 * insets/insettext.h:
311 * insets/insetwrap.C:
312 * mathed/math_mboxinset.C:
313 * mathed/math_nestinset.C:
314 * mathed/math_scriptinset.C:
315 * mathed/math_scriptinset.h:
318 2004-03-24 Angus Leeming <leeming@lyx.org>
320 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
321 deal with any child processes that have finished but are waiting to
322 communicate this fact to the rest of LyX.
324 2004-03-24 Angus Leeming <leeming@lyx.org>
326 64-bit compile fixes.
328 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
329 (c-tor): pass lyx::pos_types rather than ints.
331 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
334 * text.C (Delete): compile fix.
335 (getPar): ensure that function declaration is the same as that in
338 2004-03-23 Angus Leeming <leeming@lyx.org>
340 * ispell.C (LaunchIspell):
341 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
342 a boost::shred_ptr rather than a std::auto_ptr.
344 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * lyxfunc.C (getStatus): handle read-only buffers correctly;
347 handle LFUN_FILE_INSERT_*
349 * lyxrc.C (setDefaults, getDescription, output, read):
350 * lyxrc.h: remove ps_command
352 2004-03-22 Angus Leeming <leeming@lyx.org>
354 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
355 Ensure that error_handler is processed once only and that all data
356 is saved before attempting to output any warning messages.
358 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
360 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
362 * tabular.C (TeXRow): crash fix (from Kayvan and André)
364 2004-03-19 André Pönitz <poenitz@gmx.net>
366 * cursor.[Ch] (reset): take main text inset as argument
369 * BufferView_pimpl.C: adjust
371 * paragraph.[Ch]: fix completely broken operator=()
373 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * LColor.C (getFromLyXName): make sure that the color name is used
378 2004-03-17 Angus Leeming <leeming@lyx.org>
381 * LyXAction.C (init): remove LFUN_FORKS_KILL.
383 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
384 dialog and to kill a forked process.
386 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
388 * text2.C (setCursorFromCoordinates): fix font problem
390 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
392 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
393 bogus "rebuild cursor" code
395 2004-03-11 André Pönitz <poenitz@gmx.net>
397 * buffer.[Ch]: use InsetText instead of LyXText as container for
400 * dociterator.[Ch]: drop the BufferView * member which is not needed
401 anymore after the change to buffer.C
407 * BufferView_pimpl.[Ch]:
409 * cursor_slice.[Ch]: adjust
411 * text3.C: fix bug in mathDispatch
413 2004-03-08 André Pönitz <poenitz@gmx.net>
415 * undo.[Ch]: use 'StableDocumentIterator' as base for
418 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * bufferparams.[Ch]: add jurabib support and param.
423 * LaTeX.C: add FIXME/comment.
425 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
427 * buffer.C: increment file format to 230.
429 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
431 * cursor.C (dispatch): avoid infinite loops
433 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
435 * rowpainter.C (paintSelection): fix x coordinates
437 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
439 * text.C (rowBreakPoint): fix breaking before displayed insets
441 2004-03-01 André Pönitz <poenitz@gmx.net>
443 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
445 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
449 * BufferView_pimpl.C:
457 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
463 * BufferView_pimpl.C: rename textwidth -> maxwidth,
464 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
466 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
468 * Bidi.[Ch] (computeTables): const correctness
469 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
470 fill_hfill, fill_label_hfill and x from Row
471 * lyxtext.h: prepareToPrint returns a RowMetrics
472 * rowPainter.C: adjust
473 * text.C (prepareToPrint): use width, not textWidth. adjust
474 (redoParagraphInternal, cursorX): adjust
475 * text2.C (getColumnNearX): adjust
476 (init): put a default value to the top LyXText::width
478 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
480 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
482 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
484 * lyxtext.h: add FontIterator class
486 * text.C (FontIterator, operator*, operator->, operator++): add
487 (rowBreakPoint, setRowWidth): adjust (fixing a
490 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * BufferView_pimpl.C (workAreaDispatch): allow also
493 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
495 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
497 * text.C (rowBreakPoint): fix a bug showing with very large insets
499 2004-02-25 André Pönitz <poenitz@gmx.net>
502 * cursor.[Ch]: move some mathed specific code to mathed
504 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
506 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
507 use_tempdir in preferences
508 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
510 * lyx_main.C: ensure that tempdir is valid
511 * lyxlex.h: correct typo
512 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
513 * paragraph.[Ch] (isMultiLingual): make const
514 * cursor.[Ch] (openable): make const
516 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
518 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
520 2004-02-20 André Pönitz <poenitz@gmx.net>
522 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
524 * cursor.[Ch]: prepare for localized getStatus()
530 * text3.C: streamlines the LyXText cursor movement handlers a bit.
532 2004-02-20 André Pönitz <poenitz@gmx.net>
534 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
536 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
538 * text2.C (setCursorFromCoordinates): switch to absolute coords
541 * text3.C (dispatch): adjust
543 2004-02-16 André Pönitz <poenitz@gmx.net>
545 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
548 * cursor_slice.[Ch]: remove unneeded acessor function
550 * lyxtext.h: rename rtl() to isRTL()
558 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
560 * rowpainter.C (paintSelection): coord fix
562 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * Spacing.C: compile fix
566 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
568 * cursor.C (dispatch): restore current_ before returning
570 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
572 * text2.C (cursorUp, cursorDown): fix coords
575 2004-02-12 André Pönitz <poenitz@gmx.net>
580 * text3.C: add LCursor & parameter to most cursor movement functions
581 remove usage of LyXText::cursorRow() and cursorPar()
583 * cursor.[Ch]: add textRow() needed members
586 * BufferView_pimpl.C:
589 * BufferView_pimpl.C: adjust
591 2004-02-11 André Pönitz <poenitz@gmx.net>
595 * BufferView_pimpl.C: shift undo/redo handling
597 * cursor.[Ch]: fix mathed crash
600 * lyxtext.h: move selectionAsText to LCursor
608 * rowpainter.C: fix excessive drawing
610 2004-02-06 André Pönitz <poenitz@gmx.net>
613 * BufferView_pimpl.[Ch]:
614 * text3.C: move some text specific LFUN handling
616 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
618 * text3.C (checkInsetHit): adjust coords
619 * text2.C (getColumnNearX): adjust coords
620 (edit): adjust coords
621 * text.C (getRowNearY): add two asserts
623 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
626 * format.C: add using std::distance to compile on gcc 2.95/stlport
628 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
630 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
632 2004-02-04 André Pönitz <poenitz@gmx.net>
634 * BufferView.[Ch] (insertInset):
635 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
640 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
642 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
643 on the default clause of the switch
644 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
645 wasn't catched by LCursor::dispatch
647 2004-02-03 André Pönitz <poenitz@gmx.net>
650 * cursor.[Ch]: some additional asserts
652 * undo.[Ch]: remove LyXText dependency in interface
656 * lyxtext.h (firstPar, lastPar): remove dead functions
661 * paragraph.[Ch]: adjust
663 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
665 * lyxfind.C (find): fix argument order in call to ::find
667 2004-02-02 André Pönitz <poenitz@gmx.net>
669 * cursor.[Ch]: remove direct access to anchor
671 * text.C: remove findText() hack
673 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
675 * iterators.[Ch] (lockPath): remove in favour of...
676 * BufferView.[Ch] (setCursor): this addition
677 * BufferView.C (putSelectionAt): adjust
678 * undo.C (performUndoOrRedo): adjust
679 * lyxfunc.C (dispatch): adjust
681 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
683 * iterators.C (lockPath): add a missing slice
684 * undo.C (performUndoOrRedo): remove redundant positioning code
686 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
688 * vc-backend.C (scanMaster): ";" -> ';'
690 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
692 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
695 * lyxtextclass.C (compare_name): rename to...
696 (LayoutNamesEqual): ...this
698 * lyxlex_pimpl.C (compare_tags): inherit from
699 std::binary_function, put back into anon namespace
701 * lyxfind.C (MatchString): inherig from std::binary_function
702 (findChange): use empty() istead of !size()
704 * format.C (FormatNamesEqual): new functor
711 * converter.C (compare_Converter): rename to...
712 (ConverterEqual): ...this, and fixup a bit.
713 (getConverter): use it, and make function const
714 (getNumber): use it, and make function const
718 * bufferlist.C: add using boost::bind
720 * MenuBackend.C (MenuNamesEqual): new functor
721 (hasMenu): use it, and make function const
722 (hasSubmenu): use nested bind to get rid of compare_memfun.
724 2004-01-30 André Pönitz <poenitz@gmx.net>
726 * BufferView_pimpl.C:
737 * text3.C: move some of the edit(x,y) handling to the insets
738 some coordinate changes.
740 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * text.C: add using statements for std::advance and std::distance
744 * paragraph.C: add using statement for std::distance
746 * lyxfind.C: add using statement for std::advance
748 * cursor.C (region): remove std:: from swap
749 (openable): use nucleus in stead of operator->
751 * BufferView.C: add using statements for std::distance and std::swap
753 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * iterators.C: Remove the pimple, move the needed structures to
756 the header file. Create accessor for the positions stack.
757 (asPosIterator): remove function
759 * PosIterator.C (PosIterator): move constructors to top of file
760 (PosIterator): reimplement the constructor taking a ParIterator in
762 (setFrom): new function
763 (operator!=): inline it
765 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * lyxfind.C (replaceAll): use std::advance
769 * iterators.h: inherit from std::iterator.
771 * PosIterator.C (advance, distance): remove
772 * PosIterator.h: interit from std::iterator.
774 2004-01-26 André Pönitz <poenitz@gmx.net>
777 * BufferView_pimpl.[Ch]:
781 * bufferview_funcs.C:
792 * output_plaintext.C:
794 * paragraph_funcs.[Ch]:
795 * paragraph_pimpl.[Ch]:
801 * text3.C: more IU: dumps most of the rest of the mathcursor
802 implementation into cursor.[Ch]; "globalize" a bit of it.
804 2004-01-25 Angus Leeming <leeming@lyx.org>
806 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
808 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * LaTeXFeatures.h: add nice_ and nice() const
811 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
813 2004-01-20 André Pönitz <poenitz@gmx.net>
816 * BufferView_pimpl.C:
818 * bufferview_funcs.C:
831 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
832 LCursor and mathcursor parts to LCursor and InsetBase.
834 2004-01-15 André Pönitz <poenitz@gmx.net>
836 * cursor_slice.[Ch]: add a few covienience functions
838 * funcrequest.[Ch]: remove BufferView * member
840 * BufferView_pimpl.C:
847 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
849 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
851 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
852 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
854 2004-01-13 André Pönitz <poenitz@gmx.net>
857 * lyxtext.h: hide cursor and selection anchor behind accessor function
860 * BufferView_pimpl.[Ch]:
862 * bufferview_funcs.C:
872 * cursor_slice.[Ch]: some integer type changes for inset unification
874 * lyxcursor.[hC]: remove, it's CursorSlice now.
877 * BufferView_pimpl.[Ch]:
878 * bufferview_funcs.C:
884 * textcursor.[Ch]: adjust
886 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
888 * text2.C (undoSpan): add and use
889 * text.C (breakParagraph): use undoSpan (fix bug 578)
892 2004-01-08 Angus Leeming <leeming@lyx.org>
894 * BufferView_pimpl.C (MenuInsertLyXFile):
895 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
896 * lyxfunc.C (menuNew, open, doImport):
897 FileFilterList change to the FileDialog open and save functions.
899 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
901 * ShareContainer.h: make isEqual and isUnique adaptable
903 * CutAndPaste.C: make resetOwnerAndChanges adaptable
905 2004-01-07 Angus Leeming <leeming@lyx.org>
908 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
910 * BufferView_pimpl.C (dispatch): act on these LFUNs.
912 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
913 functions replacing find, replace and replaceAll.
915 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
916 LFUN_WORDFIND(FORWARD|BACKWARD).
918 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
920 * text.C (breakParagraph): remove an outdated #warning
922 2004-01-07 André Pönitz <poenitz@gmx.net>
924 * lyxfind.C: somewhat clearer logic
926 * text.C: prevent crash in cursorX on unitialized row cache
928 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
930 * lyxcursor.[Ch] (operator>): add
931 * textcursor.C (selStart, selEnd): use std::min and std::max
933 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
935 * Chktex.C: include boost/format.hpp
937 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
939 * InsetList.C: replace functor MathcIt with adaptable functor
941 (insetIterator): modify accordingly
943 * BranchList.h: move the BranchNamesEqual functor here from...
944 * BranchList.C: ... to here
946 * BranchList.C: new BranchListEqual fuctor, use it. Remove
948 (add): replace a finding loop with std::find_if.
950 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
952 * output_docbook.C: moving LatexParam functionality into
955 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
957 * buffer.C: increment format to 229.
959 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
962 * lyx_sty.[Ch]: remove minipageindent_def
968 * text3.C: remove LFUN_INSET_MINIPAGE
970 2003-12-28 Angus Leeming <leeming@lyx.org>
972 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
974 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
976 * text2.C (setParagraph): fix off-by-one crash
978 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
980 * output_docbook.C: header stuff for AGU
982 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
984 * text2.C (redoCursor): remove
987 * BufferView_pimpl.C: remove calls to redoCursor and
988 setCursor(cursor.par(), cursor.pos()) all around
990 2003-12-15 Angus Leeming <leeming@lyx.org>
992 * buffer.C: up the format to 228.
994 2003-12-15 André Pönitz <poenitz@gmx.net>
996 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1001 * BufferView_pimpl.C:
1010 2003-12-15 Angus Leeming <leeming@lyx.org>
1012 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1013 than getFromGUIName to manipulate the color.
1015 2003-12-14 Angus Leeming <leeming@lyx.org>
1017 * BranchList.[Ch]: minimize the API.
1018 (Branch::getBranch, getColor): now return a 'const &'.
1019 (Branch::setSelected) now returns a bool set to true if the
1020 selection status changes.
1021 (BranchList::clear, size, getColor, setColor, setSelected,
1022 allBranches, allSelected, separator): removed.
1023 (BranchList::find): new functions, returning the Branch with
1025 (BranchList::add, remove): return a bool indicating that
1026 the operation was successful.
1028 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1029 new InsetBranch::isBranchSlected member function.
1031 * LColor.[Ch]: mimimize the API.
1032 (fill): renamed as addColor and made private.
1033 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1034 versions of these functions taking a string arg have been removed.
1036 * bufferparams.C (readToken):
1037 * lyxfunc.C (dispatch):
1038 * lyxrc.C (read): changes due to the altered BranchList and
1041 * factory.C (createInset, readInset): changes due to altered
1044 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * lyxfunc.C: remove insetminipage. "minipage-insert"
1048 now produces a frameless minipage box inset.
1050 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1052 * textcursor.[Ch] (selStart,selEnd): add new methods
1053 remove selection::start, end, use LyXCursor::operator<
1054 * lyxcursor.[Ch] (operator<): add
1055 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1056 * BufferView.[Ch] (unsetXSel): add
1057 * text2.C (clearSelection): use unsetXSel,adjust
1060 * rowpainter.C: adjust
1061 * bufferview_funcs.C (put_selection_at): adjust
1063 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1065 * BufferView_pimpl.C: small coord. correction
1067 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1069 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1070 dragging over the splash screen.
1072 2003-12-11 Angus Leeming <leeming@lyx.org>
1074 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1075 as it is now handled in LyXText::dispatch.
1077 * text3.C (doInsertInset): remove a level of nesting.
1079 2003-12-11 Angus Leeming <leeming@lyx.org>
1081 * factory.C (createInset): changes due to the changed interface to
1082 InsetCommandMailer::string2params.
1084 2003-12-10 Angus Leeming <leeming@lyx.org>
1086 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1087 'dialog-show-new-inset <inset name>'
1089 2003-12-10 Angus Leeming <leeming@lyx.org>
1091 * buffer.C: up the format to 227.
1093 * factory.C: the box inset is now identified simply by 'Box'.
1095 2003-12-10 Angus Leeming <leeming@lyx.org>
1097 * buffer.C: up the format to 226.
1099 * factory.C: the note inset is now identified simply by 'Note'.
1101 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1103 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1104 when a pit is enough. Standarize a couple of loops.
1106 2003-12-05 Angus Leeming <leeming@lyx.org>
1108 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1109 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1110 data to the re-worked "log" dialog.
1112 2003-12-03 André Pönitz <poenitz@gmx.net>
1118 * paragraph_funcs.C:
1120 * text2.C: use Inset::getText instead of Inset::getParagraph
1122 2003-12-03 André Pönitz <poenitz@gmx.net>
1126 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1127 InsetText::read() as LyXText::read()
1129 2003-12-02 Angus Leeming <leeming@lyx.org>
1131 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1132 type. Add a comment in the implementation that the function uses
1133 the stream's bad() function rather than fail() as the std::streams
1136 2003-12-02 André Pönitz <poenitz@gmx.net>
1138 * lyxlex.[Ch]: make interface more similar to std::stream
1140 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1142 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1144 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1146 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1148 * vspace.[Ch]: remove VSpace::NONE
1150 2003-12-01 André Pönitz <poenitz@gmx.net>
1153 * lyxtext.h: move ParagraphList member to LyXText
1154 rename LyXText::ownerParagraphs to LyXText::paragraph
1157 * bufferview_funcs.C:
1167 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1169 * undo.C: fix cursor positioning
1171 2003-12-01 John Levon <levon@movementarian.org>
1173 * BufferView_pimpl.C: fix a crash on exit with
1176 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1178 * BranchList.C: fix setSelected() method.
1180 2003-11-28 André Pönitz <poenitz@gmx.net>
1182 * ParagraphParameters.[Ch]:
1183 * ParameterStruct.h: remove space above/below from Paragraph to
1186 * BufferView_pimpl.C:
1192 * paragraph_funcs.C:
1198 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1200 * factory.C: Syntax change for CharStyles
1202 2003-11-28 André Pönitz <poenitz@gmx.net>
1207 * buffer.[Ch]: move LyXText member
1209 2003-11-28 André Pönitz <poenitz@gmx.net>
1211 * BufferView.[Ch]: make LyXText * text a private member
1213 * BufferView_pimpl.C:
1224 * output_plaintext.C: cleanup
1226 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1229 * lyxtextclass.[Ch]: parametrize SGML document header
1231 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1234 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1237 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1239 * text2.C (setFont): rework using PosIterator (no more recursive)
1240 (setCharFont): no more needed
1241 (setLayout): no more selection cursors fiddling (done by redoCursor)
1242 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1243 destroy remaining ones)
1245 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1247 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1249 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1252 * text3.C: adjust + re-allow multi par depth changes
1253 * textcursor.C: simplify a bit
1255 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1261 * src/output_docbook.C:
1262 * src/output_latex.C:
1267 * src/text2.C: Introducing a number of tags parametrizing various
1268 XML formats that we may want to support
1270 2003-11-25 André Pönitz <poenitz@gmx.net>
1272 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1274 * lyxtext.h (leftMargin/rightMargin): simplify interface
1281 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1283 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1284 master file to any child files. Fixes bug 546.
1286 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1288 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1290 2003-11-24 André Pönitz <poenitz@gmx.net>
1292 * rowpainter.C: simplification
1294 * text2.C (updateCounters): remove call to redoParagraph on
1295 changed labels as this is far too expensive.
1297 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1299 * converter.C (convert): fix a crash: this function gets
1300 called with buffer == 0 from importer code.
1302 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1304 * text3.C (cursorPrevious): make sure that we do not compare
1305 iterators form different containers.
1308 * rowpainter.C (paintSelection): make sure that we do not compare
1309 iterators from different containers.
1311 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1312 iterators from different ParagraphList containers.
1315 * text2.C (LyXText): change order of initialization slightly
1316 (operator=): new function. copy all variables except cache_par_
1317 (moveUp): make sure that we do not compare iterators from
1318 different ParagraphList constainers.
1321 * text.C (firstPar): new function
1322 (lastPar): new function
1323 (endPar): new function
1325 * lyxtext.h: move things around and group public functions, public
1326 variables, private functions, private variables
1328 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1330 * factory.C: change call to InsetERT constructor to avoid
1331 additional invocation of method status
1332 * text2.C (toggleInset): remove redundant update() call
1333 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1334 instead of a Bufferview pointer
1336 2003-11-21 André Pönitz <poenitz@gmx.net>
1338 * rowpainter.C: simplification
1340 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1342 * text3.C (dispatch): make possible to extend a word/row selection
1345 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1347 * lyxtext.h: x0_,y0_ -> xo_,yo_
1348 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1349 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1350 * rowpainter.C (paintRows): paint full paragraphs
1352 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1354 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1357 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1359 * lyxtext.h: add x0_, y0_
1360 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1361 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1363 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1365 * text2.C (setCursorIntern): move the x_target update here *
1366 * text3.C: change some bv() to true/false in calls to
1367 cursorUp/Down/Right/Left
1368 * cursor.C: use helper function.
1370 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1372 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1373 * paragraph_funcs.[Ch]: correct comment
1374 * rowpainter.C: do not paint selections away from bv->cursor()
1375 Fix a long standing selection painting bug.
1376 * text3.C: generalize mouse-selection code to LyXTexts other that
1378 * textcursor.C: do not use y coords if we can use par offsets
1380 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1382 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1383 cursor position after e.g. inset insert)
1385 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1387 * lyxfind.C (replace): adjust to locking removal + some
1390 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1392 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1395 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1398 * output_docbook.C: XML sanitation: new layout
1399 parameters InnerTag and CommandDepth
1401 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1403 * BufferView_pimpl.C:
1405 * text3.C: Fix the insertion and modification of button-style
1408 2003-11-13 André Pönitz <poenitz@gmx.net>
1410 * InsetList.[Ch]: remove deleteLyXText
1412 * paragraph.[Ch]: cache beginOfBody position
1417 * text3.C: remove superfluous update() calls
1421 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1423 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1424 * BufferView.C (fitLockedInsetCursor): remove
1425 * cursor.[Ch] (getDim): add
1426 * text.C (getRowNearY): add faster version
1427 * text3.C: remove some update calls
1429 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1441 * text3.C: The Character Style /XML short element patch.
1443 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1446 * factory.C: Small step to solving 'unable to insert some insets'
1449 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1451 * cursor.[Ch] (updatePos): new function for updating the y
1452 position of the tip inset
1453 * bufferview_funcs.C (put_selection_at):
1454 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1456 2003-11-11 André Pönitz <poenitz@gmx.net>
1458 * text.C: remove big comment on invalid Paragraph pointers as it is
1461 2003-11-11 André Pönitz <poenitz@gmx.net>
1463 * text_funcs.[Ch]: merge with ...
1471 * Makefile.am: remove text_funcs.[Ch]
1473 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1475 * cursor.C (getPos): return absolute cached y coord
1477 * BufferView_pimpl.C (fitCursor): new simplistic code
1478 (workAreaDispatch): add a fitCursor call
1480 2003-11-10 André Pönitz <poenitz@gmx.net>
1483 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1485 2003-11-10 André Pönitz <poenitz@gmx.net>
1487 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1488 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1489 indicate that the cursor needs to leave an inset
1491 * lyxtext.h: remove inset locking
1493 * cursor.[Ch]: re-implement functionality provided by inset locking
1496 * BufferView_pimpl.[Ch]:
1498 * bufferview_funcs.[Ch]:
1510 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1512 * PosIterator.[Ch]: replace the stack with a vector, add inset
1514 * iterators.[C]: adjust
1516 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1518 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1520 * paragraph_funcs.C (readParToken): put the correct id in the
1521 error item, not the id of the top paragraph
1523 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1525 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1526 * bufferview_funcs.C (put_selection_at): use the above
1528 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1530 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1532 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * output_linuxdoc.h:
1535 * output_plaintext.h:
1537 * output_docbook.h: add #include statements
1539 2003-11-05 José Matos <jamatos@lyx.org>
1541 * output_docbook.[Ch]:
1542 * output_latex.[Ch]:
1543 * output_linuxdoc.[Ch]:
1544 * output_plaintext.[Ch]: New files for output formats.
1545 * output.[Ch]: New file for helper functions.
1548 * paragraph_funcs.[Ch]: output functions moved to new files.
1550 * outputparams.h: rename of latexrunparams.h
1558 * paragraph_funcs.[Ch]:
1559 * paragraph_pimpl.[Ch]:
1560 * tabular.[Ch]: rename ascii to plaintext
1561 and LatexRunParams to OutputParams.
1563 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1565 * iterators.[Ch] (text): require bv argument
1566 * undo.C (recordUndo):
1567 * lyxfunc.C (dispatch):
1568 * bufferview_funcs.C (put_selection_at): adjust
1570 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1572 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1574 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1576 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1579 2003-11-04 André Pönitz <poenitz@gmx.net>
1581 * cursor.[Ch]: restructure
1584 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1586 * iterators.[Ch] (asCursor): remove
1588 * lfuns.h: remove LFUN_INSET_EDIT
1594 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1596 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1598 * lyxfind.[Ch]: complete overhaul
1599 * BufferView_pimpl.C:
1601 * paragraph.[Ch] (insert): add
1603 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1607 * text.C: remove dead spellcheck code
1609 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * dispatchresult.h: add a val setter
1613 * cursor.C (dispatch): use a tempvar for data_[i]
1615 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1617 * PosIterator.[Ch]: compile fix
1619 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1621 * text.C (cursorPar): deactivate the cursor cache
1623 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1625 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1627 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * text3.C (dispatch): adjust for new DisptchResult semantics.
1631 * lyxfunc.C (dispatch): handle update when return from
1632 Cursor::dispatch, adjust for new DispatchResult semantics.
1634 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1635 DispatchResult(true) mean to not update. Add class functions for
1636 setting dispatched and update, as well as reading.
1638 * cursor.C (dispatch): don't handle update here
1640 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1643 * trans_mgr.C: adjust
1645 * paragraph_funcs.C (readParToken): exception safety
1647 * lyxvc.h: store the vcs pointer in a scoped_ptr
1650 * lyxsocket.C (serverCallback): exception safety
1652 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1654 * ispell.C (clone): make it return a auto_ptr
1656 * factory.C (createInset): exception safety
1657 (readInset): exception safety
1659 * bufferlist.C (newBuffer): exception safety
1661 * Thesaurus.C (Thesaurus): use initialization for aik_
1663 * MenuBackend.C (expandToc): exception safety.
1665 2003-11-03 André Pönitz <poenitz@gmx.net>
1669 * bufferview_funcs.C: remove getInsetFromId()
1672 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1678 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1680 * PosIterator.C (distance, advance): new
1681 * bufferview_funcs.[Ch] (put_selection_at): new
1682 * iterators.[Ch] (lockPath): new
1684 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1686 * iterators.[Ch] (asPosIterator): added
1687 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1688 * PosIterator.[Ch]: added
1690 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * cursor.C (dispatch):
1695 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1697 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1698 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1699 contructor, add a class function dispatched. Remove operator>=
1701 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * debug.C: only use the default constructor for debugstream
1706 * main.C (main): include debug.h and setup the lyxerr streambuf
1709 2003-10-31 José Matos <jamatos@lyx.org>
1711 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1713 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1714 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1715 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1716 * paragraph_pimpl.C (simpleTeXSpecialC):
1717 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1718 add LatexRunParams argument.
1720 * exporter.C (Export): change call accordingly.
1722 * latexrunparams.h: add new member to take care of the other backends.
1723 2003-10-30 José Matos <jamatos@lyx.org>
1725 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1726 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1727 factorise code for paragraph output.
1729 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1732 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * text3.C (dispatch):
1735 * lyxfunc.C (dispatch):
1736 * cursor.C (dispatch):
1737 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1739 * dispatchresult.h: make the dispatch_result_t ctor explicit
1741 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1744 * buffer.C: small refactoring of docbook stuff
1746 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1751 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1754 operator dispatch_result_t, and operators for == != and >=
1756 * cursor.C (dispatch): adjust for operator dispatch_result_t
1757 removal. comment out call to update
1759 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1761 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1772 * dispatchresult.h: new file, DispatchResult broken out of
1775 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1777 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1779 * text.C (rowBreakPoint): put a hack inside #if 0
1781 2003-10-28 André Pönitz <poenitz@gmx.net>
1785 * paragraph_funcs.C:
1788 * text2.C: general cleanup (lots of small stuff)
1790 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1792 * text2.C (cursorEnd): simple fix to the "end key goes to one
1793 before the end on last row" bug
1795 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1797 * text.C (backspace): fix the "zombie characters"
1799 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1801 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1803 2003-10-27 André Pönitz <poenitz@gmx.net>
1805 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1807 * factory.C: handle new InsetPagebreak, InsetLine
1809 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1810 and move handling into new InsetPagebreak, InsetLine
1812 * BufferView_pimpl.C:
1814 * ParagraphParameters.C:
1815 * ParameterStruct.h:
1820 * paragraph_funcs.C:
1821 * paragraph_pimpl.C:
1827 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1830 * lyxrow_funcs.[Ch]:
1836 * text3.C: remove lastPos uses in favour of Row::endpos
1838 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1840 * undo.C (performUndoOrRedo): fix two crashes by setting a
1841 cursor by hand and reordering some calls. Use bv->lockInset instead
1842 of inset->edit because the latter loses cursor information
1844 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1846 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1848 (rowBreakPoint): fix width. change point to point + 1.
1849 Add a missing check.
1851 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1854 * lyxfunc.C: fix (at least partly) the problems
1855 with the Nav menu and headers inside branch insets
1858 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1860 * paragraph.C (getChar): add strong asserts
1862 * lyxrow_funcs.C (lastPos): remove hideous hack
1864 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1865 (fill): adjust to that (avoid an infinite loop)
1867 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1869 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1871 2003-10-23 André Pönitz <poenitz@gmx.net>
1873 * RowList_fwd.h: change list<> to vector<> to gain speed
1874 after suggestion from Alfredo
1876 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1878 * lyxtext.h: move the bidi stuff from here...
1881 * Bidi.[Ch]: ... to here
1883 2003-10-23 André Pönitz <poenitz@gmx.net>
1886 * text.C (isLastRow, isFirstRow): new functions
1888 * paragraph.h: new width cache member
1890 * rowpainter.C: replace RowList::iterator with Row & where possible
1892 * lyxfunc.C: replace several view()->text with a single call
1894 * toc.C: fix 'unused' warning
1896 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1898 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1899 when woring with stream::pos_type
1900 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1902 2003-10-22 André Pönitz <poenitz@gmx.net>
1905 * text.C: use Row & instead of RowList::iterator
1907 * lyxrow.h: rename end() to endpos()
1913 2003-10-22 Angus Leeming <leeming@lyx.org>
1915 * buffer.[Ch] (fully_loaded): new member function, returning true
1916 only when the file has been loaded fully.
1917 Used to prevent the premature generation of previews and by the
1918 citation inset to prevent computation of the natbib-style label.
1920 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1921 templates are all set up.
1923 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1925 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1927 * text.C: fixed an "oops" in the "is a bit silly"
1930 2003-10-21 André Pönitz <poenitz@gmx.net>
1932 * FuncStatus.[Ch]: small stuff, whitespace
1934 * lyxfont.[Ch]: operator<<() for debug reasons
1938 * lyxtext.h: whitespace, spelling
1940 * paragraph.C: naming of variables
1943 * text2.C: small stuff
1946 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1948 * text.C: (1) finish off the inset display() work;
1949 (2) fix the "is a bit silly" bug (accessing char
1952 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1954 * text.C: re-introduce display() for insets, fixing the
1955 various bugs (stretch of line above, math inset
1958 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * text.C (rightMargin): remove spurious semicolon
1962 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1965 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1967 * text3.C: fix one crash due to wrong cursor def
1969 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1971 * vc-backend.C (scanMaster): make the regex static
1973 * LaTeX.C (scanAuxFile): make the regexs static
1975 * text3.C (doInsertInset, dispatch, dispatch):
1976 * text2.C (cursorUp, cursorDown):
1977 * text.C (selectNextWordToSpellcheck):
1978 * BufferView_pimpl.C (dispatch):
1979 * lyxfunc.C (dispatch): localDispatch -> dispatch
1981 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1983 * lyxsocket.C: include <cerrno>
1985 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * lyxfunc.C (dispatch): remove textcache stuff
1989 * bufferlist.C (release): remove textcache stuff
1992 * TextCache.C: delete file
1993 * TextCache.h: delete file
1995 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1997 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1998 delete of the bv_->text.
1999 (resizeCurrentBuffer): remove texcache stuff
2000 (workAreaResize): ditto
2002 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2007 2003-10-16 André Pönitz <poenitz@gmx.net>
2014 * text3.C: speed up by storing y positions per paragraph plus per-row
2015 offset instead of having a 'full' y position in the row.
2017 2003-10-15 André Pönitz <poenitz@gmx.net>
2021 * undo.[Ch]: make undo aware of inner insets
2023 2003-10-14 Angus Leeming <leeming@lyx.org>
2025 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2026 static member functions LyX::ref() and LyX::cref.
2027 (lastfiles): new accessor functions for the new lastfiles_ member var.
2028 (addLyXView, views_): add a new LyXView to the list of views_.
2029 (updateInset): loop over all LyXViews to call their own updateInset
2030 member function, returning a pointer to the Buffer owning the inset.
2032 * BufferView_pimpl.C (loadLyXFile):
2033 * MenuBackend.C (expandLastfiles):
2034 * bufferlist.C (MenuWrite, QuitLyX):
2035 lastfiles is no longer a global variable.
2036 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2038 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2039 static function. Access through LyX::cref().emergencyCleanup().
2041 2003-10-14 André Pönitz <poenitz@gmx.net>
2043 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2045 * undo.[Ch]: restoring part of 'undo in insets'
2048 * undo_funcs.[Ch]: merge with undo.[Ch]
2050 * tabular.C: small cleansing stuff
2052 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2054 * paragraph_funcs.C (readParToken): report unknown insets as error
2055 boxes. Use the outer paragraph as location (also for unknown
2058 * factory.C (readInset): do not abort on reading an unknown inset.
2059 Eat it and return 0.
2061 2003-10-13 Angus Leeming <leeming@lyx.org>
2063 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2065 * lyxrc.C: displayTranslator is now a function,
2066 declared in GraphicsTypes.h.
2068 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2070 * format.C: new placeholder $$a to pass the socket address.
2072 * bufferlist.[Ch]: new function getBufferFromTmp.
2074 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2075 files in the temporary dir.
2077 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2079 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2081 * Makefile.am: add lyxsocket.[Ch].
2083 * lyx_main.C (error_handler): handle SIGPIPE.
2085 2003-10-13 André Pönitz <poenitz@gmx.net>
2087 * BufferView_pimpl.C:
2092 * undo_funcs.[Ch]: use paroffset_type instead of
2093 ParagraphList::iterators to prevent multiple conversion
2094 (and get a more robust interface)
2096 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2100 * text3.C (dispatch): ditto
2102 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2104 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2105 move the onlyfile, use onlyfile instead of foundfile in a couple
2108 * DepTable.C (update): flush the error stream a bit more
2110 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * lyxserver.C (callback): adjust
2114 * lyxfunc.C (getStatus): add a missing brace in commented code
2115 (ensureBufferClean): reindent
2116 (dispatch): delete version taking a string
2118 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * LaTeX.C (deplog): move found file handlig from here...
2121 (handleFoundFile): .. to new function here.
2122 (deplog): make sure to discover several files mentioned on the
2125 2003-10-10 André Pönitz <poenitz@gmx.net>
2132 * text3.C: fix some of the tabular crashes
2134 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2136 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2138 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2140 2003-10-09 André Pönitz <poenitz@gmx.net>
2142 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2145 * BufferView_pimpl.C:
2146 * bufferview_funcs.C:
2157 * undo_funcs.C: adjust
2159 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * text2.C (incrementItemDepth): new function, use a backtracking
2162 algorithm to discover the correct item depth.
2163 (resetEnumCounterIfNeeded): new function, use a backtracking
2164 algorithm to discover if counter reset is needed.
2165 (setCounter): use them. Simplify a bit. Add different labels for
2166 different item depths for itemize.
2168 * paragraph.C (Paragraph): remove initialization of enumdepth
2171 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2172 enumerate and itemize. Change the type of itemdepth to signed char.
2174 2003-10-08 André Pönitz <poenitz@gmx.net>
2176 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2181 * tabular.[Ch]: fix crash after 'row-insert'
2183 2003-10-08 Angus Leeming <leeming@lyx.org>
2185 Fix doxygen warnings.
2187 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2188 Remove CutAndPaste:: prefix from header file declaration.
2190 * LColor.h (fill): remove LColor:: prefix from declaration.
2192 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2193 use lyx::depth_type rather than Paragraph::depth_type so that
2194 header file and .C file match.
2196 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2198 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2199 * aspell.C: \file aspell_local.C -> \file aspell.C
2200 * gettext.C: \file gettext.C -> \file src/gettext.C
2201 * gettext.h: \file gettext.h -> \file src/gettext.h
2202 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2203 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2204 * text.C: \file text.C -> \file src/text.C
2206 * toc.C: move comment so that doxygen is not confused.
2208 2003-10-07 Angus Leeming <leeming@lyx.org>
2210 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2212 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2215 * aspell_local.h: add forgotten std::string's.
2217 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2224 * text3.C: The Box patch. Fancybox support, minipage, parbox
2226 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2232 * ParagraphParameters.h:
2242 * lyxtextclasslist.h:
2245 * paragraph_pimpl.C:
2246 * textcursor.h: add <string> and other small fixes to make Lars'
2247 std::string patch compile with STLport.
2249 2003-10-06 Angus Leeming <leeming@lyx.org>
2251 * LColor.h: Add missing #include <string>.
2253 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * All most all file in all subdirs: Make <string> be the prefered
2256 way of getting to std::string, add using declarations.
2258 2003-10-06 André Pönitz <poenitz@gmx.net>
2260 * metricsinfo.C: initialize LyXFont before changing attribute.
2261 (fixes the 'math in \emph is upright' bug)
2263 2003-10-06 André Pönitz <poenitz@gmx.net>
2265 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2267 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2270 * paragraph_pimpl.C: Small fixes to build using STLport
2272 2003-10-02 André Pönitz <poenitz@gmx.net>
2275 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2277 2003-10-01 André Pönitz <poenitz@gmx.net>
2279 * factory.C: assert early
2281 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2283 * lyx_main.C: remove the global debug object
2285 * debug.h: adjust for new debugstream
2287 * debug.C: adjust for new debugstream and keep the global debug
2290 2003-09-22 Angus Leeming <leeming@lyx.org>
2292 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2293 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2294 an incomplete class LyXFont.
2296 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2298 * factory.C: bug fix in branches
2300 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * lyxfunc.C (processKeySym): adjust
2304 (dispatch): change arg name from ev to func, adjust
2305 (sendDispatchMessage): ditto
2307 * lyx_main.C (defaultKeyBindings): adjust keybindings
2308 (deadKeyBindings): ditto
2310 * kbsequence.C (addkey): return a FuncRequest
2312 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2314 * kbmap.C (bind): take a FuncRequest as arg, adjust
2317 (defkey): change to take a FuncRequest as arg, adjust
2318 (findbinding): take a FuncRequest as arg, adjust.
2320 * funcrequest.h (operator=): added
2322 * funcrequest.C (FuncRequest): default kb_action changed from
2323 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2325 * buffer.C (dispatch): simplify
2326 (dispatch): adjust to take a FuncRequest as arg, adjust
2328 * boost.C (assertion_failed): change assertion message slightly
2330 * ToolbarBackend.C (read): simplify
2332 * MenuBackend.C (binding): adjust call to findbinding, add a
2333 message if no binding is found.
2335 (expandToc): correct by adding a empty FuncRequest
2337 * LyXAction.C: include <boost/assert.hpp>
2338 (isPseudoAction): delete function
2339 (LookupFunc): change name to...
2340 (lookupFunc): this. change return type to FuncRequest.
2341 (getActionName): take kb_action as arg, simplify
2342 (funcHasFlag): add an assert, simplify.
2344 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * toc.C (action): return a FuncRequest, simplify
2348 * lyxfunc.C (processKeySym): adjust
2349 (getStatus): delete version that takes an int.
2351 (dispatch): delete version that takes action as int
2353 (sendDispatchMessage): simplify and adjust
2355 * funcrequest.C (getArg): take unsigned int as arg
2357 * ToolbarBackend.C (read): adjust
2358 (add): delete version that takes func as a string.
2359 (getIton): take a FuncRequest as arg
2361 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2364 * MenuBackend.C (MenuItem): add a new construct that only takes a
2365 Kind, simplify the constructor use for submenus.
2367 (expandLastfiles): adjust
2368 (expandDocuments): adjust
2369 (expandFormats): adjust
2370 (expandFloatListInsert): adjust
2371 (expandFloatInsert): adjust
2372 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2374 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2375 Remove class variables lyx_pseudo_map and lyx_arg_map
2377 * LyXAction.C (searchActionArg): delete function
2378 (getPseudoAction): delete function
2379 (retrieveActionArg): delete function
2380 (LookupFunc): make it return kb_action, simplify.
2381 (getActionName): simplify
2383 * factory.C (createInset): fix new bug
2385 2003-09-19 Angus Leeming <leeming@lyx.org>
2387 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2388 masterFilename_ parameter in the include inset.
2390 * factory.C (createInset): changes due to the changes to InsetInclude.
2392 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2394 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2396 2003-09-18 Angus Leeming <leeming@lyx.org>
2399 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2400 Inset::fillWithBibKeys.
2401 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2403 2003-09-18 Angus Leeming <leeming@lyx.org>
2405 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2407 (ctor): pass and store a 'Buffer const &'
2408 (buffer): new member function.
2410 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2411 '*this' to the LaTeXFeatures ctor.
2413 2003-09-18 Angus Leeming <leeming@lyx.org>
2419 * text.C: rename EnumLColor as LColor_color.
2421 2003-09-18 Angus Leeming <leeming@lyx.org>
2423 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2424 remove #include "insets/insetbase.h" from cursor.h.
2426 2003-09-18 Angus Leeming <leeming@lyx.org>
2428 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2429 InsetOld_code to remove #include "inset.h".
2431 * iterators.C: add #include "insets/inset.h"
2433 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2435 * BufferView.C: remove more locking stuff that apparently doesn't
2436 do anything sensible.
2438 2003-09-16 André Pönitz <poenitz@gmx.net>
2441 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2444 2003-09-16 Angus Leeming <leeming@lyx.org>
2446 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2448 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2451 * paragraph.h: remove #include "lyxfont.h". Forward declare
2454 2003-09-16 Angus Leeming <leeming@lyx.org>
2456 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2457 of support/textutils.h.
2458 (isWord): move the contents of support/textutils.h's IsWordChar here.
2464 * text2.C: add #include "paragraph.h".
2467 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2469 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * LaTeX.C: use namespace alias for lyx::support::os
2477 2003-09-16 Angus Leeming <leeming@lyx.org>
2480 * bufferview_funcs.C:
2483 * paragraph_pimpl.C:
2485 * text.C: add #include "LColor.h".
2487 2003-09-16 Angus Leeming <leeming@lyx.org>
2489 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2490 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2492 Store the FontBits::color variable as an int rather than as an
2493 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2496 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2497 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2498 string calls together.
2500 * lyxrc.C: add #include "LColor.h".
2502 2003-09-15 Angus Leeming <leeming@lyx.org>
2504 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2507 2003-09-15 Angus Leeming <leeming@lyx.org>
2509 * LColor.h: add an EnumLColor wrapper for LColor::color.
2511 * lyxfont.[Ch] (color, setColor, realColor):
2512 * lyxtext.h, text.C (backgroundColor):
2513 pass EnumLColor args to/from the functions, rather than LColor::color
2517 * lyxtext.h: forward declare EnumLColor.
2519 * lyx_main.C: add #include "LColor.h".
2521 2003-09-15 Angus Leeming <leeming@lyx.org>
2523 * .cvsignore: add lyx-gtk.
2525 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * ParagraphParameters.C
2534 * bufferview_funcs.C
2544 * vc-backend.C: remove usage of STRCONV
2546 2003-09-15 Angus Leeming <leeming@lyx.org>
2548 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2549 explicitly define the color passed to the painter.
2551 2003-09-15 Angus Leeming <leeming@lyx.org>
2553 * bufferparams.C (BufferParams): reorder member initializers to avoid
2556 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2558 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2559 * text.C (updateRowPositions): remove an unusual nop
2561 2003-09-12 André Pönitz <poenitz@gmx.net>
2563 * BufferView_pimpl.C:
2572 * Counters.[Ch]: finish the 'automatic counters' job
2574 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2576 * aspell.C: include <boost/assert.cpp> (compile fix)
2578 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2580 * boost.C (assertion_failed): use lyx::support::abort instead of
2583 2003-09-10 Angus Leeming <leeming@lyx.org>
2585 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2586 with their _fwd progeny.
2588 2003-09-09 Angus Leeming <leeming@lyx.org>
2590 134 files throughtout the source tree: replace 'using namespace abc;'
2591 directives with the appropriate 'using abc::xyz;' declarations.
2593 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2595 * boost.C (emergencyCleanup): moved here from LAssert.c
2596 (assertion_failed): new function, called by BOOST_ASSERT
2598 * several files: change Assert to BOOST_ASSERT
2600 2003-09-09 Angus Leeming <leeming@lyx.org>
2602 * buffer.[Ch]: Add an Impl class and move Buffer's member
2603 variables into it. As a result move several header files out of
2606 Add header files to lots of .C files all over the tree as a result.
2608 2003-09-09 Angus Leeming <leeming@lyx.org>
2610 * buffer.[Ch]: make Buffer's member variables private. Add
2613 Lots of changes all over the tree as a result.
2615 2003-09-08 Angus Leeming <leeming@lyx.org>
2617 * graph.C: #include <config.h>.
2619 2003-09-08 Angus Leeming <leeming@lyx.org>
2623 * BufferView_pimpl.C:
2652 * toc.C: remove redundant using directives.
2654 2003-09-07 Angus Leeming <leeming@lyx.org>
2656 * LaTeXFeatures.h: remove #include "support/types.h".
2657 * ToolbarBackend.h: remove #include <algorithm>.
2658 * changes.h: remove #include <ctime>.
2659 * debug.h: remove #include <iosfwd>.
2660 * graph.h: remove #include "support/std_string.h".
2661 * lyx_main.h: remove #include <csignal>.
2662 * lyxlex_pimpl.h: remove #include <fstream>.
2663 * sgml.h: remove #include <algorithm>, <utility>.
2664 * toc.h: remove #include "support/std_ostream.h".
2665 Add #include <iosfwd>.
2667 2003-09-07 Angus Leeming <leeming@lyx.org>
2669 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2671 * converter.h: forward declare LatexRunParams.
2672 * encoding.h: remove #include "lyxrc.h".
2673 * lyxtext.h: remove #include "LColor.h".
2674 * lyxtextclass.h: remove #include "support/types.h".
2675 * trans.h: remove #include "tex-accent.h".
2676 * trans_mgr.h: remove #include "tex-accent.h".
2677 * insets/inset.h: remove #include "support/types.h", <vector>.
2678 * insets/insetcollapsable.h: remove #include "LColor.h".
2679 * insets/insetinclude.h: remove #include "dimension.h".
2680 * insets/insetlatexaccent.h: remove #include "dimension.h".
2681 * insets/insetoptarg.h:: remove #include "insettext.h".
2682 * insets/insettext.h: remove #include "dimension.h",
2683 <boost/shared_ptr.hpp>
2685 * insets/renderers.h: add #include "dimension.h".
2686 * insets/updatableinset.h: add #include "support/types.h".
2688 * many .C files: Associated changes.
2690 2003-09-06 Angus Leeming <leeming@lyx.org>
2692 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2693 one, inside testInvariant.
2695 * PrinterParams.C: new file.
2696 * PrinterParams.[Ch]: move the function bodies out of line.
2698 2003-09-06 Angus Leeming <leeming@lyx.org>
2700 * ParagraphParameters.h: forward declare ParameterStruct rather than
2701 including its header file.
2702 (depth): moved out-of-line.
2704 2003-09-06 Angus Leeming <leeming@lyx.org>
2706 * BufferView_pimpl.h:
2709 * lyxfunc.h: forward declare LyXKeySym rather than
2710 #include "frontends/LyXKeySym.h".
2712 * BufferView_pimpl.C:
2715 * lyxfunc.C: associated changes.
2717 2003-09-06 Angus Leeming <leeming@lyx.org>
2719 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2720 As a result, can remove the #include "insets/inset.h" from BufferView.h
2722 2003-09-06 Angus Leeming <leeming@lyx.org>
2724 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2725 As a result, can remove the #include "insets/inset.h" from BufferView.h
2727 2003-09-06 Angus Leeming <leeming@lyx.org>
2733 * bufferview_funcs.C:
2734 * BufferView_pimpl.C:
2739 * ParagraphParameters.C:
2744 * frontends/controllers/ControlDocument.C:
2745 * insets/insetcaption.C: rearrange the #includes into some sort of
2748 * buffer.h: remove #includes ErrorList.h, undo.h
2750 2003-09-06 Angus Leeming <leeming@lyx.org>
2752 * support/types.h: add a 'depth_type' typedef, used to store the
2753 nesting depth of a paragraph.
2756 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2757 defining explicitly.
2760 * paragraph_funcs.h:
2761 * ParagraphParameters.h:
2762 * sgml.h: use lyx::depth_type rather than Paragraph or
2763 ParameterStruct's depth_type.
2766 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2769 * BufferView_pimpl.C:
2771 * ParagraphParameters.C:
2774 * bufferview_funcs.C:
2781 * frontends/LyXView.C:
2782 * frontends/controllers/ControlDocument.C:
2783 * frontends/controllers/ControlErrorList.C:
2784 * insets/insetbibitem.C:
2785 * insets/insetbranch.C:
2786 * insets/insetcaption.C:
2787 * insets/insetcollapsable.C:
2788 * insets/insetenv.C:
2789 * insets/insetert.C:
2790 * insets/insetfloat.C:
2791 * insets/insetfoot.C:
2792 * insets/insetfootlike.C:
2793 * insets/insetnewline.C:
2794 * insets/insetquotes.C:
2795 * insets/insettabular.C:
2796 * insets/insettext.C:
2797 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2799 * frontends/controllers/ControlChanges.C: #include "changes.h".
2801 2003-09-06 Angus Leeming <leeming@lyx.org>
2803 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2804 than #including paragraph.h.
2807 * RowList.h: deleted. Superfluous.
2817 * insets/insettext.h: use ParagraphList_fwd.h rather than
2820 * paragraph.h: don't forward declare ParagraphList.
2823 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2824 rather than ParagraphList.h. paragraph.h is still needed for the
2825 Paragraph::depth_type parameters.
2827 * textcursor.h: enable it to compile stand-alone in light of the
2830 * bufferview_funcs.C:
2842 * frontends/controllers/ControlParagraph.C:
2843 * frontends/controllers/ControlTabular.C:
2844 * insets/insetmarginal.C:
2845 * insets/insetminipage.C:
2846 * insets/insetnote.C:
2847 * insets/insetoptarg.C: add header files needed to compile again.
2849 2003-09-06 Angus Leeming <leeming@lyx.org>
2851 * RowList_fwd.h: new file, forward-declaring Row rather than
2852 #including lyxrow.h.
2857 * insets/insettext.h: use it instead of RowList.h
2859 * bufferview_funcs.C:
2866 * text3.C: #include "RowList.h".
2868 2003-09-05 Angus Leeming <leeming@lyx.org>
2870 * factory.C (createInset):
2871 * vspace.C (c-tor): replace sscanf call with an istringstream.
2872 * ispell.C: re-add missing HP/UX headers.
2873 * lyxserver.C: re-add missing os2 headers.
2875 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2884 * text3.C: re-add missing system headers, needed for 2.95.2.
2886 2003-09-05 Angus Leeming <leeming@lyx.org>
2888 Changes most place everywhere due to the removal of using directives
2889 from support/std_sstream.h.
2891 2003-09-05 Angus Leeming <leeming@lyx.org>
2893 Replace LString.h with support/std_string.h,
2894 Lsstream.h with support/std_sstream.h,
2895 support/LIstream.h with support/std_istream.h,
2896 support/LOstream.h with support/std_ostream.h.
2898 Changes resulting throughout the tree.
2900 2003-09-05 Angus Leeming <leeming@lyx.org>
2902 * sgml.h: ensure that the header file can be compiled stand-alone.
2903 * *.C: strip out redundant #includes. (320 in total.)
2905 2003-09-04 Angus Leeming <leeming@lyx.org>
2907 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2908 here (from getPackages).
2910 * debug.[Ch]: add a new EXTERNAL tag.
2912 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2914 * text2.C (cursorEnd): simplify
2916 (getColumnNearX): adjust
2918 * text.C (computeBidiTables): adjust
2921 * rowpainter.C (paintChars): adjust
2922 (paintSelection): adjust
2923 (paintChangeBar): adjust
2926 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2928 (numberOfSeparators): adjust
2930 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2936 * text3.C: Restricts the mouse click functionality
2937 of insets like bibtex, include, toc and floatlist to the visible
2938 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2939 up the dialogs. Cursor has to be in front of the inset (i.e.
2940 start of row) for this to function.
2942 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2944 * bufferview_funcs.C (currentState): output row information
2946 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2948 * bufferview_funcs.C (currentState): output paragraph position
2950 2003-09-04 Angus Leeming <leeming@lyx.org>
2952 * FloatList.h: move out #include "Floating.h".
2953 * LaTeX.h: move out #include "DepTable.h".
2954 * LyXAction.h: move out #include "funcrequest.h".
2955 * buffer.h: move out #include "author.h", "iterators.h".
2956 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2957 * lyx_main.h: move out #include "errorlist.h".
2958 * lyxfunc.h: move out #include "FuncStatus.h".
2959 * lyxtext: move out #include "lyxcursor.h".
2960 * paragraph_pimpl.h: move out #include "counters.h".
2962 2003-09-03 Angus Leeming <leeming@lyx.org>
2964 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2965 preamble_snippets list, enabling us to add snippets to the preamble
2966 only if the snippet was not there already.
2968 2003-09-04 Angus Leeming <leeming@lyx.org>
2970 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2972 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2977 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2979 * BranchList.C: point fix, earlier forgotten
2981 2003-09-02 Angus Leeming <leeming@lyx.org>
2983 * box.C (contains): renamed from 'contained' after a fantastic
2986 2003-09-02 John Levon <levon@movementarian.org>
2992 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2994 2003-09-02 John Levon <levon@movementarian.org>
2996 * text2.C: simplification of cursorEnd(), including partial
2999 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * buffer.C (readFile): add a space
3003 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3005 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3007 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * buffer.C (readFile): new function, take a filename and a
3010 ParagraphList::iterator
3012 (readFile): adjust, make it private. don't use setStream, make
3013 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3014 always contain the filename.
3016 * BufferView.C (insertLyXFile): simplify and make it work for
3019 2003-08-30 John Levon <levon@movementarian.org>
3021 * Makefile.am: fix dist (from Kayvan)
3023 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * most files: change to use const Buffer refs
3027 2003-08-27 André Pönitz <poenitz@gmx.net>
3029 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3030 on top of ownerPar().
3032 2003-08-27 John Levon <levon@movementarian.org>
3034 * funcrequest.C: properly initialise POD members
3036 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3038 * lyxtext.h (top_y): move top_y from here
3043 * BufferView_pimpl.[Ch]: to here
3044 * frontends/screen.C:
3045 * insets/insettabular.C:
3046 * insets/insettext.C: adjust
3047 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3049 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3052 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3054 2003-08-26 André Pönitz <poenitz@gmx.net>
3056 * paragraph_func.[Ch] (outerPar): new function
3059 * paragraph_funcs.C:
3060 * paragraph_funcs.h:
3061 * paragraph_pimpl.C:
3062 * text2.C: remove Inset::par_owner
3064 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3069 * text2.C: eliminates the needFullRow/display() stuff
3070 altogether, putting the logic in metrics/draw in the insets.
3072 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3074 * text2.C (redoParagraphInternal, redoParagraphs):
3075 * text.C (redoParagraph): add a call to updateRowPositions at the
3076 end of each 'metrics-like' call. Remove all others.
3077 (getRow): remove the 'y-computing' version.
3078 (getRowNearY): do not compute nor return the real y. Solve the
3079 'y < 0' problem and simplify.
3081 2003-08-22 Angus Leeming <leeming@lyx.org>
3083 * *.[Ch]: clean-up of licence and author blurbs.
3084 Also move config.h out of a few .h files and into a few .C files.
3086 2003-08-22 André Pönitz <poenitz@gmx.net>
3088 * lyxrow.[Ch]: add x_ and *fill_ members
3093 * text2.C: adjust/remove prepareToPrint() calls
3095 2003-08-22 André Pönitz <poenitz@gmx.net>
3097 * lyxrow.[Ch]: add end_ member
3099 * lyxrow_funcs.C: use LyXRow::end_
3101 * lyxtext.h (singleWidth): add LyXFont parameter
3104 * text2.C: adjust LyXText::singleWidth() calls
3106 * text.C (redoParagraph): simplify row breaking logic
3109 2003-08-19 André Pönitz <poenitz@gmx.net>
3111 * funcrequest.C: initialize button_ member
3114 * rowpainter.[Ch]: interface consolidation
3116 2003-08-18 André Pönitz <poenitz@gmx.net>
3119 * BufferView_pimpl.C:
3121 * paragraph_funcs.C:
3123 * text3.C: remove LyXScreen::draw() and fitCursor calls
3125 * BranchList.h: remove spurious semicolons
3127 * MenuBackend.C: fix branchlist related crash
3129 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3137 * bufferparams.[Ch]:
3141 * text3.C: implements the 'branch inset'
3142 idea. This allows the output of various versions of a document
3143 from a single source version, selectively outputing or suppressing
3144 output of parts of the text.
3145 This implementation contains a 'branch list editor' in a separate
3146 tab of the document settings dialog. Branches are user definable
3147 and have a "display colour" to distinguish them on-screen.
3149 ColorHandler was somewhat cleaned up.
3150 (1) make possible a dynamically growing LColor list by allowing
3151 the graphic context cache to grow along (vector);
3152 (2) eliminate an IMHO unnecessary step in colour allocation.
3154 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3156 * BufferView_pimpl.C: compile fix
3158 2003-08-15 André Pönitz <poenitz@gmx.net>
3160 * rowpainter.C: remove extra metrics calls
3162 * lyxtext.h: merge the two constructors into a single one,
3163 pass reference to owner's par list
3165 * BufferView_pimpl.C:
3169 2003-08-15 André Pönitz <poenitz@gmx.net>
3171 * lyxrow_funcs.[Ch]:
3174 * paragraph_funcs.C:
3179 * text_funcs.C: split LyXText::rowlist_ into individual
3180 Paragraph::rows_ chunks
3183 * BufferView_pimpl.[Ch]:
3186 * text3.C: remove toggleSelection()
3188 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3190 * bufferlist.C: beautify two alerts (shorter text of buttons)
3191 * buffer.C: Remove redundant ' ' from message
3193 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3194 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3195 rename VALIGN_CENTER to VALIGN_MIDDLE
3197 2003-08-11 André Pönitz <poenitz@gmx.net>
3199 * lyxtext.h (getPar):
3200 * text.C: new function
3202 2003-08-11 André Pönitz <poenitz@gmx.net>
3205 * tracer.[Ch]: remove unneeded files
3207 * InsetList.[Ch]: remove resizeInsetsLyXText()
3212 * text3.C: merge insertParagraphs() and appendParagraph()
3213 remove breakAgain(), update()
3215 * BufferView_pimpl.[Ch]:
3216 * bufferview_funcs.[Ch]:
3220 * tabular.C: adjust after text & InsetList changes.
3222 2003-08-08 André Pönitz <poenitz@gmx.net>
3224 * text.C (insertChar, backspace): replace rowlist fiddling
3225 with rebreak of full par
3228 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3229 checkParagraph, updateInset): removed
3231 2003-08-07 André Pönitz <poenitz@gmx.net>
3234 * text3.C: merge some LFUN handlers, remove dead code
3236 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3238 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3240 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3242 * text2.C (DEPM): fix part of bug 1255 and 1256
3244 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3246 * BufferView_pimpl.C (workAreaDispatch): change to use
3247 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3248 that are no mouse related.
3250 2003-08-05 André Pönitz <poenitz@gmx.net>
3253 * BufferView_pimpl.[Ch]:
3254 * bufferview_funcs.C:
3256 * text3.C: rip out "deep update"
3258 * textcursor.[Ch] (last_sel_cursor): remove unused member
3260 2003-08-04 André Pönitz <poenitz@gmx.net>
3263 * BufferView_pimpl.[Ch]:
3264 * ParagraphParameters.C:
3265 * bufferview_funcs.C:
3271 * text3.C: replace "complicated" BufferView::update(...) calls with
3274 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3276 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3278 * Makefile.am (lyx_SOURCES): add paper.h
3280 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3282 * Makefile.am: move things around so that both lyx-qt and
3283 lyx-xforms can be built (according to --with-frontend). Then lyx
3284 is a symbolic link to lyx-[firstfrontend]
3286 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3288 * Always use std::endl with lyxerr
3290 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3292 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3294 2003-08-01 André Pönitz <poenitz@gmx.net>
3297 * BufferView_pimpl.[Ch]:
3299 * text3.C: merge BufferView::repaint() and BufferView::update()
3301 2003-08-01 José Matos <jamatos@lyx.org>
3303 * buffer.[Ch]: file_format is no longer a buffer data element.
3305 2003-08-01 André Pönitz <poenitz@gmx.net>
3310 * text2.C: make redoParagraph more independent of current cursor
3312 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3314 * text2.C: remove unneeded members
3316 2003-07-30 André Pönitz <poenitz@gmx.net>
3318 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3320 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3321 create a single function...
3323 * paragraph_funcs.C (moveItem): ... here.
3326 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3328 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3330 * LColor.[Ch]: Add comment and greyedout logical colors.
3332 2003-07-30 André Pönitz <poenitz@gmx.net>
3334 * tabular.C: don't use Assert too heavily. This crashes where it
3337 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3339 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3340 is disabled (bug 1232)
3342 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3344 * factory.C: limited 'arg' scope
3346 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3348 * factory.C: fixed Note submenu issues
3350 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3352 * factory.C: submenu for Note/Comment/Greyedout
3354 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3357 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3359 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3362 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3363 greyedout. Patch provided by Jürgen Spitzmüller.
3365 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3367 * kbmap.C (read): fix error message when reading bind files
3369 2003-07-29 Angus Leeming <leeming@lyx.org>
3371 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3372 certainly does not do what it purports to do. I am doing it, and
3373 us, a favour by killing it.
3375 2003-07-28 José Matos <jamatos@lyx.org>
3377 * buffer.C (readBody, do_writeFile):
3378 * paragraph.C(readParagraph): \end_document replaces \the_end.
3380 2003-07-29 André Pönitz <poenitz@gmx.net>
3383 * BufferView_pimpl.[Ch]:
3387 * textcursor.[Ch]: remove toggleToggle & Co
3389 2003-07-28 José Matos <jamatos@fep.up.pt>
3391 * buffer.C (readParagraph):
3392 * params_func (readParToken, readParagraph):
3393 * paragraph.C (write): \layout -> \begin_layout.
3395 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * lyxlex_pimpl.C (setFile): clean up slightly.
3399 * bufferparams.h: add compressed var
3401 * buffer_funcs.C (readFile): adjust for LyXLex change
3402 (newFile): ditto + simplify
3404 * buffer.C (writeFile): handle writing of compressed files
3406 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3407 Check if the file is compressed and set a bufferparm if so.
3409 * Makefile.am (lyx_LDADD): remove explicit -lz
3411 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3413 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3414 makeDocBookFile): put the real LyX version in the first line of
3418 * version.C.in: remove lyx_docversion
3420 * tabular.C (write_attribute): add a template-based version to
3421 write enums properly
3423 2003-07-28 André Pönitz <poenitz@gmx.net>
3428 * text3.C: use doubles again for x-coordinates. They are needed.
3430 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * messages.C (getLocaleDir): use lyx_localedir()
3434 * lyxlex_pimpl.C (setFile): compress stuff
3436 * buffer.C (writeFile): add some compression stuff
3437 (do_writeFile): new func, dont call expliti close... will this
3440 * Makefile.am (lyx_LDADD): add -lz
3442 2003-07-28 José Matos <jamatos@fep.up.pt>
3444 * buffer.C: increment file format.
3445 * paragraph_funcs (readParagraph, readParToken):
3446 * paragraph.C (readParagraph): add \end_layout.
3448 2003-07-27 Angus Leeming <leeming@lyx.org>
3450 * Makefile.am: remove special casing for configure-time setting of
3451 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3453 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3454 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3456 2003-07-26 André Pönitz <poenitz@gmx.net>
3458 * paragraph_func.[Ch]:
3459 * paragraph.C (realizeFont): inline it whereever it is used
3464 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3467 2003-07-26 André Pönitz <poenitz@gmx.net>
3471 * text2.C: get rid of LyXText::need_break_row
3473 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * toc.[Ch]: put namespace toc inside namespace lyx
3477 * MenuBackend.C (expandToc2): adjust for lyx::toc
3480 * lyxfunc.C (dispatch): adjust for lyx::find
3482 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3483 lyx::find instead. Reorganize a bit.
3484 (LyXReplace): rename to replace
3485 (LyXFind): rename to find
3487 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3490 2003-07-26 André Pönitz <poenitz@gmx.net>
3492 * text.C (setHeightOfRow): restrict scope of temporary variable
3494 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3495 code (never has been used?)
3497 2003-07-27 Asger Alstrup <alstrup@local>
3499 * text.C (fill): Optimise algorithm to exploit that we can reuse
3500 the LyXFont for many characters.
3501 (setHeightOfRow): Same thing.
3502 (rowBreakPoint): Same thing.
3504 2003-07-26 Asger Alstrup <alstrup@local>
3506 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3508 * text.C (singleWidth): Spurious font copying in hot-spot
3509 singleWidth avoided. Reorder tests for arabic for efficiency.
3511 * text.C (fill): handle empty paragraphs better.
3513 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3516 * encoding.h: add includes
3518 * lyxrc.C: remove reading of bind files
3520 * lyx_main.C (init): setup bindings and menus only if we have a
3523 * kbmap.C (read): new method. Do the actual reading of bind
3526 * converter.C (dvipdfm_options):
3529 (output): adapt PAPER_* enums.
3531 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3533 * bufferparams.h: remove paper-related enums from there
3535 * paper.h: New file. A trivial header file to hold paper-related
3536 enums. It should later expand to contain many paper-related
3539 * lyxrc.C: declare extern displayTranslator
3541 2003-07-27 José Matos <jamatos@fep.up.pt>
3543 * tabular.[Ch] (linuxdoc): add support for tables and figures
3546 2003-07-27 José Matos <jamatos@fep.up.pt>
3548 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3549 consistency in both functions.
3550 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3552 2003-07-26 Asger Alstrup <alstrup@local>
3554 * rowpainter.C (paintRows): Change algorithm to work directly on
3555 the insets rather than asking every character in the document
3556 whether its an inset.
3558 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3560 * buffer.C (openFileWrite): factorize some code
3562 2003-07-26 Angus Leeming <leeming@lyx.org>
3565 * lyx_main.[Ch]: replace occurances of system_tempdir with
3568 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * rename Inset to InsetOld
3572 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3574 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3575 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3576 which I think is a bit clearer. EDIT is gone, since it was
3577 premature optimisation, and broken for mathed anyway.
3578 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3579 with cursor positioning in insets as well (math insets still do not
3580 work, but that's a different story anyway.) It mysteriously
3581 crashes sometimes with undo in the first paragraph, but I'm fairly
3582 confident that this is a compiler bug.
3584 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * paragraph.C (Paragraph): adjust for new clone return type
3588 (copyIntoMinibuffer): ditto
3590 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3592 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3593 by not having a special case, and always doing a full rebreak of
3594 the document after undo.
3596 2003-07-23 Angus Leeming <leeming@lyx.org>
3598 * factory.C (createInset): InsetExternal::setParams now takes a
3601 2003-07-23 Angus Leeming <leeming@lyx.org>
3603 * factory.C (createInset): changed interface to the external and
3604 graphics mailers' string2params functions.
3606 2003-07-23 Angus Leeming <leeming@lyx.org>
3608 * factory.C (createInset): pass a
3609 Buffer const * parameter to InsetExternalMailer's string2params.
3611 2003-07-22 John Levon <levon@movementarian.org>
3613 * Thesaurus.h: include the right aiksaurus header
3615 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3617 * MenuBackend.C (expand): check menu shortcuts unconditionally
3619 2003-07-21 Angus Leeming <leeming@lyx.org>
3621 * factory.C (createInset): pass a
3622 buffer_path parameter to InsetGraphicsMailer's string2params.
3624 2003-07-21 Angus Leeming <leeming@lyx.org>
3626 * BufferView_pimpl.C (buffer):
3629 * lyxfunc.C (dispatch):
3630 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3631 rather than the grfx shortcut.
3633 2003-07-21 André Pönitz <poenitz@gmx.net>
3635 * rowpainter.C: remove unused variables
3638 * tabular_funcs.h: move to tabular.C
3639 * Makefile.am: adjust
3641 * tabular.[Ch]: basic optical cleaning
3643 * author.h: pass references, not values
3645 2003-07-18 André Pönitz <poenitz@gmx.net>
3653 * text3.C: two-phase drawing for InsetText and InsetTabular
3654 some float -> int changes.
3656 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3658 * lyx_main.C: fix the fix
3660 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3662 * lyx_main.C: fix a crash in batch mode if no files specified
3665 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3667 * format.[Ch] (papersize): moved to BufferParams
3668 * converter.[Ch] (dvips_options): moved to BufferParams
3669 (dvipdfm_options): moved to anon namespace
3670 * bufferparams.[Ch]: added above functions.
3672 2003-07-17 André Pönitz <poenitz@gmx.net>
3676 * text2.C: don't call inset->update() anymore
3678 * metricsinfo.[Ch]: add convenience constructor
3680 2003-07-16 André Pönitz <poenitz@gmx.net>
3685 * text2.C: replace the LyXCursor::irow_ member with
3686 on-demand computation of the value
3688 2003-07-16 John Levon <levon@movementarian.org>
3690 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3692 2003-07-15 André Pönitz <poenitz@gmx.net>
3695 * text2.C: remove no more needed refresh_row
3697 2003-07-15 André Pönitz <poenitz@gmx.net>
3702 * text3.C: refresh_status tristate -> need_update bool
3704 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3706 * lyxtext.h (init): remove reinit argument (act as if always true)
3707 * text2.C: adjust to that
3709 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3711 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3712 * text3.C: use it to delete selections in some cases
3713 (bugs 441, 673, 702, 954).
3715 2003-07-14 André Pönitz <poenitz@gmx.net>
3717 * rowpainter.[Ch]: reduce interface
3719 2003-07-14 André Pönitz <poenitz@gmx.net>
3721 * BufferView_pimpl.C:
3722 * text2.C: adjust after removing unused BufferView * argument
3724 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3726 * text2.C (init): fix a crash fired on resize
3728 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3730 * buffer.[Ch]: added new closing signal
3731 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3732 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3733 BufferView::Pimpl via the closing the signal
3735 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3737 * buffer.[Ch]: take out all bv-related from buffer
3739 * BufferView_pimpl.[Ch]: connect to new signals
3740 * CutAndPaste.C: removed useless asserts
3741 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3744 * lyxfunc.C: moved view-related funciontality from vc here
3745 * paragraph.C: removed outdated comments
3748 2003-07-10 André Pönitz <poenitz@gmx.net>
3750 * BufferView_pimpl.C:
3754 * text2.C: remove InsetText::InnerCache, clean up consequences
3756 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3758 * ispell.C: fix two typos in error messages
3760 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3762 * Extend Note inset to other forms of annotation like Comment
3763 and Greyedout. Right button click gives dialog.
3765 Files modified or added (+):
3769 * ControlNote.[Ch] +
3771 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3772 frontends/controllers
3776 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3778 * aspell.C: add missing namespace lyx::support
3780 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3782 * BufferView.[Ch] (newFile): Add
3783 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3784 * LaTeX.[Ch] (message): added this signal and use it
3785 * buffer.[Ch] (busy, message): added these signals and use them
3786 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3790 * importer.C: use buffer signals instead of direct bv calling
3791 * lyx_cb.[Ch] (ShowMessage): removed
3794 * paragraph_funcs.C:
3795 * text2.C: use buffer signals
3797 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * introduce namespace lyx::graphics
3801 2003-07-02 André Pönitz <poenitz@gmx.net>
3803 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3805 2003-07-01 André Pönitz <poenitz@gmx.net>
3812 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3813 text*.C to text_func.C
3815 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * introduce namespace lyx::support
3819 2003-06-30 André Pönitz <poenitz@gmx.net>
3824 * text.C: re-enable --with-included-string
3826 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * textcursor.C: add <config.h>
3830 * text.C (getWord): remove const from word_location arg
3832 * lyxvc.C (getLogFile): fix const type order
3834 * lyxtext.h: remove const from word_location arg, add arg name
3836 * lyxlayout.h: currect type on labeltype.
3838 * importer.C: correct \file
3840 * converter.C (intToFormat): use std:: on ret val, ws changes
3842 * bufferlist.h: correct \file
3844 * buffer.C (makeLinuxDocFile): fix const type order
3845 (makeDocBookFile): ditto
3846 (fillWithBibKeys): use std:: on stdlib args.
3848 * CutAndPaste.C: fix authors.
3849 (availableSelections): use std:: on return vector
3851 2003-06-27 André Pönitz <poenitz@gmx.net>
3853 * BufferView_pimpl.C:
3854 * bufferview_funcs.C:
3862 * text3.C: remove LyXCursor::row_ member
3865 * text.C: rename fullRebreak() to partialRebreak() and implement
3866 a fullRebreak() that really bereks fully
3868 * textcursor.h: new struct for cursor-related data
3870 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3872 * lyx_main.C (LyX): get full path of document loaded on the
3875 2003-06-26 André Pönitz <poenitz@gmx.net>
3877 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3878 remove unused/broken operator>,<,>=.
3880 * text.C: remove only use of broken operator<= in an Assert().
3882 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3884 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3885 moved errorlist_.clear to showErrorList
3887 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3889 * converter.C (scanLog, runLaTeX):
3890 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3891 move the bv->showErrorList call to the callers
3892 * lyxfunc.C: i.e. here...
3894 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3895 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3896 namespace, the second to...
3897 * buffer_funcs (BufferFormat, parseErrors): added
3898 * errorlist.C (ErrorList(TeXErrors const &)): removed
3900 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3902 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3904 2003-06-24 "Garst R. Reese" <reese@isn.net>
3908 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3910 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3912 * version.C.in: change docversion to 1.4
3914 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3916 * buffer.C: fix a bug just introduced
3918 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3920 * buffer.[Ch]: added the parseError signal and use it, removed
3922 * BufferView.[Ch] (addError): moved to ...
3923 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3924 to the Buffer::parseError signal to catch (guess what) parse errors
3925 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3927 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3929 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3930 ability to create a buffer and to return an existing one from
3931 the list. Moved these functions to...
3932 * buffer_funcs.[Ch]: added
3933 * BufferView.[Ch] (loadLyXFile): added
3934 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3935 job removed from bufferlist::loadLyXFile.
3936 * buffer.C (setReadOnly): make it work without view
3937 (i.e added an if (users))
3939 2003-06-19 Angus Leeming <leeming@lyx.org>
3942 * LyXAction.C (init):
3943 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3944 with LFUN_DIALOG_SHOW <name> <data>.
3946 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3948 * CutAndPaste.C (availableSelections): small compilation fix for
3949 ancient (gcc 2.9x) compilers
3951 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * text3.C (cursorNext): add tmp var
3955 * text2.C (updateCounters): for function calling out of for clause
3956 (replaceSelectionWithString): ditto
3957 (insertStringAsParagraphs): ditto
3958 (getColumnNearX): add tmp var
3959 (setCursorFromCoordinates): add tmp var
3960 (cursorDownParagraph): add tmp var
3961 (deleteEmptyParagraphMechanism): add tmp var
3963 * text.C (insertChar): add tmp var
3965 * rowpainter.C (paintDepthBar): add tmp var
3967 * CutAndPaste.C (availableSelections): potentially check all
3968 paragraphs in a cut to fill the shown strings.
3970 2003-06-18 André Pönitz <poenitz@gmx.net>
3972 * kbmap.[Ch]: use vector<> instead of list<>
3974 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3976 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3977 pasteSelection with index
3979 * text2.C (pasteSelection): modify, call pasteSelection with index
3981 * paragraph.C (asString): reimplement version with no interval to
3982 call the one with interval.
3984 * lyxtext.h: add index arg to pasteSelection
3986 * MenuBackend.C (MenuItem): handle PasteRecent
3987 (Menu::read::Menutags): add md_pasterecent
3989 (expandPasteRecent): new function
3992 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3994 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3996 (availableSelections): new function
3998 2003-06-17 Angus Leeming <leeming@lyx.org>
4000 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4002 2003-06-17 Angus Leeming <leeming@lyx.org>
4005 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4007 * lyxfunc.C (dispatch): invoke it.
4009 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4011 * iterators.C (operator++, ParPosition): reintroduce some
4012 const_cast for the benefit of older compilers.
4014 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4016 * text3.C (dispatch): do not modify clipboard when doing
4017 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4018 LFUN_DELETE_SKIP on a selection selection
4020 2003-06-16 André Pönitz <poenitz@gmx.net>
4026 * tabular.[Ch]: IU of clone() and getLabelList();
4028 2003-06-13 André Pönitz <poenitz@gmx.net>
4030 * tabular.h: compactification
4032 2003-06-12 André Pönitz <poenitz@gmx.net>
4036 * tabular_funcs.h: some renaming plus whitespace
4038 2003-06-12 André Pönitz <poenitz@gmx.net>
4041 * BufferView_pimpl.C:
4047 * toc.C: Return a Paragraph & for ParIterator::operator*()
4049 2003-06-11 John Levon <levon@movementarian.org>
4053 * ToolbarBackend.C: add "Toolbars" section and
4056 2003-06-10 Angus Leeming <leeming@lyx.org>
4059 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4061 * lyxfunc.C (dispatch): invoke it.
4063 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * main.C: protect <ios> with HAVE_IOS
4066 (main): protect sync_with_stdio with HAVE_IOS
4068 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4070 * text2.C (cutSelection): adjust
4071 (pasteSelection): adjust
4073 * messages.C: handle get of empty string
4075 * main.C (main): use sync_with_stdio(false)
4077 * lyxfunc.C (dispatch): adjust
4079 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4080 (WriteAs): remove unneeded BufferView arg.
4082 * bufferparams.h: use correct types on papersize, papersize2 and
4085 * bufferparams.C (readToken): adjust for type
4086 (writeLaTeX): add missing cases to switch.
4088 * bufferlist.C (quitWriteBuffer): adjust
4091 * buffer.C (asciiParagraph): remove some commented code.
4093 * CutAndPaste.C: remove current_view extern variable.
4094 (cutSelection): add BufferParams arg.
4095 (eraseSelection): add BufferParams arg.
4096 (pasteSelection): add Buffer const & arg
4098 2003-06-07 John Levon <levon@movementarian.org>
4101 * paragraph_funcs.C:
4102 * paragraph_pimpl.C:
4106 * paragraph.C: allow InsetERT to freely space lines,
4107 and some consolidation of code
4109 2003-06-06 José Matos <jamatos@fep.up.pt>
4111 * buffer.C (makeDocBookFile): fix bug #821
4113 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4115 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4117 2003-06-04 Angus Leeming <leeming@lyx.org>
4119 * buffer.C: bump format to 224.
4121 2003-06-05 André Pönitz <poenitz@gmx.net>
4123 * text2.C (redoParagraphs): remove two const_cast<>
4125 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4127 * ParagraphList.h: remove last remnants of NO_STD_LIST
4129 2003-06-03 Angus Leeming <leeming@lyx.org>
4131 * factory.C (createInset): small change to the way InsetExternal's params
4134 2003-06-04 André Pönitz <poenitz@gmx.net>
4136 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4138 * paragraph_pimpl.h:
4139 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4141 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4143 * undo_funcs.C: make some simple cases of undo work again
4145 2003-06-03 John Levon <levon@movementarian.org>
4147 * ispell.C: HPUX doesn't have sys/select.h
4150 2003-06-03 John Levon <levon@movementarian.org>
4152 * CutAndPaste.C: update tabular and include inset
4157 * paragraph.C: remove owningBuffer(), don't pass Buffer
4160 * factory.C: insetGraphicsParams changed
4162 2003-06-02 John Levon <levon@movementarian.org>
4168 * text3.C: remove insetparent
4170 2003-06-02 John Levon <levon@movementarian.org>
4173 * buffer.C: fix inset_iterator.end(), move out of line
4176 2003-06-01 John Levon <levon@movementarian.org>
4178 * text3.C: use a proper cut/paste when doing inset
4179 insert (from Jürgen Spitzmüller)
4181 2003-06-01 John Levon <levon@movementarian.org>
4183 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4185 2003-05-30 André Pönitz <poenitz@gmx.net>
4187 * rowpainter.C: unify second drawing phase
4189 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * trans_mgr.C: remove one case of current_view
4193 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4195 * paragraph_funcs.h: remove paragraph.h include
4197 * paragraph.h: delete NO_STD_LIST stuff
4199 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4201 * buffer.h: remove paragraph.h include
4203 * ParagraphList.C: delete file
4205 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4207 * toc.C (getTocList): adjust
4209 * paragraph_pimpl.C (validate): adjust
4211 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4213 * paragraph.C (Paragraph): adjust
4214 (getPositionOfInset): use const_iterator, adjust
4215 (bibitem): use const_iterator, adjust
4216 (setInsetOwner): adjust
4218 * iterators.C (operator++): adjust
4220 * InsetList.[Ch]: Replace selfmade iterator with standard
4221 vector::iterator also introduce const_iterator. Remove getPos,
4222 getInset and setInset from InsetTable. Adjust accordingly.
4224 * BufferView.C (lockInset): adjust
4225 (ChangeInsets): adjust
4227 * tabular.[Ch]: delete commented same_id functions
4229 2003-05-28 John Levon <levon@movementarian.org>
4231 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4233 2003-05-28 André Pönitz <poenitz@gmx.net>
4235 * metricsinfo.[Ch]: remove 'fullredraw' member
4237 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4239 * lyxtextclass.C (operator): remove caching.
4241 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * text2.C (cursorBottom): adjust
4246 (setCounter): use ParagraphList::find, adjust
4248 * text.C (workWidth): use ParagraphList::find, adjust
4250 * lyxcursor.C (LyXCursor): adjust
4252 * buffer.C (inset_iterator): adjust
4254 * ParagraphList.h: make iterator(value_type) private, make
4255 ParagraphList a friend of iterator.
4257 * ParagraphList.C (find): new function
4259 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4261 2003-05-27 André Pönitz <poenitz@gmx.net>
4263 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4265 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4267 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4269 2003-05-26 John Levon <levon@movementarian.org>
4271 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4273 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * remove same_id from function signatures, adjust.
4277 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4281 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4283 * paragraph.C (Paragraph): get rid of same_ids parameter
4285 * ParagraphList.C (insert): adjust
4288 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * paragraph_funcs.C (breakParagraph): adjust
4291 (breakParagraphConservative): adjust
4293 * buffer.C (readParagraph): adjust
4295 * ParagraphList.C (insert): take a reference instead of a pointer
4298 * paragraph.[Ch] (id): new function
4300 * bufferlist.C (newFile): adjust
4302 * ParagraphList.C (ParagraphList): adjust
4304 (push_back): take a reference instead of a pointer.
4306 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4308 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4311 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4312 set else use old code.
4314 * ParagraphList.C: remove all NO_NEXT code and only compile this
4315 code of NO_STD_LIST is set.
4317 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4319 * BufferView_pimpl.C:
4329 * graphics/GraphicsConverter.C:
4330 * graphics/PreviewLoader.C: header adjustment
4332 2003-05-23 Angus Leeming <leeming@lyx.org>
4334 * LaTeXFeatures.[Ch] (useBabel): new method.
4335 * bufferparams.C (writeLaTeX): use it.
4337 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * ParagraphList.h (set): remove unused function.
4341 2003-05-23 André Pönitz <poenitz@gmx.net>
4344 * BufferView_pimpl.C:
4348 * undo_funcs.C: setUndo reworked
4350 * iterators.[Ch]: add access to topmost ParagraphList
4352 * lyxtext.[Ch] (workWidth): add a const
4354 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4356 * texrow.[Ch] (increasePos): remove function
4357 * exporter.C (export): removed unused var and outdated comment
4359 2003-05-23 Angus Leeming <leeming@lyx.org>
4361 * latexrunparams.h: rename fragile as moving_arg.
4362 * paragraph.C (simpleTeXOnePar): ditto.
4363 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4365 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4369 (textUndoOrRedo): comment out a currently unused var.
4371 * paragraph.h (NO_NEXT): enable NO_NEXT
4373 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4375 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4377 * exporter.C (Export): adjust for removeAutoInsets removal.
4379 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4381 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4383 * BufferView.[Ch] (removeAutoInsets): delete function
4385 2003-05-22 Angus Leeming <leeming@lyx.org>
4387 * latexrunparams.h: add a free_spacing variable.
4389 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4390 to pass moving_arg, as the data is stored in runparams.fragile.
4392 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4393 to Inset::latexOptional or to simpleTeXOnePar.
4395 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4396 free_spacing arg to Inset::latexOptional.
4398 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4401 2003-05-22 Angus Leeming <leeming@lyx.org>
4403 * latexrunparams.h: add fragile and use_babel variables.
4405 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4406 * buffer.C (makeLaTeXFile): store this returned value in
4407 runparams.use_babel, thus passing it to the inset::latex methods.
4409 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4410 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4412 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4413 longer has a fragile arg, as it is stored in runparams.fragile.
4415 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4416 moving_arg parameter as the data is stored in runparams.fragile.
4418 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4419 a fragile parameter as the data is stored in runparams.fragile.
4421 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4425 2003-05-22 Angus Leeming <leeming@lyx.org>
4427 * latexrunparams.h: add a 'bool nice' which defaults to false.
4429 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4430 now encapsulated within runparams.
4432 * bufferlist.C (updateIncludedTeXfiles):
4433 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4435 2003-05-22 Angus Leeming <leeming@lyx.org>
4437 * latexrunparams.h: new file containing struct LatexRunParams.
4438 * Makefile.am: add new file.
4440 * LaTeX.[Ch] (c-tor, run):
4441 * buffer.[Ch] (makeLaTeXFile):
4442 * bufferlist.[Ch] (updateIncludedTeXfiles):
4443 * converter.C (convert, scanLog):
4444 * converter.[Ch] (runLaTeX):
4445 * exporter.C (Export):
4446 * paragraph.[Ch] (simpleTeXOnePar):
4447 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4448 * paragraph_funcs.[Ch] (latexParagraphs):
4449 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4450 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4451 pass around a LatexRunParams parameter.
4453 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4455 * paragraph.[Ch]: remove unused constructor
4457 * ParagraphList.C (erase): new function, taking two iterators
4459 2003-05-22 André Pönitz <poenitz@gmx.net>
4461 * undo_funcs.C: remove duplicated code
4463 * iterator.[Ch]: operator=
4465 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * tabular.C (SetMultiColumn): ws changes
4469 * rowpainter.C (paintFirst): get rid of a ->previous
4471 * lyx_cb.C (getPossibleLabel): parlist simplification
4473 * BufferView.C (ChangeInsets): simplify slightly.
4475 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4477 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4478 * lfuns.h: new LFUN_SPACE
4479 * lyxfunc.C: protected space has a new lfun
4480 * paragraph_funcs.C: read new space insets
4482 * factory.C: handle new space insets
4484 2003-05-22 André Pönitz <poenitz@gmx.net>
4487 * BufferView_pimpl.C:
4490 * undo_funcs.C: return a ParIterator from getParFromID.
4492 * iterators.[Ch]: add two const's
4494 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * toc.C (getTocList): adjust
4498 * iterators.[Ch]: rework for parlist
4500 * buffer.C (par_iterator_begin): adjust
4501 (par_iterator_end): adjust
4503 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4505 * BufferView.C (removeAutoInsets): adjust
4506 (ChangeInsets): adjust
4508 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4510 * text.C (top_y): fix bug 1110
4512 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4514 * errorlist.[Ch]: added
4517 * BufferView_pimpl.C:
4518 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4521 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * Makefile.am: ensure that lyx is relinked upon changes to the
4524 various "convenience" libs.
4526 2003-05-20 Angus Leeming <leeming@lyx.org>
4528 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4529 files are compiled in alphabetical order again.
4531 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4533 2003-05-19 Angus Leeming <leeming@lyx.org>
4535 * gettext.[Ch]: remove "char const * _(char const *)".
4537 2003-05-19 André Pönitz <poenitz@gmx.net>
4539 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4548 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4550 2003-05-19 André Pönitz <poenitz@gmx.net>
4554 * lyxtextclass.[Ch]:
4556 * paragraph_funcs.[Ch]:
4558 * text3.C: more insetenv work
4560 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4562 * ParagraphParameters.C (params2string): small bug fixed
4564 2003-05-16 André Pönitz <poenitz@gmx.net>
4567 * bufferview_funcs.C: patch from Kornel Benko to prevent
4568 crash when _(...) is called twice in a statement
4570 2003-05-16 André Pönitz <poenitz@gmx.net>
4577 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4579 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4581 * lyx_main.C (init): remove spurious static_cast
4583 2003-05-14 André Pönitz <poenitz@gmx.net>
4585 * BufferView.C: fix format string
4587 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4589 * BufferView.[Ch] (insertErrors): removed
4590 * BufferView.[Ch] (showErrorList): added
4591 * buffer.C (runChkTeX):
4592 * converter.C (scanLog): call showErrorList instead of inserterrors
4594 2003-05-13 André Pönitz <poenitz@gmx.net>
4596 * BufferView_pimpl.C:
4598 * bufferview_func.C:
4605 * tabular_funcs.h: tostr() from its own header
4607 * ParagraphParameters.C:
4612 * text3.C: STRCONV()
4614 2003-05-12 André Pönitz <poenitz@gmx.net>
4617 * BufferView_pimpl.C:
4621 * ParagraphParameters.C:
4625 * bufferview_funcs.C:
4638 * paragraph_funcs.C:
4642 * text3.C: boost::format -> bformat all over the place
4645 2003-05-09 André Pönitz <poenitz@gmx.net>
4647 * LColor.[Ch]: Pimpl the #include <map> away
4649 2003-05-09 John Levon <levon@movementarian.org>
4651 * bufferlist.C: never remove emergency saves
4653 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * Makefile.am: better lib building
4657 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4661 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4662 (simpleTeXSpecialChars): adjust
4663 (simpleTeXSpecialChars): adjust
4664 * paragraph.C (simpleTeXOnePar): adjust
4665 * buffer.C (makeLaTeXFile): adjust
4667 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4669 * text2.C (changeDepth): parlist cleanup
4670 (getColumnNearX): ditto
4672 * rowpainter.C (getLabelFont): parlist cleanup
4674 * bufferlist.C (newFile): parlist cleanup
4676 * CutAndPaste.C (eraseSelection): parlist cleanup
4678 * BufferView_pimpl.C (trackChanges): parlist cleanup
4681 * BufferView.C (lockInset): parlist cleanup.
4682 (ChangeInsets): ditto
4684 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * CutAndPaste.h: Update file header.
4688 * CutAndPaste.C: Update file header.
4689 Store the parts cut out of the Document in a limited_stack.
4690 (copySelection): adjust
4691 (pasteSelection): new function, takes the index in the limited stack.
4692 (nrOfParagraphs): adjust
4693 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4694 simplify error inset insertion.
4695 (checkPastePossible): adjust
4697 2003-05-06 John Levon <levon@movementarian.org>
4699 * text2.C: don't cast wrap inset to float
4701 2003-05-05 André Pönitz <poenitz@gmx.net>
4704 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4706 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4707 few naked Paragraph *.
4709 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4711 * bufferparams.C: Output warning if a document with missing
4712 TeX document class is loaded
4713 * exporter.C: Disable TeX exports if the document class is missing
4716 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4717 isTeXClassAvailable()
4719 2003-05-03 John Levon <levon@movementarian.org>
4722 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4723 explicit cursor show/hide
4725 * BufferView_pimpl.h:
4726 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4727 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4729 * lyxfunc.C: hide cursor before dispatching.
4734 * text3.C: remove explicit cursor hides
4736 2003-05-02 André Pönitz <poenitz@gmx.net>
4738 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4741 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4744 * text2.C: tiny whitespace
4746 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * undo_funcs.C: almost only ws changes.
4750 * ParagraphList.C (splice): just return if pl is empty.
4752 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * ParagraphList.C (splice): new function.
4756 * CutAndPaste.C (pasteSelection): use it
4758 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * CutAndPaste.C (pasteSelection): remove the last next and
4761 previous from this file.
4763 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * CutAndPaste.C (pasteSelection): more clean up, user proper
4766 ParagraphList functions for pasteing.
4768 * ParagraphList.C (insert): new function, three arg insert
4770 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * ParagraphList.C (insert): new function, three arg insert
4774 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4777 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4781 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4788 (copySelection): clean up a bit.
4789 (pasteSelection): use make_pair
4791 * ParagraphList.C (ParagraphList): implement copy constructor
4792 (operator=): implement, base on copy constructor.
4795 * paragraph.C (erase): return a bool
4797 * paragraph_pimpl.C (erasePos): remove function, move contents...
4798 (erase): ... here. Return a bool.
4799 (erase): call erase instead of erasePos.
4801 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4803 * ParagraphList.h: define PitPosPair
4804 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4805 ParagraphList, fix a bug on pasting multiple pars
4806 * text2.C: change interface to C&P
4808 2003-04-30 André Pönitz <poenitz@gmx.net>
4810 * undo_func.C: revert part of yesterday's patch 2
4812 2003-04-30 John Levon <levon@movementarian.org>
4814 * LColor.C: s/tabular/table/
4816 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * text3.C (dispatch): do not convert iterator -> pointer
4819 * undo_funcs.C (setCursorParUndo): ditto
4820 * text_funcs.C (transposeChars): ditto
4822 * text2.C (setLayout): ws changes only
4824 * text.C (breakParagraph): do not convert iterator -> pointer
4826 (acceptChange): ditto
4827 (rejectChange): ditto
4832 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4835 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4837 * text3.C (gotoInset): YABG (yet another bad getChar)
4839 2003-04-29 André Pönitz <poenitz@gmx.net>
4841 * paragraph.h: make operator= private unimplemented as long as
4844 * ParagraphList.C: whitespace
4847 * paragraph_pimpl.[Ch]:
4848 * paragraph_funcs.C:
4850 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4853 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4855 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4857 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4858 * paragraph.[Ch] (erase):
4859 * paragraph_pimpl.[Ch] (erase): change return type and value
4860 * text2.C (cutSelection): some rework
4862 2003-04-28 John Levon <levon@movementarian.org>
4864 * bufferlist.C: changes for unsaved changes dialog
4866 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * bufferlist.C (newFile): set language (messages_) for new
4871 * buffer.C (readFile): ws changes only.
4873 2003-04-28 André Pönitz <poenitz@gmx.net>
4878 * BufferView_pimpl.C:
4879 * BufferView.C: getParFromID related ParagraphList::iterator changes
4881 2003-04-28 André Pönitz <poenitz@gmx.net>
4883 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4886 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * messages.C: remove one more localedir class variable.
4890 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * messages.C (getLocaleDir): singleton generation function
4894 (Messages): add a default constructor.
4896 * main.C (main): do not setup localedir here, do not call
4899 * gettext.C (_): use it.
4900 (gettext_init): delete funciton
4902 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * gettext.C (getLyXMessages): new singleton generating function.
4906 * buffer.C (updateDocLang): adjust
4908 * Makefile.am (messages.o): add target
4909 (main.o): remove target
4911 2003-04-27 John Levon <levon@movementarian.org>
4916 * lyxvc.C: specify cancel button in Alert::prompt
4918 2003-04-26 John Levon <levon@movementarian.org>
4923 * LyXAction.C: add LFUN_INSET_SETTINGS
4925 * lyxfunc.C: don't enable tabular-feature when there's
4926 just any locking inset
4928 2003-04-26 John Levon <levon@movementarian.org>
4930 * bufferlist.C: re-add Cancel to buffer close question
4932 * lyxfunc.C: fix import UI a bit
4934 2003-04-25 John Levon <levon@movementarian.org>
4936 * gettext.C: remove the broken asserts for now
4938 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4940 * messages.C: make case where setlocale cannot comply work better.
4942 * buffer.C (updateDocLang): new function
4943 (changeLanguage): use it
4946 * text2.C (setCounter): use B_ a bit.
4948 * lyxlayout.C (Read): be sure to trim the label strings.
4950 * messages.C (Messages): fix typo in comment
4952 * buffer.C (readFile): set message_ after file is loaded.
4953 (makeDocBookFile): remove double return
4954 (changeLanguage): reset message_ upon language change.
4955 (B_): new func, use this to get translated buffer strings.
4957 * main.C: add myself and Jean Marc as authors.
4959 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * messages.[hC]: pimplify Messages, and three different pimpls to be
4962 used in different circumstances.
4964 * gettext.[Ch]: change for use with new message code.
4966 2003-04-24 André Pönitz <poenitz@gmx.net>
4968 * factory.C: support for eqref
4970 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * messages.[Ch]: add missing char
4974 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4976 * messages.[Ch]: New files
4978 2003-04-18 John Levon <levon@movementarian.org>
4982 * BufferView_pimpl.C:
4986 * text2.C: remove layout-copy/paste (bug 778)
4988 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4990 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4992 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4994 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4995 if they succeed. Act accordingly.
4997 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * text2.C (setCharFont): adjust
5000 (setCounter): adjust
5001 (insertStringAsLines): adjust
5003 * text.C (leftMargin): adjust
5004 (setHeightOfRow): adjust
5006 * rowpainter.C (paintFirst): adjust
5009 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5011 (isFirstInSequence): ditto
5012 (getEndLabel): ditto
5015 * paragraph.C (getParLanguage): comment out some hard stuff.
5017 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5019 (simpleDocBookOnePar): ditto
5020 (makeDocBookFile): use ParagraphList::iterator
5022 * CutAndPaste.C (pasteSelection): adjust
5024 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * text2.C (getFont): adjust
5027 (getLayoutFont): adjust
5028 (getLabelFont): adjust
5030 * paragraph_funcs.C (TeXOnePar): adjust
5032 * buffer.C (simpleLinuxDocOnePar): adjust
5033 (simpleDocBookOnePar): adjust
5035 * CutAndPaste.C (pasteSelection): adjust
5037 * BufferView.C (getEncoding): adjust
5039 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5041 2003-04-16 John Levon <levon@movementarian.org>
5043 * lyxfind.C: use parlist stuff for search/changes
5045 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5049 * text2.C (deleteEmptyParagraphMechanism): adjust
5051 * text2.[Ch] (ownerParagraph): delete func (both of them
5053 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5057 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * ParagraphList.C: prepare for NO_NEXT
5061 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * text2.C (getFont): adjust
5064 (getLayoutFont): adjust
5065 (getLabelFont): adjust
5067 * paragraph.C (getFont): adjust
5068 (getLabelFont): adjust
5069 (getLayoutFont): adjust
5071 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5073 2003-04-15 John Levon <levon@movementarian.org>
5077 * lyx_main.C: handle Include in .ui files
5079 2003-04-15 John Levon <levon@movementarian.org>
5081 * MenuBackend.C: make the doc files length shorter
5084 * ToolbarBackend.C: handle toolbar placement flags,
5087 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5092 * paragraph_funcs.C (TeXOnePar): adjust
5094 * paragraph.C (getLabelFont): add outerfont arg, adjust
5095 (getLayoutFont): ditto
5096 (simpleTeXOnePar): adjust
5098 * paragraph_pimpl.C (realizeFont): delete func
5100 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5102 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5103 row argument, constify cur argument.
5105 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * text2.C (getFont): adjust
5108 (getLayoutFont): adjust
5109 (getLabelFont): adjust
5111 * paragraph_funcs.C (TeXOnePar): adjust
5112 (outerFont): new func...
5113 (realizeFont): ...moved out from here, changed this to facilitate
5116 * paragraph.C (getFont): take outerfont as arg, adjust
5117 (simpleTeXOnePar): add outerfont arg, adjust
5119 * buffer.C (simpleLinuxDocOnePar): adjust
5120 (simpleDocBookOnePar): adjust
5122 * CutAndPaste.C (pasteSelection): adjust
5124 * BufferView.C (getEncoding): adjust
5126 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5128 * text2.C (setCharFont): adjust
5129 (setCounter): adjust
5131 * text.C (leftMargin): adjust
5132 (setHeightOfRow): adjust
5134 * rowpainter.C (paintFirst): adjust
5137 * paragraph_pimpl.C (realizeFont): adjust
5139 * paragraph.C (isFirstInSequence): move from here...
5140 * paragraph_funcs.C (isFirstInSequence): ...to here
5142 * paragraph.C (outerHook): move from here...
5143 * paragraph_funcs.C (outerHook): ...to here
5145 * paragraph.C (depthHook): move from here...
5146 * paragraph_funcs.C (depthHook): ...to here
5148 * paragraph.C (getEndLabel): move from here...
5149 * paragraph_funcs.C (getEndLabel): ...to here
5151 * text2.C (realizeFont): move from here...
5152 * paragraph_funcs.C (realizeFont): ...to here
5154 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5158 2003-04-14 Angus Leeming <leeming@lyx.org>
5160 * LColor.[Ch]: scrap LColor mathcursor.
5162 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * lyxlex.[Ch] (text): delete function
5165 * trans.C (Load): adjust
5166 * paragraph_funcs.C (readParToken): adjust
5168 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5171 vector<char> instead of a char[].
5173 * lyxlex_pimpl.C (getString): adjust
5175 (lex): use getString
5179 * lyxlex.C (text): use pimpl_->getString()
5183 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5186 (makeFontEntriesLayoutSpecific): temp var for par.size()
5187 (setLayout): temp var for ownerParagraphs().end()
5188 (fullRebreak): temp var for rows().end()
5189 (selectionAsString): temp var for boost::next(startpit), realize
5190 that the while really is a regular for loop.
5191 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5192 setCursor in one place.
5193 (setParagraph): temp vr for ownerParagraphs().end()
5194 (updateCounters): make the while loop a for loop
5195 (cutSelection): temp var for ownerParagraphs().end()
5196 (updateInset): make the do {} while() a regular for loop
5197 (getCursorX): use temp vars
5198 (setCurrentFont): use temp vars
5199 (getColumnNearX): use temp vars
5201 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * text.C (transformChar): use temp var for getChar
5204 (computeBidiTables): use temp var for row->par()
5205 (fill): move temp vars for row->par() and pit->layout() earlier in
5207 (labelFill): use temp var for row->par()
5208 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5209 asc and desc, realize that pit never changes and that firstpit is
5210 just a duplicate and not needed. Exchange rit->par() with pit in a
5212 (breakAgain): use a temp var for boost::next(rit)
5213 (breakAgainOneRow): ditto
5214 (breakParagraph): use a temp var for rows().begin()
5215 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5216 (cursorRightOneWord): use temp var for cursor.par() and
5217 cursor.pos(), remove usage of tmpcursor.
5218 (cursorLeftOneWord): use temp var for cursor.par() and
5219 cursor.pos() only set cur at end of function.
5221 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text.C, text2.C: exchange all usage of Paragraph::next with
5224 boost::next(ParagraphList::iterator)
5226 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5228 * text2.C (cursorTop): simplify implementation
5229 (cursorBottom): ditto
5230 (setParagraph): use ParagraphList::iterator
5231 (setCurrentFont): adjust
5232 (getColumnNearX): adjust
5233 (cursorRight): adjust
5234 (cursorLeft): remove usage of Paragraph::previous
5235 (cursorUpParagraph): ditto
5236 (deleteEmptyParagraphMechanism): slight cleanup
5238 * text.C (isBoundary): take a Paragraph const & instead of a
5240 (addressBreakPoint): ditto
5241 (leftMargin): remove usage of Paragraph::previous.
5242 (setHeightOfRow): ditto
5243 (cursorLeftOneWord): ditto
5244 (selectNextWordToSpellcheck): ditto
5247 (breakParagraph): remove one usage of Paragraph::next
5248 (redoParagraph): ditto
5249 (acceptChange): ditto
5250 (insertChar): adjust
5251 (rowBreakPoint): adjust
5253 * bufferview_funcs.C (toggleAndShow): adjust
5255 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5257 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5258 methods to access it.
5260 * text.C: Added updateRowPositions to compute all row positions.
5261 Make top_y and getRowNearY() to use the cached y position
5263 2003-04-11 John Levon <levon@movementarian.org>
5265 * text.C (rowBreakPoint): reintroduce the labelEnd
5266 checks, code copied from the row fill stuff. Deep voodoo.
5268 * text.C (fill): add a comment and debugging for the
5271 2003-04-11 John Levon <levon@movementarian.org>
5273 * text.C: make sure fullrow insets get wrapped to the next line,
5274 even when they're in a manual label
5276 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * text2.C (insertParagraph): make it take ParagraphList::iterator
5280 (setLayout): make it return ParagraphList::iterator
5281 (redoParagraphs): ditto
5283 (checkParagraph): ditto
5285 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5287 * text2.C: adjust several funcs.
5288 (realizeFont): take a ParagraphList::iterator as arg.
5289 (getLayoutFont): ditto
5290 (getLabelFont): ditto
5291 (setCharFont): ditto
5293 * text.C: adjust several funcs.
5295 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5297 * text.C (selectNextWordToSpellcheck): don't accidentally
5300 2003-04-10 John Levon <levon@movementarian.org>
5302 * ToolbarBackend.C (getIcon): special handling for
5305 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5307 * text2.C (cursorRight): a getChar assert fixed
5309 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * text2.C (getFont): change to take a ParagraphList::iterator
5312 instead of Paragraph*
5313 Adjust several functions.
5315 * text.C (transformChar): change to take a ParagraphList::iterator
5316 instead of Paragraph*
5317 (singleWidth): ditto
5318 Adjust several functions.
5320 * rowpainter.C: adjust several functions
5321 * rowpainter.h:store a ParagraphList::iterator and not a
5325 2003-04-09 John Levon <levon@movementarian.org>
5330 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5331 and the "help" bits as well
5333 2003-04-09 John Levon <levon@movementarian.org>
5336 * ToolbarBackend.C: allow multiple toolbars
5338 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * undo_funcs.C (setCursorParUndo): adjust
5342 * text_funcs.C (transposeChars): adjust
5344 * text3.C (gotoNextInset): adjust
5347 * text2.C (setLayout): adjust
5348 (changeDepth): adjust
5350 (redoParagraphs): adjust
5351 (selectionAsString): adjust
5352 (setParagraph): adjust
5353 (insertInset): adjust
5354 (cutSelection): adjust
5355 (copySelection): adjust
5356 (pasteSelection): adjust
5357 (insertStringAsLines): adjust
5358 (updateInset): adjust
5359 (setCursor): change to take a ParagraphList::iterator parameter
5360 (setCursorIntern): change to take a ParagraphList::iterator parameter
5361 (setCurrentFont): adjust
5362 (cursorLeft): adjust
5363 (cursorRight): adjust
5364 (deleteEmptyParagraphMechanism): adjust
5366 * text.C (breakParagraph): adjust
5367 (insertChar): adjust
5368 (acceptChange): adjust
5369 (rejectChange): adjust
5370 (selectNextWordToSpellcheck): adjust
5371 (changeCase): adjust
5375 * lyxfind.C (SearchForward): adjust
5376 (SearchBackward): adjust
5377 (nextChange): adjust
5379 * lyxcursor.C (par): adjust
5381 * lyxcursor.h: store a ParagraphList::iterator instead of a
5384 * lyx_cb.C (getPossibleLabel): adjust
5386 * bufferview_funcs.C (toggleAndShow): adjust
5388 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5391 * BufferView.C (removeAutoInsets): adjust
5392 (lockedInsetStoreUndo): adjust
5394 2003-04-09 John Levon <levon@movementarian.org>
5396 * ToolbarBackend.C: try icon without argument
5397 if with argument fails
5399 2003-04-08 John Levon <levon@movementarian.org>
5402 * ToolbarBackend.C: add getIcon(), handle tooltip,
5403 and change from "Icon" to "Item".
5405 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5407 * BufferView.C (lockInset): another bad getchar crunched
5409 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5411 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5414 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5416 * lyxfind.C (searchForward, searchBackwards): bug 782
5418 2003-04-07 John Levon <levon@movementarian.org>
5420 * paragraph.C: remove dead comment
5422 * text.C: remove troublesome depth-fiddling code
5423 in leftMargin() and rightMargin() (bug 1017)
5425 * text.C: fix breaking of rows in nested lists
5428 * text2.C (updateCounters): fix up depth values
5431 2003-04-07 John Levon <levon@movementarian.org>
5433 * BufferView_pimpl.C: clear message when doc finishes resizing,
5434 and after a mouse event
5436 * lyxfunc.C: clear message after exiting inset
5438 2003-04-07 John Levon <levon@movementarian.org>
5440 * bufferview_funcs.C: show math status not outside
5441 status in the statusbar
5443 2003-04-07 John Levon <levon@movementarian.org>
5445 * lyxfunc.C: note status changed after a depth change
5447 2003-04-04 Angus Leeming <leeming@lyx.org>
5449 * LaTeX.h: move AuxInfo operator==, != out of line.
5450 Remove LaTeX virtual destructor; nothing derives from it.
5451 Move operator()() out of public area and rename it startscript().
5452 Change protected for private.
5454 2003-04-04 Angus Leeming <leeming@lyx.org>
5457 * text2.C: remove unneeded #includes.
5459 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5461 * text2.C (dEPM): fix the heigth of the next row
5463 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5465 * text.C: squashed an invalid getChar requester + some ws changes
5467 2003-04-03 John Levon <levon@movementarian.org>
5469 * bufferview_funcs.h:
5470 * bufferview_funcs.C:
5473 * text2.C: make getStatus work for the env depth lfuns
5475 2003-04-03 John Levon <levon@movementarian.org>
5477 * bufferview_funcs.h:
5478 * bufferview_funcs.C:
5481 * text2.C: parlistize decDepth(), by merging it with incDepth()
5483 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * lyxrow.h: store a ParagraphList::iterator instead of a
5486 Paragraph* and adjust other class functions to suit.
5488 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5491 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5493 * text2.C (setCursor): do not anchor to cursor row for the time being
5495 2003-04-02 John Levon <levon@movementarian.org>
5502 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5504 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * paragraph.h: make ParagraphList and ParagraphList::iterator
5507 friends of Paragraph.
5509 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5511 * ParagraphList.C: Use the private next_ and previous_ from
5514 2003-04-01 John Levon <levon@movementarian.org>
5518 * Makefile.am: rename, remove defaults gunk
5521 * MenuBackend.C: remove defaults gunk
5524 * Languages.C: remove defaults gunk
5527 * lyx_main.C: error out if files couldn't be found.
5529 2003-04-02 John Levon <levon@movementarian.org>
5531 * text2.C: make incDepth() use parlist
5533 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * undo_funcs.C (firstUndoParagraph): adjust
5537 * text3.C (gotoInset): adjust
5538 (dispatch): adjust, and rewrite loop.
5540 * text2.C (init): adjust, and rewrite loop.
5541 (redoParagraphs): adjust
5542 (updateInset): adjust, and rewrite loop.
5543 (deleteEmptyParagraphMechanism): adjust
5545 * tabular.C (LyXTabular): adjust
5546 (SetMultiColumn): adjust
5549 * lyxtext.[Ch] (ownerParagraph): delete function
5550 (ownerParagraphs): new function returns a ParagraphList.
5552 * BufferView.C (removeAutoInsets): adjust
5553 (insertErrors): adjust
5554 (setCursorFromRow): adjust
5556 2003-04-01 Angus Leeming <leeming@lyx.org>
5558 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5561 2003-04-02 John Levon <levon@movementarian.org>
5567 * text_funcs.C: make transposeChars a free function
5569 * lyxrow_funcs.C: remove wrong comment
5571 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * rowpainter.C: adjust
5579 * lyxrow_funcs. [Ch]: new files
5581 * lyxrow.[Ch]: remove next and previous pointers
5582 (next,previous): remove accessor functions
5583 (isParEnd): move to lyxrow_funcs
5584 (lastPos): move to lyxrow_funcs
5585 (nextRowIsAllInset): move to lyxrow_funcs
5586 (lastPrintablePos): move to lyxrow_funcs
5587 (numberOfSeparators): move to lyxrow_funcs
5588 (numberOfHfills): move to lyxrow_funcs
5589 (numberOfLabelHfills): move to lyxrow_funcs
5590 (hfillExpansion): move to lyxrow_funcs
5594 * bufferview_funcs.C (toggleAndShow): adjust
5596 * RowList.h: Remove class RowList from file leave just a
5599 * RowList.C: delete file
5601 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5604 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5606 * text3.C (cursorPrevious): adjust
5607 (cursorNext): adjust
5610 * text2.C (redoHeightOfParagraph): adjust
5611 (redoDrawingOfParagraph): adjust
5614 * text.C (breakParagraph): adjust
5615 (insertChar): adjust
5618 * rowpainter.C (RowPainter): adjust
5619 (leftMargin): simplify and adjust
5620 (most rowpainter functions): adjust.
5622 * rowpainter.h: store the row as RowList::iterator not as Row*
5624 * lyxcursor.C (row): taka RowList::iterator as arg
5627 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5630 2003-04-01 Angus Leeming <leeming@lyx.org>
5632 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5633 stuff like bool Bool.
5635 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5637 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5640 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5645 * lyxtext.h (rows): drop one version and leve a const variant that
5646 returns a RowList::iterator.
5648 2003-03-31 Angus Leeming <leeming@lyx.org>
5650 * text.C (fill): ensure that the signature is the same as that in the
5653 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * text2.C (redoParagraphs): adjust
5656 (updateCounters): adjust
5657 (checkParagraph): adjust
5658 (getColumnNearX): adjust and reformat a bit.
5660 * text.C (top_y): adjust
5662 (leftMargin): adjust
5663 (prepareToPrint): adjust
5665 (getRowNearY): adjust
5667 * lyxtext.h: make rowlist_ mutable.
5669 * RowList.h: add const_iterator
5670 * RowList.C: adjust for RowList::const_iterator.
5672 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5675 2003-03-31 John Levon <levon@movementarian.org>
5678 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5680 * lyx_main.C: set default fonts from using lyx_gui funcs
5682 * exporter.C: pdf_mode moved from lyxrc
5685 * lyxfunc.C: changes from above
5687 2003-03-31 John Levon <levon@movementarian.org>
5689 * lyx_main.C: fix to the last fix
5691 2003-03-31 John Levon <levon@movementarian.org>
5693 * bufferlist.C: "Load original" -> "Load Original"
5699 * format.C: more Alert cleanups
5701 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * text2.C (removeParagraph): make it take a RowList::iterator as
5705 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5706 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5708 * text.C (anchor_row): make it take a RowList::iterator as arg,
5710 (computeBidiTables): make it take a const reference to Row instead
5711 of Row pointer, adjust.
5712 (leftMargin): make it take a RowList::iterator as arg, adjust.
5713 (rowBreakPoint): adjust
5714 (breakAgainOneRow): make it take a RowList::iterator as arg,
5716 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5718 * bufferview_funcs.C (toggleAndShow): adjust
5720 2003-03-30 John Levon <levon@movementarian.org>
5724 * boost-inst.C: moved to support
5726 * several files: changes as a result
5728 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * text2.C (LyXText): adjust.
5732 (removeRow): make it take a RowList::iterator as arg, adjust.
5733 (fullRebreak): adjust
5734 (deleteEmptyParagraphMechanism): adjust
5735 (clearPaint): adjust
5738 * text.C (top_y): adjust
5739 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5740 (breakAgain): make it take a RowList::iterator as arg, adjust.
5741 (breakParagraph): adjust
5742 (insertChar): adjust
5745 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5746 need_break_row, and refresh_row.
5748 * text3.C (dispatch): adjust
5750 * text2.C (checkParagraph): adjust
5752 (setCursorFromCoordinates): adjust
5754 * text.C (top_y): adjust
5756 (getRow): make it return a RowList::iterator, adjust
5757 (getRowNearY): make it return a RowList::iterator, adjust
5759 * text2.C (init): adjust
5760 (insertRow): remove function
5761 (insertParagraph): adjust
5762 (redoParagraphs): adjust
5763 (fullRebreak): adjust
5764 (updateCounters): adjust
5766 * text.C (top_y): rewrite to use RowList iterators.
5768 (setHeightOfRow): rewrite to sue RowList iterators.
5769 (appendParagraph): adjust
5770 (breakAgain): adjust
5771 (breakAgainOneRow): adjust
5772 (breakParagraph): adjust
5774 (getRowNearY): adjust, and remove commented code.
5776 * lyxtext.h (firstRow): delete function
5777 (lastRow): delete function
5778 (rows): new function (const and non-const versions.)
5779 (insertRow): delete function
5781 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5783 2003-03-29 John Levon <levon@movementarian.org>
5785 * BufferView_pimpl.C: always update scrollbar top
5786 because pasting text when we're anchored could mean we
5787 miss an update altogether
5789 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * text2.C (init): use rowlist_.end() and not 0.
5792 (insertRow): change to take a RowList::iterator as arg, adjust
5794 (insertParagraph): change to take a RowList::iterator as arg,
5796 (redoParagraphs): remove some debug msgs.
5798 * text.C (appendParagraph): change to take a RowList::iterator
5799 arg, adjust for this.
5800 (breakAgain): add an assert
5801 (breakAgainOneRow): ditto
5803 2003-03-29 John Levon <levon@movementarian.org>
5805 * text2.C: do not clear selection after inc/decDepth
5808 2003-03-29 John Levon <levon@movementarian.org>
5811 * buffer.C: fix broken strerrors according to Lars
5813 2003-03-29 John Levon <levon@movementarian.org>
5815 * converters.C: more Alert cleanups
5817 2003-03-29 John Levon <levon@movementarian.org>
5819 * bufferview_funcs.C: remove pointless Alert
5821 * buffer.C: fix confusing error message when
5822 a template is chmoded 000
5824 2003-03-29 John Levon <levon@movementarian.org>
5828 * BufferView_pimpl.C: Alert fixes
5832 * tabular-old.C: remove unused table compat reading
5834 2003-03-29 John Levon <levon@movementarian.org>
5839 * lyx_cb.C: more Alert cleanups
5841 * lyxfunc.C: don't allow chktex if not latex document
5843 2003-03-29 John Levon <levon@movementarian.org>
5847 * buffer.C: warnings pushed down from support/,
5850 2003-03-29 John Levon <levon@movementarian.org>
5852 * lyxfunc.C: safety check for C-r (revert)
5854 2003-03-29 John Levon <levon@movementarian.org>
5857 * bufferlist.C: several UI fixes using Alert::prompt.
5858 Fix the pointless looping quit code. Fix stupid revert
5863 * lyx_cb.C: use Alert::prompt
5865 * lyx_main.C: remove a silly question
5867 * lyxfunc.C: remove a couple of silly questions,
5870 2003-03-28 John Levon <levon@movementarian.org>
5872 * text2.C: fix bug 974 (End on empty par)
5874 2003-03-28 John Levon <levon@movementarian.org>
5876 * BufferView_pimpl.C:
5878 * lfuns.h: remove do-nothing math greek lfuns
5880 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * lyxgluelength.h (isValidGlueLength): add default arg on
5883 parameter 2. Remove default arg from friend in class.
5885 * lyxlength.h (isValidLength): add default arg on parameter 2.
5886 Remove default arg from friend in class.
5888 * text2.C (LyXText): adjust, initialize refresh_row.
5892 (insertParagraph): adjst
5893 (redoParagraphs): adjust
5894 (fullRebreak): adjust
5895 (updateCounters): adjust
5896 (deleteEmptyParagraphMechanism): first attempt at fixing a
5899 * text.C (top_y): adjust
5900 (setHeightOfRow): adjust
5902 (getRowNearY): adjust
5904 * lyxtext.h: include RowList.h
5905 (~LyXText): not needed anymore, deleted.
5906 (firstRow): modify for RowList
5907 (lastRow): new function
5908 Delete firstrow and lastrow class variables, add a Rowlist
5909 rowlist_ class variable.
5911 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5914 * RowList.C (insert): fix case where it == begin().
5916 2003-03-26 Angus Leeming <leeming@lyx.org>
5918 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5919 the thesaurus dialog.
5921 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5925 * RowList.[Ch]: new files
5927 * ParagraphList.C (erase): handle the case where it == begin
5930 2003-03-25 John Levon <levon@movementarian.org>
5934 * aspell.C: add new aspell support
5937 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5940 2003-03-25 Angus Leeming <leeming@lyx.org>
5943 * LyXAction.C (init): new LFUN_INSET_INSERT.
5945 * BufferView_pimpl.C (dispatch): split out part of the
5946 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5948 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5951 2003-03-25 Angus Leeming <leeming@lyx.org>
5953 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5955 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5958 * text3.C: remove useless row->height(0)
5960 2003-03-25 John Levon <levon@movementarian.org>
5964 * text3.C: rename the refreshing stuff to better names
5966 2003-03-24 John Levon <levon@movementarian.org>
5968 * BufferView_pimpl.h:
5969 * BufferView_pimpl.C: update layout choice on a mouse
5972 2003-03-23 John Levon <levon@movementarian.org>
5974 * Makefile.am: fix commandtags.h reference
5976 2003-03-22 John Levon <levon@movementarian.org>
5978 * BufferView_pimpl.C:
5983 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5985 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5988 * text.C: take the rtl methods out of line
5990 2003-03-21 André Pönitz <poenitz@gmx.net>
5992 * metricsinfo.[Ch]: new files containing structures to be passed around
5993 during the two-phase-drawing...
5995 2003-03-21 André Pönitz <poenitz@gmx.net>
5997 * lyxtextclass.C: read 'environment' tag.
5999 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6001 * text2.C (removeRow): fix bug 964
6003 2003-03-20 John Levon <levon@movementarian.org>
6007 * text2.C: paint cleanups. Inset::update() dropped font
6010 2003-03-19 John Levon <levon@movementarian.org>
6012 * lyxfunc.C: only fitcursor/markDirty if available()
6014 2003-03-19 John Levon <levon@movementarian.org>
6016 * commandtags.h: rename to ...
6018 * lfuns.h: ... this, and renumber / cleanup
6020 2003-03-19 John Levon <levon@movementarian.org>
6022 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6023 fit the cursor after an lfun
6027 * BufferView_pimpl.h:
6028 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6030 * LyXAction.C: layout-character should have ReadOnly
6032 * ParagraphParameters.C:
6034 * bufferview_funcs.C:
6041 * undo_funcs.C: changes from above
6043 2003-03-18 John Levon <levon@movementarian.org>
6045 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6046 remove it from update()
6048 * lyxfunc.C: update layout choice after an lfun
6050 * text3.C: remove extra updateLayoutChoice()s
6052 2003-03-18 John Levon <levon@movementarian.org>
6054 * text.C: top_y change means full repaint, fix
6055 a drawing bug with cursor movement
6057 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6061 * text2.C: anchor row on setCursor
6063 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6065 * lyxtext.h: remove almost all mutable keywords
6068 * text3.C: remove const keywords accordingly
6070 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6074 (TeXEnvironment): ditto
6077 2003-03-17 John Levon <levon@movementarian.org>
6079 * text.C (rowBreakPoint): remove attempt to fix displayed
6080 math insets inside a manual label
6082 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * lyxtext.h: remove BufferView* as first arg from almost all class
6086 * other files: adjust.
6088 2003-03-17 John Levon <levon@movementarian.org>
6092 * text2.C: more paint cleanups
6094 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6097 * rowpainter.C: remove "smart" background painting code
6099 2003-03-16 John Levon <levon@movementarian.org>
6104 * text3.C: add helper functions for setting refresh_row/y
6106 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6108 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6109 newline inset which *can* get inserted in the pass_thru layouts.
6110 This is primarily for literate documents.
6112 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6114 * buffer.C: increment LYX_FORMAT to 223
6116 2003-03-14 André Pönitz <poenitz@gmx.net>
6118 * textclass.h: prepare for environment handling, ws changes
6119 * lyxlayout.C: read latexheader and latexfooter tags
6121 2003-03-14 John Levon <levon@movementarian.org>
6123 * text2.C: rewrite ::status() a bit
6125 2003-03-13 John Levon <levon@movementarian.org>
6127 * lyxtext.h: add some docs
6129 2003-03-13 John Levon <levon@movementarian.org>
6134 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6136 2003-03-13 John Levon <levon@movementarian.org>
6138 * text3.C: fix appendix redrawing
6140 2003-03-13 John Levon <levon@movementarian.org>
6142 * text.C (setHeightOfRow):
6144 * rowpainter.C: make appendix mark have the text
6145 "Appendix" so the user knows what it is
6148 * LColor.C: s/appendixline/appendix/ from above
6150 2003-03-13 John Levon <levon@movementarian.org>
6152 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6154 * text.C: fix a getChar(pos) bug properly
6156 2003-03-13 Angus Leeming <leeming@lyx.org>
6159 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6160 Probably only temporary. Let's see how things pan out.
6162 * BufferView.C (unlockInset):
6163 * BufferView_pimpl.C (fitCursor):
6164 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6166 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6167 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6169 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6170 new functions that convert ParagraphParameters to and from a string.
6172 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6173 BufferView::Pimpl's dispatch.
6174 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6176 2003-03-13 André Pönitz <poenitz@gmx.net>
6180 * factory.C: make it aware of InsetEnv
6182 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6184 * text2.C (setCursor): never ask for one past last
6185 (setCursor): add some debugging messages.
6187 * text.C (singleWidth): never ask for one past last
6188 (singleWidth): ditto
6190 (rightMargin): ditto
6191 (rowBreakPoint): ditto
6192 (setHeightOfRow): ditto
6193 (prepareToPrint): ditto
6195 * rowpainter.C (paintBackground): never ask for one past last
6196 (paintText): never ask for one past last
6198 * paragraph_pimpl.C (getChar): make the assert stricter, never
6199 allow the one past last pos to be taken
6201 * paragraph.C (getChar): ws changes only
6203 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6204 (numberOfSeparators): ditto
6205 (numberOfHfills): ditto
6207 2003-03-12 John Levon <levon@movementarian.org>
6213 * paragraph_funcs.C: fix per-buffer authorlists
6215 2003-03-12 John Levon <levon@movementarian.org>
6217 * text.C: fix newline in right address
6219 2003-03-12 Angus Leeming <leeming@lyx.org>
6221 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6222 duplicate those in LyXFunc::dispatch.
6226 * ToolbarDefaults.C:
6227 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6228 Add LFUN_FONTFREE_UPDATE.
6230 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6231 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6233 * bufferview_func.[Ch]: several new functions to facilliate
6234 transfer of data to and from the character dialog.
6236 2003-03-12 John Levon <levon@movementarian.org>
6241 * paragraph_funcs.C:
6242 * paragraph_pimpl.C:
6246 * text3.C: remove META_NEWLINE in favour of an inset
6249 * rowpainter.C: remove paintNewline (done by inset)
6251 2003-03-12 John Levon <levon@movementarian.org>
6253 * paragraph_pimpl.C: complain about bad getChar()s
6254 for a while at least
6256 2003-03-12 John Levon <levon@movementarian.org>
6259 * buffer.C: move paragraph read into a separate function,
6260 a little renaming to reflect that.
6263 * bufferparams.C: remove the author_ids map, not necessary now
6266 * factory.C: moved Buffer::readInset to here
6268 * paragraph_funcs.h:
6269 * paragraph_funcs.C: readParagraph free function moved from
6272 * tabular.C: name change
6274 2003-03-12 John Levon <levon@movementarian.org>
6277 * ParagraphParameters.C: move par params input to
6280 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6281 behave like a normal read from the stream wrt reading
6282 a line vs. a \\token
6284 2003-03-12 John Levon <levon@movementarian.org>
6287 * ParagraphParameters.h:
6288 * ParagraphParameters.C: move output code to a
6291 2003-03-12 John Levon <levon@movementarian.org>
6293 * BufferView.C (insertLyXFile):
6296 * tabular.C: use a parlist iterator for creating the
6299 2003-03-12 John Levon <levon@movementarian.org>
6301 * buffer.C: make current_change static local not
6304 2003-03-12 John Levon <levon@movementarian.org>
6306 * buffer.C: fix insertStringAsLines for change tracking
6308 2003-03-12 John Levon <levon@movementarian.org>
6315 * bufferparams.C: move author list into params. Rename some
6316 functions. Move the header reading into a separate token
6317 loop. Move the header token reading into BufferParams.
6319 2003-03-12 John Levon <levon@movementarian.org>
6321 * changes.C: put debug inside lyxerr.debugging() checks
6323 2003-03-11 André Pönitz <poenitz@gmx.net>
6325 * factory.C: make it aware of InsetHFill
6327 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6329 * buffer.C (latexParagraphs): move function from here...
6330 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6333 2003-03-10 Angus Leeming <leeming@lyx.org>
6335 * LyXAction.C (init): fix bug in poplating array with multiple entries
6336 with the same LFUN (spotted by JMarc).
6338 2003-03-10 John Levon <levon@movementarian.org>
6341 * text2.C: move getColumnNearX() near its
6344 2003-03-10 John Levon <levon@movementarian.org>
6346 * text.C: fix break before a minipage
6348 2003-03-10 John Levon <levon@movementarian.org>
6350 * text.C: fix the last commit
6352 2003-03-09 John Levon <levon@movementarian.org>
6356 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6357 bug 365 (don't break before insets unless needed). Don't
6358 return a value > last under any circumstances.
6360 2003-03-09 Angus Leeming <leeming@lyx.org>
6362 * BufferView_pimpl.C (trackChanges, dispatch): call
6363 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6365 2003-03-09 Angus Leeming <leeming@lyx.org>
6367 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6368 than Dialogs::showAboutlyx().
6370 2003-03-09 Angus Leeming <leeming@lyx.org>
6372 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6373 than Dialogs::showTabularCreate().
6375 2003-03-09 John Levon <levon@movementarian.org>
6379 * text2.C: 3rd arg to nextBreakPoint was always the same.
6382 2003-03-08 John Levon <levon@movementarian.org>
6389 * text2.C: Remove the "main" bit from the "main body"
6392 2003-03-08 John Levon <levon@movementarian.org>
6394 * text.C (leftMargin): The left margin of an empty
6395 manual label paragraph should not include the label width
6398 * text.C (prepareToPrint): don't attempt to measure hfills
6399 for empty manual label paragraphs - the answer should be 0
6401 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * CutAndPaste.C: remove commented code and reindent.
6405 2003-03-08 John Levon <levon@movementarian.org>
6408 * lyxfunc.C: move reloadBuffer()
6411 * BufferView.C: to here
6413 * lyxvc.C: add comment
6416 * vc-backend.C: call bv->reload() to avoid
6417 getStatus() check on MENURELOAD
6419 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6421 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6422 to an old format .dep file.
6424 2003-03-07 Angus Leeming <leeming@lyx.org>
6426 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6427 when the LFUN_MOUSE_RELEASE should have been handled by
6428 inset->localDispatch.
6430 2003-03-07 Angus Leeming <leeming@lyx.org>
6432 * BufferView_pimpl.C (dispatch):
6433 * LyXAction.C (init):
6434 * ToolbarDefaults.C (init):
6436 * lyxfunc.C (getStatus):
6437 remove LFUN_INSET_GRAPHICS.
6439 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6441 2003-03-07 Angus Leeming <leeming@lyx.org>
6444 * LyXAction.C (init):
6445 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6447 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6450 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6452 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6453 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6455 2003-03-07 Angus Leeming <leeming@lyx.org>
6457 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6460 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * ParagraphList.C (front): new function
6465 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6467 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6468 and top_row_offset_. removed var first_y.
6470 * text2.C (LyXText, removeRow):
6472 * BufferView_pimpl.C:
6473 use these methods instead of using first_y
6475 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * text2.C (pasteSelection): adjust for checkPastePossible
6479 * CutAndPaste.C: remove Paragraph * buf and replace with
6480 ParagraphList paragraphs.
6481 (DeleteBuffer): delete
6482 (cutSelection): change the tc type to textclass_type
6483 (copySelection): change the tc type to textclass_type
6484 (copySelection): adjust for ParagraphList
6485 (pasteSelection): change the tc type to textclass_type
6486 (pasteSelection): adjust for Paragraphlist
6487 (nrOfParagraphs): simplify for ParagraphList
6488 (checkPastePossible): simplify for ParagraphList
6489 (checkPastePossible): remove unused arg
6491 * ParagraphList.C (insert): handle the case where there are no
6494 * CutAndPaste.h: make CutAndPaste a namespace.
6496 * text3.C (dispatch): adjust
6498 * text.C (breakParagraph): add a ParagraphList as arg
6500 * paragraph_funcs.C (breakParagraph): change to take a
6501 BufferParams and a ParagraphList as args.
6502 (breakParagraphConservative): ditto
6503 (mergeParagraph): ditto
6504 (TeXDeeper): add a ParagraphList arg
6505 (TeXEnvironment): ditto
6508 * buffer.C (readLyXformat2): adjust
6509 (insertStringAsLines): adjust
6510 (latexParagraphs): adjust
6512 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6513 (cutSelection): adjust
6514 (pasteSelection): adjust
6516 * BufferView_pimpl.C (insertInset): adjust
6518 2003-03-05 Angus Leeming <leeming@lyx.org>
6521 * LyXAction.C (init):
6522 * BufferView_pimpl.C (dispatch):
6523 * lyxfunc.C (getStatus):
6524 remove LFUN_CHILD_INSERT.
6526 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6528 2003-03-05 Angus Leeming <leeming@lyx.org>
6531 * LyXAction.C (init):
6532 * src/factory.C (createInset):
6533 * lyxfunc.C (getStatus):
6534 * text3.C (dispatch):
6535 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6537 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6539 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * ParagraphList.C (insert): handle insert right before end()
6542 (erase): fix cases where it can be first or last paragraph.
6544 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6547 Paragraph::next and Paragraph::previous
6550 * text.C (breakParagraph): adjust
6552 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6553 BufferParams& as arg.
6554 (breakParagraph): use ParagraphList::insert
6555 (breakParagraphConservative): take a Buffer* instead of a
6556 BufferParams& as arg.
6557 (breakParagraphConservative): use ParagraphList::insert.
6559 * buffer.C (insertStringAsLines): un-const it
6560 (insertStringAsLines): adjust
6562 * ParagraphList.C (insert): new function
6564 * CutAndPaste.C (pasteSelection): adjust
6566 * text.C (backspace): adjust
6568 * tabular.C (SetMultiColumn): adjust
6570 * CutAndPaste.C (cutSelection): adjust
6571 (pasteSelection): adjust
6573 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6574 Buffer const * as arg
6576 * ParagraphList.C (erase): new function
6577 * paragraph_funcs.C (mergeParagraph): use it
6578 (mergeParagraph): make it take a Buffer* instead of a
6579 BufferParams* as arg
6581 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6583 (breakParagraphConservative): ditto
6585 * paragraph.h: remove the breakParagraph friend
6587 * paragraph.C (eraseIntern): new function
6588 (setChange): new function
6590 * paragraph_funcs.C (mergeParagraph): make it take a
6591 ParagraphList::iterator instead of a Paragraph *, adjust
6594 * paragraph.h: move an #endif so that the change tracking stuff
6595 also works in the NO_NEXT case.
6597 2003-03-04 Angus Leeming <leeming@lyx.org>
6600 * LyXAction.C: new LFUN_INSET_MODIFY.
6602 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6603 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6605 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * several files: ws changes only
6609 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6610 (TeXEnvironment): ditto
6613 * buffer.C (makeLaTeXFile): adjust
6614 (latexParagraphs): make it take ParagraphList::iterator as args
6616 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * buffer.C (latexParagraphs): adjust
6620 * paragraph.C (TeXOnePar): move function...
6621 (optArgInset): move function...
6622 (TeXEnvironment): move function...
6623 * paragraph_pimpl.C (TeXDeeper): move function...
6624 * paragraph_funcs.C: ...here
6626 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6628 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * buffer.C (readInset): remove compability code for old Figure and
6633 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * buffer.C: ws changes
6638 * BufferView_pimpl.C: ditto
6641 * bufferlist.h: ditto
6645 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6647 * converter.[Ch]: split into itself +
6650 * Makefile.am: += graph.[Ch] + format.[Ch]
6657 * lyxrc.C: added #include "format.h"
6659 2003-02-27 Angus Leeming <leeming@lyx.org>
6661 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6664 * factory.C (createInset): add "label" to the factory.
6666 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6667 string and do no more.
6669 2003-02-27 Angus Leeming <leeming@lyx.org>
6672 * LyXAction.C (init):
6673 * factory.C (createInset):
6674 * BufferView_pimpl.C (dispatch):
6675 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6677 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6679 * lyxfunc.C (dispatch):
6680 * text3.C (dispatch): pass name to params2string.
6682 2003-02-26 Angus Leeming <leeming@lyx.org>
6684 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6686 Rearrange the ~includes. Strip out the unnecessary ones.
6688 * factory.C (createInset): reformat.
6689 create new insets for the various LFUN_XYZ_APPLY lfuns.
6691 2003-02-26 John Levon <levon@movementarian.org>
6694 * lyxrow.C: add isParStart,isParEnd helpers
6696 * paragraph.h: make isInserted/DeletedText take refs
6698 * paragraph_funcs.h:
6699 * paragraph_funcs.C: remove #if 0'd code
6704 * text.C: use lyxrow helpers above.
6705 Move draw and paint routines to RowPainter.
6706 Make several methods use refs not pointers.
6707 Make backgroundColor() const.
6708 Add markChangeInDraw(), isInInset().
6709 Merge changeRegionCase into changeCase.
6710 Make workWidth() shouldn't-happen code into an Assert.
6713 * rowpainter.C: new class for painting a row.
6716 * vspace.C: make inPixels take a ref
6718 2003-02-26 Angus Leeming <leeming@lyx.org>
6720 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6723 2003-02-25 John Levon <levon@movementarian.org>
6725 * ispell.C: give the forked command a more accurate name
6727 2003-02-22 John Levon <levon@movementarian.org>
6730 * toc.C: make TocItem store an id not a Paragraph *
6733 2003-02-21 Angus Leeming <leeming@lyx.org>
6735 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6736 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6737 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6738 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6739 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6740 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6742 * BufferView_pimpl.C (dispatch):
6743 * LyXAction.C (init):
6744 * factory.C (createInset):
6745 * lyxfunc.C (getStatus, dispatch):
6746 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6748 2003-02-21 Angus Leeming <leeming@lyx.org>
6750 * BufferView_pimpl.C (MenuInsertLyXFile):
6751 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6752 * lyxfunc.C (menuNew, open, doImport):
6753 no longer pass a LyXView & to fileDlg.
6755 2003-02-21 Angus Leeming <leeming@lyx.org>
6757 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6758 * LyXAction.C: change, BIBKEY to BIBITEM.
6759 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6760 Change InsetBibKey to InsetBibitem.
6761 Change BIBKEY_CODE to BIBITEM_CODE.
6762 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6763 * factory.C: replace insetbib.h with insetbibitem.h.
6764 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6765 * paragraph.C: replace insetbib.h with insetbibitem.h.
6766 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6767 Change bibkey() to bibitem().
6768 * text.C: remove insetbib.h.
6769 * text2.C: replace insetbib.h with insetbibitem.h.
6770 change bibkey() to bibitem().
6771 * text3.C: remove insetbib.h.
6772 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6774 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6776 * lyxrc.C (output): enclose user email in quotes (in case there are
6779 2003-02-18 John Levon <levon@movementarian.org>
6781 * buffer.h: add std::
6783 2003-02-17 John Levon <levon@movementarian.org>
6789 * pspell.C: reworking. Especially in ispell, a large
6790 number of clean ups and bug fixes.
6792 * lyxfunc.C: fix revert to behave sensibly
6794 2003-02-17 André Pönitz <poenitz@gmx.net>
6797 * commandtags.h: new LFUN_INSERT_BIBKEY
6807 * paragraph_func.C: remove special bibkey handling
6809 2003-02-17 John Levon <levon@movementarian.org>
6811 * text.C (Delete): fix case where delete at the end of
6812 the very first paragraph would not merge the pars
6814 2003-02-17 John Levon <levon@movementarian.org>
6816 * lyxrow.C: fix lastPrintablePos()
6818 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * bufferparams.C (writeLaTeX): add a std:here
6822 * buffer.C: and remove a using directive there
6824 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6826 * buffer.C (makeLaTeXFile): move the code that generates the
6829 * bufferparams.C (writeLaTeX): ... in this new method
6831 * LaTeXFeatures.C (getEncodingSet): make const
6832 (getLanguages): make const
6834 * MenuBackend.C (binding): returns the binding associated to this
6836 (add): sets the status of each item by calling getStatus. Adds
6838 (read): add support for OptSubMenu
6839 (expand): remove extra separator at the end of expanded menu
6841 2003-02-15 John Levon <levon@movementarian.org>
6844 * BufferView_pimpl.C:
6846 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6847 inset code that had no actual effect. Remove unneeded status
6850 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6852 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6855 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6857 * text.C (drawLengthMarker): also draw an arrow marker for
6858 symbolic lengths (medskip...)
6860 2003-02-14 John Levon <levon@movementarian.org>
6863 * tabular.C: better method names
6865 2003-02-14 John Levon <levon@movementarian.org>
6867 * BufferView_pimpl.C:
6872 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6873 it's a more accurate name. Remove some pointless uses.
6875 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6877 * text2.C (LyXText): change order of initilizers to shut off
6880 2003-02-14 John Levon <levon@movementarian.org>
6882 * buffer.C: use ParIterator for getParFromID()
6886 * paragraph_pimpl.h:
6887 * paragraph_pimpl.C: remove unused getParFromID()
6889 2003-02-14 John Levon <levon@movementarian.org>
6891 * buffer.C: remove some very old #if 0'd parse code
6893 2003-02-13 John Levon <levon@movementarian.org>
6897 * text2.C: move hfillExpansion(), numberOfSeparators(),
6898 rowLast(), rowLastPrintable(), numberofHfills(),
6899 numberOfLabelHfills() ...
6902 * lyxrow.C: ... to member functions here.
6907 * text.C: remove LyXText::beginningOfMainBody(), and call
6908 p->beginningOfMainBody() directly. Move the check for
6909 LABEL_MANUAL into the latter.
6916 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6922 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6923 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6925 2003-02-13 John Levon <levon@movementarian.org>
6927 * CutAndPaste.C: remove debug
6929 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * paragraph.C (asString): remove two unused variables
6933 * lyxtextclass.C (readTitleType):
6935 (LyXTextClass): handle new members titletype_ and titlename_
6937 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6939 2003-02-09 John Levon <levon@movementarian.org>
6942 * buffer.C: replace hand-coded list with a map for the dep clean
6944 2003-02-08 John Levon <levon@movementarian.org>
6946 * LaTeX.C: consolidate code into showRunMessage() helper
6948 2003-02-08 John Levon <levon@movementarian.org>
6953 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6954 and pass the size in explicitly
6956 * BufferView_pimpl.h:
6957 * BufferView_pimpl.C:
6959 * BufferView.C: add getCurrentChange()
6961 * BufferView_pimpl.h:
6962 * BufferView_pimpl.C: handle change lfuns
6964 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6965 for changes. Mark pasted paragraphs as new.
6967 * support/lyxtime.h:
6968 * support/lyxtime.C:
6969 * DepTable.C: abstract time_t as lyx::time_type
6972 * LColor.C: add colours for new text, deleted text, changebars
6974 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6975 package use "usenames" option.
6979 * LyXAction.C: add change lfuns
6983 * author.C: author handling
6986 * buffer.C: add a per-buffer author list, with first entry as
6987 current author. Handle new .lyx tokens for change tracking. Output
6988 author list to .lyx file. Output dvipost stuff to .tex preamble.
6989 Bump lyx format to 222.
6992 * bufferlist.C: add setCurrentAuthor() to reset current author details
6996 * bufferparams.C: add param for tracking
6998 * bufferview_funcs.C: output change info in minibuffer
7002 * changes.C: add change-tracking structure
7005 * debug.C: add CHANGES debug flag
7008 * lyxfind.C: add code for finding the next change piece
7011 * lyxrc.C: add user_name and user_email
7014 * lyxrow.C: add a metric for the top of the text line
7017 * text.C: implement accept/rejectChange()
7020 * text.C: paint changebars. Paint new/deleted text in the chosen
7021 colours. Strike through deleted text.
7025 * paragraph_pimpl.h:
7026 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7027 in the current change to the insert functions. Rework erase to
7028 mark text as deleted, adding an eraseIntern() and a range-based
7029 erase(). Implement per-paragraph change lookup and
7032 * paragraph_funcs.C: Fixup paste for change tracking.
7034 * tabular.C: mark added row/columns as new.
7036 * text.C: fix rowLast() to never return -1. Don't allow
7037 spellchecking of deleted text. Track transpose changes. Don't
7038 allow paragraph break or merge where appropriate.
7040 * text2.C: leave cursor at end of selection after a cut.
7042 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * text.C (getLengthMarkerHeight):
7045 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7046 visible on screen too.
7048 2003-02-07 John Levon <levon@movementarian.org>
7050 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7052 2003-02-05 Angus Leeming <leeming@lyx.org>
7054 * lyxserver.C (read_ready): revert my patch of 11 September last year
7055 as it sends PC cpu through the roof. Presumably this means that
7056 the lyxserver will no longer run on an Alpha...
7058 2003-01-30 Angus Leeming <leeming@lyx.org>
7060 * factory.C (createInset): create an InsetCommandParam of type "index"
7061 and use it to 'do the right thing'.
7063 * text2.C (getStringToIndex): ensure that cursor position is always
7064 reset to the reset_cursor position.
7066 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7071 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7075 * lyxfunc.C: Output messages with identical spelling, punctuation,
7078 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7080 * MenuBackend.C (expandFormats): List only viewable export formats
7083 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7086 * lyxfunc.C (getStatus): Make sure that formats other than
7087 "fax" can also be disabled
7089 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7091 * text3.C (dispatch): put the lfuns that insert insets in 3
7092 groups, and call doInsertInset with appropriate arguments.
7093 (doInsertInset): new function, that creates an inset and inserts
7094 it according to some boolean parameters.
7096 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * buffer.C (readFile): remember to pass on 'par' when calling
7099 readFile recursively.
7101 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7103 * MenuBackend.C (expandFormats): add "..." to import formats.
7105 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7107 * paragraph.C (asString): Remove XForms RTL hacks.
7109 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7110 * buffer.C: fix typo
7112 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7114 * Makefile.am (LIBS): delete var
7115 (lyx_LDADD): add @LIBS@ here instead.
7117 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7119 * Clarify the meaning of "wheel mouse jump"
7121 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7123 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7126 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7128 * importer.C (Loaders): do not preallocate 3 elements in the
7129 vector, since one ends up with 6 elements otherwise
7131 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7133 * DepTable.C (write): write the file name as last element of the
7134 .dep file (because it may contain spaces)
7135 (read): read info in the right order
7137 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7139 * paragraph_pimpl.C (simpleTeXBlanks):
7140 (simpleTeXSpecialChars):
7141 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7143 * tabular.C (latex): add some missing case statements. Reindent.
7145 * MenuBackend.C (expandToc): remove unused variable.
7147 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7156 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7159 2003-01-05 John Levon <levon@movementarian.org>
7162 * BufferView.C: add getEncoding()
7165 * kbsequence.C: do not store last keypress
7168 * lyxfunc.C: store last keypress here instead. Pass encoding
7171 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7173 * lyx_main.C (init): remove annoying error message when following
7174 symbolic links (bug #780)
7176 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * text.C (insertChar):
7179 * lyxrc.C (getDescription): remove extra spaces
7181 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7183 * lyxrc.C (getDescription): remove extra spaces
7185 2002-12-20 John Levon <levon@movementarian.org>
7187 * text3.C: hack fix for page up/down across tall rows
7189 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7191 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7194 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7197 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7198 thesaurus is not compiled in
7200 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7202 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7204 2002-12-16 Angus Leeming <leeming@lyx.org>
7207 * lyx_main.C (init): remove override_x_deadkeys stuff.
7209 2002-12-12 John Levon <levon@movementarian.org>
7211 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7212 insert. Only remove shift modifier under strict
7215 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * MenuBackend.C (expandToc): fix crash.
7219 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * MenuBackend.C (expandToc): gettext on float names.
7223 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7225 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7226 implement bool empty() [bug 490]
7228 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7232 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * several files: ws changes
7236 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * text2.C (setCounter): clean up a bit, use boost.format.
7239 (updateCounters): initialize par upon declaration.
7241 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7242 if the layout exists. We do not just store the layout any more.
7243 (SwitchLayoutsBetweenClasses): use boost.format
7245 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7247 * converter.C (convert): if from and to files are the same, use a
7248 temporary files as intermediary
7250 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7253 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7255 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7257 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7259 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * tabular.C (asciiPrintCell): use string(size, char) instead of
7264 * sgml.C (openTag): fix order of arguments to string constructor
7267 * lyxfunc.C (dispatch): use boost.format
7269 * lots of files: change "c" -> 'c'
7271 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7273 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7275 2002-11-25 Angus Leeming <leeming@lyx.org>
7277 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7279 * lyx_main.C (init): compile fix.
7281 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7283 * lyx_cb.C (start): boost.formatify
7284 do not include <iostream>
7286 * lengthcommon.C: ws only
7288 * boost-inst.C,BoostFormat.h: add more explict instantations
7290 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * lots of files: handle USE_BOOST_FORMAT
7294 2002-11-21 John Levon <levon@movementarian.org>
7296 * pspell.C: fix compile
7298 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7300 * lyxfunc.C (dispatch): use boost::format
7304 * lyxfont.C (stateText): use boost::format
7306 * lyx_main.C (LyX): use boost::format
7308 (queryUserLyXDir): ditto
7311 (typedef boost::function): use the recommened syntax.
7313 * importer.C (Import): use boost::format
7315 * debug.C (showLevel): use boost::format
7317 * converter.C (view): use boost::format
7322 * bufferview_funcs.C (currentState): use boost::format
7324 * bufferlist.C (emergencyWrite): use boost::format
7326 * buffer.C (readLyXformat2): use boost::format
7327 (parseSingleLyXformat2Token): ditto
7329 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7331 * LaTeX.C (run): use boost::format
7333 * Chktex.C (scanLogFile): use boost::format
7335 * BufferView_pimpl.C (savePosition): use boost::format
7336 (restorePosition): ditto
7337 (MenuInsertLyXFile): ditto
7339 * BoostFormat.h: help file for explicit instation.
7341 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7343 * tabular.C (latex): Support for block alignment in fixed width
7346 2002-11-17 John Levon <levon@movementarian.org>
7348 * BufferView_pimpl.C:
7350 * lyxfunc.C: split filedialog into open/save
7352 2002-11-08 Juergen Vigna <jug@sad.it>
7354 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7355 by my last patch (hopefully).
7357 2002-11-08 John Levon <levon@movementarian.org>
7366 * toc.C: ParConstIterator, and use it (from Lars)
7368 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7370 * lyxtextclass.[Ch]: revise and add doxygen comments
7372 2002-11-07 John Levon <levon@movementarian.org>
7374 * text.C: fix progress value for spellchecker
7376 * toc.C: fix navigate menu for insetwrap inside minipage
7378 * paragraph_funcs.C: added FIXME for suspect code
7380 2002-11-07 John Levon <levon@movementarian.org>
7382 * BufferView_pimpl.C: fix redrawing of insets
7385 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7387 * text2.C (updateCounters): fix bug 668
7389 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7391 * text3.C (dispatch): Do not make the buffer dirty when moving the
7394 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * vc-backend.C: STRCONV
7399 * text2.C (setCounter): STRCONV
7401 * paragraph.C (asString): STRCONV
7403 * lyxlength.C (asString): STRCONV
7404 (asLatexString): ditto
7406 * lyxgluelength.C (asString): STRCONV
7407 (asLatexString): ditto
7409 * lyxfunc.C (dispatch): STRCONV
7412 * lyxfont.C (stateText): STRCONV
7414 * importer.C (Import): STRCONV
7416 * counters.C (labelItem): STRCONV
7417 (numberLabel): ditto
7418 (numberLabel): remove unused ostringstream o
7423 * bufferview_funcs.C (currentState): STRCONV
7425 * buffer.C (readFile): STRCONV
7426 (asciiParagraph): ditto
7427 (makeLaTeXFile): ditto
7429 * Spacing.C (writeEnvirBegin): STRCONV
7431 * LaTeXFeatures.C (getLanguages): STRCONV
7432 (getPackages): ditto
7434 (getBabelOptions): ditto
7435 (getTClassPreamble): ditto
7436 (getLyXSGMLEntities): ditto
7437 (getIncludedFiles): ditto
7441 (scanAuxFile): ditto
7444 * LString.h: add the STRCONV macros
7446 * BufferView_pimpl.C (savePosition): STRCONV
7447 (restorePosition): ditto
7448 (MenuInsertLyXFile): ditto
7450 * vc-backend.C (scanMaster): change from submatch[...] to
7453 * funcrequest.C: include config.h
7455 * factory.C: include config.h
7457 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7459 * box.C: include config.h
7461 * LaTeX.C (scanAuxFile): change from submatch[...] to
7465 2002-10-25 Angus Leeming <leeming@lyx.org>
7467 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7469 * ispell.[Ch] (setError): new method.
7470 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7471 Use setError() insetead of goto END.
7473 * lyx_cb.C (AutoSave): move out child process into new class
7476 2002-10-30 John Levon <levon@movementarian.org>
7478 * text3.C: make start appendix undoable
7480 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7482 * lyxlength.C (inPixels): Fix returned value.
7484 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7487 2002-10-24 Angus Leeming <leeming@lyx.org>
7489 * lyxgluelength.h: no need to forward declare BufferParams
7490 or BufferView, so don't.
7492 2002-10-21 John Levon <levon@movementarian.org>
7494 * BufferView.C: menuUndo ->undo, redo
7496 * BufferView.h: document, remove dead, make some methods private
7498 * paragraph_funcs.h:
7499 * paragraph_funcs.C:
7500 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7505 * sgml.C: move sgml open/close tag into sgml.C
7507 * bufferview_funcs.h: unused prototype
7510 * lyxfunc.C: remove unused
7513 * text.C: remove unused
7515 2002-10-21 John Levon <levon@movementarian.org>
7519 * BufferView_pimpl.h:
7520 * BufferView_pimpl.C: fix mouse wheel handling based on
7521 patch from Darren Freeman
7523 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7525 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7527 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7529 * lyxlength.C (inPixels): Fix hanfling of negative length.
7530 Fix LyXLength::MU case.
7532 2002-10-16 John Levon <levon@movementarian.org>
7534 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7536 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7538 * converter.C (view): add support for $$i (file name) and $$p
7539 (file path) for the viewer command. If $$i is not specified, then
7540 it is appended to the command (for compatibility with old syntax)
7542 2002-10-14 Juergen Vigna <jug@sad.it>
7544 * undo_funcs.C (textHandleUndo): alter the order in which the
7545 new undopar is added to the LyXText, as we have to set first
7546 the right prev/next and then add it as otherwise the rebuild of
7547 LyXText is not correct. Also reset the cursor to the right paragraph,
7548 with this IMO we could remove the hack in "redoParagraphs()".
7550 2002-10-09 Angus Leeming <leeming@lyx.org>
7552 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7553 to turn off an optimisation if a new inset is to be inserted.
7555 2002-10-11 André Pönitz <poenitz@gmx.net>
7557 * lyxtext.h: make some functions public to allow access
7558 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7560 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * text3.C (dispatch): when changing layout, avoid an infinite loop
7565 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * lyxrc.C (read): treat a viewer or converter command of "none" as
7570 * MenuBackend.C (expandFormats): for an update, also allow the
7571 formats that are not viewable
7573 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7574 script if it is newer than the lyxrc.defaults in user directory
7576 2002-10-07 André Pönitz <poenitz@gmx.net>
7578 * text.C: Vitaly Lipatov's small i18n fix
7580 2002-09-25 Angus Leeming <leeming@lyx.org>
7582 * ispell.h: doxygen fix.
7584 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7586 * buffer.h (readFile): Add a new argument to the method, to allow
7587 reading of old-format templates.
7589 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7591 * toc.C (getTocList): Get TOC from InsetWrap.
7593 2002-09-16 John Levon <levon@movementarian.org>
7595 * lyxfunc.C: check tabular for cut/copy too
7597 2002-09-12 John Levon <levon@movementarian.org>
7602 * factory.C: add header
7604 * paragraph_funcs.h:
7605 * paragraph_funcs.C: cleanup
7607 2002-09-11 John Levon <levon@movementarian.org>
7609 * PrinterParams.h: odd/even default to true
7611 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7613 * PrinterParams.h: update printer parameters for new xforms dialog
7615 2002-09-11 Angus Leeming <leeming@lyx.org>
7617 * lyxserver.C (read_ready): re-write to make it more transparent
7618 and to make it work in coherent fashion under Tru64 Unix.
7620 2002-09-11 André Pönitz <poenitz@gmx.net>
7624 * text3.C: implement LFUN_WORDSEL
7626 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7629 make floatlist_ a boost::shared_ptr<FloatList>
7631 * lyxtextclass.C: include FloatList.h
7632 (LyXTextClass): initialize floatlist_
7633 (TextClassTags): add TC_NOFLOAT
7634 (Read): match "nofloat" to TC_NOFLOAT and use it.
7635 (readFloat): modify call to floatlist_
7639 * FloatList.[Ch] (FloatList): remove commented out float
7641 (erase): new function
7643 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7645 * MenuBackend.C (expandToc): fix crash when there is no document
7648 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7650 * many files: Add insetwrap.
7652 2002-09-09 John Levon <levon@movementarian.org>
7654 * text2.C: remove confusing and awkward depth wraparound
7656 2002-09-09 John Levon <levon@movementarian.org>
7658 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7661 * buffer.C: remove getIncludeonlyList()
7664 * lyxfunc.C: remove headers
7666 2002-09-09 Juergen Vigna <jug@sad.it>
7668 * text.C (getColumnNearX): fix form Michael this is most
7669 probably a cut&paste bug.
7671 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7675 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7676 references, ws changes.
7678 * text2.C (init): update counters after init
7679 (insertParagraph): no need to set counter on idividual paragraphs.
7680 (setCounter): access the counters object in the textclass object
7681 on in the buffer object.
7682 (updateCounters): ditto
7684 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7685 shared_ptr<Counters> to avoid loading counters.h in all
7687 (LyXTextClass): initialize ctrs_
7688 (TextClassTags): add TC_COUNTER, and ...
7689 (Read): use it here.
7690 (CounterTags): new tags
7691 (readCounter): new function
7692 (counters): new funtion
7693 (defaultLayoutName): return a const reference
7695 * counters.C (Counters): remove contructor
7696 (newCounter): remove a couple of unneeded statements.
7697 (newCounter): simplify a bit.
7698 (numberLabel): some small formatting changes.
7700 * buffer.[Ch]: remove all traces of counters, move the Counters
7701 object to the LyXTextClass.
7703 2002-09-06 Alain Castera <castera@in2p3.fr>
7705 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7706 package to set the horizontal alignment on fixed width columns.
7709 * lyx_sty.h: added tabularnewline macro def.
7711 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7713 2002-09-06 John Levon <levon@movementarian.org>
7715 * LyXAction.C: tooltips for sub/superscript
7717 * MenuBackend.C: a bit more verbose
7719 * lyxfunc.C: tiny clean
7721 * undo_funcs.C: document undo_frozen
7723 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * counters.C (Counters): add missing algorithm counter.
7727 * text2.C (setCounter): lookup the counter with layouts latexname
7728 instead of by section number.
7729 (setCounter): use a hackish way to lookup the correct enum
7731 a float name->type change
7732 reset enum couners with counter name directly instead of depth value.
7734 * counters.C (Counters): remove the push_backs, change to use the
7735 float type not the float name.
7736 (labelItem): remove unused string, float name->type change
7738 * counters.h: don't include vector, loose the enums and sects vectors
7740 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7743 (Read): add float->TC_FLOAT to textclassTags
7744 (Read): and handle it in the switch
7745 (readFloat): new function
7747 * FloatList.C (FloatList): comment out the hardcoded float
7750 * lyxlayout.h: ws change.
7752 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7754 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7756 2002-09-03 Angus Leeming <leeming@lyx.org>
7758 * BufferView_pimpl.h: qualified name is not allowed in member
7759 declaration: WorkArea & Pimpl::workarea() const;
7761 * factory.C: added using std::endl directive.
7763 * text3.C: added using std::find and std::vector directives.
7765 2002-08-29 André Pönitz <poenitz@gmx.net>
7768 * text2.C: remove unused member number_of_rows
7771 * BufferView2.C: remove file, move contents to...
7772 * BufferView.C: ... here
7774 * BufferView_pimpl.C:
7775 * factory.C: move more inset creation to factory
7777 * vspace.C: avoid direct usage of LyXText, ws changes
7780 don't provide direct access to WorkArea, use two simple
7781 acessors haveSelction() and workHeight() instead
7784 2002-08-29 John Levon <levon@movementarian.org>
7786 * BufferView_pimpl.C (dispatch): do not continue when
7789 2002-08-28 André Pönitz <poenitz@gmx.net>
7791 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7794 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7796 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7798 * buffer.C: increment LYX_FORMAT to 221
7800 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7801 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7803 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7805 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7807 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * factory.C (createInset): use LyXTextClass::floats
7811 * MenuBackend.C (expandFloatListInsert):
7812 (expandFloatInsert):
7815 * text2.C (setCounter):
7817 * LaTeXFeatures.C (useFloat):
7818 (getFloatDefinitions):
7820 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7822 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7823 floatlist_, with accessor floats().
7825 * FloatList.h: remove global FloatList
7827 2002-08-26 André Pönitz <poenitz@gmx.net>
7829 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7833 * BufferView_pimpl.C:
7834 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7836 2002-08-25 John Levon <levon@movementarian.org>
7838 * LyXAction.C: fix margin note description
7840 2002-08-24 John Levon <levon@movementarian.org>
7844 * bufferview_funcs.C:
7846 * undo_funcs.C: cleanups
7848 * lyxfunc.C: disable CUT/COPY when no selection
7850 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7852 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7853 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7855 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7856 Add backward compatibility to "mono", "gray" and "no".
7858 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7860 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7861 (and file_format >= 200).
7863 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7867 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7869 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7871 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7873 * BufferView_pimpl.C:
7880 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7881 inset and code to make it work with the paragraph code. The inset
7882 can be anywhere in the paragraph, but will only do the expected
7883 thing in LaTeX if the layout file contains the parameter line
7885 (or more generally, a nonzero value) for that layout.
7887 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * paragraph.h: remove the declaration of undefined counters class
7892 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7894 * text2.C (setCounter): fixed enumeration mis-count as reported by
7895 Dr. Richard Hawkins.
7897 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7899 * paragraph_funcs.h: remove some unneeded includes
7901 * text.C (backspace): pasteParagraph now in global scipe
7903 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7904 (pasteSelection): ditto
7906 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7907 * paragraph_funcs.C (pasteParagraph): ... here
7909 2002-08-20 André Pönitz <poenitz@gmx.net>
7911 * commandtags.h: new LFUNs for swapping/copying table row/colums
7914 * lyxfunc.C: support for new lfuns
7916 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * buffer.[Ch]: remove NO_COMPABILITY stuff
7921 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * boost.C (throw_exception): new file, with helper function for
7924 boost compiled without exceptions.
7929 * ParameterStruct.h:
7930 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7932 * bufferlist.C (emergencyWriteAll): use boost bind
7934 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7936 * text.C: include paragraph_funcs.h
7937 (breakParagraph): breakParagraph is now in global scope
7939 * paragraph_funcs.[Ch]: new files
7941 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7944 * buffer.C: include paragraph_funcs.h
7945 (insertStringAsLines): breakParagraph is now in global scope
7947 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7950 * CutAndPaste.C: include paragraph_funcs.h
7951 (cutSelection): breakParagraphConservative is now in global scope
7952 (pasteSelection): ditto
7954 * buffer.h: declare oprator== and operator!= for
7955 Buffer::inset_iterator
7957 * bufferlist.C (emergencyWrite): don't use fmt(...)
7959 * text3.C: add using std::endl
7961 * BufferView.C (moveCursorUpdate): remove default arg
7963 2002-08-20 André Pönitz <poenitz@gmx.net>
7965 * buffer.[Ch]: move inline functions to .C
7968 * BufferView_pimpl.C:
7970 * buffer.[Ch]: use improved inset_iterator
7973 * paragraph.[Ch]: write one paragraph at a time
7975 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7977 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7978 style if style is not specified.
7980 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7982 * text2.C (setCounter): when searching for right label for a
7983 caption, make sure to recurse to parent insets (so that a caption
7984 in a minipage in a figure float works) (bug #568)
7986 2002-08-20 André Pönitz <poenitz@gmx.net>
7988 * text3.C: new file for LyXText::dispatch() and helpers
7990 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7992 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7994 2002-08-19 André Pönitz <poenitz@gmx.net>
7997 * text.C: new LyXText::dispatch()
7999 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8001 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8003 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8005 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8008 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8010 * Makefile.am: use $(variables) instead of @substitutions@
8012 2002-08-15 André Pönitz <poenitz@gmx.net>
8015 * BufferView_pimpl.C: streamlining mathed <-> outer world
8019 * LyXAction.C: remove unused LFUN_MATH
8021 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8025 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * paragraph.C (Paragraph): reformat a bit
8028 (cutIntoMinibuffer): use builtin InsetList function instad of
8032 * buffer.C: include boost/bind.hpp, add using std::for_each
8033 (writeFileAscii): use ParagraphList iterators
8034 (validate): use for_each for validate traversal of paragraphs
8035 (getBibkeyList): use ParagraphList iterators
8036 (resizeInsets): use for_each to resizeInsetsLyXText for all
8038 (getParFromID): use ParagraphList iterators
8040 * BufferView2.C (lockInset): use paragraph list and iterators
8042 2002-08-14 John Levon <levon@movementarian.org>
8044 * lyxserver.C: remove spurious xforms include
8046 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8048 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8050 2002-08-13 André Pönitz <poenitz@gmx.net>
8053 * lyxfunc.C: further cleaning
8055 2002-08-13 André Pönitz <poenitz@gmx.net>
8057 * funcrequest.h: new constructor
8059 * funcrequest.C: move stuff here from .h
8062 * BufferView_pimpl.C:
8065 * lyxfunc.C: subsequent changes
8067 * lyxfunc.h: new view() member function
8069 * lyxfunc.C: subsequent changes
8071 2002-08-13 Angus Leeming <leeming@lyx.org>
8074 * BufferView_pimpl.C:
8082 changes due to the changed LyXView interface that now returns references
8083 to member variables not pointers.
8085 2002-08-13 Angus Leeming <leeming@lyx.org>
8087 * WordLangTuple (word, lang_code): return references to strings,
8092 * lyxtext.h: forward-declare WordLangTuple.
8097 * text.C: #include "WordLangTuple.h".
8100 * text.C: (selectNextWordToSpellcheck): constify return type.
8102 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8108 * paragraph_pimpl.h:
8111 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8113 Made updateCounter always count from start of buffer, and removed
8114 second argument (par).
8115 Reverted floats number display to '#'. Perhaps I'll try again when the
8116 code base is sanitized a bit.
8118 2002-08-12 Angus Leeming <leeming@lyx.org>
8120 * buffer.[Ch] (getLabelList): constify.
8122 2002-08-07 André Pönitz <poenitz@gmx.net>
8124 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8126 * funcrequest.h: extension to keep mouse (x,y) position
8128 2002-08-12 Juergen Vigna <jug@sad.it>
8130 * BufferView2.C (insertErrors): forbid undo when inserting error
8133 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8135 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * ParagraphList.[Ch]: new files
8139 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8141 * BufferView2.C (lockInset): ParagraphList changes
8144 * bufferlist.C: ditto
8148 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8151 unused class variable counter_,
8153 * paragraph.[Ch] (getFirstCounter): delete unused function
8155 * counters.C: include LAssert.h
8156 (reset): add a new function with no arg, change other version to
8157 not have def. arg and to not allow empty arg.
8159 * text2.C (setCounter): remove empty arg from call to Counters::reset
8161 2002-08-11 John Levon <levon@movementarian.org>
8163 * Makefile.am: add WordLangTuple.h
8165 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8168 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8170 * insets/insettext.C: InsetList changes
8172 * graphics/GraphicsSupport.C (operator()): InsetList changes
8174 * toc.C (getTocList): InsetList changes
8176 * paragraph_pimpl.[Ch]: InsetList changes
8178 * paragraph.[Ch]: InsetList changes
8180 * buffer.C (inset_iterator): InsetList changes
8181 (setParagraph): ditto
8182 * buffer.h (inset_iterator): ditto
8183 * iterators.C (operator++): ditto
8184 * iterators.h: ditto
8186 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8188 * InsetList.[Ch]: new files, most InsetList handling moved out of
8191 * BufferView2.C (removeAutoInsets): InsetList changes
8193 (ChangeInsets): ditto
8195 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * paragraph_pimpl.h (empty): new function
8199 * paragraph.[Ch] (empty): new function
8201 * other files: use the new Paragraph::empty function
8203 2002-08-09 John Levon <levon@movementarian.org>
8205 * lyxtext.h: remove unused refresh_height
8207 2002-08-09 John Levon <levon@movementarian.org>
8214 * paragraph.C: move sgml char escaping out of paragraph
8217 * paragraph.C: remove id setter
8221 * paragraph_pimpl.C: remove dead tex_code_break_column
8223 * bufferview_funcs.C: small cleanup
8225 * lyxfunc.C: remove dead proto
8227 * lyxtext.h: make some stuff private. Remove some dead stuff.
8229 * lyxgluelength.C: make as[LyX]String() readable
8231 2002-08-08 John Levon <levon@movementarian.org>
8236 * ToolbarDefaults.C:
8239 * toc.C: lyxaction cleanup
8241 2002-08-08 John Levon <levon@movementarian.org>
8243 * BufferView2.C: small cleanup
8246 * lyxfind.C: move unnecessary header into the .C
8248 2002-08-08 John Levon <levon@movementarian.org>
8250 * funcrequest.h: just tedious nonsense
8253 * lyx_main.C: cleanups
8256 * vspace.C: remove dead header lyx_main.h
8258 2002-08-07 Angus Leeming <leeming@lyx.org>
8261 * paragraph_pimpl.h:
8262 Forward declare class Counters in paragraph.h by moving the ctrs member
8263 variable into Paragraph::Pimpl.
8264 (counters): new method, returning a reference to pimpl_->ctrs.
8266 * text2.C: ensuing changes.
8268 2002-08-07 John Levon <levon@movementarian.org>
8270 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8272 * BufferView_pimpl.C: announce X selection on double/triple
8275 * lyx_main.C: use correct bool in batch dispatch
8277 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8279 2002-08-07 André Pönitz <poenitz@gmx.net>
8281 * funcrequest.h: new class to wrap a kb_action and its argument
8284 * BufferView_pimpl[Ch]:
8288 * lyxrc.C: subsequent changes
8291 2002-08-07 John Levon <levon@movementarian.org>
8293 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8294 document options change.
8296 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8301 * makefile.am: move counters functionality over from
8302 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8304 2002-08-06 John Levon <levon@movementarian.org>
8306 * WordLangTuple.h: new file for word + language code tuple
8317 * BufferView2.C: use WordLangTuple
8320 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8322 2002-08-06 John Levon <levon@movementarian.org>
8324 * lyx_main.C: fix cmdline batch handling
8326 2002-08-06 André Pönitz <poenitz@gmx.net>
8328 * lyxrc.C: set default for show_banner to true
8330 2002-08-06 John Levon <levon@movementarian.org>
8332 * pspell.C: fix a crash, and allow new aspell to work
8334 2002-08-06 John Levon <levon@movementarian.org>
8337 * kbmap.C: small cleanup
8340 * vspace.C: add const
8342 2002-08-05 John Levon <levon@movementarian.org>
8344 * LyXAction.C: back to tabular-insert
8346 2002-08-04 John Levon <levon@movementarian.org>
8349 * BufferView.C: cosmetic change
8351 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8361 * BufferView2.C: purge all "Lyx" not "LyX" strings
8364 * lyxcursor.C: attempt to add some documentation
8369 * ToolbarDefaults.C:
8370 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8371 merge with LFUN_TABULAR_INSERT
8378 * pspell.C: split up i/pspell implementations into separate
8379 files, many cleanups
8381 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8383 * text2.C: some cleanup
8385 * lyxfunc.C: don't check for isp_command == "none" any more, it
8386 didn't make any sense
8388 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8393 * makefile.am: move counters functionality over
8394 from text2.C/paragraph.[Ch] to counters.[Ch], and
8396 2002-08-02 John Levon <levon@movementarian.org>
8398 * buffer.C: s/lyxconvert/lyx2lyx/
8400 2002-08-02 Angus Leeming <leeming@lyx.org>
8402 * lyxlex.C: revert John's change as it breaks reading of the user
8405 2002-08-02 Angus Leeming <leeming@lyx.org>
8407 * importer.C (Import):
8408 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8409 changes due to LyXView::view() now returning a boost::shared_ptr.
8411 2002-08-02 John Levon <levon@movementarian.org>
8413 * lyxlex.C: small cleanup
8415 2002-08-02 John Levon <levon@movementarian.org>
8417 * text2.C (status): small cleanup, no logic change
8419 2002-08-01 John Levon <levon@movementarian.org>
8422 * buffer.C (writeFile): don't output alerts, caller
8426 * lyx_cb.C: from above
8428 * lyxfunc.C: allow to open non-existent files
8430 2002-07-31 John Levon <levon@movementarian.org>
8432 * lyxserver.C: don't let incidental errors get
8435 2002-07-30 John Levon <levon@movementarian.org>
8437 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8439 2002-07-30 John Levon <levon@movementarian.org>
8442 * lyxserver.C: remove I/O callback too
8444 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8449 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8451 * many files: strip,frontStrip -> trim,ltrim,rtrim
8453 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * PrinterParams.h: remove extern containsOnly, and include
8456 support/lstrings.h instead.
8458 * LaTeX.C (scanAuxFile): modify because of strip changes
8460 * buffer.C (makeLaTeXFile): ditto
8461 * bufferparams.C (writeFile): ditt
8462 * lyxfont.C (stateText): ditto
8463 * lyxserver.C (read_ready): ditto
8464 * vc-backend.C (scanMaster): ditto
8466 * BufferView_pimpl.h: ws changes
8468 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8470 2002-07-26 André Pönitz <poenitz@gmx.net>
8472 * kb_sequence.C: remove unnedred usings
8474 2002-07-26 Juergen Vigna <jug@sad.it>
8476 * lyxfind.C (LyXReplace): we have to check better if the returned
8477 text is not of theLockingInset()->getLockingInset().
8479 2002-07-25 Juergen Vigna <jug@sad.it>
8481 * lyxfind.C (LyXReplace): don't replace if we don't get the
8484 * undo_funcs.C (createUndo): remove debugging code.
8486 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8488 * buffer.C (parseSingleLyXformat2Token): Use default placement
8489 when reading old floats.
8491 * FloatList.C (FloatList): Change the default placement of figure
8492 and tables to "tbp".
8494 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8496 * MenuBackend.C: using std::max
8498 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8500 * MenuBackend.C (expandToc):
8501 (expandToc2): code moved from xforms menu frontend. It is now
8502 generic and TOCs are transparent to menu frontends.
8504 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8506 * toc.C (getTocList): protect against buf=0
8508 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8509 Menu as first parameter. Now, this calls itself recursively to
8510 expand a whole tree (this will be useful for TOC handling)
8511 (expandFloatInsert): remove 'wide' version of floats
8513 * MenuBackend.h (submenuname): returns the name of the submenu.
8514 (submenu): returns the submenu itself, provided it has been
8515 created by MenuBackend::expand
8517 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8520 insets which have noFontChange == true. (bug #172)
8522 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * BufferView_pimpl.C: add connection objects and use them...
8527 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8529 * MenuBackend.C (expandLastfiles):
8532 (expandFloatListInsert):
8533 (expandFloatInsert):
8534 (expand): split expand in parts
8536 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8538 * lyx_gui.C: use lyx_gui::exit()
8540 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8542 * LyXAction.C: show the failing pseudo action
8544 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8546 * buffer.C (readFile): Run the lyxconvert script in order to read
8549 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8553 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8555 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8559 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8561 2002-07-22 Herbert Voss <voss@lyx.org>
8564 * lyxlength.[Ch]: add support for the vertical lengths
8566 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8568 * toc.[Ch]: std:: fixes
8570 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * lyxrc.C: do not include lyx_main.h
8574 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8580 * BufferView2.C: include "lyxlex.h"
8583 * bufferparams.h: do not #include "lyxlex.h"
8585 * lyxtextclasslist.C (Add): remove method
8586 (classlist): renamed to classlist_
8588 * paragraph_pimpl.C:
8592 * bufferview_funcs.C:
8597 * toc.C (getTocList): use BufferParams::getLyXTextClass
8599 * toc.C (getTocList): use InsetFloat::addToToc
8601 * toc.[Ch]: new files, containing helper functions to handle table
8604 * lyxfunc.C (dispatch): no need to remove spaces around command
8606 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8607 first command of the sequence; it is not very clever, but I do not
8608 have a better idea, actually
8610 * LyXAction.C (LookupFunc): make sure to remove space at the
8611 beginning and end of the command
8613 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8615 * MenuBackend.C (getMenubar): new method: return the menubar of
8617 (read): treat differently reading of menu and menubar (in
8618 particular, the menubar has no name now)
8619 (Menu::menubar): remove
8621 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8624 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8626 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8627 a bibitem inset in a RTL paragraph.
8629 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8631 * paragraph_pimpl.C: constify
8633 * BufferView_pimpl.C:
8635 * lyxfunc.C: fix dispatch in a nicer way
8637 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8639 * lyxfunc.C (dispatch):
8640 * BufferView_pimpl.C:
8641 * BufferView_pimpl.h:
8643 * BufferView.h: rename Dispatch() to dispatch()
8645 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8647 * lyxlayout.C (Read): honor DependsOn tag
8649 * lyxlayout.[Ch] (depends_on): new method
8651 * version.C.in: update lyx_docversion
8653 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8655 * paragraph.C (validate): remove from here...
8656 * paragraph_pimpl.C (validate): ... and move here
8657 (isTextAt): make it const
8659 * buffer.C (getLists): ws cleanup
8661 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8663 * language.C (read): Use iso8859-1 encoding in latex_lang
8664 (this prevents LyX from crashing when using iso10646-1 encoding).
8666 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8668 * text2.C (toggleInset): if cursor is inside an inset, close the
8669 inset and leave cursor _after_ it
8671 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8673 * lyxfunc.C: move minibuffer completion handling out of here
8675 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8677 * BufferView_pimpl.C:
8678 * LaTeX.C: fix dispatch calls
8680 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8682 * text.C (drawChars): Fix Arabic text rendering.
8684 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8688 * lyxfunc.C: remove message-push/pop
8692 * lyxfunc.C: rationalise some code by removing verboseDispatch
8693 in favour of a bool argument to dispatch()
8695 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * lyx_main.C (init): make sure to read symlinks as absolute paths
8699 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8702 * lyxfunc.C: no need for commandshortcut to be a member
8704 2002-07-15 André Pönitz <poenitz@gmx.net>
8706 * converter.C: add support for $$s (scripts from lib/scripts dir)
8707 * lyx_main.C: white space
8709 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8713 * lyxrc.C: remove second exit confirmation
8715 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8720 * BufferView_pimpl.h:
8721 * BufferView_pimpl.C:
8722 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8724 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * MenuBackend.C (expand): add numeric shortcuts to document menu
8728 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8730 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * lyxfont.C (setLyXFamily):
8739 * buffer.C (asciiParagraph): use ascii_lowercase
8741 2002-07-15 Mike Fabian <mfabian@suse.de>
8743 * lyxlex_pimpl.C (search_kw):
8744 * lyxlex.C (getLongString):
8745 * converter.h (operator<):
8746 * converter.C (operator<):
8747 * buffer.C (parseSingleLyXformat2Token):
8749 * ToolbarDefaults.C (read):
8750 * MenuBackend.C (checkShortcuts):
8752 * LColor.C (getFromGUIName):
8753 (getFromLyXName): use the compare_ascii_no_case instead of
8754 compare_no_case, because in turkish, 'i' is not the lowercase
8755 version of 'I', and thus turkish locale breaks parsing of tags.
8757 2002-07-16 Angus Leeming <leeming@lyx.org>
8759 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8760 now takes a Buffer const & argument.
8762 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8764 * BufferView.C (resize): check there's a buffer to resize
8766 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8768 * lyxfunc.C: remove dead code
8771 * lyxserver.C: use lyx_guii::set_read_callback
8773 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8775 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8776 an inset in a RTL paragraph.
8778 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8780 * lyxfunc.C: repaint after a font size update
8782 2002-07-15 André Pönitz <poenitz@gmx.net>
8784 * lyxlength.C: inBP should be able to return negative values
8786 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8788 * lyxfunc.C: use lyx_gui::update_fonts()
8790 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8792 * lyxfunc.C: use lyx_gui::update_color()
8794 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8800 * lyxrc.C: remove file->new asks for name option, and let
8801 buffer-new take an argument
8803 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8805 * BufferView_pimpl.C: remove unneeded extra repaint()
8807 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8809 * LyXAction.C: allow command-sequence with NoBuffer
8811 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8813 2002-07-10 Angus Leeming <leeming@lyx.org>
8815 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8817 2002-07-09 Angus Leeming <leeming@lyx.org>
8819 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8821 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8823 * lengthcommon.h: whitespace
8825 * lyxfunc.C: update scrollbar after goto paragraph
8827 * lyxtext.h: factor out page break drawing, and fix it so
8828 page break/added space paints as selected nicely
8830 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8832 * BufferView_pimpl.C: add FIXMEs, clean up a little
8834 2002-07-09 André Pönitz <poenitz@gmx.net>
8836 * lyxfont.[Ch]: support for wasy symbols
8838 2002-07-08 André Pönitz <poenitz@gmx.net>
8840 * BufferView_pimpl.C: apply John's patch for #93.
8842 2002-07-05 Angus Leeming <leeming@lyx.org>
8844 * BufferView_pimpl.C (buffer): generate previews if desired.
8846 * LColor.h: add "preview" to the color enum.
8848 * LColor.C (LColor): add a corresponding entry to the items array.
8850 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8853 2002-07-05 Angus Leeming <leeming@lyx.org>
8855 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8856 The body of the code is now in the method that is passed an ostream &
8857 rather than a file name.
8858 Pass an additional only_preamble parameter, useful for the forthcoming
8861 2002-07-03 André Pönitz <poenitz@gmx.net>
8863 * lyxfunc.C: simplify getStatus() a bit for math stuff
8865 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8869 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * text.C (changeRegionCase): do not change case of all the
8872 document when region ends at paragraph end (bug #461)
8874 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * paragraph.C (startTeXParParams):
8877 (endTeXParParams): add \protect when necessary
8879 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * BufferView_pimpl.C (workAreaExpose): remove warning
8883 2002-06-27 Angus Leeming <leeming@lyx.org>
8885 * Makefile.am: add lyxlayout_ptr_fwd.h.
8887 2002-06-26 André Pönitz <poenitz@gmx.net>
8889 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8891 2002-06-25 Angus Leeming <leeming@lyx.org>
8893 * lyxfunc.C (dispatch): Comment out the call to
8894 grfx::GCache::changeDisplay. The method no longer exists now that the
8895 pixmap generation part of the graphics loader has been moved into
8898 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8900 * text2.C: layout as layout
8902 * text.C: layout as layout
8904 * tabular.C (OldFormatRead): layout as layout
8906 * paragraph_pimpl.C (TeXDeeper): layout as layout
8907 (realizeFont): layout as layout
8909 * paragraph.C (writeFile): layout as layout
8910 (validate): layout as layout
8911 (getFont): layout as layout
8912 (getLabelFont): layout as layout
8913 (getLayoutFont): layout as layout
8914 (breakParagraph): layout as layout
8915 (stripLeadingSpaces): layout as layout
8916 (getEndLabel): layout as layout
8917 (getMaxDepthAfter): layout as layout
8918 (applyLayout): layout as layout
8919 (TeXOnePar): layout as layout
8920 (simpleTeXOnePar): layout as layout
8921 (TeXEnvironment): layout as layout
8922 (layout): layout as layout
8923 (layout): layout as layout
8925 * lyxtextclass.C (compare_name): new functor to work with
8926 shared_ptr, layout as layout
8927 (Read): layout as layout
8928 (hasLayout): layout as layout
8929 (operator): layout as layout
8930 (delete_layout): layout as layout
8931 (defaultLayout): layout as layout
8933 * lyxlayout_ptr_fwd.h: new file
8935 * lyxlayout.C (Read): layout as layout
8937 * lyx_cb.C (MenuInsertLabel): layout as layout
8939 * bufferlist.C (newFile): layout as layout
8941 * buffer.C (readLyXformat2): layout as layout
8942 (parseSingleLyXformat2Token): layout as layout
8943 (insertStringAsLines): layout as layout
8944 (asciiParagraph): layout as layout
8945 (latexParagraphs): layout as layout
8946 (makeLinuxDocFile): layout as layout
8947 (simpleLinuxDocOnePar): layout as layout
8948 (makeDocBookFile): layout as layout
8949 (simpleDocBookOnePar): layout as layout
8950 (getLists): layout as layout
8952 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8954 * CutAndPaste.C (cutSelection): layout as layout
8955 (pasteSelection): layout as layout
8956 (SwitchLayoutsBetweenClasses): layout as layout
8958 * BufferView_pimpl.C (Dispatch): layout as layout
8959 (smartQuote): layout as layout
8961 * BufferView2.C (unlockInset): layout as layout
8963 2002-06-24 André Pönitz <poenitz@gmx.net>
8965 * lyxfunc.C: fix #487
8967 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8971 * lyxfunc.C: remove display_shortcuts, show_banner
8973 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8975 * Buffer_pimpl.C: oops, update on resize
8977 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8984 * BufferView.C: use repaint()
8986 * BufferView_pimpl.h:
8987 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8988 as it's a clearer description. Remove superfluous
8991 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8993 * text.C: fix bug 488. Not ideal, but getting
8994 getWord() to work properly for the insets that
8995 matter is more difficult ...
8997 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8999 * BufferView_pimpl.C:
9002 * lyxfunc.C: remove the six million index lyxfuncs to just
9003 one, and DTRT (bug 458)
9005 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9009 * BufferView_pimpl.h:
9010 * BufferView_pimpl.C: clean up resize() stuff,
9011 and unnecessary updateScreen()s
9013 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9017 * BufferView_pimpl.h:
9018 * BufferView_pimpl.C:
9021 * minibuffer.C: remove focus management of workarea,
9022 not needed. Use screen's greyOut()
9024 2002-06-17 Herbert Voss <voss@lyx.org>
9026 * converter.C: (convert) do not post a message, when converting
9027 fails, let the calling function decide what to do in this case
9029 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9031 * lyxfunc.C: tidy up a little
9033 2002-06-16 <alstrup@diku.dk>
9035 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9036 Got rid of FORMS_H_LOCATION include. Now we are
9039 2002-06-15 LyX Development team <lyx@rilke>
9041 * buffer.[Ch] (sgmlOpenTag):
9042 (sgmlCloseTag): Added support for avoiding pernicious mixed
9043 content. Return number of lines written.
9046 (makeDocBookFile): Fixed calls to sgml*Tag.
9047 Simple white space clean.
9049 (simpleDocBookOnePar): Simple white space clean.
9051 * tabular.[Ch] (docBook): Renamed to docbook and got another
9052 argument to related with the pernicious mixed content.
9054 (docbookRow): Fixed calls for docbook inset method.
9056 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9058 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9059 so it's X11 independent.
9063 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9065 2002-06-15 Lyx Development team <lyx@electronia>
9067 * intl.h: Renamed getTrans to getTransManager.
9069 2002-06-14 Angus Leeming <leeming@lyx.org>
9071 * Makefile.am: nuke forgotten stl_string_fwd.h.
9073 2002-06-12 Angus Leeming <leeming@lyx.org>
9075 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9077 2002-06-13 Angus Leeming <leeming@lyx.org>
9080 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9082 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9084 * kbmap.C (getiso): add support for cyrillic and greek
9086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9090 * BufferView_pimpl.h:
9091 * BufferView_pimpl.C: move bogus scrolling logic
9094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9097 * BufferView_pimpl.C: view->resize() change
9099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9101 * BufferView_pimpl.C: topCursorVisible
9104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9108 * lyx_gui.C: move to frontends/
9112 * lyx_main.C: changes from above
9114 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9121 * lyx_main.C: minor tidy
9123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9125 * BufferView_pimpl.h:
9126 * BufferView_pimpl.C:
9128 * BufferView.C: make painter() const,
9131 * BufferView2.C: use screen() accessor
9134 * lyx_main.C: some minor cleanup
9136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9138 * BufferView_pimpl.h:
9139 * BufferView_pimpl.C: remove enter/leaveView,
9142 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9147 * BufferView_pimpl.h:
9148 * BufferView_pimpl.C: only construct screen once,
9151 * lyxrc.C: remove pointless comment
9153 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9156 * BufferView.C: remove active() and belowMouse()
9158 * BufferView_pimpl.h:
9159 * BufferView_pimpl.C: use workarea() not workarea_,
9160 and make it use a scoped_ptr instead
9162 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9164 * lyx_gui.C: add debug message on BadWindow
9166 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9168 * sp_spell.C: fdopen is not part of the C++ standard.
9170 * paragraph.C (InsetIterator): use >= instead of ==
9172 2002-06-07 Angus Leeming <leeming@lyx.org>
9174 Fixes needed to compile with Compaq cxx 6.5.
9175 * BufferView_pimpl.C:
9182 * lyxtextclasslist.C:
9187 all c-library variables have been moved into namespace std. Wrap
9188 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9193 Add a using std::abs declaration.
9195 * kbmap.h (modifier_pair):
9196 * paragraph.h (InsetTable, InsetList):
9197 * lyxfont.h (FontBits):
9198 type definition made public.
9200 * bufferlist.C (emergencyWriteAll): the compiler complains that
9201 there is more than one possible lyx::class_fun template to choose from.
9202 I re-named the void specialisation as lyx::void_class_fun.
9204 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9206 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9207 the compiler is is unable to find tostr in write_attribute.
9209 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9211 * buffer.C (sgmlError): hide #warning
9213 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * xtl/*: get rid of xtl, which is not in use anyway
9217 * LyXAction.C (init):
9218 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9219 were unimplemented xtl experimentation
9221 2002-06-04 André Pönitz <poenitz@gmx.net>
9223 * lyxfunc.C: disable array operation on simple formulae
9225 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9227 * converter.C: constify a bit
9229 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9231 * lyx_gui.C: check xforms version correctly
9233 2002-04-30 Herbert Voss <voss@lyx.org>
9235 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9238 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9240 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9241 attempt to register it with a VCS)
9243 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9245 * lyx_main.C (init): honor variables LYX_DIR_13x and
9248 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9252 * lyx_main.C: fix a crash on bad command line,
9253 and give a useful exit status on error
9255 * lyxfunc.C (doImport): allow -i lyx to work
9257 2002-03-30 André Pönitz <poenitz@gmx.net>
9259 * lyxfunc.C: mathed font changes
9261 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9276 * trans_mgr.h: srcdocs, and some minor cleanups
9278 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9280 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9281 call getFont all the time)
9283 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9285 * switch from SigC signals to boost::signals
9287 2002-05-29 André Pönitz <poenitz@gmx.net>
9289 * paragraph_pimpl.C (getChar): don't call size() too often...
9291 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * paragraph_pimpl.C (insertChar): do not try to update tables when
9294 appending (pos == size())
9296 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9297 in order to reduce drastically the number of comparisons needed to
9298 parse a large document
9300 2002-05-29 André Pönitz <poenitz@gmx.net>
9306 * textclasslist.[Ch]:
9307 * sp_ispell.h: whitespace change
9309 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9312 lyxaction directly now.
9314 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9318 * lyxvc.C: remove unused headers
9320 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9327 * undo_funcs.C: some cleanups. Use shared_ptr
9328 and a template for the undo stacks.
9330 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9332 * BufferView_pimpl.h:
9333 * BufferView_pimpl.C:
9340 * text2.C: use key_state/mouse_state
9342 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9344 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9347 * chset.C: change include order
9348 (loadFile): use boost regex and get rid of LRegex and LSubstring
9350 * Makefile.am (BOOST_LIBS): new variable
9353 * LaTeX.C: change include order.
9354 (scanAuxFile): use boost regex and get rid of LRegex and
9358 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9363 * FontInfo.C: moved to frontends/xforms/
9366 * FontLoader.C: moved into frontends for GUIIzation
9371 * lyxfunc.C: changes from above
9373 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9375 * LColor.C: remove spurious X include
9377 * BufferView_pimpl.C:
9382 * text2.C: move font metrics to frontends/
9384 2002-05-24 Juergen Vigna <jug@sad.it>
9386 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9387 setting the undo_cursor.
9389 * ParagraphParameters.h: include local includes first.
9391 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9393 * BufferView_pimpl.C:
9394 * BufferView_pimpl.h:
9398 * screen.C: move WorkArea into frontends/
9404 * BufferView2.C: move LyXScreen into frontends/
9408 * lyx_gui.C: move lyxlookup into frontends/xforms/
9410 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9413 * BufferView_pimpl.C:
9423 * bufferview_funcs.C:
9436 * vc-backend.C: move LyX/XFormsView into frontends/
9438 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9450 * text2.C: move Painter to frontends/
9452 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9454 * buffer.C: comment out some some code that depend upon lyx_format
9457 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9458 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9460 * buffer.h (NO_COMPABILITY): turn off compability
9462 * ColorHandler.C: include scoped_array.hpp
9464 * font.C: Use more specific smart_ptr header.
9467 * ShareContainer.h: ditto
9471 * BufferView_pimpl.h: ditto
9472 * ColorHandler.h: ditto
9474 * kbmap.C (defkey): change call to shared_ptr::reset
9476 2002-05-21 Juergen Vigna <jug@sad.it>
9478 * buffer.C (insertErtContents): fix to insert ert asis if it is
9479 non empty. Skip it completely if it contains only whitespaces.
9481 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9483 * BufferView_pimpl.C:
9484 * BufferView2.C: clear selection on paste (bug 393)
9486 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9488 * DepTable.C: include ctime
9490 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9492 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9494 2002-05-14 Juergen Vigna <jug@sad.it>
9496 * text.C (breakParagraph): fixed function to honor the keepempty
9497 layout in the right maner and also to permit the right breaking
9498 algorithm on empty or non empyt keepempty paragraphs.
9500 * paragraph.C (breakParagraph): we have to check also if the par
9501 is really empty (!size()) for isempty otherwise we do the wrong
9504 2002-05-10 Juergen Vigna <jug@sad.it>
9506 * buffer.[Ch] : The following are only changes to the ert
9507 compatibility read reading old LaTeX layout and font stuff and
9508 convert it to ERTInsets.
9510 * buffer.h: added isErtInset().
9512 * buffer.C (struct ErtComp): add a fromlayout bool to check
9513 if we're inside a LaTeX layout.
9514 (isErtInset): new helper function.
9515 (insertErtContents): look for other ert insets before this one
9516 and insert the contents there, so that we don't have subsequent
9517 ERT insets with nothing between them. This way we create only one
9518 inset with multiple paragraphs. Also check if we don't insert only
9519 spaces ' ' as they are ignored anyway afterwards in the .tex file
9520 so if we have only spaces we will ignore this latex part in the
9522 (parseSingleLyXformat2Token \\layout): better compatibility when
9523 reading layout-latex stuff.
9524 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9526 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9527 stuff after reading the inset only get the information back from
9530 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9532 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9534 * LaTeXFeatures.C (getBabelOptions): New method.
9536 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9538 * BufferView_pimpl.C (Dispatch): work around missing argument for
9541 2002-05-08 Juergen Vigna <jug@sad.it>
9543 * text.C (leftMargin): handle paragraph leftindent.
9545 * paragraph.C (writeFile): write the new \\leftindent tag.
9546 (validate): handle leftindent code.
9547 (TeXEnvironment): handle paragraphleftindent code again.
9549 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9551 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9552 for paragrap_extra indent code and new token \\leftindent.
9553 (latexParagraphs): handle the leftindent as environment.
9555 * ParameterStruct.h: added leftindent support.
9557 * ParagraphParameters.C (leftIndent): added support functions for
9558 the paragraph left indent.
9560 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9563 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9565 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9568 * text.C (computeBidiTables): No bidi in insetERT.
9570 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9573 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * version.C.in: pre 5
9577 2002-05-02 José Matos <jamatos@fep.up.pt>
9578 * buffer.C (makeDocBookFile): white space changes, add newline to
9580 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9582 * tabular.C (docBook): fix typo.
9584 2002-05-03 Juergen Vigna <jug@sad.it>
9586 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9587 change in LyXText as we can not be sure it was not freed.
9588 (drawOneRow): remove unused code.
9590 * text.C (drawInset): redo the calculation of the need_break_row as
9591 it could have a row which was already freed.
9592 (draw): look at the return value of drawInset and return false if
9593 it also returned false.
9594 (paintRowText): look at the return value of draw and return false if
9595 it also returned false.
9597 * lyxtext.h: added bool return type to drawInset() and draw() so that
9598 if we have a change in the row so that the rowbreak has to be redone
9599 we abort drawing as it will be called again.
9601 2002-05-02 Juergen Vigna <jug@sad.it>
9603 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9604 a change in the maintext also if we're inside an inset.
9605 (Dispatch): set the cursor again after a break line and after the
9606 screen has been updated as it could be we're in a different row.
9608 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9609 to set the cursor behind the pargraph with > size().
9610 (setCursor): check also for the same paragraph when checking where
9611 to put the cursor if we have a NFR inset.
9613 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9614 parts of layout read further up as it still was in the wrong
9617 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * screen.C (drawFromTo): change sine fullRebreak always return
9622 * buffer.C (parseSingleLyXformat2Token): reindent some
9624 * BufferView_pimpl.C (update): change since fullRebreak always
9626 (Dispatch): git rid of the last hardcoded "Standard"s.
9628 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9630 * text2.[Ch] (fullRebreak): make it return void now that we always
9633 2002-04-30 Juergen Vigna <jug@sad.it>
9635 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9636 ert compatibility check for "latex" layout.
9638 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9640 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9641 minipages: use col% instead of p%, and also use the current font.
9642 (makeLaTeXFile): Fix use babel condition.
9643 (parseSingleLyXformat2Token): Correct font when reading old floats.
9645 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9647 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9648 inserting list of floats.
9650 2002-04-25 Herbert Voss <voss@lyx.org>
9652 * MenuBackend.C (expand): don't add the graphics extensions to the
9655 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9658 non-existing layout, do not complain if it was the default layout
9659 of the original class (bug #342)
9661 2002-04-24 Juergen Vigna <jug@sad.it>
9663 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9664 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9666 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9668 * buffer.C (getBibkeyList): If using \bibliography, return the
9669 option field with the reference itself. Enables us to provide natbib
9670 support when using \bibliography.
9672 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9674 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9676 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9677 natbib is provided by the LaTeX class.
9679 2002-04-23 Juergen Vigna <jug@sad.it>
9681 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9684 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9686 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9690 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9691 ensuremath around textordmasculine, textordfeminine and
9694 2002-04-19 Juergen Vigna <jug@sad.it>
9696 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9697 reinitializing the buffer otherwise row-dimensions may be wrong.
9698 (update): reset also the selection cursors if they do exits otherwise
9699 their x/y positions may be wrong.
9701 * text2.C (cursorDown): don't enter the inset if we came from a row
9702 above and are one row over the inset.
9704 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9705 really leaving an inset.
9707 2002-04-18 Juergen Vigna <jug@sad.it>
9709 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9710 of the selected paragraph does not have the selected layout also if
9713 * text2.C (setLayout): fixed bug which did not change last selected
9716 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9717 changed the read and substituted \\end_float with \\end_inset!
9719 * BufferView_pimpl.C (cursorPrevious):
9720 (cursorNext): fixed to make it work with rows heigher than the work
9721 area without moving the cursor only the draw of the row.
9722 (workAreaMotionNotify): fix jumping over high rows.
9724 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9729 2002-04-16 Juergen Vigna <jug@sad.it>
9731 * text2.C (setCursor): set also the irow().
9732 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9734 (cursorDown): support for locking an inset if the x_fix value goes
9735 inside it. That way I can transverse insets too with cursor up/down.
9737 * lyxrow.h: added irow helper function same as other (i) functions.
9739 * BufferView_pimpl.C (cursorPrevious):
9740 (cursorNext): fixed for insets!
9742 2002-04-15 Juergen Vigna <jug@sad.it>
9744 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9745 position otherwise it is wrong in some cases.
9747 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9748 inside the inset before the call.
9750 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9752 * buffer.[Ch] (getBibkeyList): make it const.
9754 2002-04-12 Juergen Vigna <jug@sad.it>
9756 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9758 * text2.C (getCursorX): new helper function
9759 (setCursor): compute also ix_
9760 (setCursorFromCoordinates): set also ix.
9762 * lyxcursor.h: added ix_ and helper functions.
9764 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9766 * buffer.C (insertStringAsLines): dont break paragraph if the this
9767 paragraph is inside an inset which does not permit it!
9769 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9770 also with no chars on this paragraph.
9771 (paintRowText): only paint stuff if it's inside the workarea!
9773 * paragraph.C (breakParagraph): honor keepempty flag and break the
9774 paragraph always below not above.
9776 * BufferView2.C (unlockInset): update the paragraph layout on inset
9777 unlock as we changed paragraph in such a case.
9779 * lyxfind.C (LyXFind): clear the former selection if not found!
9781 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9782 again called in insertChar().
9784 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9785 an inset which uses the whole row!
9786 (rightMargin): ditto.
9787 (insertChar): force a rebreak if we inserted an inset!
9789 2002-03-28 Herbert Voss <voss@lyx.org>
9791 * lyxlength.[Ch]: add inBP() to get the right PS-point
9792 units (BigPoint). With inPixels we have rounding errors
9794 2002-04-11 Juergen Vigna <jug@sad.it>
9796 * text2.C (setCursorFromCoordinates): set iy to the right value.
9797 (setCursor): add check if row->previous exists!
9799 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9800 an old float_type as this was the case in the old code!
9802 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9804 * BufferView2.C (showLockedInsetCursor): use iy
9805 (fitLockedInsetCursor): ditto
9807 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9808 locked insets as there we have the right value now.
9810 * lyxcursor.C: added iy_ variable and iy functions to set to the
9811 baseline of cursor-y of the locked inset.
9813 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9814 (setCursor): fixed for insets which need a full row.
9816 * text.C (rowLastPrintable): don't ignore the last space when before
9817 an inset which needs a full row.
9818 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9819 as last character of a row when before a inset which needs a full row.
9821 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * version.C.in: update date
9825 * text2.C (fullRebreak): try to always return true and see what
9828 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * MenuBackend.C (expand): use Floating::listName
9832 * FloatList.C (FloatList): add listName argument to the built-in
9835 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9836 text associated with the float.
9838 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9840 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9842 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * ShareContainer.h: add a couple of missing typenames.
9846 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9848 * lyxrc.C (getDescription): use _() correctly rather than N_().
9850 2002-03-28 Herbert Voss <voss@lyx.org>
9852 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9853 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9855 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9858 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9860 2002-03-29 Juergen Vigna <jug@sad.it>
9862 * lyxfunc.C (dispatch): add a missing fitCursor call.
9864 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9865 it was scrolled by a cursor move, so return the bool status.
9867 * BufferView.C (fitCursor): return the bool flag also to the outside
9868 world as this is needed.
9870 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9872 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9873 call the edit() as it is not needed (and wrong) IMO.
9874 (workAreaButtonPress): set the screen_first variable before evt.
9875 unlock the inset as this may change screen_first and then we have
9876 a wrong y position for the click!
9878 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * MenuBackend.C (expand): another translation that I missed
9882 2002-03-28 Juergen Vigna <jug@sad.it>
9884 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9886 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9888 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9892 * MenuBackend.C (expand): fix export/view/update when there is no
9895 2002-03-27 Herbert Voss <voss@lyx.org>
9897 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9900 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9902 * bufferview_funcs.C (currentState): only show paragraph number
9903 for is DEVEL_VERSION is set.
9905 * lyxfunc.C (dispatch): put warning in INFO channel
9907 * MenuBackend.C (expand): translate the name of floats
9909 * FloatList.C (FloatList): mark the float names for translation
9911 * converter.C (convert): use LibScriptSearch
9913 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * MenuBackend.C (defaults): fix default menu (we might as well get
9918 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9923 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * lyxvc.C: reorder includes.
9927 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9929 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9932 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9934 * CutAndPaste.C: change layouts earlier on paste
9935 to avoid crashing when calling getFont()
9937 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9939 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9942 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * WorkArea.C: remove 'Pending' debug message.
9946 * most files: ws cleanup
9948 * buffer.[Ch]: ws changes
9950 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9952 2002-03-21 Juergen Vigna <jug@sad.it>
9954 * tabular.C (SetMultiColumn): collapse also the contents of the
9955 cells and set the last border right. Added a Buffer const * param.
9957 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9959 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9962 2002-03-19 Juergen Vigna <jug@sad.it>
9964 * text2.C (clearSelection): reset also xsel_cache.
9966 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9967 where it needs to be called (John tells us to do so too :)
9968 (selectionLost): reset sel_cache.
9970 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9972 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9974 * text2.C (setCursorIntern): put debuging code in INSETS channel
9976 2002-03-19 André Pönitz <poenitz@gmx.net>
9978 * lyxfunc.C: tiny whitespace change
9980 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * ToolbarDefaults.C (init):
9983 * LyXAction.C (init):
9985 * BufferView_pimpl.C (Dispatch):
9986 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9988 2002-03-19 Allan Rae <rae@lyx.org>
9990 * exporter.C (Export): removeAutoInsets before doing anything else.
9991 While I've just introduced a dependency on BufferView this really is
9992 the best place to clean the buffer otherwise you need to cleanup in
9993 a dozen places before calling export or cleanup in a dozen functions
9996 * converter.C (runLaTeX):
9997 (scanLog): Better handling of removeAutoInsets and screen updates.
9999 * lyxfunc.C (dispatch): small whitespace changes
10001 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * WorkArea.C (C_WorkAreaEvent): return a value.
10004 (event_cb): return 1 if we handled the event, 0 otherwise.
10006 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10008 2002-03-18 Juergen Vigna <jug@sad.it>
10010 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10011 (GetAdditionalWidth): ditto.
10012 (RightLine): ditto.
10015 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10016 inset if we're there actually (probably not used right now but this
10017 is the direction to go for unifying code).
10018 (paste): disable code to clear the selection.
10020 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10021 inside an InsetText and move the check further up as it is in the
10024 * text2.C (pasteSelection): set a selection over the pasted text.
10026 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10028 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10029 and libgraphics to build on Cygwin.
10031 2002-03-15 Juergen Vigna <jug@sad.it>
10033 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10034 inserting an Inset into the paragraph. I know this is not the best
10035 fix but we already use current_view in CutAndPaste so we will remove
10036 all of it's using at the same time.
10038 * buffer.C (sgmlError): deactivated function till it is rewritten in
10039 the right mode, now it can create problems.
10041 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10042 before accessing it.
10044 2002-03-14 Juergen Vigna <jug@sad.it>
10046 * undo_funcs.C (textHandleUndo): do the right thing when updating
10047 the inset after the undo/redo.
10049 * text2.C (setCursor): just some testcode for #44 not ready yet.
10051 * undo_funcs.C (textHandleUndo): set the next() and previous()
10052 pointers of the paragraph to 0 before deleting otherwise we have
10053 problems with the Paragraph::[destructor].
10055 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10056 on a paragraph insertion.
10058 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10060 * buffer.C (asciiParagraph): use += operator for char append to
10063 * paragraph.C (getFontSettings): compare >= not just >
10064 (highestFontInRange): ditto
10067 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * paragraph.C: change several algorithm to be more appripriate for
10070 the problem domain. This is lookip in FontList and in the InsetList.
10072 2002-03-13 André Pönitz <poenitz@gmx.net>
10075 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10077 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10084 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10086 * Painter.C (display): anon helper function, adjust code for this
10088 (pixmap): remove function.
10090 * Painter.h: remove private display variable.
10092 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10094 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10096 * WorkArea.[Ch]: remove figinset_canvas cruft.
10098 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * lyxtextclass.C (operator): add one item cache optimization.
10102 * bufferlist.h: doxy changes
10104 * bufferlist.C: ws changes
10106 * DepTable.[Ch] (ext_exist): place const in the right spot.
10108 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10110 (workAreaExpose): call resizeInsets when the with BufferView changes.
10111 (Dispatch): adjust for protectedBlank removal
10112 (specialChar): call updateInset if the insert went ok.
10114 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10115 specialChar instead.
10117 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10119 * BufferView.h: doxy change
10121 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10123 * lyxtextclass.C (operator[]): remove non-const version
10124 (defaultLayout): remove non-const version
10126 2002-03-12 Juergen Vigna <jug@sad.it>
10128 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10129 did resize the LyXText too.
10131 * buffer.C (readLyXformat2): set layout information on newly allocated
10134 * tabular.C (OldFormatRead): set layout information on the paragraph.
10136 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10138 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10140 2002-03-11 Juergen Vigna <jug@sad.it>
10142 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10144 (resizeCurrentBuffer): force also the insets to resize themselfes.
10145 (moveCursorUpdate): fixed up for InsetText.
10147 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10150 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10151 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10152 value of Dialogs::tooltipsEnabled().
10153 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10155 2002-03-08 Juergen Vigna <jug@sad.it>
10157 * BufferView_pimpl.C (updateInset): update inset inside inset also
10158 if it isn't inside theLockingInset().
10160 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10162 * buffer.C (asciiParagraph): redo some of the word and line length
10164 (getLists): look for Caption instead of caption.
10166 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * buffer.C (Buffer): initialize niceFile to true
10170 (makeLinuxDocFile):
10171 (makeDocBookFile): make sure niceFile is true on exit
10173 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10177 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10179 * LyXSendto.C: remove.
10180 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10181 * lyx_gui.C: remove now-redundant comment.
10182 * ColorHandler.h: remove forward declaration of class WorkArea.
10183 * lyxfunc.C: remove #include "WorkArea.h".
10185 2002-03-07 Juergen Vigna <jug@sad.it>
10187 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10188 got moved away with the DEPM and also set the inset_owner always
10189 right which before could have been omitted.
10191 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10194 wanted layout is not found.
10196 2002-03-07 Juergen Vigna <jug@sad.it>
10198 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10200 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * paragraph.C (breakParagraph): use default layout not layout of
10204 (Paragraph): clear ParagraphParameters.
10206 2002-03-06 Juergen Vigna <jug@sad.it>
10208 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10209 otherwise it would not be a valid lenght. Fixed a special case in
10210 the minipage compatibility read where we end the document with a
10213 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10214 was set as it could be 0 for InsetTexts first entry.
10216 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * paragraph.C (writeFile): if layout is empty write out
10219 defaultLayoutName().
10221 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10222 file without named layout we set layout to defaultLayoutName().
10224 2002-03-06 Juergen Vigna <jug@sad.it>
10226 * CutAndPaste.C (copySelection): set layout for new paragraph.
10228 * text.C (prepareToPrint): leave ERT inset left aligned
10229 (leftMargin): don't indent paragraphs inside ERT insets
10231 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10233 * paragraph.C (breakParagraph): dont call clear do the work manually
10235 * paragraph.[Ch] (clear): remove function
10237 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * paragraph.C (Paragraph): dont call clear, the work has already
10242 * lyxtextclass.C (operator): assert if n is empty
10244 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10245 work manually instead.
10247 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10249 * BufferView_pimpl.C: protect selectionLost against text == 0
10251 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10253 * text.C (breakParagraph): fix a setting layout to '0' problem.
10255 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10257 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10258 final location of file, for the included files, and graphics.
10260 2002-03-05 Juergen Vigna <jug@sad.it>
10262 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10264 2002-03-04 Juergen Vigna <jug@sad.it>
10266 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10268 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10269 last column of multicolumn cells.
10270 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10272 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10274 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10275 file if it doesn't go to a temporary file.
10277 * buffer.C (sgmlOpenTag):
10278 (sgmlCloseTag): remove extra newline insertion.
10280 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * text.C (getRowNearY): comment out debug msg
10284 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * text2.C: first -> first_y
10288 * text.C (getRowNearY): add some attemts at a possible
10289 optimization, not working.
10291 * tabular.[Ch]: add BufferParams to several function so that newly
10292 created paragraph can be initialized to he default layotu for the
10295 * tabular-old.C (ReadOld): add buf->params to call of Init
10297 * screen.C: rename text->first to text->first_y
10299 * paragraph.C (breakParagraph): always set layout in the broken
10302 * lyxtextclass.C (Read): remove lowercase
10305 (delete_layout): ditto
10307 * lyxtext.h: rename first -> first_y
10309 * lyxlayout.C (Read): remove lowercase
10312 (obsoleted_by): ditto
10314 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10316 * buffer.C (insertErtContents): add params are to InsetERT
10317 (parseSingleLyXformat2Token): add code to check if a paragraphs
10318 layout really exist.
10319 (parseSingleLyXformat2Token): add params to several inset
10321 (asciiParagraph): remove lowercase, do the layout comparisons with
10324 * BufferView_pimpl.C (cursorNext): first -> first_y
10325 (resizeCurrentBuffer): first -> first_y
10326 (updateScrollbar): first -> first_y
10327 (scrollCB): first -> first_y
10328 (workAreaMotionNotify): first -> first_y
10329 (workAreaButtonPress): first -> first_y
10330 (checkInsetHit): first -> first_y
10331 (cursorPrevious): first -> first_y
10332 (cursorNext): first -> first_y
10333 (Dispatch): add buffer_->params to severl inset contructors
10335 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10337 * lyxlayout.C (Read): remove some debug info that I forgot.
10339 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10340 clean up the code slightly.
10341 (makeLinuxDocFile): ditto
10342 (makeDocBookFile): ditto
10344 * text2.C: layout as string
10346 * text.C: layout as string
10348 * paragraph_pimpl.C: layout as string
10350 * paragraph.[Ch]: layout as string
10352 * lyxtextclasslist.[Ch]: layout as string
10354 * lyxtextclass.[Ch]: layout as string
10356 * lyxtext.h: layout as string
10358 * lyxlayout.[Ch]: layout as string
10360 * lyx_cb.C: layout as string
10362 * bufferview_funcs.C: layout as string
10364 * bufferparams.C: layout as string
10366 * buffer.C: layout as string
10368 * LyXView.[Ch]: layout as string
10370 * LaTeXFeatures.[Ch]: layout as string
10372 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10374 * BufferView_pimpl.C: change current_layout to string, remove
10379 (workAreaButtonRelease): layout as string
10381 * BufferView2.C (unlockInset): adjust
10383 * vspace.C (asLatexCommand): use an explict temp variable.
10385 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10387 * Makefile.am: use FRONTEND_*
10389 2002-03-01 Juergen Vigna <jug@sad.it>
10391 * tabular.C (SetWidthOfMulticolCell): changed to something better
10392 I hope but still work in progress.
10393 (recalculateMulticolumnsOfColumn): renamed function from
10394 recalculateMulticolCells as it is more appropriate now.
10395 (SetWidthOfCell): calculate multicols better.
10397 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10401 * lyxfunc.C (processKeySym): print sequence also if it is
10402 `deleted' (complete)
10404 * kbsequence.C (print): print sequence even if it is deleted
10405 (complete would be a better word, actually).
10407 * lyxfunc.C (dispatch): print complete options after a prefix key
10409 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10411 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10413 * text2.C (setCharFont): eliminate setCharFont code duplication.
10415 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10418 LFUN_TABULAR_FEATURE (bug #177)
10420 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10422 * Makefile.am: remove figure.h
10424 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10426 * Bufferview_pimpl.C:
10438 * text2.C: remove #include "lyx_gui_misc.h".
10440 * LaTeX.C: added #include <cstdio>
10442 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10445 that the paragraph following this one can have.
10447 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10449 * vspace.C (asLatexCommand): fix bogus gcc warning
10451 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10453 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10455 * text2.C (setLayout): get rid of redundant code
10457 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10459 * text2.C (incDepth): make sure depth cannot be increased beyond
10462 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10464 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10465 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10467 * PainterBase.h (image):
10468 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10469 a LyXImage const *.
10471 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10475 * BufferView_pimpl.C:
10476 * BufferView_pimpl.h:
10496 * sp_spell.C: remove fig inset, and the crap house of
10497 cards that follows it
10499 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10504 * os2_errortable.h:
10505 * nt_defines.h: move .h into support/
10507 * vms_defines.h: remove
10509 * WorkArea.C: add space in debug output
10513 * buffer.C: add WITH_WARNINGS
10517 * bufferlist.C: s/retrive/retrieve/, add docs
10526 * chset.C: add docs
10528 * lyxgui.C: add ID to X error handler
10530 * lyxtestclass.c: fix typo
10532 2002-02-26 Juergen Vigna <jug@sad.it>
10534 * tabular_funcs.C (write_attribute): changed so that some default
10535 attributes are not written at all.
10536 (getTokenValue): set default values before trying to read the
10537 value so we have the return value always set as default if we don't
10538 find the token we search for.
10540 * tabular.C (Write): write bools as bools not as strings!
10542 2002-02-22 Juergen Vigna <jug@sad.it>
10544 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10545 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10547 * text.C (leftMargin): don't add an indent for paragraphs inside
10548 tabular cells (fix #208).
10550 2002-02-21 José Matos <jamatos@fep.up.pt>
10552 * tabular.C (docBook): fixed support for long tables.
10554 2002-02-20 Juergen Vigna <jug@sad.it>
10556 * text2.C (getFont): get the drawing font of the Inset if this
10557 paragraph is inside an inset (only important for InsetERT for now).
10559 * buffer.C (insertErtContents): use new lanugage params in ERT
10562 * CutAndPaste.C: commenting out seemingly uneeded code.
10564 2002-02-19 Allan Rae <rae@lyx.org>
10566 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10567 Iterators might be simple to use but they also get invalidated.
10568 (removeAutoInsets): renamed saved cursor tracking variables and added
10569 some comments to clarify what everything does.
10571 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10578 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10579 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10582 * vc-backend.h: remove #include "support/syscall.h"
10586 * converter.C: rearrange #includes in Lars' approved fashion.
10588 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10589 forward declare class Timeout in the header file.
10591 * XFormsView.C: changes due to the above.
10593 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10594 similar to LyXView.
10596 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10597 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10599 2002-02-18 José Matos <jamatos@fep.up.pt>
10601 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10604 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10606 * a lot of small ws changes
10607 * add a lot of using std::XXX
10608 * use std construcs some places where approp.
10609 * use some exisint stuff from lyxfunctional where approp.
10610 * Make file changes to use partial linking (lets test this now...)
10612 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10616 remove #include "support/syscontr.h" as it's redundant. Always has been.
10624 change Systemcalls::System to Systemcalls::Wait and
10625 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10626 No change of functionality, just reflects the stripped down Systemcalls
10629 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10631 * debug.[Ch]: add a GRAPHICS type to the enum.
10633 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10635 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10637 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10640 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10643 match the changes below.
10645 * text2.C (toggleInset): if there is not editable inset at cursor
10646 position, try to see if cursor is _inside_ a collapsable inset
10649 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10652 document menu has a nice checkbox
10654 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10656 * lyxlength.C (asLatexString): change PW to output as percent of
10659 * lengthcommon.C: change '%' to 't%'
10661 * lyxfunc.C (dispatch): a few comments from Martin
10663 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10667 * BufferView_pimpl.h:
10668 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10671 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * vspace.C (inPixels): fix compiler warning
10675 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10677 * lyxfunc.C (getStatus): fix status message for disabled commands.
10679 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10681 * BufferView_pimpl.C: fix crash on close buffer
10682 during selection (#227)
10684 2002-01-27 Herbert Voss <voss@lyx.org>
10686 * buffer.C: link old Figure to new graphic inset
10688 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10690 * FontLoader.C (getFontinfo): Change the latex font names in order
10691 to match the names of type1inst.
10693 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10697 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10698 (extchanged): ditto
10700 (remove_files_with_extension): ditto
10701 (remove_file): ditto
10704 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10705 document is smaller than the work area height. Do not initialize
10706 static variables to 0.
10708 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10712 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10713 LFUN_LAYOUT_PARAGRAPHS.
10715 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10716 tabular. It is possible to provide a possible cell, which will
10717 typically be the actcell from the corresponding insettabular
10719 * lyxfunc.C (getStatus): small cleanup; disable
10720 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10723 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10725 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10727 * paragraph.C (startTeXParParams):
10728 (endTeXParParams): new methods. The LaTeX code to
10729 start/end paragraph formatting
10730 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10731 empty (fixes bug #200)
10733 * vspace.C (inPixels): adapt to the change below
10734 (inPixels): [later] more cleanups (remove unused variables)
10736 * lyxlength.C (inPixels): change to use a width and a height as
10739 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10742 Replaced with \paperwidth
10744 * DepTable.C (insert): add std:: qualifier
10746 2002-01-18 Allan Rae <rae@lyx.org>
10748 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10751 * text.C (drawInset): Turned out I didn't know enough about how
10752 rebreaking worked. This fixes most of the redraw problems. I see
10753 an occasional cursor trail when a line is broken now and the cursor
10754 placement can seem out by a few pixels also after a rebreak.
10756 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * buffer.C (parseSingleLyXformat2Token): update because minipage
10759 width is now a LyXLength
10761 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10763 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10766 2002-01-17 Juergen Vigna <jug@sad.it>
10768 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10770 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10771 is set correctly and the inset is updated correctly.
10773 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10776 the beginning of the loop.
10778 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10780 * lyxrc.C: improve help for use_scalable_fonts
10782 2002-01-17 Allan Rae <rae@lyx.org>
10784 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10786 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10789 make sure to set their inset_owner to the right value (bug #171)
10791 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10794 * DepTable.C: Implement mtime checking to reduce time spent doing
10797 2002-01-16 Juergen Vigna <jug@sad.it>
10799 * tabular.C (GetAdditionalHeight): one of error fixed.
10801 * lyxrc.C (output): small fix in writing use_pspell.
10803 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10805 * sp_base.h: #include LString.h
10807 2002-01-16 Allan Rae <rae@lyx.org>
10809 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10810 Can someone check this please?
10812 * text.C (drawInset): It was possible that p.row would be removed by
10813 breakAgainOneRow upsetting a few other settings. There may be another
10814 small tweak possible by setting need_break_row = 0 when p.row has been
10815 removed but I don't know enough about the logic here.
10817 2002-01-15 Allan Rae <rae@lyx.org>
10819 * text.C (insertChar): removed conditional truism.
10821 * BufferView2.C (removeAutoInsets): More tweaks.
10822 cur_par_prev could be a stray pointer. Check for trailing empty line
10823 in case last line was cur_par and only had an error inset on it.
10825 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10827 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10830 * vc-backend.C (most methods):
10831 * exporter.C (Export):
10832 * converter.C (convert):
10834 * LyXSendto.C (SendtoApplyCB):
10835 * lyxfunc.C (dispatch):
10839 * lyx_cb.C (AutoSave):
10841 * BufferView_pimpl.C (MenuInsertLyXFile):
10842 * buffer.C (runChktex): use Buffer::filePath().
10844 * buffer.h: rename filename to filename_; rename filepath to
10845 filepath_ and make it private
10846 (filePath): new method
10848 * buffer.C (writeFile): use fileName()
10851 * lyx_main.C (init): fix starting of LyX when the binary is a
10852 link from so,ewhere else.
10854 * minibuffer.C: include <cctype> for isprint
10856 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10858 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10859 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10860 name clash with InsetCollapsable's width function.
10862 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10864 * lastfiles.C: include <iterator>
10866 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10868 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10871 * buffer.C (makeLaTeXFile): ditto.
10872 Also make loop operation more transparent.
10874 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10876 * ToolbarDefaults.C: remove trailing comma closing namespace.
10878 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10880 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10883 * trans.C (Load): comment out unused variable, allowed.
10885 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10887 * minibuffer.[Ch] (append_char): new method to recieve input from the
10888 drop-down completion browser. If a key was pressed, then recieve this
10889 char and append it to the existing string.
10890 (peek_event): modify the positioning data passed to the completion
10891 browser so that it can be placed above the minibuffer rather than below.
10892 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * LyXAction.C (init): alloe error-next for readonly documents.
10896 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10899 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * bufferlist.C (readFile): create the buffer _after_ checking that
10904 * lyxfunc.C (verboseDispatch): fix handling of arguments
10906 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10908 * lyxrc.C: use string::erase() instead of initializing to "".
10911 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10913 * BufferView_pimpl.h:
10914 * BufferView_pimpl.C:
10917 * text2.C: tell X when we have made a selection for copying
10919 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * BufferView_pimpl.C (MenuInsertLyXFile):
10922 * lyxfunc.C (menuNew):
10924 (doImport): add shortcuts to directory buttons
10926 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10929 * lyxfunc.C (setStatusMessage):
10930 (getStatusMessage): new methods
10931 (getStatus):use setStatusMessage instead of setErrorMessage
10932 (dispatch): when function is disabled, set error message here
10933 [instead of in getStatus previously]
10935 * BufferView_pimpl.C (workAreaButtonRelease): update
10936 toolbar/menubar here too.
10938 2002-01-13 Allan Rae <rae@lyx.org>
10940 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10941 Now seems indestructible. Remaining task is to audit all other
10942 code affected by deleteEmptyParagraphMechanism. One small quirk
10943 left is that an empty document with an error in the preamble can
10944 be made to report an error but no error box appears. I don't know
10946 (removeAutoInsets): Improved comments.
10948 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10951 * Thesaurus.C: update for Aiksaurus 0.14
10953 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10955 * text2.C (firstParagraph): removed member function, all uses
10956 replaces with ownerParagraph
10957 (redoParagraphs): here
10958 (updateInset): here
10959 (toggleAppendix): here
10960 * BufferView2.C (insertErrors): here
10961 (setCursorFromRow): here
10963 2002-01-13 Allan Rae <rae@lyx.org>
10965 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10966 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10967 There is still a way to segfault this although you may have to do this
10968 multiple times: Have an InsetERT with an unknown command in it.
10969 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10970 <down-arrow>, <Enter> again, View->DVI, BANG!
10972 * text2.C (setCursor):
10973 (deleteEmptyParagraphMechanism):
10974 * lyxtext.h (setCursor):
10975 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10976 Making use of the return value may help fix other bugs.
10978 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10980 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10982 * LyXView.C (updateMenubar): call MenuBar::update here
10983 (updateToolbar): but not here
10984 (showState): do not update toolbar/menubar
10986 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10987 should need to care about that.
10989 * lyxfunc.C (verboseDispatch): simplify a bit
10990 (getStatus): have a version which takes a pseudoaction, and
10991 another which requires a (kb_action,string).
10993 * LyXAction.C (retrieveActionArg): make it work also when action
10994 is not a pseudo-action.
10995 (getActionName): simplify a bit
10998 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11000 * lyxfunc.C (verboseDispatch): new families of methods with
11001 several ways to specify a command and a bool to indicate whether
11002 the command name and shortcut should be displayed in minibuffer
11003 (eventually, we could extend that to a finer bitmask like
11004 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11005 (dispatch): the pristine dispatch command which just, well,
11006 dispatchs! Note it still sets its result to minibuffer; I'm not
11009 * lyxfunc.h: remove setHintMessage
11011 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11013 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * BufferView_pimpl.C (specialChar): delete new inset if we have
11016 not been able to insert it.
11018 * kbmap.C: revert to using int instead of kb_action, since all we
11019 are dealing with is pseudo-actions.
11021 * LyXAction.C (searchActionArg): change to return int instead of
11022 kb_action, since the result is a pseudoaction.
11024 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11026 * buffer.C (insertErtContents): Fix (partially) the font bug.
11028 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11030 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11031 as the other one is broken on my machine!
11033 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11036 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11038 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11040 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11041 reflect their actual use. Provide compatibility code for older lyxrc
11044 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11046 change names of popup font variables in line with the changes to lyxrc.C
11048 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * buffer.C (asciiParagraph): avoid outputing a word twice after
11053 * lyxrc.C (getDescription): document that document_path and
11054 template_path can be empty.
11056 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * LaTeXFeatures.C (getMacros):
11059 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11061 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11063 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11065 (getPackages): rename feature "floats" to "float". Use an array to
11066 iterate over 'simple' features (i.e. just a \usepackage). Add
11067 handling of "amsmath" (renamed from "amsstyle").
11069 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11071 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11074 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11076 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11077 FuncStaus::FuncStatus & FuncStaus::some_method().
11079 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11081 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11082 of the func_satus stuff. Edited and massaged in various ways by
11085 * lyxfunc.C (getStatus): use FuncStatus
11087 2002-01-08 Juergen Vigna <jug@sad.it>
11089 * text.C (nextBreakPoint): use function Inset::isChar().
11091 * paragraph.C (TeXOnePar): use function
11092 Inset::forceDefaultParagraphs.
11094 * buffer.C (latexParagraphs): use function
11095 Inset::forceDefaultParagraphs.
11097 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11099 * lyx_gui.C (init): set the style of the menu popups to
11100 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11102 2002-01-07 Juergen Vigna <jug@sad.it>
11104 * text.C (setHeightOfRow): small fix
11105 (prepareToPrint): don't look at alignment if we don't have the place
11108 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11110 * box.C: New file. Move the Box methods and functions out of box.h,
11111 following Lars' suggestion.
11113 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11115 * box.h: #include "support/LOstream.h", needed for inlined function.
11118 * lyxtextclasslist.C: added some using std declarations.
11120 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11122 * box.h: make signed dimensions to allow insets wider than
11123 the screen (bug #162)
11125 * BufferView_pimpl.C: add some insetHit debug
11127 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11129 * vc-backend.C: add FIXME
11131 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * lyxfunc.C (getStatus): enable code for showing math font status
11136 2002-01-07 Juergen Vigna <jug@sad.it>
11138 * text.C (nextBreakPoint): removed debug output not needed anymore.
11140 2002-01-06 Juergen Vigna <jug@sad.it>
11142 * text.C (nextBreakPoint): fixed up this function we had this bug
11143 since ever but now hopefully we break row better.
11144 (insertChar): we have to check if an inset is the next char as it
11145 could now happen that a large inset is causing a break.
11147 2002-01-05 Juergen Vigna <jug@sad.it>
11149 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11150 if it doesn't like to be drawed.
11152 2002-01-04 Juergen Vigna <jug@sad.it>
11154 * BufferView2.C (lockInset): forgot to set a cursor.
11156 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11158 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11160 * FormMathsPanel.C:
11163 * form_maths_panel.C:
11164 * form_maths_panel.h:
11165 * form_maths_panel.fd: implemented sub- and super- buttons in math
11168 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11169 (or ^ space) to be used as in TeX (req'd by André).
11171 * lyxfunc.C: Allow ^ and _ again to be used both as
11172 super/subscript (mathed) and as themselves (in text).
11174 2002-01-03 Allan Rae <rae@lyx.org>
11176 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11177 "LyX" or the filename of the current buffer if it has one. This is a
11178 modified form of John Levon's patch.
11180 * XFormsView.C (setWindowTitle): also set icon title.
11182 * LyXView.h (setWindowTitle): signature changed.
11183 * XFormsView.h (setWindowTitle): ditto.
11185 2002-01-02 Juergen Vigna <jug@sad.it>
11187 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11189 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * screen.C (topCursorVisible): introduce a temp var for
11192 text->cursor.row(), handle the case where this row is null. (kindo
11195 * text2.C (setCursor): add a couple of asserts.
11197 * paragraph.h (inset_iterator): add -> operator
11199 * paragraph.[Ch] (autoDeleteInsets): remove member function
11201 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11202 cursor pos correctly and handle inset deletion by itself.
11203 (insertErrors): move iterator declaration out of for expression
11205 * lyxtextclass.C: add <algorithm>
11207 * Makefile.am: added the new files to sources, removed layout.C
11209 * layout.C: removed file
11211 * layout.h: remove LYX_DUMMY_LAYOUT
11213 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11217 * lyxtextclass.[Ch]:
11218 * lyxtextclasslist.[Ch]: new files
11220 * include order changes to a lot of files, also changes because of
11223 2001-12-27 Juergen Vigna <jug@sad.it>
11225 * buffer.C (asciiParagraph): more fixes.
11227 * tabular.C (ascii): make ascii export support export of only the
11228 data separated by a column-delimiter.
11229 (ascii): better support for ascii export.
11231 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11233 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11235 * tabular_funcs.C: use a "using std::getline" instead of the
11236 previous fix from Angus (necessary for cxx + lyxstring)
11238 2001-12-24 Juergen Vigna <jug@sad.it>
11240 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11242 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11243 problems. First check a minipage also if we have some ert-contents
11244 (not only on par->size(), second set the right depth of the paragraph
11245 on the relink to the root-paragraph-list!
11247 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11248 which then did not anymore update the main paragraphs on undo/redo!
11250 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11252 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11253 code. Support all font-changing funcs (even those which are not in
11254 menu currently). Support for reporting font settings in
11255 mathed (disabled until Andre provides a function on mathed's side).
11257 * func_status.h (toggle): small helper function to set toggle
11260 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11262 * tabular_funcs.C: getline -> std::getline
11264 2001-12-21 Juergen Vigna <jug@sad.it>
11266 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11267 accessed and could be 0 (I couldn't generate this but it seems
11270 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11273 * tabular_funcs.h: here and include iosfwd
11275 2001-12-20 Juergen Vigna <jug@sad.it>
11277 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11278 inside inset but undo_par was.
11280 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * Thesaurus.C: always include <config.h> in sources.
11286 * box.h: do not include <config.h> in header files
11288 * text.C (paintLastRow): remove unused variable
11290 * text.C (transformChar):
11292 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11294 * Painter.C (text):
11295 * font.C (width): rewrite to use uppercase() instead of
11298 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11300 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11302 * lyxfind.C: clean up of find failure position change
11304 2001-12-20 Juergen Vigna <jug@sad.it>
11306 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11308 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11309 (TeXRow): added to LaTeX a single tabular row.
11310 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11311 (Latex): simplified and finally good LT-h/f support.
11312 (various_functions): just small adaptions for LT-h/f support.
11314 * tabular_funcs.[hC]: added and moved here all not classfunctions
11317 2001-12-19 Juergen Vigna <jug@sad.it>
11319 * tabular.[Ch]: better support for longtabular options (not finished
11322 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * text.C (paintLastRow): use the label font instead of the font of
11325 the last character to compute the size of *_BOX. This makes more
11326 sense and avoids a crash with empty paragraphs.
11327 Use Painter::rectangle to draw EMPTY_BOX.
11329 2001-12-19 Juergen Vigna <jug@sad.it>
11331 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11332 the paragraphs if the replaced paragraph is not the first one!
11333 Tried to delete not used paragraphs but does not work yet so for
11334 now it's inside #ifdef's and by default off!
11336 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11338 * MenuBackend.C: include "lyx_main.h" instead of declaring
11339 lastfiles (actually was declared as LastFiles* instead of a
11342 2001-12-17 Juergen Vigna <jug@sad.it>
11344 * tabular.C (AppendColumn): applied John's fix
11346 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.h:
11351 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11354 * box.h: new start of class for above
11356 * lyxfunc.C: ignore space-only minibuffer dispatches.
11357 Show the command name when it doesn't exist
11359 * minibuffer.C: don't add empty lines to the history
11361 * minibuffer.C: add a space on dropdown completion
11363 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11365 * text.C: fix line above/below drawing in insets
11367 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * lyxlength.C (LyXLength): Initialize private variables.
11371 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11373 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11374 when inserting error insets.
11376 2001-12-13 Juergen Vigna <jug@sad.it>
11378 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11379 actually sometimes the before-paragraph.
11380 (setUndo): don't clear the redostack if we're not actually undoing!
11382 2001-12-06 Juergen Vigna <jug@sad.it>
11384 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11385 and fixed redoing of main paragraph, so we can use it now ;)
11387 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11389 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11394 2001-12-13 André Pönitz <poenitz@gmx.net>
11397 * undo_func.C: minor cleanup
11399 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11402 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11403 font in urw-fonts package which is marked as -urw-fontspecific and
11404 does not work (incidentally, changing the encoding in the
11405 fonts.dir of this package to -adobe-fontspecific fixes the
11408 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11409 is a crash when undoing first paragraph (Juergen, please take a
11410 look). THis does not mean the undo fix is wrong, just that it
11413 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11414 the (Paragraph*) version when needed instead of duplicating the
11417 * text.C (workWidth): use Inset::parOwner to find out where the
11418 inset has been inserted. This is a huge performance gain for large
11419 documents with lots of insets. If Inset::parOwner is not set, fall
11420 back on the brute force method
11422 * paragraph_pimpl.C (insertInset):
11423 * paragraph.C (Paragraph):
11424 (cutIntoMinibuffer): set parOwner of insets when
11425 inserting/removing them
11427 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11429 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11435 * mathed/formulabase.C:
11436 * mathed/math_cursor.[Ch]:
11437 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11440 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * lyxlength.[Ch] (operator!=): new function
11444 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11446 * text.C (workWidth): use Inset::parOwner to find out where the
11447 inset has been inserted. This is a huge performance gain for large
11448 documents with lots of insets. If Inset::parOwner is not set, fall
11449 back on the brute force method
11451 * paragraph_pimpl.C (insertInset):
11452 * paragraph.C (Paragraph):
11453 (cutIntoMinibuffer): set parOwner of insets when
11454 inserting/removing them
11456 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11458 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * tabular-old.C (getTokenValue):
11461 * tabular.C (getTokenValue):
11462 (write_attribute): new versions for LyXLength
11463 (everywhere): adjust the use of widths
11465 * tabular.h: change the type of widths from string to LyXLength
11467 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11469 * paragraph.C: fixed missing line number count when exporting
11470 Environments to LaTeX file
11472 * buffer.C: added informational message for checking line numbers.
11474 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11477 paragraph, do the 'double space' part, but not the 'empty
11480 * text.C (workWidth): small optimization
11481 (getLengthMarkerHeight): use minimal size for negative lengths.
11483 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11485 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11487 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11489 2001-12-11 André Pönitz <poenitz@gmx.net>
11492 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11494 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11496 * text2.C: keep selection on a setFont()
11498 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11500 * lyx_cb.C: another bv->text misuse, from insert label
11502 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11505 * kbsequence.C: re-instate nmodifier mask
11507 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11509 * lyx_main.h: make lyxGUI private.
11511 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11513 * lyxfind.C: place the cursor correctly on failed search
11515 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11517 * text.C (getLengthMarkerHeight): for small heights, the arrows
11518 are not always on top/bottom of the text
11519 (drawLengthMarker): smaller arrows; take the left margin in
11520 account; draw also vfills.
11522 (paintLastRow): remove special code for vfill and standard spaces,
11523 since everything is handled in drawLengthMarker now.
11525 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * buffer.C (insertErtContents): try to handle font and language
11528 interaction a bit better.g
11530 * ColorHandler.C (updateColor): change the hash to cover the whole
11531 LColor enum, ws cleanup
11532 (getGCLinepars): ditto
11533 (getGCLinepars): only lookup in the linecache once.
11535 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11537 * iterators.C (operator++): Make the iterator more robust
11539 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11541 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11543 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11546 * text.C: better added space drawing
11548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11551 * BufferView2.C: fix layout combo update on inset unlock
11553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11555 * Makefile.am: don't compile unused files
11557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11561 * LyXAction.C: remove old LFUN_LAYOUTNO
11563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11565 * paragraph_pimpl.h:
11566 * paragraph_pimpl.C: isTextAt() doesn't need font param
11568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11571 * lyxlex.C: little cleanup
11573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11575 * BufferView_pimpl.C: fix insertAscii for insets
11577 2001-12-05 Juergen Vigna <jug@sad.it>
11579 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11580 set the right font on the "multi" paragraph paste!
11582 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11588 * lyxlength.C: remove out-commented code.
11590 * BufferView_pimpl:
11604 * vc-backend.C: change "while(" to "while ("
11606 * lyxlength.[Ch]: add zero function to check if length is zero or
11608 * lyxgluelength.C: use it
11610 2001-12-05 Allan Rae <rae@lyx.org>
11612 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11613 Works for 2.95.3, from what I understand of Garst's reports this should
11614 work for other g++ versions. We're screwed if the abs(int) definition
11615 changed between bugfix releases of gcc.
11617 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11619 * text.C: fix chapter label offset !
11621 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11624 * text.C: fix hfill at end of line, clean up
11626 2001-12-04 Juergen Vigna <jug@sad.it>
11628 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11629 that we force an update of the inset and it's owners if neccessary.
11631 2001-12-03 Juergen Vigna <jug@sad.it>
11633 * text.C (rowLast): simplified code
11635 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11637 * lyxfunc.C: fix show options on timeout
11639 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * screen.C (topCursorVisible): scroll half a page when the cursor
11642 reached top of bottom of screen
11644 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11646 * minibuffer.C: deactivate on loss of focus
11648 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * vspace.[Ch] (operator!=): add operator.
11652 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11654 * BufferView_pimpl.C: refuse to open an inset when
11655 there's a selection.
11657 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11659 * BufferView_pimpl.C: allow to click on RHS of full row insets
11661 2001-11-30 Juergen Vigna <jug@sad.it>
11663 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11664 insets for undo reasons.
11666 2001-11-28 André Pönitz <poenitz@gmx.net>
11668 * vspace.[Ch]: cosmetical changes
11670 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11680 * kbsequence.C: part re-write of old kb code
11683 * WorkArea.C: remove Lgb_bug_find_hack
11685 2001-11-30 José Matos <jamatos@fep.up.pt>
11687 * buffer.C (makeDocBookFile): add a comment to point a hack.
11688 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11689 Fixed a double write of labels.
11691 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11694 * LaTeX.h Fixed bug in LaTeX class where it would not
11695 re-run latex if no depfiles were changed, but the .dvi was removed.
11697 2001-11-28 André Pönitz <poenitz@gmx.net>
11699 * all the files from the change on 2001/11/26:
11700 use lyx::layout_type instead of LyXTextClass::size_type
11701 use lyx::textclass_type instead of LyXTextClassList::size_type
11703 2001-11-29 Juergen Vigna <jug@sad.it>
11705 * text.C: added support for paragraph::isFreeSpacing()
11707 * buffer.C: same as above
11709 * paragraph.h: inserted isFreeSpacing() function to enable
11710 FreeSpacing inside InsetERT.
11712 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11713 of the paragraph's in the cut/copy buffer to 0!
11715 * text2.C (removeRow): remove the assert as it can!
11717 * lyxtext.h: added helper function firstRow returning firstrow and
11718 made firstrow private again.
11720 * BufferView2.C (lockInset): don't relock if we're already locked!
11722 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11723 the only paragraph.
11724 (removeRow): added Assert::(firstrow)
11726 * debug.C: forgot to add INSETTEXT here.
11728 2001-11-28 Juergen Vigna <jug@sad.it>
11730 * sp_spell.C (initialize): changed error text to more general
11731 spellchecker command use (not only ispell!)
11733 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11735 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11737 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11739 * vspace.C: initialise lyxgluelength on failure
11741 2001-11-28 Allan Rae <rae@lyx.org>
11743 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11744 declaration & definition that looks like a function declaration.
11746 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11748 * BufferView2.C (copy):
11749 (copyEnvironment): do not clear the selection when doing a copy.
11751 * text.C (paintFirstRow): compilation fix
11753 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11755 * tabular.C (Latex): correct line count when writing latex.
11757 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11759 * paragraph_pimpl.h:
11760 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11763 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11767 * LColor.C: change vfillline->added_space
11769 * text.C: add markers and text for added space
11771 * vspace.C: fix comment
11773 2001-11-28 André Pönitz <poenitz@gmx.net>
11775 * paragraph.C: whitespace changes
11776 * all the other files from the change on 2001/11/26:
11777 change *::pos_type into lyx::pos_type
11779 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11781 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11782 language of the document when inserting error insets.
11784 2001-11-26 André Pönitz <poenitz@gmx.net>
11786 * BufferView_pimpl.[Ch]:
11794 * paragraph_pimpl.[Ch]:
11797 * text2.C: reduce header dependencies, introduce type for positions
11799 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11801 * <various>: change to use Alert.h
11803 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11805 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11806 when encountering an unknown token.
11807 (readLyXformat2): Show an error message if there were unknown tokens.
11809 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11812 * BufferView_pimpl.C:
11816 * text2.C: use par->isInset()
11818 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11820 * paragraph_pimpl.h:
11821 * paragraph_pimpl.C: cleanup
11823 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11825 * text2.C (removeRow):
11826 * text.C (setHeightOfRow): remove useless (and costly) call to
11829 2001-11-20 Allan Rae <rae@lyx.org>
11831 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11832 Now need Inset*::checkInsertChar() to return true for appropriate
11833 cases so that the characters in the minibuffer will actually be
11836 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * text.C: change the order of the includes.
11839 (workWidth): initialize it at once.
11840 (workWidth): make maxw unsigned
11841 (setHeightOfRow): remove unused variable (inset)
11842 (selectSelectedWord): remove unused variable (inset)
11843 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11845 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11847 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11848 server is not running.
11850 (closeConnection): add debug info when server is disabled.
11852 * ColorHandler.C (getGCForeground): send debug message to GUI
11855 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11857 * kbmap.C (bind): modify because return conventions of
11858 kb_sequence::parse have changed.
11860 * kbsequence.C (parse): only ignore spaces and not any stupid
11861 control character. This avoids tests like s[i] <= ' ', which are
11862 guaranteed to fail with 8bit characters and signed chars.
11863 Change return code to string::npos when there have been no error
11864 (0 was a bad idea when error is at first character)
11866 2001-11-14 José Matos <jamatos@fep.up.pt>
11869 * buffer.C (simpleDocBookOnePar): removed unused argument.
11871 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11873 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11874 insets which are part of a word. Paragraph::isLetter takes care of
11875 that now. Use Paragraph::isInset to identify insets.
11876 (selectSelectedWord): do not test for hyphenation break.
11878 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11879 that protected spaces are considered as spaces.
11881 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11884 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11887 * lyxserver.C: fix it. and small cleanup.
11889 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11891 * BufferView_pimpl.C: use inline helpers
11894 * LaTeXFeatures.C: fix typos
11897 * Spacing.C: move spacing_string into class
11899 * ToolbarDefaults.C: move stuff into namespace anon
11901 * layout.h: update enum
11903 * lyxfunc.C: use better debug
11905 * minibuffer.h: fix typo
11909 * WorkArea.C: add and use Debug::WORKAREA
11913 * text2.C: code re-organisation, inline helpers
11915 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11917 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11918 std::vector.empty().
11920 2001-11-09 Allan Rae <rae@lyx.org>
11922 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11923 '\n's after tables. Tabular and ERT inset work now makes this no
11926 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11929 * minibuffer.C: fix crash, improve drop-down completion
11931 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11934 * lyxserver.C: invalidate fd's when doing endPipe()
11936 2001-11-08 José Matos <jamatos@fep.up.pt>
11938 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11939 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11942 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11944 2001-11-07 José Matos <jamatos@fep.up.pt>
11947 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11950 * buffer.C (sgmlOpenTag):
11951 * buffer.C (sgmlCloseTag): removed debug info.
11953 * buffer.h (sgmlOpenTag):
11954 * buffer.h (sgmlCloseTag): made public.
11956 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * buffer.C (saveParamsAsDefaults):
11959 * lyx_cb.C (MenuLayoutSave): remove
11961 * LyXAction.C (init):
11963 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11965 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * buffer.C (setPaperStuff): removed from here...
11969 * bufferparams.C (setPaperStuff): ... and moved there.
11971 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11975 * XFormsView.C: add support for drop-down completion
11977 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11979 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11982 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11987 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11989 * lyx_main.C: change ref to known bugs
11991 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11993 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11994 to work around older babel problems.
11996 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11998 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12000 2001-10-24 Juergen Vigna <jug@sad.it>
12002 * tabular-old.C (ReadOld): below variable changes reflected.
12004 * tabular.[Ch]: added ltType struct for longtable header/footer
12005 defines and changed all instances where they are used. Added
12006 future support for double top/bottom rows.
12008 2001-10-24 José Matos <jamatos@fep.up.pt>
12010 * buffer.h (docbookHandleCaption):
12011 * buffer.C (docbookHandleCaption): removed unused function.
12012 (makeDocBookFile): moved docbook supported version to v4.1.
12014 2001-10-24 José Matos <jamatos@fep.up.pt>
12017 * tabular.C (docbookRow): new function to export docbook code of a row.
12018 (DocBook): now honors the longtable flags.
12020 2001-10-23 José Matos <jamatos@fep.up.pt>
12023 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12024 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12026 * buffer.C (makeLinuxDocFile):
12027 (makeDocBookFile): reworked the preamble, more clean, and with
12028 support for lyx defined entities. Changed the document declaration
12029 to be more XML friendly.
12031 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12032 if we need to output XML that should be done with a filter.
12034 2001-10-22 Juergen Vigna <jug@sad.it>
12036 * sp_pspell.h (class PSpell): add alive function needed in the
12037 controller to see if the spellchecker could be started.
12039 2001-10-22 Juergen Vigna <jug@sad.it>
12041 * buffer.C (insertStringAsLines): modify the font for inserting
12042 chars in certain conditions by calling checkInsertChar(font).
12044 2001-10-19 Juergen Vigna <jug@sad.it>
12046 * text.C (workWidth): use getRow instead of wrong algorithm.
12047 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12049 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12054 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12056 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12058 * text.C (workWidth): do not search for the exact row when
12059 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12060 optimization for big documents.
12062 2001-10-18 Juergen Vigna <jug@sad.it>
12064 * text.C (workWidth): new function with added Inset * parameter.
12066 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12068 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12070 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12071 change return type of getColumnNearX.
12074 * text.C (changeRegionCase): use uppercase/lowercase instead of
12077 (rightMargin): simplify code by factoring out the uses of
12082 (appendParagraph): use Paragraph::size_type
12084 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12086 * vspace.C (asLatexString): add a missing break
12088 2001-10-15 Herbert Voss <voss@perce.de>
12090 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12092 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12094 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12097 2001-10-10 André Pönitz <poenitz@gmx.net>
12099 * lyxfunc.C: removed greek_kb_flag.
12101 2001-10-10 Herbert Voss <voss@perce.de>
12103 * lyx_main.C: delete global string help_lyxdir.
12105 2001-10-09 Herbert Voss <voss@perce.de>
12107 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12109 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12111 * lyx_main.C: added global string help_lyxdir.
12113 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12115 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12117 * lyxrc.C (set_font_norm_type): support iso8859-4
12119 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12121 * LaTeX.C (deplog): add another regex for MikTeX
12123 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12125 * lyxrc.C (set_font_norm_type): support iso8859-3
12127 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12129 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12131 * LaTeXFeatures.C: remove special case of french and index
12133 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12134 before \begin{document}). This solves several incompatibilities.
12136 2001-10-03 Garst Reese <reese@isn.net>
12138 * lyx_cb.C: change CheckTex error msg.
12140 2001-10-03 José Matos <jamatos@fep.up.pt>
12142 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12144 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * .cvsignore: update
12148 * lyx_main.C (commandLineVersionInfo): use new style version info.
12150 * buffer.C (writeFile):
12152 (makeLinuxDocFile):
12153 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12155 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12157 * version.h: update to use stuff in version.C
12159 * version.C.in: new file. Contains version information determined
12160 at compile time. This is a merging of version.h and
12163 2001-10-03 Juergen Vigna <jug@sad.it>
12165 * BufferView_pimpl.C (update): don't change "dirty" status in
12168 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12170 * WorkArea.C (c-tor): re-position version string slightly.
12172 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12174 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12175 revert to previous code.
12177 WorkArea.[Ch]: (show, destroySplash): methods removed.
12179 WorkArea.C: rework code so that it's an amalgam of the codes before and
12180 after the splash screen was moved to WorkArea.
12182 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12185 * vspace.C (inPixels):
12188 * buffer.C (insertStringAsLines):
12189 (asciiParagraph): fix types to be large enough
12191 * lyxlex_pimpl.h: change member status from short to int
12193 * layout.h: fix type of endlabeltype
12196 * kbsequence.C (parse): change return type to string::size_type
12198 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12201 * Bullet.C (bulletSize):
12202 (bulletEntry): do not use short ints as parameters
12204 * BufferView2.C (insertLyXFile): change a char to an int.
12206 * WorkArea.C (WorkArea): remove unneeded floats in computation
12208 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12210 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12212 * paragraph.C (asString): Do not ignore newline/hfill chars when
12213 copying to the clipboard.
12215 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12217 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12218 after a multi-line inset.
12220 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12222 * paragraph.C (validate): Set NeedLyXFootnoteCode
12224 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12226 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12227 and decrease-error to decrease.
12229 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12232 it more readable (should be equivalent)
12234 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12236 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12238 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12241 of a cursor (row, etc.) after a character has been deleted
12242 (deleteEmptyParagraphMechanism): call the method above on _all_
12243 cursors held by the LyXText when a double space has been
12246 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12248 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12250 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12252 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12253 background. Use greyOut() and the new show() methods to toggle between
12254 the foreground and background. Add code to remove the splash after
12255 its initial showing.
12257 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12258 (create_forms): no longer call Dialogs::showSplash.
12260 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12262 * .cvsignore: add version_info.h
12264 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12266 * version_info.h.in: new file
12268 * Makefile.am: add version_info.h.in
12270 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12271 version_info.h instead of VERSION_INFO
12273 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12275 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12276 The ERT inset now returns string().
12278 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12280 * lyxtext.h, text.C (selectNextWord): renamed as
12281 selectNextWordToSpellcheck.
12283 * text.C (selectNextWordToSpellcheck): Modified to not select
12284 words inside an ERT inset.
12286 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * lyx_cb.C (MenuLayoutSave): change a bit the question
12290 * sp_base.h: include <sys/types.h>
12292 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12294 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12296 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12298 * several files: fix typos in user-visible strings
12300 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * text2.C (pasteSelection): do not set the selection, since it
12303 will be cleared later. Actually, the intent was to fix the way the
12304 selection was set, but I figured rmoving the code was just as good.
12306 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12308 * FontLoader.C (available): Check if font is available without
12311 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12313 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12315 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12317 * lyxrc.[Ch]: added display_graphics variable and associated code.
12319 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12321 * bufferparams.C (hasClassDefaults): new method. Returns true if
12322 the buffer parameters correspond to known class defaults
12324 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12326 * XFormsView.C (show): set minimum size to the main window.
12328 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * text2.C (copySelection):
12332 * lyxfind.C (LyXReplace):
12333 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12334 LyXText::selectionAsString.
12336 * paragraph.C (asString): add "label" argument to the second form
12338 * text2.C (selectionAsString): add "label" argument and pass it to
12339 Paragraph::asString.
12341 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * lyx_main.C (commandLineHelp): remove version information
12345 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12347 * lyx_main.C: add -version commandline option
12349 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * paragraph.h: make the optional constructor arg required instead.
12352 some modifications to other files because of this.
12354 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12356 * lyxserver.C (C_LyXComm_callback): make it static
12358 * lyx_main.C (error_handler): make it static
12360 * lyx_gui.C (LyX_XErrHandler): make it static
12362 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12364 * WorkArea.C: make the extern "C" methods static.
12366 * Makefile.am (lyx_LDADD): simplify
12368 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12370 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12371 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12373 * LyXAction.C (init):
12374 * lyxfunc.C (dispatch): associated code removal.
12376 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12378 * lyxfont.h (isSymbolFont): shut off warning
12380 * text.C (setHeightOfRow):
12381 (getVisibleRow): fix crash with empty paragraphs which have a
12384 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12386 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12389 2001-09-04 José Matos <jamatos@fep.up.pt>
12392 * tabular.C (docbook): rename docBook method to docbook.
12394 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12396 * Makefile.am: add dependencies to main.o.
12398 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12400 * FontLoader.C (available): Return false if !lyxrc.use_gui
12402 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12404 * FontInfo.C (query):
12405 * converter.C (view):
12406 * importer.C (Import):
12407 * exporter.C (Export): Can not -> cannot.
12409 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12411 * BufferView_pimpl.C: allow to create index inset even if
12414 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12416 * buffer.C (getLists): replace boost::tie code with an explicit pair
12417 as boost::tie can break some compilers.
12419 * iterators.h: Added a std:: declaration to the return type of
12422 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12424 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12427 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12429 * iterators.[Ch]: New files. Provide paragraph iterators.
12431 * buffer.C (changeLanguage): Use paragraph iterators.
12432 (isMultiLingual): ditto
12434 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12436 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12438 * FontLoader.C: Support for cmr font.
12440 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12442 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12443 (available): New method.
12445 * FontInfo.C (getFontname): Use scalable fonts even when
12446 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12449 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12451 * converter.C (Formats::view): reverted! Incorrect fix.
12453 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12455 * converter.C (Formats::view): only output the -paper option
12456 if the dvi viewer is xdvi, thereby fixing bug #233429.
12458 2001-08-23 Herbert Voss <voss@perce>
12460 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12462 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12464 * Spacing.h (Spacing): Set space to Default on in the default
12467 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * vc-backend.h (RCS::versionString): add RCS to version
12470 (CVS::versionString): add CVS to version
12472 * vc-backend.C (scanMaster): do not add CVS to version.
12473 (scanMaster): do not add RCS to version
12475 * lyxvc.C (versionString): new method
12477 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12479 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * Spacing.C (set): initialize fval
12483 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12485 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12488 2001-08-16 Juergen Vigna <jug@sad.it>
12490 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12492 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView_pimpl.C:
12497 * text2.C: setParagraph takes linespacing now
12499 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12501 * LyxAction.C: add internal LFUN_CITATION_INSERT
12503 * LyXView.C: actually apply fix
12505 * bufferlist.C: fix open non-existent file
12507 * lyxfind.C: fix indentation
12509 * lyxfunc.C: remove unneeded assert, fix typo
12511 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12513 * MenuBackend.C: use "Floatname List"
12515 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12517 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12518 when converting LaTeX layout to insetERT.
12519 Generate a non-collapsed float when reading old float
12521 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12523 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12526 2001-08-13 Juergen Vigna <jug@sad.it>
12528 * text.C (fill): return 0 instead of 20 as this seems to be the more
12531 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12533 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12536 2001-08-13 Juergen Vigna <jug@sad.it>
12538 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12540 (SearchBackward): comment out the unlocking of the inset_owner this
12541 should not be needed!
12543 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12545 * Many files: Remove inherit_language, and add latex_language
12547 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12548 collapsible insets.
12550 2001-08-10 Juergen Vigna <jug@sad.it>
12552 * text.C (prepareToPrint): fixed hfill-width in draw!
12554 * BufferView2.C (selectLastWord): save the selection cursor as this
12555 now is cleared in the function LyXText::clearSelection!
12557 2001-08-08 Juergen Vigna <jug@sad.it>
12559 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12560 BACKSPACE type functions.
12562 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12563 is only cutted from the document but not put in the cut-buffer, where
12564 still the old stuff should be.
12566 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12568 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12570 * tabular.C (SetWidthOfCell): fixed special case where the width
12572 (LeftLine): handle '|' in align_special.
12574 (LeftAlreadyDrawed): ditto
12575 (SetWidthOfCell): ditto
12577 2001-08-07 Juergen Vigna <jug@sad.it>
12579 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12581 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12584 * lyxlex.[hC]: ditto
12586 2001-08-06 Juergen Vigna <jug@sad.it>
12588 * text.C (getVisibleRow): fix up row clearing a bit.
12590 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * minibuffer.C: make sure the X server sees the changes in the input.
12594 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * paragraph.C (getFont): split into...
12597 (getLabelFont): this
12598 (getLayoutFont): and this
12599 * paragraph_pimpl.C (realizeFont): calling this
12601 * text2.C (getFont): split into...
12602 (getLayoutFont): this
12603 (getLabelFont): and this
12604 (realizeFont): all three calling this
12606 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12609 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12611 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12613 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12615 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12616 layouts from the Quote inset insertion.
12618 2001-08-03 Juergen Vigna <jug@sad.it>
12620 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12622 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12623 only if status not is already CHANGED_IN_DRAW (second level).
12625 * text.C (draw): don't set the need_break_row when inside an
12628 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * buffer.C (parseSingleLyXformat2Token): handle more latex
12633 * bufferview_funcs.[hC]: change function names to
12634 begin with small char, adjust other files.
12636 2001-08-02 André Pönitz <poenitz@gmx.net>
12639 BufferView_pimpl.C: remove broken special code for math-greek
12641 2001-08-02 Juergen Vigna <jug@sad.it>
12643 * BufferView_pimpl.C (update): redone this function so that we
12644 update the text again if there was a CHANGE_IN_DRAW.
12646 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12647 (drawFromTo): added a new internal bool which is used by draw() and
12649 (general): some cursor drawing problems fixed.
12651 2001-08-01 Juergen Vigna <jug@sad.it>
12653 * lyxfind.C (LyXFind): fixed
12654 (SearchForward): ditto
12655 (SearchBackward): ditto
12657 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12658 spurius drawing of the cursor in the main area.
12660 * text2.C (status): small fix which could lead to a segfault!
12661 (clearSelection): remove unneeded BufferView param.
12663 2001-08-01 André Pönitz <poenitz@gmx.net>
12665 * lyxfunc.C: small change due to changed mathed interface
12667 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12669 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12671 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12673 * lyxfunc.c: fail gracefully if file doesn't exist
12678 * BufferView_pimpl.C: IsDirWriteable() proto changed
12680 * LyXView.C: fix updateWindowTitle() to store the last title
12682 2001-07-31 Juergen Vigna <jug@sad.it>
12684 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12685 the font (wrong since using of Paragraph::highestFontInRange).
12687 * paragraph.C (highestFontInRange): added a default_size parameter.
12689 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12690 (setHeightOfRow): reformat
12692 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * converter.[hC] + affected files: move to (inital-char)lowercase
12697 * ParagraphParameters.C (ParagraphParameters): remove commented code
12699 * PainterBase.[Ch]: remove commented code
12701 * LaTeXFeatures.h: add "bool floats" for float.sty
12703 * LaTeXFeatures.C (LaTeXFeatures): init floats
12704 (require): handle float
12705 (getPackages): do it with floats
12707 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * BufferView_pimpl.C (Dispatch): improve handling of
12710 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12712 * commandtags.h: #include lyxfont.h here temporarily to avoid
12715 * bufferlist.h: include LString.h here.
12717 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * text2.C (getStringToIndex): new method.
12721 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12723 * *: Reduced header file dependencies all over.
12725 2001-07-30 Baruch Even <baruch@lyx.org>
12727 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12729 2001-07-29 Baruch Even <baruch@lyx.org>
12731 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12733 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * ParameterStruct.h (endif): add a default constructor to make
12736 sure that all variables is initialized.
12738 * ParagraphParameters.C (ParagraphParameters): adjust
12740 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12743 index; also, check that there is something to index, and that it
12744 does not span over several paragraphs.
12745 (doubleClick): use WHOLE_WORD_STRICT for double click.
12747 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12749 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12752 2001-07-26 Baruch Even <baruch@lyx.org>
12754 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12755 an InsetFig figure, backwards compatible reading of old figure code.
12757 2001-07-27 Juergen Vigna <jug@sad.it>
12759 * text2.C: font.realize function adaption.
12761 * text.C (draw): add a warnings lyxerr text if needed.
12763 * layout.C: font.realize function adaption.
12765 * language.C: add inherit_language and implement it's handlings
12767 * bufferview_funcs.C (StyleReset): remove language parameter from
12768 font creation (should be language_inherit now).
12770 * bufferparams.C (writeFile): handle ignore_language.
12772 * paragraph.C (getFontSettings): the language has to be resolved
12773 otherwise we have problems in LyXFont!
12775 * lyxfont.C (lyxWriteChanges): added document_language parameter
12776 (update): removed unneeded language parameter
12778 * paragraph.C (validate): fixed wrong output of color-package when
12779 using interface colors for certain fonts in certain environments,
12780 which should not seen as that on the final output.
12782 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12784 * BufferView_pimpl.C:
12789 * LyXAction.C: add thesaurus support
12792 * lyxfind.C: add "once" parameter, for thesaurus, to not
12793 move to the next match
12795 2001-07-26 Juergen Vigna <jug@sad.it>
12797 * lyxfont.C (realize): honor ignore_language too!
12800 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12802 * text.C (draw): one place more for ignore_language to not draw
12805 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12807 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12809 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12811 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12812 the minipage conversion problem.
12814 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12819 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12821 * BufferView.h: don't forward declare WorkArea
12823 * BufferView.C: don't include WorkArea.h
12825 2001-07-25 André Pönitz <poenitz@gmx.net>
12829 * lyxfunc.C: new LFUN 'math-space'
12831 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12833 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * text2.C (toggleInset): call open/close
12837 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * lyxfunc.C (dispatch): add debug for the disabled case
12841 * font.C (buttonText): make similar to rectText
12843 * buffer.C (readInset): comment out parsing of insetlist and
12846 * PainterBase.C (rectText): small correction
12848 * BufferView_pimpl.C: comment out insettheorem and insetlist
12849 * LyXAction.C: ditto
12850 * commandtags.h: ditto
12852 2001-07-24 Juergen Vigna <jug@sad.it>
12854 * text.C (draw): honor the ignore_language.
12856 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12858 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12860 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12863 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12865 * lyxtext.h: remove unused (and unimplemented) methods
12867 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12869 * text.C (getVisibleRow): honor background color
12872 * Painter.h: remove default color argument for fillRectangle
12874 * text.C (backgroundColor): new method
12876 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * text.C (getVisibleRow): adjust
12880 * font.[Ch] (rectText): new method, metrics
12881 (buttonText): new method, metrics
12883 * PainterBase.[hC]: make rectText and buttonText always draw and take
12886 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12888 * ToolbarDefaults.C (read):
12889 * MenuBackend.C (read): allow escaping in all strings
12891 * BufferView_pimpl.C (insertAndEditInset): new method.
12892 (Dispatch): use insertAndEditInset whenever appropriate.
12894 * BufferView_pimpl.C (insertNote): removed
12896 * BufferView_pimpl.C (smartQuote): new method, moved from
12897 BufferView; if an insetquote cannot be inserted, insert a '"'
12900 * BufferView2.C: remove insertCorrectQuote();
12902 * lyxfunc.C (getStatus): Add support for all remaingin
12903 inset-insert lfuns.
12905 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12907 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12908 command (necessary to pass " as parameter of self-insert.
12910 * text.C (selectWordWhenUnderCursor):
12911 (selectWord): add word_location parameter
12912 (selectWordWhenUnderCursor): same + remove special code for word
12914 (selectNextWord): use kind() to guess type of insetspecialchar,
12917 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12918 (insertErtContents): create ert insets as collapsed.
12919 (readInset): better compatibility code for Info inset.
12921 2001-07-20 Juergen Vigna <jug@sad.it>
12923 * lyxfunc.C (dispatch): use always LyXFind now!
12925 * text2.C (init): add a reinit flag so that the LyXText can be
12926 reinited instead of deleted and reallocated (used in InsetText).
12928 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12934 2001-07-18 Juergen Vigna <jug@sad.it>
12936 * text.C (selectNextWord): handle insets inside inset by calling
12937 always the bv->text functions so that we can go up the_locking_inset!
12939 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12940 in strange locations when inside an inset!
12942 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12943 handling to include insets.
12945 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12947 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * LyXAction.C (init):
12951 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12952 LIGATURE_BREAK, since the name is so stupid.
12954 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12956 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12959 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12961 * sp_form.[Ch]: remove.
12963 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12965 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12968 * src/buffer.C (readInset): ditto.
12970 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12972 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12973 menuSeparator(), endOfSentenceDot(), ldots() and
12974 hyphenationPoint(), which are therefore removed.
12975 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12977 * LyXAction.C (init):
12978 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12980 * paragraph.C (getWord): removed.
12982 * BufferView_pimpl.C (Dispatch): use last word or selection for
12983 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12985 * lyx_main.C (queryUserLyXDir): do not ask before creating
12986 user_dir, except if it has been named explicitely.
12988 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12990 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12991 a document of zero size.
12993 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12995 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12996 approriately in the c-tor and in require().
12997 (getPackages): output the appropriate LaTeX for natbib support.
12999 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13000 variables "use_natbib" and "use_numerical_citations" when reading the
13002 (readInset): read the various natbib cite commands.
13003 (validate): white-space change.
13005 * bufferparams.[Ch]: new variables "bool use_natbib" and
13006 "bool use_numerical_citations".
13007 (writeFile): output them in the LyX file.
13009 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13011 * lyxfunc.C (getStatus): add support for all the inset insertion
13014 * text2.C (insertInset):
13015 * paragraph.C (insetAllowed):
13016 * BufferView_pimpl.C (insertInset): update to take in account the
13017 renaming of insertInsetAllowed
13019 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13021 * text2.C (getInset): new method. returns inset at cursor position.
13023 * BufferView_pimpl.C (Dispatch): changes because of this.
13025 * LyXAction.C (init): rename open-stuff to inset-toggle.
13027 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13029 * text2.C (toggleInset): renamed from openStuff; use
13032 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13034 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13036 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13038 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13040 * buffer.C (readLyXformat2): Add filename to the error dialog
13042 2001-07-18 Juergen Vigna <jug@sad.it>
13044 * tabular.C (GetCellNumber): put an assert here instead of the check!
13046 2001-07-17 Juergen Vigna <jug@sad.it>
13048 * BufferView_pimpl.C (toggleSelection): adapted too.
13050 * text.C (selectNextWord): adapted for use with insets.
13051 (selectSelectedWord): ditto
13053 2001-07-17 Juergen Vigna <jug@sad.it>
13055 * sp_spell.C (PSpell): fix initialitation order.
13057 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * paragraph.C: spacing
13061 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13063 * sp_spell.C: repair language selection for pspell
13065 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * lyxfunc.h: change more methods to begin with lower char.
13069 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13071 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13072 for unknown layouts.
13074 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13076 * buffer.C (readLyXformat2): Generate an error dialog if there are
13079 2001-07-16 Juergen Vigna <jug@sad.it>
13081 * sp_spell.C: always compile ISpell part.
13083 * lyxrc.C: added use_pspell entry and it's handling.
13085 2001-07-13 Juergen Vigna <jug@sad.it>
13087 * sp_spell.C: removed double includes.
13089 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13091 Consistent use of Lsstream.h:
13092 * Lsstream.h: added using std::stringstream for consistencies sake.
13094 * buffer.C: removed using std::stringstream
13096 * lyxfont.C (stateText):
13097 * paragraph.C (asString):
13098 * text.C (selectNextWord, selectSelectedWord):
13099 * text2.C (setCounter):
13100 * vspace.C (asString, asLatexString):
13101 std::ostringstream -> ostringstream.
13103 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13105 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13106 * commandtags.h: add LFUN_HELP_ABOUTLYX
13107 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13109 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13111 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13113 * lyx_gui_misc.C: remove spellchecker
13114 * lyxfunc.C: showSpellchecker
13116 * sp_ispell.h: added
13117 * sp_pspell.h: added
13118 * sp_spell.C: added
13119 * sp_form.[Ch]: removed
13120 * spellchecker.[Ch]: removed
13122 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13124 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13126 (simpleTeXSpecialChars): Simply print the input character without
13127 any special translation if pass_thru is set.
13129 * layout.h: Added bool pass_thru to layout class for being able to
13130 implement pass through of a paragraph for Literate Programming.
13132 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13133 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13134 * layout.C (Read): add "passthru" to list of layout tags and add
13135 code to set the pass_thru boolean when it is read.
13137 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * trans_decl.h: remove allowed from KmodInfo
13141 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13142 remove allowed code
13145 * paragraph_pimpl.C (erase): use boost::prior
13147 * Painter.C (text): use data() instead of c_str() when length is
13149 * WorkArea.C (putClipboard): ditto
13150 * font.h (width): ditto
13152 * BufferView2.C: use it-> instead of (*it). for iterators
13154 * paragraph_pimpl.C: ditto
13155 * paragraph.C: ditto
13156 * minibuffer.C: ditto
13157 * language.C: ditto
13159 * encoding.C: ditto
13160 * counters.C: ditto
13161 * converter.C: ditto
13163 * Variables.C: ditto
13164 * TextCache.C: ditto
13165 * MenuBackend.C: ditto
13166 * LyXAction.C: ditto
13168 * FloatList.C: ditto
13169 * DepTable.C: ditto
13170 * ColorHandler.C (LyXColorHandler): ditto
13172 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13174 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13176 * text2.C (openStuff): reintroduce this method (which had been
13177 nuked in NEW_INSETS frenzy).
13179 * lyxfunc.C (Dispatch): when an action has not been handled, use
13180 its name in the error message, not its number.
13182 * paragraph.C (inInset): change method name to begin with lowercase.
13185 * text2.C: updates because of this.
13187 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * ToolbarDefaults.C (add): add spaces in error message
13191 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13194 (readLyXformat2): rename return_par to first_par, use lyxlex's
13195 pushToken and remove the manual push handling.
13196 (parseSingleLyXformat2Token): add another ert comp. variable:
13197 in_tabular, rename return_par to first_par. handle newlines better
13199 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13203 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * text2.C (getParFromID): removed
13207 * buffer.C (getParFromID): new method moved form lyxtext.
13208 * BufferView2.C (insertErrors): adjust
13209 (setCursorFromRow): adjust
13210 * BufferView_pimpl.C (restorePosition): adjust
13211 * lyxfunc.C (Dispatch): adjust
13212 * undo_funcs.C (textUndo): adjust
13214 (textHandleUndo): adjust
13215 (textHandleUndo): adjust
13217 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * buffer.C: up' the LYX_FORMAT
13221 * lyxfont.h: turn NO_LATEX on as default
13223 * buffer.C (insertErtContents): new methods of tex style compability.
13224 (parseSingleLyXformat2Token): use it several places.
13225 * tabular.C (OldFormatRead): and here
13227 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13229 * text2.C: remove some commented code.
13232 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13233 * trans.C: changes because of the above.
13235 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13237 * text2.C (setCounter): Fix counters bug with bibliography layout.
13239 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13242 own member functions
13243 (simpleTeXSpecialChars): ditto
13245 2001-07-06 Juergen Vigna <jug@sad.it>
13247 * a lot of files: changed the access to LyXText::status and the
13248 call of undo-functions.
13250 * undo.[Ch]: added a inset_id to the undo informations.
13252 * undo_funcs.[Ch]: added and moved here all undo functions.
13254 * lyxtext.h: give the status enum a weight, made status_ a private
13255 variable and made accessor functions for it, removed the whole bunch
13256 of undo-functions as they are now in their own file, make some
13257 functions publically available. Added function ownerParagraph with
13260 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13261 made InInset() a const function, added getParFromID() function.
13263 * buffer.[Ch]: added const version for inset_iterator functions,
13264 added getInsetFromID() function.
13266 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13267 changed undo functions for new version.
13269 2001-07-05 Juergen Vigna <jug@sad.it>
13271 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13272 unknow mechanism does not call the proper constructor but only this
13273 one also if I request the other!?
13275 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13277 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13279 * text2.C (LyXText): use initialization lists.
13281 * lyxtext.h (Selection): initialize set_ and mark_
13282 (init): remove method
13284 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13286 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13288 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * screen.[Ch]: change method names to begin with lowercase
13292 * BufferView_pimpl.C (updateScrollbar): simplify further and
13293 hopefully make it a bit faster.
13295 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13297 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13298 calling directly xforms functions.
13300 * Painter.C (Painter):
13301 * lyx_cb.C (MenuWrite):
13302 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13305 * lyx_gui.C: remove bogus guiruntime extern declaration.
13307 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13311 (redoDrawingOfParagraph): ditto
13312 (redoParagraphs): ditto
13313 (cutSelection): don't create a object for CutAndPaste use the
13314 static method directly
13315 (pasteSelection): ditto
13317 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13320 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * modifications to some other files because of this.
13324 * Makefile.am (lyx_SOURCES): add XFormsView
13326 * XFormsView.[Ch]: new files
13328 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13329 the main window. Move the gui dependent stuff to XFormsView
13331 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * tabular.C (GetCellInset): update cur_cell also in the row/col
13334 version of this function.
13336 * lyxfunc.C: no need to include figure_form.h here.
13342 * lyxvc.C: no need to include forms.h here.
13344 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13348 * lyxfunc.C (Dispatch):
13350 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13351 constructor argument.
13353 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * paragraph.C (Paragraph): dont't clear, and just set layout.
13356 (makeSameLayout): use params's copy contructor.
13358 * ParagraphParameters.[Ch] (makeSame): delete method
13360 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13362 * Variables.[Ch]: fix indentation, rename set to isSet
13364 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13366 * lyxfunc.C (Dispatch): fix typo
13368 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13370 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13373 * bufferlist.C: include assert.h for emergencyWrite().
13375 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13377 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13378 give up at last (bug #425202) !
13380 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13386 * spellchecker.C: strip spellchecker options and bring up
13387 preferences tab instead
13389 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13392 the istringstream constructor
13394 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13396 * paragraph.C (getLayout): fix return value
13398 * paragraph.h: do not declare getLayout as inline.
13400 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13402 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * lyxcursor.h (operator<): new func
13405 (operator>): new func
13406 (operator>=): new func
13407 (operator<=): new func
13409 * text.C (changeCase): use selection.start and selection.end
13410 (changeRegionCase): require from to be <= to. Require par to be a
13413 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13415 2001-06-27 Juergen Vigna <jug@sad.it>
13417 * text.C (cursorLeftOneWord): changed to return the cursor and added
13418 overlay with BufferView * parameter which calls this one.
13420 (selectWord): use new getWord function.
13421 (changeCase): renamed from changeWordCase as and extended to work
13422 also on selections.
13424 * lyxtext.h: added enum word_location
13426 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13427 changeCase as this operates now also on selections.
13429 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13431 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13433 * many files: send debug output to Debug::INFO instead of
13436 * converter.C (View):
13438 (Move): send debug output to Debug::FILES instead of console.
13440 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13442 * lyxfunc.C (getStatus): use func_status
13444 * func_status.h: new header, describing the results of
13445 LyXFunc::getStatus;
13447 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13450 2001-06-25 The LyX Project <jug@sad.it>
13452 * buffer.C (sgmlOpenTag):
13454 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13456 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * text2.C: remove some dead code
13460 * tabular.C (GetCellInset): store the last cell checked (gotten)
13462 * tabular.h: add the helper for the speedup
13464 * lyxtext.h: remove some dead code
13466 2001-06-26 The LyX Project <Asger>
13468 * paragraph.C: Change export to LaTeX of alignment to
13469 \begin{center} and family for better roundtrip work with reLyX.
13471 * Tune the math drawing a bit.
13473 2001-06-25 The LyX Project <Asger>
13475 * LColor.C (LColor): New color for math background. New color
13478 2001-06-25 The LyX Project <jug@sad.it>
13480 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13482 * lyxfunc.C (Open):
13483 * bufferlist.C (newFile): do not restrict to files ending with
13486 * BufferView_pimpl.C (MenuInsertLyXFile):
13488 2001-06-24 The LyX Project <jug@sad.it>
13490 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13493 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * lyxtext.h: rename most methods to begin with a small char.
13496 Lots of changes because of this.
13498 * paragraph.C (Paragraph): do not call fitToSize
13499 (erase): call Pimpl::erase
13500 (insertChar): call Pimpl::insertChar
13501 (insertInset): call Pipl::insertInset
13502 (breakParagraph): do not call fitToSize
13503 (breakParagraphConservative): do not call fitToSize
13504 (fitToSize): remove method
13506 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13508 2001-06-24 The LyX Project <Asger>
13510 * Fix Qt compilation^2
13512 2001-06-24 The LyX Project <jug@sad.it>
13514 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13515 depthHook(getDepth()-1).
13518 * ParagraphParameters.h:
13519 * ParameterStruct.h: change type of depth to unsigned int ==
13520 depth_type. Many adaptations to other files before of that.
13522 2001-06-24 The LyX Project <Asger>
13524 * Fix Qt compilation.
13526 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * paragraph.h: renamed several methods to begin with small letter.
13529 several changes to many parts of the code because of this.
13531 2001-06-23 The LyX Project <jug@sad.it>
13533 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13534 rewritten to discard all double spaces when KeepEmpty is off
13535 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13536 to only handle newlines but not fiddle with spaces and friends.
13538 * lyxfunc.C (MenuNew): when doing 'new from template', use
13539 template_path as default directory
13541 2001-06-23 The LyX Project <Asger>
13543 * Clean-up of header file includes all over
13544 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13546 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * paragraph.h: renamed from lyxparagraph.h
13550 2001-06-23 Asger <lyx@violet.home.sad.it>
13552 * Buffer.h: Removed Buffer::resize
13553 * BufferList.h: Removed BufferList::resize
13554 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13555 the document lazily when we change the width, or the font settings.
13557 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13559 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13561 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13563 * buffer.h: remove out of date comment
13565 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13568 * screen.C: fix "theoretical" GC leak
13570 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * LaTeX.C (scanAuxFile):
13573 (deplog): remove trailing \r when reading stream (useful under
13576 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13578 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13579 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13580 and BufferView::theLockingInset(Inset*), so should use them and not
13581 access bv_->text->the_locking_inset directly.
13583 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13585 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13588 * tex-defs.h: remove old unused file
13590 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13592 * BufferView_pimpl.C: fix typo, remove minibuffer message
13593 when buffer has loaded
13595 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * lyxfunc.C (Dispatch): use stringstream
13598 (MenuNew): use stringstream
13599 (Open): use stringstream
13601 * importer.C (Import): use stringstream
13603 * bufferview_funcs.C (CurrentState): use stringstream
13605 * LaTeX.C (run): use stringstream
13607 * BufferView_pimpl.C (savePosition): use stringstream
13608 (restorePosition): use stringstream
13609 (MenuInsertLyXFile): use stringstream
13611 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13624 * vspace.C: removed // -*- C++ -*- as first line.
13627 * version.h: added // -*- C++ -*- as first line.
13629 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13633 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13636 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13638 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13641 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13643 * gettext.C: include LString.h even when --disable-nls is on.
13645 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13647 * converter.h (Get): changed argument type from int to
13648 FormatList::size_type to avoid unnecessary conversion.
13650 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13653 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13655 * gettext.h: include LString.h even when --disable-nls is on.
13657 2001-06-07 Juergen Vigna <jug@sad.it>
13659 * text.C (BreakAgain): subst spaces with tabs.
13661 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13662 (resizeInsetsLyXText): set force on resizeLyXText.
13664 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13666 * gettext.h (gettext_init):
13667 (locale_init): use a real definition instead of a macro
13669 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13671 * Bufferview_pimpl.C:
13673 * LColor.C: further lcolor tidies
13675 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * BufferView_pimpl.C (updateScrollbar): simplify.
13679 * BufferView2.C: don't include insets/insetinfo.h, change
13680 prototype for insertInset and call the Pimpl version. let
13681 updateInset call Pimpl version.
13683 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13684 gotoInset to BufferView::Pimpl
13686 2001-06-01 Juergen Vigna <jug@sad.it>
13688 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13689 inside a LockingInset (is the update needed at all?).
13691 2001-05-31 Juergen Vigna <jug@sad.it>
13693 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13694 here not the old one otherwise how should we compare it afterwards
13697 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * FontInfo.C: bring C functions into global namespace when
13705 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * LString.h: make sure config.h has been loaded before LString.h.
13709 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13710 (one for each char read by EatLine!).
13712 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13715 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13718 to the same as the par we break from
13720 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13724 * MenuBackend.C (expand): also create menu entries for wide
13725 versions of the floats.
13727 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13729 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13731 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13732 frontends/Makefile.am
13738 * tabular.C (getTokenValue): add std::
13740 * tabular-old.C (getTokenValue): add std::
13741 (getTokenValue): ditto
13742 (getTokenValue): ditto
13744 * screen.C (ToggleSelection): adjust
13746 * lyxtext.h: put selection cursors inside a Selection struct.
13748 * lyxfunc.C (moveCursorUpdate): adjust
13750 * lyxfont.C (latexWriteStartChanges): add std::
13752 * lyxfind.C: adjust
13754 * font.h: delete with(char const *, LyXFont const &)
13756 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13758 * FontInfo.C (getFontname): add std::
13760 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13761 (workAreaButtonPress): adjust
13762 (tripleClick): adjust
13764 (moveCursorUpdate): adjust
13767 * BufferView2.C (gotoInset): adjust
13769 2001-05-30 Juergen Vigna <jug@sad.it>
13771 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13772 to check pspell I add this as default as I now have new pspell
13773 libraries and they seem to use this.
13775 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13777 * text2.C (CutSelection): make the cursor valid before the call to
13780 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13783 relied on 0 terminated strings and other horrors. Bug found due to
13784 the new assert in lyxstring!
13786 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13789 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13791 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13794 * lyxfunc.C (processKeySym): change method of getting to the
13797 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13798 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13799 * BufferView_pimpl.[Ch]: here as private methods.
13801 2001-05-28 Juergen Vigna <jug@sad.it>
13803 * text.C (SetHeightOfRow): added the update() call again as it is
13804 needed to initialize inset dimensions!
13806 2001-05-16 Juergen Vigna <jug@sad.it>
13808 * text2.C (SetCharFont): Add new function with BufferView * and
13809 bool toggleall parameters for setting insets internal fonts.
13810 (SetFont): Freeze the undo as we may change fonts in Insets and
13811 all this change should be inside only one Undo!
13813 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13814 setting font's in insets as for them we have the SetFont function!
13816 2001-05-15 Juergen Vigna <jug@sad.it>
13818 * text2.C (ClearSelection): to be sure we REALLY don't have any
13821 * tabular.C (TeXCellPreamble): fixed the left border problem for
13824 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13826 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13829 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13832 LFUN_BREAKPARAGRAPH.
13834 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13835 help test to "internal only", similar for LFUN_INSERT_URL
13837 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13838 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13839 auto_region_delete and deadkeys.
13841 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13844 * LColor.C: remove some dead entries, tidy a little
13846 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13850 (Dispatch): implement LFUN_ESCAPE
13852 * commandtags.h: add LFUN_ESCAPE
13854 * LyXAction.C (init): add entry for LFUN_ESCAPE
13856 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13857 Remove commented code.
13858 (insertNote): moved here
13859 (open_new_inset): moved here
13861 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13864 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13866 * kbmap.C (findbinding): clean it up and make it work correctly.
13868 * lyx_main.C (init): do not pass argc and argv as parameters
13870 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13872 * buffer.C: fix path for OS/2 & Win32
13876 * lyx_main.C: Added os:: class.
13878 * os2_defines.h: update
13880 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13883 better by trying again with reduced state.
13885 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * lyxrc.C (read): print error about invalid key sequence only when
13888 debugging (because not all latinX keysyms are known to some X
13891 * kbsequence.C (getiso): add a few std:: qualifiers
13892 (getiso): comment out extra return statement.
13894 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13898 (Dispatch): enhance the accent inset a bit. (not perfect)
13900 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13904 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * bufferlist.C (emergencyWrite): fix assert() call
13908 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13910 * text.C (InsertChar): Added trivial patch to only send the "you
13911 can not do multiple spaces this way" message once during a
13914 2001-05-08 Baruch Even <baruch@lyx.org>
13916 * Makefile.am: Changed order of libraries to get LyX to link properly
13917 with the gnome frontend.
13919 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * LaTeXFeatures.h: add a std:: qualifier
13923 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * paragraph.C (String): use stringstream
13927 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * paragraph.C (writeFile): remove footflag arg
13931 * buffer.C (makeLaTeXFile): use stringstream
13932 (latexParagraphs): remove footnot gurba
13934 * LaTeXFeatures.C (getPackages): use stringstream
13935 (getMacros): likewise
13936 (getTClassPreamble): likewise
13937 (getFloatDefinitions): new method
13939 * paragraph.C (writeFile): reindent
13942 * WorkArea.h: revert the xpos + etc changes.
13944 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13946 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13948 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13949 (pasteSelection): likewise
13950 * text2.C (CreateUndo): likewise
13952 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * minibuffer.C (peek_event): temporarily reduce the functionality
13955 of the minibuffer (to allow args on lfuns)
13957 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13958 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13960 * buffer.C (readInset): add compability reading of old float
13961 lists, add reading of new style float list.
13962 (readInset): avoid reevaluation of inscmd.getCmdName()
13963 (getLists): reindent
13965 * MenuBackend.C (MenuItem): implement parsing of
13966 md_floatlistinsert and md_floatinsert.
13967 (expand::LastFiles): move initalizaton of iterators out of loop,
13968 avoid reevaluation.
13969 (expand::Documents): introduce typdedef vector<string> Strings,
13971 (expand::ExportFormats): introduce typedef vector<Format const *>
13972 Formats, and use it.
13973 (expand): implement FloatListInsert and FloatInsert.
13975 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13976 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13977 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13979 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13981 (Dispatch::LFUN_FLOAT_LIST): implement
13983 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13985 * LaTeX.C (run): Fix problem with --export code.
13987 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13989 * BufferView.[Ch] (workarea): removed.
13990 (getClipboard) new method; wrapper for workarea()->getClipboard()
13992 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13995 * WorkArea.h (width, height, xpos, ypos): These methods all
13996 returned the dimensions of the work_area sub-area of WorkArea,
13997 resulting in a position error if the WorkArea were resized. Now
13998 return the dimensions of the entire WorkArea.
14000 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14002 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14004 * LaTeX.C (deplog): correct the syntax of regex reg1
14006 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14008 * undo.C: remove !NEW_INSETS cruft
14010 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * text2.C: remove !NEW_INSETS cruft
14014 * text.C: remove !NEW_INSETS cruft
14016 * tabular.C: remove !NEW_INSETS cruft
14018 * spellchecker.C: remove !NEW_INSETS cruft
14020 * lyxtext.h: remove !NEW_INSETS cruft
14022 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14024 * lyxfunc.C: remove !NEW_INSETS cruft
14026 * lyxfind.C: remove !NEW_INSETS cruft
14028 * lyx_cb.C: remove !NEW_INSETS cruft
14030 * figureForm.C: remove !NEW_INSETS cruft
14032 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14034 * buffer.[Ch]: remove !NEW_INSETS cruft
14036 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14038 * CutAndPaste.C: remove !NEW_INSETS cruft
14040 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14042 * BufferView2.C: remove !NEW_INSETS cruft
14044 * BufferView.h: remove !NEW_INSETS cruft
14046 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * Lsstream.h: include LString.h before the sstream headers to
14049 fix problem with gcc 2.95.3 and lyxstring
14051 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14053 * lyx_main.C: add using directives when needed for C functions
14054 declared in std:: namespace.
14056 2001-04-27 Juergen Vigna <jug@sad.it>
14058 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14059 (SetHeightOfRow): comment out the update call should not be needed!
14061 2001-04-13 Juergen Vigna <jug@sad.it>
14063 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14064 (LyXTabular): tried to minimize operator= operations (and realized
14065 hopfully Lars wish).
14067 2001-04-27 Juergen Vigna <jug@sad.it>
14069 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14071 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14075 * buffer.C (readInset): hack to make listof algorithm work
14077 * BufferView_pimpl.C: hack to make listof algorithm work
14079 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14081 * LyXAction.C: removed all !NEW_INSETS cruft
14082 (init): moved lfun_item in method
14084 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14086 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14088 * BufferView2.C (theLockingInset): white space.
14090 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14092 * minibuffer.C: include <iostream>
14094 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14096 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14098 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14100 * text.[Ch] (TransposeChars): new method
14102 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14104 * call message directly through LyXView instead of through LyXFunc
14105 * BufferView2.C: adjust
14106 * BufferView_pimpl.C: adjust
14107 * FontLoader.C: adjust
14109 * bufferview_funcs.C: adjust
14110 * converter.C: adjust
14111 * figureForm.C: adjust
14112 * importer.C: adjust
14114 * lyx_gui_misc.C: adjust
14115 * lyxfunc.C: adjust
14118 + more files in subdirs
14120 * lyxparagraph.h (size): move up int file
14123 * adjust all uses of Assert to lyx::Assert.
14125 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14126 lyxfunctional in namespace lyx
14127 * layout.C (hasLayout): ditto
14130 (delete_layout): ditto
14131 (NumberOfClass): ditto
14132 * converter.C (GetFormat): ditto
14137 * bufferlist.C (getFileNames): ditto
14138 (emergencyWriteAll): ditto
14141 * MenuBackend.C (hasSubmenu): ditto
14144 * BufferView_pimpl.C (getInsetByCode): ditto
14146 2001-04-18 Juergen Vigna <jug@sad.it>
14148 * vspace.C (asLatexString): fixed the 100% problem.
14150 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * lyxfunc.C (Dispatch):
14154 * minibuffer.h: add a few std:: qualifiers
14156 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * minibuffer.[Ch]: reimplement so that commands is initiated and
14159 run from lyxfunc, simplified som handling, and made the completion
14160 and history code for complete. wip.
14162 * lyxfunc.C (processKeySym): call message
14163 (miniDispatch): new temporary method
14164 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14165 (LFUN_MESSAGE): implement
14166 (LFUN_MESSAGE_PUSH): implement
14167 (LFUN_MESSAGE_POP): implement
14168 (initMiniBuffer): the initial/defualt minibuffer message.
14170 * lyxfont.[Ch]: inline some more getters
14172 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14174 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14176 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14177 (AutoSave): use LFUN_MESSAGE
14178 (Reconfigure): ditto
14180 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14182 * figureForm.C: use LFUN_MESSAGE
14184 * converter.C (runLaTeX): use LFUN_MESSAGE
14186 * bufferview_funcs.C: use LFUN_MESSAGE
14188 (changeDepth): ditto
14190 * bufferparams.h: use boost::
14192 * bufferlist.h: inherit privately from noncopyable
14194 * bufferlist.C (loadLyXFile): remove some commented code.
14196 * buffer.C (runChktex): use LFUN_MESSAGE
14198 * ShareContainer.h: inherit privately from noncopyable
14200 * ParagraphParameters.[hC] (depth): inline it.
14202 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14204 (message): new method
14205 (messagePush): ditto
14206 (messagePop): ditto
14207 (show): init minibuffer
14208 (showState): direct call
14210 * LaTeX.[Ch]: inherit privately from noncopyable
14211 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14212 instead of WriteStatus.
14214 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14216 * BufferView_pimpl.C (buffer): don't init minibuffer
14217 (workAreaButtonPress): use LFUN_MESSAGE
14218 (workAreaButtonRelease): ditto
14219 (savePosition): ditto
14220 (restorePosition): ditto
14221 (MenuInsertLyXFile): ditto
14222 (workAreaExpose): don't init minibuffer
14223 (update): remove commented code, simplify
14225 * BufferView2.C (openStuff): use LFUN_MESSAGE
14226 (toggleFloat): ditto
14229 (copyEnvironment): ditto
14230 (pasteEnvironment): ditto
14235 (updateInset): remove some commented code
14237 * lastfiles.h: inherit privately from noncopyable
14240 * lyx_main.h: ditto
14242 * lyxlex_pimpl.h: ditto
14244 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14245 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14246 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14248 * LyXAction.h: inherit privately from noncopyable, add methods
14249 func_begin, func_end, returning iterators to the func map.
14251 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14252 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14253 (func_begin): new method
14254 (func_end): new method
14256 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14258 (copySelection): ditto
14259 (pasteSelection): ditto
14261 * BufferView.C: whitespace change
14262 * BufferView.h: inherit privately from noncopyable
14264 2001-04-16 Allan Rae <rae@lyx.org>
14266 * tabular-old.C (l_getline):
14267 * spellchecker.C (sc_check_word):
14268 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14269 an unrecognised preprocessor directive. So ensure they're wrapped.
14271 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14273 * src/exporter.C (Export): Give an error message when path to file
14276 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14278 * LaTeX.C (deplog): Always check that foundfile exists.
14280 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14285 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * tabular.[Ch] (getLabelList): implement new method
14289 * minibuffer.h: comment ouf setTiimer
14291 * minibuffer.C (ExecutingCB): constify res
14292 (peek_event): constify s
14293 (Set): constify ntext
14294 (Init): constify nicename
14296 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14298 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14299 (savePosition): use two params to Minibuffer::Set
14300 (restorePosition): ditto
14302 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14304 * lyx_main.C: include language.h
14306 * Makefile.am (lyx_main.o): add language.h
14308 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14314 * CutAndPaste.C: include gettext.h
14316 * lyxfont.h: remove old hack with ON and OFF.
14319 * lyxfont.h: do not include language.h...
14324 * bufferview_funcs.C:
14330 * paragraph.C: ... but do it here instead
14332 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14334 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14336 * tabular.C: small reformat
14338 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14341 (BreakParagraph): ditto
14342 (SetOnlyLayout): ditto
14345 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14348 * lastfiles.C: removed most using decl, add std:: where needed
14350 * buffer.C: ws changes
14352 * MenuBackend.C (class compare_format): put into anon namespace
14353 (expand): constify label, names, action, action2
14356 * text.C (SingleWidth): constify font
14357 (IsBoundary): constify rtl2
14358 (GetVisibleRow): constify ww
14360 * LaTeX.C (deplog): constify logfile
14362 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14364 (workAreaExpose): constify widthChange, heightChange
14366 * lyxrow.C (par): moved
14369 * lyxrow.h: as inlines here
14371 * lyxfont.h (shape): moved from lyxfont.C
14372 (emph): moved from lyxfont.C
14374 * lyxfont.C (LyXFont): use initialization list for all
14376 (shape): move to lyxfont.h as inline
14377 (emph): move to lyxfont.h as inline
14380 2001-04-04 Juergen Vigna <jug@sad.it>
14382 * vspace.C: had to include stdio.h for use of sscanf
14384 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14387 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14388 independent of xforms.
14390 2001-04-02 Juergen Vigna <jug@sad.it>
14392 * spellchecker.C: fixed namespace placing!
14394 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14396 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14397 the LyXParagraph * is 0.
14399 2001-03-29 Juergen Vigna <jug@sad.it>
14401 * vspace.C: added support for %, c%, p%, l%.
14402 (stringFromUnit): added helper function.
14403 (asLatexString): changed to give right results for the %-values.
14405 * buffer.C: convert the widthp in a width%.
14407 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14409 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14412 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14413 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14415 * lyx_cb.[Ch]: see above.
14417 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14421 * lyx.[Ch]: replaced by figure_form.[Ch].
14425 * lyxfunc.C: changed headers associated with above changes.
14427 2001-03-27 Juergen Vigna <jug@sad.it>
14429 * BufferView_pimpl.C: set the temporary cursor right!
14431 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14433 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14435 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14437 * LString.h: removed "using std::getline"!
14439 * BufferView_pimpl.C (Dispatch): changes due to changes in
14440 InsetInclude::Params.
14442 * buffer.C (tag_name): removed redundant break statements as they were
14443 producing lots of warnings with my compiler.
14445 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14447 * LString.h: add "using std::getline" when using the real <string>.
14449 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14451 * buffer.C: removed bitset usage.
14452 PAR_TAG moved to an anonymous name space.
14453 (tag_name): new funtion, also in the anonymous namespace.
14454 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14455 (makeDocBookFile): clean code. Completed transition from string arrays
14457 (SimpleDocBookOnePar): code clean.
14459 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14461 * tabular.C: add some comments.
14463 2001-03-22 Juergen Vigna <jug@sad.it>
14465 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14466 compatibility read a bit and fixed bug with minipage in different
14469 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14471 * buffer.C (pop_tag): removed.
14472 (push_tag): removed.
14473 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14474 array replaced with vector. Added support for CDATA sections.
14475 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14477 (makeDocBookFile): XML conformant declaration of CDATA section,
14478 fixed bug related to <emphasis> in the first paragraph char.
14479 (sgmlOpenTag): exclude empty tags.
14480 (sgmlCloseTag): ditto.
14482 * buffer.h (pop_tag): removed.
14483 (push_tag): removed.
14485 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14487 * language.h (Languages): added size_type and size().
14489 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14491 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14492 response on compability reading of minipages. One probliem is that
14493 the old usage of minipages was «flertydig»
14495 * several files here and in subdirs: don't use static at file
14496 scope use anon namespaces instead.
14498 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14500 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14501 LaTeX output. This is necessary for Literate document
14504 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14506 * buffer.C: insert hfill when needed.
14508 * tabular.C (l_getline): use string::erase, small whitespace change.
14510 * BufferView_pimpl.C: try the anon namespace.
14511 * WorkArea.C: ditto
14513 2001-03-16 Juergen Vigna <jug@sad.it>
14515 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14516 otherwise it won't open options-dialogs.
14518 * buffer.C: honor pextraWidth(p) on converting minipages.
14520 * tabular.C (l_getline): changed the functions to strip trailing \r.
14522 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14524 * BufferView_pimpl.C:
14525 * minibuffer..C: added "using SigC::slot" declaration.
14527 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14529 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14535 * paragraph.C: ditto
14537 * lyxtext.h: NO_PEXTRA
14539 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14541 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14542 * ParameterStruct.h: ditto
14543 * ParagraphParameters.h: ditto
14544 * lyxparagraph.h: ditto
14546 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14548 * buffer.C: add compability for minipage alignment.
14549 (latexParagraphs): remove unwanted pextra check.
14551 * several files: remove CXX_WORKING_NAMESPACES
14553 * buffer.C (pop_tag): tie is in namespace boost
14555 * BufferView.h: noncopyable is in namespace boost
14557 * lyx_main.h: ditto
14560 * lastfiles.h: ditto
14561 * bufferlist.h: ditto
14562 * ShareContainer.h: ditto
14564 * LyXAction.h: ditto
14567 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14569 * Merging changes from BRANCH_MVC back into HEAD.
14571 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14573 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14575 * BufferView_pimpl.C: change from intl.C
14579 * Makefile.am: move combox.*
14585 * intl.C: remove dialog (covered by prefs)
14587 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14589 * lyxfunc.C (Dispatch): removed redundant break statement.
14591 2001-03-14 Juergen Vigna <jug@sad.it>
14593 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14595 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14597 * buffer.C: add hack to fix compability reading of minipages.
14599 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14601 * buffer.C (getLists): Cleanup.
14603 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * lyxfont.C (update): don't honor toggleall on font size.
14607 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14611 * Makefile.am: moved to frontends/xforms/
14615 * BufferView_pimpl.C: changes for moved mathpanel
14617 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14619 * gettext.h: fix gettext_init() in --disable-nls
14621 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14625 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14628 * lyx.h: strip external form
14630 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14632 * BufferView_pimpl.C: add comment, destroySplash()
14634 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14636 * BufferView_pimpl.C:
14640 * lyxfunc.C: use re-worked insetinclude
14642 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14644 * buffer.C: add using std::stringstream.
14646 * lyx_cb.C: readd using std::ios.
14648 * buffer.C: add using std::map.
14650 * BufferView_pimpl.C: add using std::vector.
14652 * ShareContainer.h: add std:: to swap.
14654 * buffer.h: add some typedefs
14655 * buffer.C (getLists): use them
14656 (getLists): renamed from getTocList.
14657 add a counter for the different float types and use it in the
14659 (getLists): use the same counter for the NEW_INSETS and the "non"
14662 * lyx_cb.h: remove unused items, includes, using etc.
14664 * ShareContainer.h: remove some commented code, add more comments
14665 and "documentation".
14667 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14669 * buffer.C (getTocList): make the list also when NEW_INSETS is
14672 * buffer.h: remove TocType
14674 * buffer.C (getTocList): change to return a map<string,
14675 vector<TocItem> >, implement for dynamic number of list.
14677 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14678 * text2.C (PasteSelection): adjust
14679 * CutAndPaste.C (pasteSelection): adjust
14681 * FloatList.C (FloatList): update from the new_insets branch.
14682 * Floating.[Ch]: ditto
14683 * LaTeXFeatures.C: ditto
14685 * lyxlex_pimpl.C: ditto
14687 * paragraph.C (Last): remove when NEW_INSETS is defined.
14689 * other file: changes because of the above.
14691 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14693 * lyxparagraph.h: rename next to next_, previous to previous_,
14694 make them private for NEW_INSETS. Rename Next() to next(),
14695 Previous() to previous().
14697 * other files: changes because of the above.
14699 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14702 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14705 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * main.C (main): pass lyx_localedir to gettext_init().
14709 * gettext.h: remove locale_init and gettext_init macros
14711 * gettext.C (locale_init): new function
14712 (gettext_init): new function
14714 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14717 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14719 * Moved credits to frontends:
14720 * credits.[Ch]: removed
14721 * credits_form.[Ch]: removed
14722 * lyx_gui_misc.C: remove credits stuff
14725 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14727 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14729 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14730 unneeded destructor.
14732 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14733 a standalone pointer again.
14735 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14737 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14743 * ToolbarDefaults.C:
14752 * BufferView_pimpl.C: use new file dialog in GUII
14755 * lyx_cb.C: remove LayoutsCB to Toolbar
14757 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * ShareContainer.h (get): add std:: qualifier
14761 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14763 * ShareContainer.h: define a proper ShareContainer::value_type
14764 type (and use typename to please compaq cxx)
14766 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14768 * lyxparagraph.h: move serveral local vars to
14769 ParameterStruct/ParagraphParameters., use ShareContainer in
14770 FontTable., make vars in FontTable private and add getter and
14773 * paragraph.C: changes because of the above.
14775 * lyxfont.h: remove copy constructor and copy assignment. (the
14776 default ones is ok), move number inside FontBits. move inlines to
14779 * lyxfont.C: add number to initializaton of statics, move several
14780 inlines here. constify several local vars. some whitespace
14781 cleanup. Dont hide outerscope variables.
14783 * Spacing.h: add two new constructors to match the set methods.
14785 * ShareContainer.h: new file, will perhaps be moved to support
14787 * ParameterStruct.h: new file
14789 * ParagraphParameters.h: new file
14791 * ParagraphParameters.C: new file
14793 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14794 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14796 * BufferView_pimpl.C: ParagraphParameter changes.
14797 * buffer.C: Likewise.
14798 * bufferview_funcs.C: Likewise.
14799 * text.C: Likewise.
14800 * text2.C: Likewise.
14802 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * lyxfind.C (LyXReplace): do not redefine default argument in
14806 (IsStringInText): ditto
14807 (SearchForward): ditto
14808 (SearchBackward): ditto
14810 2001-03-06 Juergen Vigna <jug@sad.it>
14812 * lyxfind.C (IsStringInText): put parentes around expressions.
14814 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14816 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14818 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14820 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14822 * stl_string_fwd.h: add comment
14824 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14827 * tabular.C: remove unused DocBook methods
14833 killed DO_USE_DEFAULT_LANGUAGE
14835 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14837 * lyx_gui.C: do not include language.h.
14839 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14840 arguments in function implementation.
14842 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14844 * BufferView_pimpl.C: add <ctime>
14846 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14848 * BufferView_pimpl.C: add using std::find_if
14850 2001-02-27 José Matos <jamatos@fep.up.pt>
14852 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14855 2001-02-11 José Matos <jamatos@fep.up.pt>
14857 * buffer.C (makeDocBookFile): command styles now have a parameter as
14858 "title" by default.
14860 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14862 * layout_forms.[Ch]: removed
14863 * lyx_cb.[Ch]: out character
14864 * lyx_gui.C: out character
14865 * lyx_gui_misc.C: out character
14866 * bufferview_funcs.C: : out character,
14867 added toggleall as parameter in ToggleAndShow
14869 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14871 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14873 * text2.C (SetCurrentFont): Disable number property at boundary.
14875 2001-02-26 Juergen Vigna <jug@sad.it>
14877 * lyxfunc.C (getStatus): added a string argument override function so
14878 that this is correctly called from LyXFunc::Dispatch if it contains a
14879 do_not_use_argument which is used!
14880 (Dispatch): added check for "custom" export and call appropriate func.
14882 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14884 * lyxrc.C: Add language_command_local, language_use_babel and
14885 language_global_options.
14887 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14889 * buffer.C (makeLaTeXFile): Use language_use_babel and
14890 language_global_options.
14892 2001-02-23 Juergen Vigna <jug@sad.it>
14894 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14895 which works with LyXText and putted it inside BufferView. Here now we
14896 only call for that part the BufferView::Dispatch() function.
14898 * BufferView.C (Dispatch): added.
14900 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14901 functions which needs to use a LyXText over from LyXFunc.
14902 (MenuInsertLyXFile): added
14903 (getInsetByCode): added
14904 (moveCursorUpdate): added
14905 (static TEXT): added
14907 2001-02-22 Juergen Vigna <jug@sad.it>
14909 * BufferView_pimpl.C (update): call a status update to see if LyXText
14912 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14914 * vc-backend.C (revert): implement for CVS
14915 (getLog): implement for CVS
14917 2001-02-20 Juergen Vigna <jug@sad.it>
14919 * text2.C (ClearSelection): added BufferView param for inset_owner call
14921 * lyxfunc.C (TEXT): added this function and use it instead of
14922 directly owner->view()-text of getLyXText().
14924 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14926 * src/layout_forms.C: out preamble
14927 * src/layout_forms.h: out preamble
14928 * src/lyx_cb.C: out preamble
14929 * src/lyx_cb.h: out preamble
14930 * src/lyx_gui.C: out preamble
14931 * src/lyx_gui_misc.C: out preamble
14932 * src/lyxfunc.C: connect with guii preamble
14934 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14936 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14938 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14940 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14941 whether to run bibtex.
14943 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14945 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14947 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14949 * Makefile.am (lyx_SOURCES): removed bibforms.h
14951 * vspace.h: doxygen
14953 * text.C (GetVisibleRow): make several local vars const
14955 * tabular.C: small cleanup.
14957 * lyxserver.C (callback): use compare instead of strncmp
14959 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14960 inlines to after class or to paragraph.C
14962 * lyxfont.h: remove friend operator!=
14964 * converter.h: move friend bool operator< to non friend and after
14967 * combox.h: small cleanup
14969 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14970 to inlines after class def.
14972 * buffer.C (pop_tag): use string operations instead of strcmp
14974 * bmtable.c: doxygen, small cleanup
14976 * LaTeX.h: remove friend operator==
14978 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14990 * BufferView_pimpl.C:
14991 * BufferView.[Ch]: remove cruft
14993 2001-02-14 Juergen Vigna <jug@sad.it>
14995 * lyxfunc.C: removed #if 0 unused code
14997 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14999 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15001 * text2.C (SetSelection): added a BufferView * parameter
15003 2001-02-13 Juergen Vigna <jug@sad.it>
15005 * lyxfunc.C (Dispatch): fixed protected blank problem.
15006 * BufferView2.C (protectedBlank): added LyxText * parameter.
15008 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15009 (AppendColumn): same as above for column_info.
15011 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15012 (moveCursorUpdate): use a LyXText param for support of InsetText.
15014 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15015 (tripleClick): ditto
15017 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15019 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15021 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15023 * text2.C (SetSelection): set correct update status if inset_owner
15024 (ToggleFree): ditto
15026 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15028 * tabular.C: remove some commented code.
15030 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15032 * BufferView_pimpl.C: call hideSplash()
15034 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15037 * bibforms.h: remove
15040 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15041 add LFUN_CHILD_CREATE
15043 * counters.h: fix tiny typo
15048 * lyx.C: move splash to frontends/xforms/
15050 * lyx_gui_misc.C: move Include and Bibform to frontends
15052 * lyxvc.h: clarify comment
15054 * vspace.C: tiny housekeeping
15056 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15058 * text.C (PrepareToPrint): RTL Fix.
15060 * paragraph.C (GetUChar): New method.
15061 (String): Use GetUChar.
15063 * buffer.C (asciiParagraph): Use GetUChar.
15065 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15067 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15069 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15072 * buffer.C: rename to getLogName(), handle
15073 build log / latex log nicely
15075 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * MenuBackend.h: remove support for reference menuitem type.
15080 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15082 * BufferView_pimpl.C: housekeeping
15083 * BufferView_pimpl.h:
15088 * minibuffer.h: move Timeout GUI-I
15090 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15092 * lyxrc.C (read): Update converters data-structures.
15094 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15096 * LaTeX.h (operator!=): add operator != for Aux_Info
15098 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15100 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15102 * LaTeXLog.C: deleted, useful code moved to Buffer
15105 * buffer.C: new function getLatexLogName()
15111 * lyxfunc.C: use frontends for LaTeX and VC logs
15113 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * LaTeX.h: yet another std:: that Allan forgot.
15117 * Variables.C (set): renamed from isset(), because this clashes
15118 with some HP-UX macros (grr).
15120 2001-02-06 Allan Rae <rae@lyx.org>
15122 * LaTeX.h: Another bug fix. Missing std:: this time.
15124 2001-02-04 Allan Rae <rae@lyx.org>
15126 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15127 floats problem. I've left it commented out because it's not quite
15128 correct. It should also test that the current object is a table or
15129 figure inset. But I haven't gotten around to figuring out how to do
15130 that. I *think* it'll be something like: "table" == inset.type()
15132 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15135 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15137 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15138 all the citation/databases/styles in the auxilary file.
15139 (run): Rerun latex if there was a babel language error.
15141 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15143 * text.C (Backspace): Preserve the font when changing newline char
15145 (BreakParagraph): If the cursor is before a space, delete the space.
15147 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15149 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15151 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15152 new argument (code).
15153 (ChangeCitationsIfUnique): New method.
15155 * paragraph.C (GetPositionOfInset): Handle bibkey.
15157 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15159 * BufferView_pimpl.h: change type of Position::par_pos to
15160 LyXParagraph::size_type.
15162 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15164 * BufferView_pimpl.C (savePosition, restorePosition): Write
15165 messages to minibuffer.
15167 2001-01-28 José Matos <jamatos@fep.up.pt>
15169 * buffer.C (makeDocBookFile): adds support for document language.
15170 A silly restriction on the name of LatexCommand types where removed.
15171 Added support for CDATA sections, allows to chars unescaped, used
15172 among others in code, to avoid escape < and >.
15174 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15176 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15177 saved positions instrad of a stack. Furthermore, a position is
15178 stored using paragraph id/paragraph position.
15180 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15181 Remove LFUN_REF_BACK.
15183 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15185 * converter.C (dvipdfm_options): New method.
15187 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15189 * vspace.C (isValidLength): Fix for empty input string.
15191 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15193 * LyXAction.C (init): change description of LFUN_FIGURE to
15196 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * LaTeX.C: add using directive
15200 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15202 * MenuBackend.C (expand): Fix the sorting of the formats.
15204 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15206 * lyx_main.C: tiny error message fix
15208 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15210 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15211 calling fl_initialize(). This fixes the problem with ',' as
15212 decimal separator in text files.
15214 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15216 * trans.C (process): Fix the keymap bug.
15218 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15220 * LaTeX.C (scanAuxFiles): New method. Provides support for
15221 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15222 (scanLogFile) Scan for "run BibTeX" messages.
15224 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15225 OT1 font encoding. Also, load the aecompl package if the ae
15228 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15230 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15232 * texrow.C (increasePos): turn two error messages into debug
15235 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15237 * LaTeX.C (scanAux): Handle the \@input macro.
15238 (runBibTeX): Use scanAux().
15240 * language.C (latex_options_): New field.
15242 * LaTeXFeatures.C (getMacros): Add language macros.
15244 * buffer.C (makeLaTeXFile): Small fix.
15246 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15248 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15250 * text2.C: add a using directive.
15252 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15257 * lyxfunc.C: kill LyXBell.
15259 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15261 * text.C (IsBoundary): Remove the error message
15263 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15265 * lyxrc.C (setDefaults): Correct initialization value for
15268 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15270 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15273 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15274 and GotoNextNote().
15276 * src/LyXAction.C: Added reference-next.
15278 * text.C (InsertChar): Use contains instead of strchr.
15280 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15282 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15284 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15285 alignment commands (when needed).
15287 * text.C (InsertChar): Add ':' to number separator chars.