1 2004-03-31 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (dispatch): Fall through to the generic
4 Dialogs::show("spellchecker").
6 2004-03-31 Angus Leeming <leeming@lyx.org>
8 * lyxfunc.C (getStatus, dispatch): changed invocation of the
11 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
21 * undo.[Ch]: s/DocumentIterator/DocIterator/g
23 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
25 * BufferView.C (setCursor, putSelectionAt): call edit to open the
26 insets where we are putting the cursor.
28 2004-03-31 Angus Leeming <leeming@lyx.org>
31 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
33 * lyxrc.[Ch] (read, write): overloaded member functions taking
34 a std::[io]stream arguments.
36 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
38 2004-03-31 Angus Leeming <leeming@lyx.org>
40 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
41 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
43 * lyxtextclass.C (load): if the text class couldn't be loaded, then
44 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
46 2004-03-31 Angus Leeming <leeming@lyx.org>
48 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
49 the LFUN_ALL_INSETS_TOGGLE code.
51 2004-03-30 Angus Leeming <leeming@lyx.org>
53 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
54 has died. Fall through to the generic Dialogs::show("document").
56 2004-03-30 Angus Leeming <leeming@lyx.org>
59 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
60 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
62 * lyxfunc.C (getStatus, dispatch): define the actions for these
63 lfuns. Little more than a cut and pste job from ControlDocument.C
65 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
67 2004-03-30 Angus Leeming <leeming@lyx.org>
70 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
71 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
73 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
74 open/closed state of ollapsable insets. Usage:
76 all-inset-toggle <state> <name>, where
77 <state> == "open" || "closed" || "toggle" and
78 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
80 * lyxtext.h, text2.C (toggleInset): removed.
82 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
83 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
84 now passes LFUN_INSET_TOGGLE to the found inset.
86 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
87 is now invoked as "all-insets-toggle toggle branch".
89 2004-03-30 Angus Leeming <leeming@lyx.org>
93 * pariterator.[Ch]: added/corrected header blurb.
95 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
97 * dociterator.[Ch]: add an inset_ member
98 (backwardPos): implemented
99 (backwardPos, forwardPos): use inset_ when the stack is empty.
100 (doc_iterator_begin, doc_iterator_end): implemented
101 * pariterator.[Ch]: adjust, add begin, end
102 * insetiterator.[Ch]: adjust, add begin, end
106 * BufferView_pimpl.C:
107 * CutAndPaste.C: adjust
109 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * buffer.C: increment file format to 232.
112 * LaTeXFeatures.C: add bibtopic package.
113 * bufferparams.[Ch]: param \use_bibtopic.
115 * lyxrc.[Ch]: add lyxrc bibtex_command
116 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
118 * buffer.C: increment file format to 231.
120 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
122 * dociterator.C: implement forwardPar
123 * iterators.[Ch]: remove, replaced by
124 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
126 * BufferView_pimpl.C:
129 * bufferview_funcs.C:
135 * Makefile.am: adjust
137 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
139 * CutAndPaste.C (pasteSelection): fix 2 crashes
140 (eraseSelection): fix a crash
141 * paragraph_funcs.C: remove a warning
143 2004-03-28 Angus Leeming <leeming@lyx.org>
146 * LyXAction.C (init): new LFUN_PRINT.
148 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
150 2004-03-27 Angus Leeming <leeming@lyx.org>
153 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
155 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
157 2004-03-27 Angus Leeming <leeming@lyx.org>
159 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
160 insetlist always contains non-null pointers to insets.
162 2004-03-26 Angus Leeming <leeming@lyx.org>
164 * src/BufferView_pimpl.C:
168 * src/output_plaintext.C:
169 * src/outputparams.h:
170 * src/paragraph_funcs.C:
174 * src/frontends/controllers/ControlErrorList.C:
175 * src/frontends/gtk/FileDialogPrivate.C:
176 * src/frontends/gtk/GPainter.C:
177 * src/frontends/gtk/GToolbar.C:
178 * src/frontends/qt2/QRef.C:
179 * src/mathed/math_scriptinset.C: squash compiler warnings.
181 2004-03-26 Angus Leeming <leeming@lyx.org>
183 * ispell.C (LaunchIspell::start):
184 * lyx_cb.C (AutoSaveBuffer::start):
185 invoke run(DontWait) rather than runNonBlocking().
187 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
189 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
191 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * kbsequence.C (print): adjust
195 * kbmap.C (printKeySym): rename and change signature
196 (printKey): use LyXKeySym::print()
198 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
200 * undo.C: add using std::advance to compile for stlport
202 2004-03-24 Angus Leeming <leeming@lyx.org>
204 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
205 it leads to a crash when no buffer is present.
207 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 Martin Vermeer <martin.vermeer@hut.fi>
210 * lyxfunc.C (dispatch):
211 * bufferparams.C (readToken): use the new LColor::setColor
213 * LColor.[Ch] (setColor): new version that takes two strings as
214 argument and creates a new color entry if necessary
216 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
218 * buffer.C (makeLaTeXFile): if the main latex file that is
219 processed is usually a subdocument of some master, then pretend
220 for a while that it is actually the master
222 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
224 * buffer.C (getLabelList):
225 (getBibkeyList): use getMasterBuffer()
226 (getMasterBuffer): new method. Returns the main document in the
227 case where one is using included documents.
229 2004-03-25 André Pönitz <poenitz@gmx.net>
233 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
235 * ParagraphList_fwd.h: change ParagraphList to a std::vector
237 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
238 text*.C over here. Rename namespace CutAndPaste to lyx::cap
240 * ParameterStruct.h: merge with ParagraphParameters
242 * lyxtext.h: remove LyXText::parOffset() and getPar()
244 * text3.C: Remove all 'manual' update calls. We do now one per user
245 interaction which is completely sufficient.
249 * BufferView_pimpl.C:
252 * ParagraphParameters.[Ch]:
264 * output_docbook.[Ch]:
266 * output_linuxdoc.[Ch]:
267 * output_plaintext.[Ch]:
269 * paragraph_funcs.[Ch]:
270 * paragraph_pimpl.[Ch]:
278 * frontends/controllers/ControlDocument.C:
279 * frontends/controllers/ControlErrorList.C:
280 * frontends/controllers/ControlSpellchecker.C:
283 * insets/insetbase.h:
284 * insets/insetbibitem.C:
286 * insets/insetbranch.C:
287 * insets/insetcaption.C:
288 * insets/insetcharstyle.C:
289 * insets/insetcharstyle.h:
290 * insets/insetcollapsable.C:
291 * insets/insetcollapsable.h:
293 * insets/insetfloat.C:
294 * insets/insetfoot.C:
295 * insets/insetmarginal.C:
296 * insets/insetnote.C:
297 * insets/insetoptarg.C:
298 * insets/insettabular.C:
299 * insets/insettext.C:
300 * insets/insettext.h:
301 * insets/insetwrap.C:
302 * mathed/math_mboxinset.C:
303 * mathed/math_nestinset.C:
304 * mathed/math_scriptinset.C:
305 * mathed/math_scriptinset.h:
308 2004-03-24 Angus Leeming <leeming@lyx.org>
310 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
311 deal with any child processes that have finished but are waiting to
312 communicate this fact to the rest of LyX.
314 2004-03-24 Angus Leeming <leeming@lyx.org>
316 64-bit compile fixes.
318 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
319 (c-tor): pass lyx::pos_types rather than ints.
321 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
324 * text.C (Delete): compile fix.
325 (getPar): ensure that function declaration is the same as that in
328 2004-03-23 Angus Leeming <leeming@lyx.org>
330 * ispell.C (LaunchIspell):
331 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
332 a boost::shred_ptr rather than a std::auto_ptr.
334 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * lyxfunc.C (getStatus): handle read-only buffers correctly;
337 handle LFUN_FILE_INSERT_*
339 * lyxrc.C (setDefaults, getDescription, output, read):
340 * lyxrc.h: remove ps_command
342 2004-03-22 Angus Leeming <leeming@lyx.org>
344 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
345 Ensure that error_handler is processed once only and that all data
346 is saved before attempting to output any warning messages.
348 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
350 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
352 * tabular.C (TeXRow): crash fix (from Kayvan and André)
354 2004-03-19 André Pönitz <poenitz@gmx.net>
356 * cursor.[Ch] (reset): take main text inset as argument
359 * BufferView_pimpl.C: adjust
361 * paragraph.[Ch]: fix completely broken operator=()
363 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * LColor.C (getFromLyXName): make sure that the color name is used
368 2004-03-17 Angus Leeming <leeming@lyx.org>
371 * LyXAction.C (init): remove LFUN_FORKS_KILL.
373 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
374 dialog and to kill a forked process.
376 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
378 * text2.C (setCursorFromCoordinates): fix font problem
380 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
382 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
383 bogus "rebuild cursor" code
385 2004-03-11 André Pönitz <poenitz@gmx.net>
387 * buffer.[Ch]: use InsetText instead of LyXText as container for
390 * dociterator.[Ch]: drop the BufferView * member which is not needed
391 anymore after the change to buffer.C
397 * BufferView_pimpl.[Ch]:
399 * cursor_slice.[Ch]: adjust
401 * text3.C: fix bug in mathDispatch
403 2004-03-08 André Pönitz <poenitz@gmx.net>
405 * undo.[Ch]: use 'StableDocumentIterator' as base for
408 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * bufferparams.[Ch]: add jurabib support and param.
413 * LaTeX.C: add FIXME/comment.
415 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
417 * buffer.C: increment file format to 230.
419 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
421 * cursor.C (dispatch): avoid infinite loops
423 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
425 * rowpainter.C (paintSelection): fix x coordinates
427 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
429 * text.C (rowBreakPoint): fix breaking before displayed insets
431 2004-03-01 André Pönitz <poenitz@gmx.net>
433 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
435 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
439 * BufferView_pimpl.C:
447 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
453 * BufferView_pimpl.C: rename textwidth -> maxwidth,
454 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
456 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
458 * Bidi.[Ch] (computeTables): const correctness
459 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
460 fill_hfill, fill_label_hfill and x from Row
461 * lyxtext.h: prepareToPrint returns a RowMetrics
462 * rowPainter.C: adjust
463 * text.C (prepareToPrint): use width, not textWidth. adjust
464 (redoParagraphInternal, cursorX): adjust
465 * text2.C (getColumnNearX): adjust
466 (init): put a default value to the top LyXText::width
468 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
470 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
472 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
474 * lyxtext.h: add FontIterator class
476 * text.C (FontIterator, operator*, operator->, operator++): add
477 (rowBreakPoint, setRowWidth): adjust (fixing a
480 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * BufferView_pimpl.C (workAreaDispatch): allow also
483 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
485 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
487 * text.C (rowBreakPoint): fix a bug showing with very large insets
489 2004-02-25 André Pönitz <poenitz@gmx.net>
492 * cursor.[Ch]: move some mathed specific code to mathed
494 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
496 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
497 use_tempdir in preferences
498 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
500 * lyx_main.C: ensure that tempdir is valid
501 * lyxlex.h: correct typo
502 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
503 * paragraph.[Ch] (isMultiLingual): make const
504 * cursor.[Ch] (openable): make const
506 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
508 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
510 2004-02-20 André Pönitz <poenitz@gmx.net>
512 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
514 * cursor.[Ch]: prepare for localized getStatus()
520 * text3.C: streamlines the LyXText cursor movement handlers a bit.
522 2004-02-20 André Pönitz <poenitz@gmx.net>
524 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
526 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
528 * text2.C (setCursorFromCoordinates): switch to absolute coords
531 * text3.C (dispatch): adjust
533 2004-02-16 André Pönitz <poenitz@gmx.net>
535 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
538 * cursor_slice.[Ch]: remove unneeded acessor function
540 * lyxtext.h: rename rtl() to isRTL()
548 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
550 * rowpainter.C (paintSelection): coord fix
552 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * Spacing.C: compile fix
556 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
558 * cursor.C (dispatch): restore current_ before returning
560 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
562 * text2.C (cursorUp, cursorDown): fix coords
565 2004-02-12 André Pönitz <poenitz@gmx.net>
570 * text3.C: add LCursor & parameter to most cursor movement functions
571 remove usage of LyXText::cursorRow() and cursorPar()
573 * cursor.[Ch]: add textRow() needed members
576 * BufferView_pimpl.C:
579 * BufferView_pimpl.C: adjust
581 2004-02-11 André Pönitz <poenitz@gmx.net>
585 * BufferView_pimpl.C: shift undo/redo handling
587 * cursor.[Ch]: fix mathed crash
590 * lyxtext.h: move selectionAsText to LCursor
598 * rowpainter.C: fix excessive drawing
600 2004-02-06 André Pönitz <poenitz@gmx.net>
603 * BufferView_pimpl.[Ch]:
604 * text3.C: move some text specific LFUN handling
606 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
608 * text3.C (checkInsetHit): adjust coords
609 * text2.C (getColumnNearX): adjust coords
610 (edit): adjust coords
611 * text.C (getRowNearY): add two asserts
613 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
616 * format.C: add using std::distance to compile on gcc 2.95/stlport
618 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
620 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
622 2004-02-04 André Pönitz <poenitz@gmx.net>
624 * BufferView.[Ch] (insertInset):
625 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
630 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
632 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
633 on the default clause of the switch
634 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
635 wasn't catched by LCursor::dispatch
637 2004-02-03 André Pönitz <poenitz@gmx.net>
640 * cursor.[Ch]: some additional asserts
642 * undo.[Ch]: remove LyXText dependency in interface
646 * lyxtext.h (firstPar, lastPar): remove dead functions
651 * paragraph.[Ch]: adjust
653 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
655 * lyxfind.C (find): fix argument order in call to ::find
657 2004-02-02 André Pönitz <poenitz@gmx.net>
659 * cursor.[Ch]: remove direct access to anchor
661 * text.C: remove findText() hack
663 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
665 * iterators.[Ch] (lockPath): remove in favour of...
666 * BufferView.[Ch] (setCursor): this addition
667 * BufferView.C (putSelectionAt): adjust
668 * undo.C (performUndoOrRedo): adjust
669 * lyxfunc.C (dispatch): adjust
671 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
673 * iterators.C (lockPath): add a missing slice
674 * undo.C (performUndoOrRedo): remove redundant positioning code
676 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
678 * vc-backend.C (scanMaster): ";" -> ';'
680 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
682 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
685 * lyxtextclass.C (compare_name): rename to...
686 (LayoutNamesEqual): ...this
688 * lyxlex_pimpl.C (compare_tags): inherit from
689 std::binary_function, put back into anon namespace
691 * lyxfind.C (MatchString): inherig from std::binary_function
692 (findChange): use empty() istead of !size()
694 * format.C (FormatNamesEqual): new functor
701 * converter.C (compare_Converter): rename to...
702 (ConverterEqual): ...this, and fixup a bit.
703 (getConverter): use it, and make function const
704 (getNumber): use it, and make function const
708 * bufferlist.C: add using boost::bind
710 * MenuBackend.C (MenuNamesEqual): new functor
711 (hasMenu): use it, and make function const
712 (hasSubmenu): use nested bind to get rid of compare_memfun.
714 2004-01-30 André Pönitz <poenitz@gmx.net>
716 * BufferView_pimpl.C:
727 * text3.C: move some of the edit(x,y) handling to the insets
728 some coordinate changes.
730 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * text.C: add using statements for std::advance and std::distance
734 * paragraph.C: add using statement for std::distance
736 * lyxfind.C: add using statement for std::advance
738 * cursor.C (region): remove std:: from swap
739 (openable): use nucleus in stead of operator->
741 * BufferView.C: add using statements for std::distance and std::swap
743 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
745 * iterators.C: Remove the pimple, move the needed structures to
746 the header file. Create accessor for the positions stack.
747 (asPosIterator): remove function
749 * PosIterator.C (PosIterator): move constructors to top of file
750 (PosIterator): reimplement the constructor taking a ParIterator in
752 (setFrom): new function
753 (operator!=): inline it
755 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
757 * lyxfind.C (replaceAll): use std::advance
759 * iterators.h: inherit from std::iterator.
761 * PosIterator.C (advance, distance): remove
762 * PosIterator.h: interit from std::iterator.
764 2004-01-26 André Pönitz <poenitz@gmx.net>
767 * BufferView_pimpl.[Ch]:
771 * bufferview_funcs.C:
782 * output_plaintext.C:
784 * paragraph_funcs.[Ch]:
785 * paragraph_pimpl.[Ch]:
791 * text3.C: more IU: dumps most of the rest of the mathcursor
792 implementation into cursor.[Ch]; "globalize" a bit of it.
794 2004-01-25 Angus Leeming <leeming@lyx.org>
796 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
798 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
800 * LaTeXFeatures.h: add nice_ and nice() const
801 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
803 2004-01-20 André Pönitz <poenitz@gmx.net>
806 * BufferView_pimpl.C:
808 * bufferview_funcs.C:
821 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
822 LCursor and mathcursor parts to LCursor and InsetBase.
824 2004-01-15 André Pönitz <poenitz@gmx.net>
826 * cursor_slice.[Ch]: add a few covienience functions
828 * funcrequest.[Ch]: remove BufferView * member
830 * BufferView_pimpl.C:
837 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
839 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
841 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
842 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
844 2004-01-13 André Pönitz <poenitz@gmx.net>
847 * lyxtext.h: hide cursor and selection anchor behind accessor function
850 * BufferView_pimpl.[Ch]:
852 * bufferview_funcs.C:
862 * cursor_slice.[Ch]: some integer type changes for inset unification
864 * lyxcursor.[hC]: remove, it's CursorSlice now.
867 * BufferView_pimpl.[Ch]:
868 * bufferview_funcs.C:
874 * textcursor.[Ch]: adjust
876 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
878 * text2.C (undoSpan): add and use
879 * text.C (breakParagraph): use undoSpan (fix bug 578)
882 2004-01-08 Angus Leeming <leeming@lyx.org>
884 * BufferView_pimpl.C (MenuInsertLyXFile):
885 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
886 * lyxfunc.C (menuNew, open, doImport):
887 FileFilterList change to the FileDialog open and save functions.
889 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * ShareContainer.h: make isEqual and isUnique adaptable
893 * CutAndPaste.C: make resetOwnerAndChanges adaptable
895 2004-01-07 Angus Leeming <leeming@lyx.org>
898 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
900 * BufferView_pimpl.C (dispatch): act on these LFUNs.
902 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
903 functions replacing find, replace and replaceAll.
905 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
906 LFUN_WORDFIND(FORWARD|BACKWARD).
908 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
910 * text.C (breakParagraph): remove an outdated #warning
912 2004-01-07 André Pönitz <poenitz@gmx.net>
914 * lyxfind.C: somewhat clearer logic
916 * text.C: prevent crash in cursorX on unitialized row cache
918 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
920 * lyxcursor.[Ch] (operator>): add
921 * textcursor.C (selStart, selEnd): use std::min and std::max
923 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
925 * Chktex.C: include boost/format.hpp
927 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
929 * InsetList.C: replace functor MathcIt with adaptable functor
931 (insetIterator): modify accordingly
933 * BranchList.h: move the BranchNamesEqual functor here from...
934 * BranchList.C: ... to here
936 * BranchList.C: new BranchListEqual fuctor, use it. Remove
938 (add): replace a finding loop with std::find_if.
940 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
942 * output_docbook.C: moving LatexParam functionality into
945 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
947 * buffer.C: increment format to 229.
949 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
952 * lyx_sty.[Ch]: remove minipageindent_def
958 * text3.C: remove LFUN_INSET_MINIPAGE
960 2003-12-28 Angus Leeming <leeming@lyx.org>
962 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
964 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
966 * text2.C (setParagraph): fix off-by-one crash
968 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
970 * output_docbook.C: header stuff for AGU
972 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
974 * text2.C (redoCursor): remove
977 * BufferView_pimpl.C: remove calls to redoCursor and
978 setCursor(cursor.par(), cursor.pos()) all around
980 2003-12-15 Angus Leeming <leeming@lyx.org>
982 * buffer.C: up the format to 228.
984 2003-12-15 André Pönitz <poenitz@gmx.net>
986 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
991 * BufferView_pimpl.C:
1000 2003-12-15 Angus Leeming <leeming@lyx.org>
1002 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1003 than getFromGUIName to manipulate the color.
1005 2003-12-14 Angus Leeming <leeming@lyx.org>
1007 * BranchList.[Ch]: minimize the API.
1008 (Branch::getBranch, getColor): now return a 'const &'.
1009 (Branch::setSelected) now returns a bool set to true if the
1010 selection status changes.
1011 (BranchList::clear, size, getColor, setColor, setSelected,
1012 allBranches, allSelected, separator): removed.
1013 (BranchList::find): new functions, returning the Branch with
1015 (BranchList::add, remove): return a bool indicating that
1016 the operation was successful.
1018 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1019 new InsetBranch::isBranchSlected member function.
1021 * LColor.[Ch]: mimimize the API.
1022 (fill): renamed as addColor and made private.
1023 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1024 versions of these functions taking a string arg have been removed.
1026 * bufferparams.C (readToken):
1027 * lyxfunc.C (dispatch):
1028 * lyxrc.C (read): changes due to the altered BranchList and
1031 * factory.C (createInset, readInset): changes due to altered
1034 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1037 * lyxfunc.C: remove insetminipage. "minipage-insert"
1038 now produces a frameless minipage box inset.
1040 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1042 * textcursor.[Ch] (selStart,selEnd): add new methods
1043 remove selection::start, end, use LyXCursor::operator<
1044 * lyxcursor.[Ch] (operator<): add
1045 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1046 * BufferView.[Ch] (unsetXSel): add
1047 * text2.C (clearSelection): use unsetXSel,adjust
1050 * rowpainter.C: adjust
1051 * bufferview_funcs.C (put_selection_at): adjust
1053 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1055 * BufferView_pimpl.C: small coord. correction
1057 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1059 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1060 dragging over the splash screen.
1062 2003-12-11 Angus Leeming <leeming@lyx.org>
1064 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1065 as it is now handled in LyXText::dispatch.
1067 * text3.C (doInsertInset): remove a level of nesting.
1069 2003-12-11 Angus Leeming <leeming@lyx.org>
1071 * factory.C (createInset): changes due to the changed interface to
1072 InsetCommandMailer::string2params.
1074 2003-12-10 Angus Leeming <leeming@lyx.org>
1076 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1077 'dialog-show-new-inset <inset name>'
1079 2003-12-10 Angus Leeming <leeming@lyx.org>
1081 * buffer.C: up the format to 227.
1083 * factory.C: the box inset is now identified simply by 'Box'.
1085 2003-12-10 Angus Leeming <leeming@lyx.org>
1087 * buffer.C: up the format to 226.
1089 * factory.C: the note inset is now identified simply by 'Note'.
1091 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1093 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1094 when a pit is enough. Standarize a couple of loops.
1096 2003-12-05 Angus Leeming <leeming@lyx.org>
1098 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1099 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1100 data to the re-worked "log" dialog.
1102 2003-12-03 André Pönitz <poenitz@gmx.net>
1108 * paragraph_funcs.C:
1110 * text2.C: use Inset::getText instead of Inset::getParagraph
1112 2003-12-03 André Pönitz <poenitz@gmx.net>
1116 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1117 InsetText::read() as LyXText::read()
1119 2003-12-02 Angus Leeming <leeming@lyx.org>
1121 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1122 type. Add a comment in the implementation that the function uses
1123 the stream's bad() function rather than fail() as the std::streams
1126 2003-12-02 André Pönitz <poenitz@gmx.net>
1128 * lyxlex.[Ch]: make interface more similar to std::stream
1130 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1132 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1134 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1136 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1138 * vspace.[Ch]: remove VSpace::NONE
1140 2003-12-01 André Pönitz <poenitz@gmx.net>
1143 * lyxtext.h: move ParagraphList member to LyXText
1144 rename LyXText::ownerParagraphs to LyXText::paragraph
1147 * bufferview_funcs.C:
1157 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1159 * undo.C: fix cursor positioning
1161 2003-12-01 John Levon <levon@movementarian.org>
1163 * BufferView_pimpl.C: fix a crash on exit with
1166 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1168 * BranchList.C: fix setSelected() method.
1170 2003-11-28 André Pönitz <poenitz@gmx.net>
1172 * ParagraphParameters.[Ch]:
1173 * ParameterStruct.h: remove space above/below from Paragraph to
1176 * BufferView_pimpl.C:
1182 * paragraph_funcs.C:
1188 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1190 * factory.C: Syntax change for CharStyles
1192 2003-11-28 André Pönitz <poenitz@gmx.net>
1197 * buffer.[Ch]: move LyXText member
1199 2003-11-28 André Pönitz <poenitz@gmx.net>
1201 * BufferView.[Ch]: make LyXText * text a private member
1203 * BufferView_pimpl.C:
1214 * output_plaintext.C: cleanup
1216 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1219 * lyxtextclass.[Ch]: parametrize SGML document header
1221 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1224 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1227 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1229 * text2.C (setFont): rework using PosIterator (no more recursive)
1230 (setCharFont): no more needed
1231 (setLayout): no more selection cursors fiddling (done by redoCursor)
1232 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1233 destroy remaining ones)
1235 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1237 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1239 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1242 * text3.C: adjust + re-allow multi par depth changes
1243 * textcursor.C: simplify a bit
1245 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1251 * src/output_docbook.C:
1252 * src/output_latex.C:
1257 * src/text2.C: Introducing a number of tags parametrizing various
1258 XML formats that we may want to support
1260 2003-11-25 André Pönitz <poenitz@gmx.net>
1262 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1264 * lyxtext.h (leftMargin/rightMargin): simplify interface
1271 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1273 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1274 master file to any child files. Fixes bug 546.
1276 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1278 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1280 2003-11-24 André Pönitz <poenitz@gmx.net>
1282 * rowpainter.C: simplification
1284 * text2.C (updateCounters): remove call to redoParagraph on
1285 changed labels as this is far too expensive.
1287 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1289 * converter.C (convert): fix a crash: this function gets
1290 called with buffer == 0 from importer code.
1292 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1294 * text3.C (cursorPrevious): make sure that we do not compare
1295 iterators form different containers.
1298 * rowpainter.C (paintSelection): make sure that we do not compare
1299 iterators from different containers.
1301 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1302 iterators from different ParagraphList containers.
1305 * text2.C (LyXText): change order of initialization slightly
1306 (operator=): new function. copy all variables except cache_par_
1307 (moveUp): make sure that we do not compare iterators from
1308 different ParagraphList constainers.
1311 * text.C (firstPar): new function
1312 (lastPar): new function
1313 (endPar): new function
1315 * lyxtext.h: move things around and group public functions, public
1316 variables, private functions, private variables
1318 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1320 * factory.C: change call to InsetERT constructor to avoid
1321 additional invocation of method status
1322 * text2.C (toggleInset): remove redundant update() call
1323 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1324 instead of a Bufferview pointer
1326 2003-11-21 André Pönitz <poenitz@gmx.net>
1328 * rowpainter.C: simplification
1330 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1332 * text3.C (dispatch): make possible to extend a word/row selection
1335 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1337 * lyxtext.h: x0_,y0_ -> xo_,yo_
1338 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1339 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1340 * rowpainter.C (paintRows): paint full paragraphs
1342 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1344 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1347 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1349 * lyxtext.h: add x0_, y0_
1350 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1351 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1353 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1355 * text2.C (setCursorIntern): move the x_target update here *
1356 * text3.C: change some bv() to true/false in calls to
1357 cursorUp/Down/Right/Left
1358 * cursor.C: use helper function.
1360 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1362 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1363 * paragraph_funcs.[Ch]: correct comment
1364 * rowpainter.C: do not paint selections away from bv->cursor()
1365 Fix a long standing selection painting bug.
1366 * text3.C: generalize mouse-selection code to LyXTexts other that
1368 * textcursor.C: do not use y coords if we can use par offsets
1370 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1372 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1373 cursor position after e.g. inset insert)
1375 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1377 * lyxfind.C (replace): adjust to locking removal + some
1380 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1382 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1385 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1388 * output_docbook.C: XML sanitation: new layout
1389 parameters InnerTag and CommandDepth
1391 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1393 * BufferView_pimpl.C:
1395 * text3.C: Fix the insertion and modification of button-style
1398 2003-11-13 André Pönitz <poenitz@gmx.net>
1400 * InsetList.[Ch]: remove deleteLyXText
1402 * paragraph.[Ch]: cache beginOfBody position
1407 * text3.C: remove superfluous update() calls
1411 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1413 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1414 * BufferView.C (fitLockedInsetCursor): remove
1415 * cursor.[Ch] (getDim): add
1416 * text.C (getRowNearY): add faster version
1417 * text3.C: remove some update calls
1419 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1431 * text3.C: The Character Style /XML short element patch.
1433 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1436 * factory.C: Small step to solving 'unable to insert some insets'
1439 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1441 * cursor.[Ch] (updatePos): new function for updating the y
1442 position of the tip inset
1443 * bufferview_funcs.C (put_selection_at):
1444 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1446 2003-11-11 André Pönitz <poenitz@gmx.net>
1448 * text.C: remove big comment on invalid Paragraph pointers as it is
1451 2003-11-11 André Pönitz <poenitz@gmx.net>
1453 * text_funcs.[Ch]: merge with ...
1461 * Makefile.am: remove text_funcs.[Ch]
1463 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1465 * cursor.C (getPos): return absolute cached y coord
1467 * BufferView_pimpl.C (fitCursor): new simplistic code
1468 (workAreaDispatch): add a fitCursor call
1470 2003-11-10 André Pönitz <poenitz@gmx.net>
1473 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1475 2003-11-10 André Pönitz <poenitz@gmx.net>
1477 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1478 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1479 indicate that the cursor needs to leave an inset
1481 * lyxtext.h: remove inset locking
1483 * cursor.[Ch]: re-implement functionality provided by inset locking
1486 * BufferView_pimpl.[Ch]:
1488 * bufferview_funcs.[Ch]:
1500 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1502 * PosIterator.[Ch]: replace the stack with a vector, add inset
1504 * iterators.[C]: adjust
1506 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1508 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1510 * paragraph_funcs.C (readParToken): put the correct id in the
1511 error item, not the id of the top paragraph
1513 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1515 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1516 * bufferview_funcs.C (put_selection_at): use the above
1518 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1520 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1522 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * output_linuxdoc.h:
1525 * output_plaintext.h:
1527 * output_docbook.h: add #include statements
1529 2003-11-05 José Matos <jamatos@lyx.org>
1531 * output_docbook.[Ch]:
1532 * output_latex.[Ch]:
1533 * output_linuxdoc.[Ch]:
1534 * output_plaintext.[Ch]: New files for output formats.
1535 * output.[Ch]: New file for helper functions.
1538 * paragraph_funcs.[Ch]: output functions moved to new files.
1540 * outputparams.h: rename of latexrunparams.h
1548 * paragraph_funcs.[Ch]:
1549 * paragraph_pimpl.[Ch]:
1550 * tabular.[Ch]: rename ascii to plaintext
1551 and LatexRunParams to OutputParams.
1553 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1555 * iterators.[Ch] (text): require bv argument
1556 * undo.C (recordUndo):
1557 * lyxfunc.C (dispatch):
1558 * bufferview_funcs.C (put_selection_at): adjust
1560 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1562 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1564 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1566 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1569 2003-11-04 André Pönitz <poenitz@gmx.net>
1571 * cursor.[Ch]: restructure
1574 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1576 * iterators.[Ch] (asCursor): remove
1578 * lfuns.h: remove LFUN_INSET_EDIT
1584 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1586 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1588 * lyxfind.[Ch]: complete overhaul
1589 * BufferView_pimpl.C:
1591 * paragraph.[Ch] (insert): add
1593 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1597 * text.C: remove dead spellcheck code
1599 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1601 * dispatchresult.h: add a val setter
1603 * cursor.C (dispatch): use a tempvar for data_[i]
1605 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1607 * PosIterator.[Ch]: compile fix
1609 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1611 * text.C (cursorPar): deactivate the cursor cache
1613 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1615 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1617 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * text3.C (dispatch): adjust for new DisptchResult semantics.
1621 * lyxfunc.C (dispatch): handle update when return from
1622 Cursor::dispatch, adjust for new DispatchResult semantics.
1624 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1625 DispatchResult(true) mean to not update. Add class functions for
1626 setting dispatched and update, as well as reading.
1628 * cursor.C (dispatch): don't handle update here
1630 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1632 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1633 * trans_mgr.C: adjust
1635 * paragraph_funcs.C (readParToken): exception safety
1637 * lyxvc.h: store the vcs pointer in a scoped_ptr
1640 * lyxsocket.C (serverCallback): exception safety
1642 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1644 * ispell.C (clone): make it return a auto_ptr
1646 * factory.C (createInset): exception safety
1647 (readInset): exception safety
1649 * bufferlist.C (newBuffer): exception safety
1651 * Thesaurus.C (Thesaurus): use initialization for aik_
1653 * MenuBackend.C (expandToc): exception safety.
1655 2003-11-03 André Pönitz <poenitz@gmx.net>
1659 * bufferview_funcs.C: remove getInsetFromId()
1662 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1668 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1670 * PosIterator.C (distance, advance): new
1671 * bufferview_funcs.[Ch] (put_selection_at): new
1672 * iterators.[Ch] (lockPath): new
1674 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1676 * iterators.[Ch] (asPosIterator): added
1677 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1678 * PosIterator.[Ch]: added
1680 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * cursor.C (dispatch):
1685 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1687 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1688 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1689 contructor, add a class function dispatched. Remove operator>=
1691 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * debug.C: only use the default constructor for debugstream
1696 * main.C (main): include debug.h and setup the lyxerr streambuf
1699 2003-10-31 José Matos <jamatos@lyx.org>
1701 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1703 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1704 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1705 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1706 * paragraph_pimpl.C (simpleTeXSpecialC):
1707 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1708 add LatexRunParams argument.
1710 * exporter.C (Export): change call accordingly.
1712 * latexrunparams.h: add new member to take care of the other backends.
1713 2003-10-30 José Matos <jamatos@lyx.org>
1715 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1716 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1717 factorise code for paragraph output.
1719 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1722 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1724 * text3.C (dispatch):
1725 * lyxfunc.C (dispatch):
1726 * cursor.C (dispatch):
1727 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1729 * dispatchresult.h: make the dispatch_result_t ctor explicit
1731 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1734 * buffer.C: small refactoring of docbook stuff
1736 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1741 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1744 operator dispatch_result_t, and operators for == != and >=
1746 * cursor.C (dispatch): adjust for operator dispatch_result_t
1747 removal. comment out call to update
1749 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1751 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1762 * dispatchresult.h: new file, DispatchResult broken out of
1765 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1767 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1769 * text.C (rowBreakPoint): put a hack inside #if 0
1771 2003-10-28 André Pönitz <poenitz@gmx.net>
1775 * paragraph_funcs.C:
1778 * text2.C: general cleanup (lots of small stuff)
1780 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1782 * text2.C (cursorEnd): simple fix to the "end key goes to one
1783 before the end on last row" bug
1785 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1787 * text.C (backspace): fix the "zombie characters"
1789 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1791 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1793 2003-10-27 André Pönitz <poenitz@gmx.net>
1795 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1797 * factory.C: handle new InsetPagebreak, InsetLine
1799 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1800 and move handling into new InsetPagebreak, InsetLine
1802 * BufferView_pimpl.C:
1804 * ParagraphParameters.C:
1805 * ParameterStruct.h:
1810 * paragraph_funcs.C:
1811 * paragraph_pimpl.C:
1817 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1820 * lyxrow_funcs.[Ch]:
1826 * text3.C: remove lastPos uses in favour of Row::endpos
1828 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1830 * undo.C (performUndoOrRedo): fix two crashes by setting a
1831 cursor by hand and reordering some calls. Use bv->lockInset instead
1832 of inset->edit because the latter loses cursor information
1834 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1836 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1838 (rowBreakPoint): fix width. change point to point + 1.
1839 Add a missing check.
1841 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1844 * lyxfunc.C: fix (at least partly) the problems
1845 with the Nav menu and headers inside branch insets
1848 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1850 * paragraph.C (getChar): add strong asserts
1852 * lyxrow_funcs.C (lastPos): remove hideous hack
1854 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1855 (fill): adjust to that (avoid an infinite loop)
1857 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1859 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1861 2003-10-23 André Pönitz <poenitz@gmx.net>
1863 * RowList_fwd.h: change list<> to vector<> to gain speed
1864 after suggestion from Alfredo
1866 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1868 * lyxtext.h: move the bidi stuff from here...
1871 * Bidi.[Ch]: ... to here
1873 2003-10-23 André Pönitz <poenitz@gmx.net>
1876 * text.C (isLastRow, isFirstRow): new functions
1878 * paragraph.h: new width cache member
1880 * rowpainter.C: replace RowList::iterator with Row & where possible
1882 * lyxfunc.C: replace several view()->text with a single call
1884 * toc.C: fix 'unused' warning
1886 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1889 when woring with stream::pos_type
1890 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1892 2003-10-22 André Pönitz <poenitz@gmx.net>
1895 * text.C: use Row & instead of RowList::iterator
1897 * lyxrow.h: rename end() to endpos()
1903 2003-10-22 Angus Leeming <leeming@lyx.org>
1905 * buffer.[Ch] (fully_loaded): new member function, returning true
1906 only when the file has been loaded fully.
1907 Used to prevent the premature generation of previews and by the
1908 citation inset to prevent computation of the natbib-style label.
1910 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1911 templates are all set up.
1913 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1915 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1917 * text.C: fixed an "oops" in the "is a bit silly"
1920 2003-10-21 André Pönitz <poenitz@gmx.net>
1922 * FuncStatus.[Ch]: small stuff, whitespace
1924 * lyxfont.[Ch]: operator<<() for debug reasons
1928 * lyxtext.h: whitespace, spelling
1930 * paragraph.C: naming of variables
1933 * text2.C: small stuff
1936 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1938 * text.C: (1) finish off the inset display() work;
1939 (2) fix the "is a bit silly" bug (accessing char
1942 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1944 * text.C: re-introduce display() for insets, fixing the
1945 various bugs (stretch of line above, math inset
1948 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * text.C (rightMargin): remove spurious semicolon
1952 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1955 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1957 * text3.C: fix one crash due to wrong cursor def
1959 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * vc-backend.C (scanMaster): make the regex static
1963 * LaTeX.C (scanAuxFile): make the regexs static
1965 * text3.C (doInsertInset, dispatch, dispatch):
1966 * text2.C (cursorUp, cursorDown):
1967 * text.C (selectNextWordToSpellcheck):
1968 * BufferView_pimpl.C (dispatch):
1969 * lyxfunc.C (dispatch): localDispatch -> dispatch
1971 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * lyxsocket.C: include <cerrno>
1975 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * lyxfunc.C (dispatch): remove textcache stuff
1979 * bufferlist.C (release): remove textcache stuff
1982 * TextCache.C: delete file
1983 * TextCache.h: delete file
1985 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1987 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1988 delete of the bv_->text.
1989 (resizeCurrentBuffer): remove texcache stuff
1990 (workAreaResize): ditto
1992 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1997 2003-10-16 André Pönitz <poenitz@gmx.net>
2004 * text3.C: speed up by storing y positions per paragraph plus per-row
2005 offset instead of having a 'full' y position in the row.
2007 2003-10-15 André Pönitz <poenitz@gmx.net>
2011 * undo.[Ch]: make undo aware of inner insets
2013 2003-10-14 Angus Leeming <leeming@lyx.org>
2015 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2016 static member functions LyX::ref() and LyX::cref.
2017 (lastfiles): new accessor functions for the new lastfiles_ member var.
2018 (addLyXView, views_): add a new LyXView to the list of views_.
2019 (updateInset): loop over all LyXViews to call their own updateInset
2020 member function, returning a pointer to the Buffer owning the inset.
2022 * BufferView_pimpl.C (loadLyXFile):
2023 * MenuBackend.C (expandLastfiles):
2024 * bufferlist.C (MenuWrite, QuitLyX):
2025 lastfiles is no longer a global variable.
2026 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2028 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2029 static function. Access through LyX::cref().emergencyCleanup().
2031 2003-10-14 André Pönitz <poenitz@gmx.net>
2033 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2035 * undo.[Ch]: restoring part of 'undo in insets'
2038 * undo_funcs.[Ch]: merge with undo.[Ch]
2040 * tabular.C: small cleansing stuff
2042 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2044 * paragraph_funcs.C (readParToken): report unknown insets as error
2045 boxes. Use the outer paragraph as location (also for unknown
2048 * factory.C (readInset): do not abort on reading an unknown inset.
2049 Eat it and return 0.
2051 2003-10-13 Angus Leeming <leeming@lyx.org>
2053 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2055 * lyxrc.C: displayTranslator is now a function,
2056 declared in GraphicsTypes.h.
2058 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2060 * format.C: new placeholder $$a to pass the socket address.
2062 * bufferlist.[Ch]: new function getBufferFromTmp.
2064 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2065 files in the temporary dir.
2067 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2069 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2071 * Makefile.am: add lyxsocket.[Ch].
2073 * lyx_main.C (error_handler): handle SIGPIPE.
2075 2003-10-13 André Pönitz <poenitz@gmx.net>
2077 * BufferView_pimpl.C:
2082 * undo_funcs.[Ch]: use paroffset_type instead of
2083 ParagraphList::iterators to prevent multiple conversion
2084 (and get a more robust interface)
2086 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2090 * text3.C (dispatch): ditto
2092 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2095 move the onlyfile, use onlyfile instead of foundfile in a couple
2098 * DepTable.C (update): flush the error stream a bit more
2100 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * lyxserver.C (callback): adjust
2104 * lyxfunc.C (getStatus): add a missing brace in commented code
2105 (ensureBufferClean): reindent
2106 (dispatch): delete version taking a string
2108 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * LaTeX.C (deplog): move found file handlig from here...
2111 (handleFoundFile): .. to new function here.
2112 (deplog): make sure to discover several files mentioned on the
2115 2003-10-10 André Pönitz <poenitz@gmx.net>
2122 * text3.C: fix some of the tabular crashes
2124 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2126 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2128 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2130 2003-10-09 André Pönitz <poenitz@gmx.net>
2132 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2135 * BufferView_pimpl.C:
2136 * bufferview_funcs.C:
2147 * undo_funcs.C: adjust
2149 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * text2.C (incrementItemDepth): new function, use a backtracking
2152 algorithm to discover the correct item depth.
2153 (resetEnumCounterIfNeeded): new function, use a backtracking
2154 algorithm to discover if counter reset is needed.
2155 (setCounter): use them. Simplify a bit. Add different labels for
2156 different item depths for itemize.
2158 * paragraph.C (Paragraph): remove initialization of enumdepth
2161 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2162 enumerate and itemize. Change the type of itemdepth to signed char.
2164 2003-10-08 André Pönitz <poenitz@gmx.net>
2166 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2171 * tabular.[Ch]: fix crash after 'row-insert'
2173 2003-10-08 Angus Leeming <leeming@lyx.org>
2175 Fix doxygen warnings.
2177 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2178 Remove CutAndPaste:: prefix from header file declaration.
2180 * LColor.h (fill): remove LColor:: prefix from declaration.
2182 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2183 use lyx::depth_type rather than Paragraph::depth_type so that
2184 header file and .C file match.
2186 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2188 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2189 * aspell.C: \file aspell_local.C -> \file aspell.C
2190 * gettext.C: \file gettext.C -> \file src/gettext.C
2191 * gettext.h: \file gettext.h -> \file src/gettext.h
2192 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2193 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2194 * text.C: \file text.C -> \file src/text.C
2196 * toc.C: move comment so that doxygen is not confused.
2198 2003-10-07 Angus Leeming <leeming@lyx.org>
2200 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2202 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2205 * aspell_local.h: add forgotten std::string's.
2207 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2214 * text3.C: The Box patch. Fancybox support, minipage, parbox
2216 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2222 * ParagraphParameters.h:
2232 * lyxtextclasslist.h:
2235 * paragraph_pimpl.C:
2236 * textcursor.h: add <string> and other small fixes to make Lars'
2237 std::string patch compile with STLport.
2239 2003-10-06 Angus Leeming <leeming@lyx.org>
2241 * LColor.h: Add missing #include <string>.
2243 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * All most all file in all subdirs: Make <string> be the prefered
2246 way of getting to std::string, add using declarations.
2248 2003-10-06 André Pönitz <poenitz@gmx.net>
2250 * metricsinfo.C: initialize LyXFont before changing attribute.
2251 (fixes the 'math in \emph is upright' bug)
2253 2003-10-06 André Pönitz <poenitz@gmx.net>
2255 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2257 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2260 * paragraph_pimpl.C: Small fixes to build using STLport
2262 2003-10-02 André Pönitz <poenitz@gmx.net>
2265 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2267 2003-10-01 André Pönitz <poenitz@gmx.net>
2269 * factory.C: assert early
2271 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * lyx_main.C: remove the global debug object
2275 * debug.h: adjust for new debugstream
2277 * debug.C: adjust for new debugstream and keep the global debug
2280 2003-09-22 Angus Leeming <leeming@lyx.org>
2282 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2283 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2284 an incomplete class LyXFont.
2286 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2288 * factory.C: bug fix in branches
2290 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * lyxfunc.C (processKeySym): adjust
2294 (dispatch): change arg name from ev to func, adjust
2295 (sendDispatchMessage): ditto
2297 * lyx_main.C (defaultKeyBindings): adjust keybindings
2298 (deadKeyBindings): ditto
2300 * kbsequence.C (addkey): return a FuncRequest
2302 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2304 * kbmap.C (bind): take a FuncRequest as arg, adjust
2307 (defkey): change to take a FuncRequest as arg, adjust
2308 (findbinding): take a FuncRequest as arg, adjust.
2310 * funcrequest.h (operator=): added
2312 * funcrequest.C (FuncRequest): default kb_action changed from
2313 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2315 * buffer.C (dispatch): simplify
2316 (dispatch): adjust to take a FuncRequest as arg, adjust
2318 * boost.C (assertion_failed): change assertion message slightly
2320 * ToolbarBackend.C (read): simplify
2322 * MenuBackend.C (binding): adjust call to findbinding, add a
2323 message if no binding is found.
2325 (expandToc): correct by adding a empty FuncRequest
2327 * LyXAction.C: include <boost/assert.hpp>
2328 (isPseudoAction): delete function
2329 (LookupFunc): change name to...
2330 (lookupFunc): this. change return type to FuncRequest.
2331 (getActionName): take kb_action as arg, simplify
2332 (funcHasFlag): add an assert, simplify.
2334 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * toc.C (action): return a FuncRequest, simplify
2338 * lyxfunc.C (processKeySym): adjust
2339 (getStatus): delete version that takes an int.
2341 (dispatch): delete version that takes action as int
2343 (sendDispatchMessage): simplify and adjust
2345 * funcrequest.C (getArg): take unsigned int as arg
2347 * ToolbarBackend.C (read): adjust
2348 (add): delete version that takes func as a string.
2349 (getIton): take a FuncRequest as arg
2351 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2354 * MenuBackend.C (MenuItem): add a new construct that only takes a
2355 Kind, simplify the constructor use for submenus.
2357 (expandLastfiles): adjust
2358 (expandDocuments): adjust
2359 (expandFormats): adjust
2360 (expandFloatListInsert): adjust
2361 (expandFloatInsert): adjust
2362 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2364 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2365 Remove class variables lyx_pseudo_map and lyx_arg_map
2367 * LyXAction.C (searchActionArg): delete function
2368 (getPseudoAction): delete function
2369 (retrieveActionArg): delete function
2370 (LookupFunc): make it return kb_action, simplify.
2371 (getActionName): simplify
2373 * factory.C (createInset): fix new bug
2375 2003-09-19 Angus Leeming <leeming@lyx.org>
2377 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2378 masterFilename_ parameter in the include inset.
2380 * factory.C (createInset): changes due to the changes to InsetInclude.
2382 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2384 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2386 2003-09-18 Angus Leeming <leeming@lyx.org>
2389 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2390 Inset::fillWithBibKeys.
2391 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2393 2003-09-18 Angus Leeming <leeming@lyx.org>
2395 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2397 (ctor): pass and store a 'Buffer const &'
2398 (buffer): new member function.
2400 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2401 '*this' to the LaTeXFeatures ctor.
2403 2003-09-18 Angus Leeming <leeming@lyx.org>
2409 * text.C: rename EnumLColor as LColor_color.
2411 2003-09-18 Angus Leeming <leeming@lyx.org>
2413 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2414 remove #include "insets/insetbase.h" from cursor.h.
2416 2003-09-18 Angus Leeming <leeming@lyx.org>
2418 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2419 InsetOld_code to remove #include "inset.h".
2421 * iterators.C: add #include "insets/inset.h"
2423 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2425 * BufferView.C: remove more locking stuff that apparently doesn't
2426 do anything sensible.
2428 2003-09-16 André Pönitz <poenitz@gmx.net>
2431 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2434 2003-09-16 Angus Leeming <leeming@lyx.org>
2436 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2438 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2441 * paragraph.h: remove #include "lyxfont.h". Forward declare
2444 2003-09-16 Angus Leeming <leeming@lyx.org>
2446 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2447 of support/textutils.h.
2448 (isWord): move the contents of support/textutils.h's IsWordChar here.
2454 * text2.C: add #include "paragraph.h".
2457 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2459 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * LaTeX.C: use namespace alias for lyx::support::os
2467 2003-09-16 Angus Leeming <leeming@lyx.org>
2470 * bufferview_funcs.C:
2473 * paragraph_pimpl.C:
2475 * text.C: add #include "LColor.h".
2477 2003-09-16 Angus Leeming <leeming@lyx.org>
2479 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2480 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2482 Store the FontBits::color variable as an int rather than as an
2483 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2486 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2487 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2488 string calls together.
2490 * lyxrc.C: add #include "LColor.h".
2492 2003-09-15 Angus Leeming <leeming@lyx.org>
2494 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2497 2003-09-15 Angus Leeming <leeming@lyx.org>
2499 * LColor.h: add an EnumLColor wrapper for LColor::color.
2501 * lyxfont.[Ch] (color, setColor, realColor):
2502 * lyxtext.h, text.C (backgroundColor):
2503 pass EnumLColor args to/from the functions, rather than LColor::color
2507 * lyxtext.h: forward declare EnumLColor.
2509 * lyx_main.C: add #include "LColor.h".
2511 2003-09-15 Angus Leeming <leeming@lyx.org>
2513 * .cvsignore: add lyx-gtk.
2515 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * ParagraphParameters.C
2524 * bufferview_funcs.C
2534 * vc-backend.C: remove usage of STRCONV
2536 2003-09-15 Angus Leeming <leeming@lyx.org>
2538 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2539 explicitly define the color passed to the painter.
2541 2003-09-15 Angus Leeming <leeming@lyx.org>
2543 * bufferparams.C (BufferParams): reorder member initializers to avoid
2546 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2548 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2549 * text.C (updateRowPositions): remove an unusual nop
2551 2003-09-12 André Pönitz <poenitz@gmx.net>
2553 * BufferView_pimpl.C:
2562 * Counters.[Ch]: finish the 'automatic counters' job
2564 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2566 * aspell.C: include <boost/assert.cpp> (compile fix)
2568 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2570 * boost.C (assertion_failed): use lyx::support::abort instead of
2573 2003-09-10 Angus Leeming <leeming@lyx.org>
2575 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2576 with their _fwd progeny.
2578 2003-09-09 Angus Leeming <leeming@lyx.org>
2580 134 files throughtout the source tree: replace 'using namespace abc;'
2581 directives with the appropriate 'using abc::xyz;' declarations.
2583 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2585 * boost.C (emergencyCleanup): moved here from LAssert.c
2586 (assertion_failed): new function, called by BOOST_ASSERT
2588 * several files: change Assert to BOOST_ASSERT
2590 2003-09-09 Angus Leeming <leeming@lyx.org>
2592 * buffer.[Ch]: Add an Impl class and move Buffer's member
2593 variables into it. As a result move several header files out of
2596 Add header files to lots of .C files all over the tree as a result.
2598 2003-09-09 Angus Leeming <leeming@lyx.org>
2600 * buffer.[Ch]: make Buffer's member variables private. Add
2603 Lots of changes all over the tree as a result.
2605 2003-09-08 Angus Leeming <leeming@lyx.org>
2607 * graph.C: #include <config.h>.
2609 2003-09-08 Angus Leeming <leeming@lyx.org>
2613 * BufferView_pimpl.C:
2642 * toc.C: remove redundant using directives.
2644 2003-09-07 Angus Leeming <leeming@lyx.org>
2646 * LaTeXFeatures.h: remove #include "support/types.h".
2647 * ToolbarBackend.h: remove #include <algorithm>.
2648 * changes.h: remove #include <ctime>.
2649 * debug.h: remove #include <iosfwd>.
2650 * graph.h: remove #include "support/std_string.h".
2651 * lyx_main.h: remove #include <csignal>.
2652 * lyxlex_pimpl.h: remove #include <fstream>.
2653 * sgml.h: remove #include <algorithm>, <utility>.
2654 * toc.h: remove #include "support/std_ostream.h".
2655 Add #include <iosfwd>.
2657 2003-09-07 Angus Leeming <leeming@lyx.org>
2659 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2661 * converter.h: forward declare LatexRunParams.
2662 * encoding.h: remove #include "lyxrc.h".
2663 * lyxtext.h: remove #include "LColor.h".
2664 * lyxtextclass.h: remove #include "support/types.h".
2665 * trans.h: remove #include "tex-accent.h".
2666 * trans_mgr.h: remove #include "tex-accent.h".
2667 * insets/inset.h: remove #include "support/types.h", <vector>.
2668 * insets/insetcollapsable.h: remove #include "LColor.h".
2669 * insets/insetinclude.h: remove #include "dimension.h".
2670 * insets/insetlatexaccent.h: remove #include "dimension.h".
2671 * insets/insetoptarg.h:: remove #include "insettext.h".
2672 * insets/insettext.h: remove #include "dimension.h",
2673 <boost/shared_ptr.hpp>
2675 * insets/renderers.h: add #include "dimension.h".
2676 * insets/updatableinset.h: add #include "support/types.h".
2678 * many .C files: Associated changes.
2680 2003-09-06 Angus Leeming <leeming@lyx.org>
2682 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2683 one, inside testInvariant.
2685 * PrinterParams.C: new file.
2686 * PrinterParams.[Ch]: move the function bodies out of line.
2688 2003-09-06 Angus Leeming <leeming@lyx.org>
2690 * ParagraphParameters.h: forward declare ParameterStruct rather than
2691 including its header file.
2692 (depth): moved out-of-line.
2694 2003-09-06 Angus Leeming <leeming@lyx.org>
2696 * BufferView_pimpl.h:
2699 * lyxfunc.h: forward declare LyXKeySym rather than
2700 #include "frontends/LyXKeySym.h".
2702 * BufferView_pimpl.C:
2705 * lyxfunc.C: associated changes.
2707 2003-09-06 Angus Leeming <leeming@lyx.org>
2709 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2710 As a result, can remove the #include "insets/inset.h" from BufferView.h
2712 2003-09-06 Angus Leeming <leeming@lyx.org>
2714 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2715 As a result, can remove the #include "insets/inset.h" from BufferView.h
2717 2003-09-06 Angus Leeming <leeming@lyx.org>
2723 * bufferview_funcs.C:
2724 * BufferView_pimpl.C:
2729 * ParagraphParameters.C:
2734 * frontends/controllers/ControlDocument.C:
2735 * insets/insetcaption.C: rearrange the #includes into some sort of
2738 * buffer.h: remove #includes ErrorList.h, undo.h
2740 2003-09-06 Angus Leeming <leeming@lyx.org>
2742 * support/types.h: add a 'depth_type' typedef, used to store the
2743 nesting depth of a paragraph.
2746 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2747 defining explicitly.
2750 * paragraph_funcs.h:
2751 * ParagraphParameters.h:
2752 * sgml.h: use lyx::depth_type rather than Paragraph or
2753 ParameterStruct's depth_type.
2756 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2759 * BufferView_pimpl.C:
2761 * ParagraphParameters.C:
2764 * bufferview_funcs.C:
2771 * frontends/LyXView.C:
2772 * frontends/controllers/ControlDocument.C:
2773 * frontends/controllers/ControlErrorList.C:
2774 * insets/insetbibitem.C:
2775 * insets/insetbranch.C:
2776 * insets/insetcaption.C:
2777 * insets/insetcollapsable.C:
2778 * insets/insetenv.C:
2779 * insets/insetert.C:
2780 * insets/insetfloat.C:
2781 * insets/insetfoot.C:
2782 * insets/insetfootlike.C:
2783 * insets/insetnewline.C:
2784 * insets/insetquotes.C:
2785 * insets/insettabular.C:
2786 * insets/insettext.C:
2787 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2789 * frontends/controllers/ControlChanges.C: #include "changes.h".
2791 2003-09-06 Angus Leeming <leeming@lyx.org>
2793 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2794 than #including paragraph.h.
2797 * RowList.h: deleted. Superfluous.
2807 * insets/insettext.h: use ParagraphList_fwd.h rather than
2810 * paragraph.h: don't forward declare ParagraphList.
2813 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2814 rather than ParagraphList.h. paragraph.h is still needed for the
2815 Paragraph::depth_type parameters.
2817 * textcursor.h: enable it to compile stand-alone in light of the
2820 * bufferview_funcs.C:
2832 * frontends/controllers/ControlParagraph.C:
2833 * frontends/controllers/ControlTabular.C:
2834 * insets/insetmarginal.C:
2835 * insets/insetminipage.C:
2836 * insets/insetnote.C:
2837 * insets/insetoptarg.C: add header files needed to compile again.
2839 2003-09-06 Angus Leeming <leeming@lyx.org>
2841 * RowList_fwd.h: new file, forward-declaring Row rather than
2842 #including lyxrow.h.
2847 * insets/insettext.h: use it instead of RowList.h
2849 * bufferview_funcs.C:
2856 * text3.C: #include "RowList.h".
2858 2003-09-05 Angus Leeming <leeming@lyx.org>
2860 * factory.C (createInset):
2861 * vspace.C (c-tor): replace sscanf call with an istringstream.
2862 * ispell.C: re-add missing HP/UX headers.
2863 * lyxserver.C: re-add missing os2 headers.
2865 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2874 * text3.C: re-add missing system headers, needed for 2.95.2.
2876 2003-09-05 Angus Leeming <leeming@lyx.org>
2878 Changes most place everywhere due to the removal of using directives
2879 from support/std_sstream.h.
2881 2003-09-05 Angus Leeming <leeming@lyx.org>
2883 Replace LString.h with support/std_string.h,
2884 Lsstream.h with support/std_sstream.h,
2885 support/LIstream.h with support/std_istream.h,
2886 support/LOstream.h with support/std_ostream.h.
2888 Changes resulting throughout the tree.
2890 2003-09-05 Angus Leeming <leeming@lyx.org>
2892 * sgml.h: ensure that the header file can be compiled stand-alone.
2893 * *.C: strip out redundant #includes. (320 in total.)
2895 2003-09-04 Angus Leeming <leeming@lyx.org>
2897 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2898 here (from getPackages).
2900 * debug.[Ch]: add a new EXTERNAL tag.
2902 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2904 * text2.C (cursorEnd): simplify
2906 (getColumnNearX): adjust
2908 * text.C (computeBidiTables): adjust
2911 * rowpainter.C (paintChars): adjust
2912 (paintSelection): adjust
2913 (paintChangeBar): adjust
2916 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2918 (numberOfSeparators): adjust
2920 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2926 * text3.C: Restricts the mouse click functionality
2927 of insets like bibtex, include, toc and floatlist to the visible
2928 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2929 up the dialogs. Cursor has to be in front of the inset (i.e.
2930 start of row) for this to function.
2932 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2934 * bufferview_funcs.C (currentState): output row information
2936 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2938 * bufferview_funcs.C (currentState): output paragraph position
2940 2003-09-04 Angus Leeming <leeming@lyx.org>
2942 * FloatList.h: move out #include "Floating.h".
2943 * LaTeX.h: move out #include "DepTable.h".
2944 * LyXAction.h: move out #include "funcrequest.h".
2945 * buffer.h: move out #include "author.h", "iterators.h".
2946 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2947 * lyx_main.h: move out #include "errorlist.h".
2948 * lyxfunc.h: move out #include "FuncStatus.h".
2949 * lyxtext: move out #include "lyxcursor.h".
2950 * paragraph_pimpl.h: move out #include "counters.h".
2952 2003-09-03 Angus Leeming <leeming@lyx.org>
2954 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2955 preamble_snippets list, enabling us to add snippets to the preamble
2956 only if the snippet was not there already.
2958 2003-09-04 Angus Leeming <leeming@lyx.org>
2960 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2962 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2967 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2969 * BranchList.C: point fix, earlier forgotten
2971 2003-09-02 Angus Leeming <leeming@lyx.org>
2973 * box.C (contains): renamed from 'contained' after a fantastic
2976 2003-09-02 John Levon <levon@movementarian.org>
2982 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2984 2003-09-02 John Levon <levon@movementarian.org>
2986 * text2.C: simplification of cursorEnd(), including partial
2989 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * buffer.C (readFile): add a space
2993 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2995 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2997 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * buffer.C (readFile): new function, take a filename and a
3000 ParagraphList::iterator
3002 (readFile): adjust, make it private. don't use setStream, make
3003 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3004 always contain the filename.
3006 * BufferView.C (insertLyXFile): simplify and make it work for
3009 2003-08-30 John Levon <levon@movementarian.org>
3011 * Makefile.am: fix dist (from Kayvan)
3013 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * most files: change to use const Buffer refs
3017 2003-08-27 André Pönitz <poenitz@gmx.net>
3019 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3020 on top of ownerPar().
3022 2003-08-27 John Levon <levon@movementarian.org>
3024 * funcrequest.C: properly initialise POD members
3026 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3028 * lyxtext.h (top_y): move top_y from here
3033 * BufferView_pimpl.[Ch]: to here
3034 * frontends/screen.C:
3035 * insets/insettabular.C:
3036 * insets/insettext.C: adjust
3037 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3039 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3042 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3044 2003-08-26 André Pönitz <poenitz@gmx.net>
3046 * paragraph_func.[Ch] (outerPar): new function
3049 * paragraph_funcs.C:
3050 * paragraph_funcs.h:
3051 * paragraph_pimpl.C:
3052 * text2.C: remove Inset::par_owner
3054 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3059 * text2.C: eliminates the needFullRow/display() stuff
3060 altogether, putting the logic in metrics/draw in the insets.
3062 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3064 * text2.C (redoParagraphInternal, redoParagraphs):
3065 * text.C (redoParagraph): add a call to updateRowPositions at the
3066 end of each 'metrics-like' call. Remove all others.
3067 (getRow): remove the 'y-computing' version.
3068 (getRowNearY): do not compute nor return the real y. Solve the
3069 'y < 0' problem and simplify.
3071 2003-08-22 Angus Leeming <leeming@lyx.org>
3073 * *.[Ch]: clean-up of licence and author blurbs.
3074 Also move config.h out of a few .h files and into a few .C files.
3076 2003-08-22 André Pönitz <poenitz@gmx.net>
3078 * lyxrow.[Ch]: add x_ and *fill_ members
3083 * text2.C: adjust/remove prepareToPrint() calls
3085 2003-08-22 André Pönitz <poenitz@gmx.net>
3087 * lyxrow.[Ch]: add end_ member
3089 * lyxrow_funcs.C: use LyXRow::end_
3091 * lyxtext.h (singleWidth): add LyXFont parameter
3094 * text2.C: adjust LyXText::singleWidth() calls
3096 * text.C (redoParagraph): simplify row breaking logic
3099 2003-08-19 André Pönitz <poenitz@gmx.net>
3101 * funcrequest.C: initialize button_ member
3104 * rowpainter.[Ch]: interface consolidation
3106 2003-08-18 André Pönitz <poenitz@gmx.net>
3109 * BufferView_pimpl.C:
3111 * paragraph_funcs.C:
3113 * text3.C: remove LyXScreen::draw() and fitCursor calls
3115 * BranchList.h: remove spurious semicolons
3117 * MenuBackend.C: fix branchlist related crash
3119 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3127 * bufferparams.[Ch]:
3131 * text3.C: implements the 'branch inset'
3132 idea. This allows the output of various versions of a document
3133 from a single source version, selectively outputing or suppressing
3134 output of parts of the text.
3135 This implementation contains a 'branch list editor' in a separate
3136 tab of the document settings dialog. Branches are user definable
3137 and have a "display colour" to distinguish them on-screen.
3139 ColorHandler was somewhat cleaned up.
3140 (1) make possible a dynamically growing LColor list by allowing
3141 the graphic context cache to grow along (vector);
3142 (2) eliminate an IMHO unnecessary step in colour allocation.
3144 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3146 * BufferView_pimpl.C: compile fix
3148 2003-08-15 André Pönitz <poenitz@gmx.net>
3150 * rowpainter.C: remove extra metrics calls
3152 * lyxtext.h: merge the two constructors into a single one,
3153 pass reference to owner's par list
3155 * BufferView_pimpl.C:
3159 2003-08-15 André Pönitz <poenitz@gmx.net>
3161 * lyxrow_funcs.[Ch]:
3164 * paragraph_funcs.C:
3169 * text_funcs.C: split LyXText::rowlist_ into individual
3170 Paragraph::rows_ chunks
3173 * BufferView_pimpl.[Ch]:
3176 * text3.C: remove toggleSelection()
3178 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3180 * bufferlist.C: beautify two alerts (shorter text of buttons)
3181 * buffer.C: Remove redundant ' ' from message
3183 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3184 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3185 rename VALIGN_CENTER to VALIGN_MIDDLE
3187 2003-08-11 André Pönitz <poenitz@gmx.net>
3189 * lyxtext.h (getPar):
3190 * text.C: new function
3192 2003-08-11 André Pönitz <poenitz@gmx.net>
3195 * tracer.[Ch]: remove unneeded files
3197 * InsetList.[Ch]: remove resizeInsetsLyXText()
3202 * text3.C: merge insertParagraphs() and appendParagraph()
3203 remove breakAgain(), update()
3205 * BufferView_pimpl.[Ch]:
3206 * bufferview_funcs.[Ch]:
3210 * tabular.C: adjust after text & InsetList changes.
3212 2003-08-08 André Pönitz <poenitz@gmx.net>
3214 * text.C (insertChar, backspace): replace rowlist fiddling
3215 with rebreak of full par
3218 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3219 checkParagraph, updateInset): removed
3221 2003-08-07 André Pönitz <poenitz@gmx.net>
3224 * text3.C: merge some LFUN handlers, remove dead code
3226 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3230 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3232 * text2.C (DEPM): fix part of bug 1255 and 1256
3234 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3236 * BufferView_pimpl.C (workAreaDispatch): change to use
3237 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3238 that are no mouse related.
3240 2003-08-05 André Pönitz <poenitz@gmx.net>
3243 * BufferView_pimpl.[Ch]:
3244 * bufferview_funcs.C:
3246 * text3.C: rip out "deep update"
3248 * textcursor.[Ch] (last_sel_cursor): remove unused member
3250 2003-08-04 André Pönitz <poenitz@gmx.net>
3253 * BufferView_pimpl.[Ch]:
3254 * ParagraphParameters.C:
3255 * bufferview_funcs.C:
3261 * text3.C: replace "complicated" BufferView::update(...) calls with
3264 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3266 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3268 * Makefile.am (lyx_SOURCES): add paper.h
3270 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3272 * Makefile.am: move things around so that both lyx-qt and
3273 lyx-xforms can be built (according to --with-frontend). Then lyx
3274 is a symbolic link to lyx-[firstfrontend]
3276 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3278 * Always use std::endl with lyxerr
3280 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3282 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3284 2003-08-01 André Pönitz <poenitz@gmx.net>
3287 * BufferView_pimpl.[Ch]:
3289 * text3.C: merge BufferView::repaint() and BufferView::update()
3291 2003-08-01 José Matos <jamatos@lyx.org>
3293 * buffer.[Ch]: file_format is no longer a buffer data element.
3295 2003-08-01 André Pönitz <poenitz@gmx.net>
3300 * text2.C: make redoParagraph more independent of current cursor
3302 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3304 * text2.C: remove unneeded members
3306 2003-07-30 André Pönitz <poenitz@gmx.net>
3308 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3310 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3311 create a single function...
3313 * paragraph_funcs.C (moveItem): ... here.
3316 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3318 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3320 * LColor.[Ch]: Add comment and greyedout logical colors.
3322 2003-07-30 André Pönitz <poenitz@gmx.net>
3324 * tabular.C: don't use Assert too heavily. This crashes where it
3327 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3329 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3330 is disabled (bug 1232)
3332 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3334 * factory.C: limited 'arg' scope
3336 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3338 * factory.C: fixed Note submenu issues
3340 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3342 * factory.C: submenu for Note/Comment/Greyedout
3344 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3347 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3349 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3352 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3353 greyedout. Patch provided by Jürgen Spitzmüller.
3355 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3357 * kbmap.C (read): fix error message when reading bind files
3359 2003-07-29 Angus Leeming <leeming@lyx.org>
3361 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3362 certainly does not do what it purports to do. I am doing it, and
3363 us, a favour by killing it.
3365 2003-07-28 José Matos <jamatos@lyx.org>
3367 * buffer.C (readBody, do_writeFile):
3368 * paragraph.C(readParagraph): \end_document replaces \the_end.
3370 2003-07-29 André Pönitz <poenitz@gmx.net>
3373 * BufferView_pimpl.[Ch]:
3377 * textcursor.[Ch]: remove toggleToggle & Co
3379 2003-07-28 José Matos <jamatos@fep.up.pt>
3381 * buffer.C (readParagraph):
3382 * params_func (readParToken, readParagraph):
3383 * paragraph.C (write): \layout -> \begin_layout.
3385 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * lyxlex_pimpl.C (setFile): clean up slightly.
3389 * bufferparams.h: add compressed var
3391 * buffer_funcs.C (readFile): adjust for LyXLex change
3392 (newFile): ditto + simplify
3394 * buffer.C (writeFile): handle writing of compressed files
3396 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3397 Check if the file is compressed and set a bufferparm if so.
3399 * Makefile.am (lyx_LDADD): remove explicit -lz
3401 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3403 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3404 makeDocBookFile): put the real LyX version in the first line of
3408 * version.C.in: remove lyx_docversion
3410 * tabular.C (write_attribute): add a template-based version to
3411 write enums properly
3413 2003-07-28 André Pönitz <poenitz@gmx.net>
3418 * text3.C: use doubles again for x-coordinates. They are needed.
3420 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * messages.C (getLocaleDir): use lyx_localedir()
3424 * lyxlex_pimpl.C (setFile): compress stuff
3426 * buffer.C (writeFile): add some compression stuff
3427 (do_writeFile): new func, dont call expliti close... will this
3430 * Makefile.am (lyx_LDADD): add -lz
3432 2003-07-28 José Matos <jamatos@fep.up.pt>
3434 * buffer.C: increment file format.
3435 * paragraph_funcs (readParagraph, readParToken):
3436 * paragraph.C (readParagraph): add \end_layout.
3438 2003-07-27 Angus Leeming <leeming@lyx.org>
3440 * Makefile.am: remove special casing for configure-time setting of
3441 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3443 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3444 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3446 2003-07-26 André Pönitz <poenitz@gmx.net>
3448 * paragraph_func.[Ch]:
3449 * paragraph.C (realizeFont): inline it whereever it is used
3454 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3457 2003-07-26 André Pönitz <poenitz@gmx.net>
3461 * text2.C: get rid of LyXText::need_break_row
3463 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * toc.[Ch]: put namespace toc inside namespace lyx
3467 * MenuBackend.C (expandToc2): adjust for lyx::toc
3470 * lyxfunc.C (dispatch): adjust for lyx::find
3472 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3473 lyx::find instead. Reorganize a bit.
3474 (LyXReplace): rename to replace
3475 (LyXFind): rename to find
3477 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3480 2003-07-26 André Pönitz <poenitz@gmx.net>
3482 * text.C (setHeightOfRow): restrict scope of temporary variable
3484 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3485 code (never has been used?)
3487 2003-07-27 Asger Alstrup <alstrup@local>
3489 * text.C (fill): Optimise algorithm to exploit that we can reuse
3490 the LyXFont for many characters.
3491 (setHeightOfRow): Same thing.
3492 (rowBreakPoint): Same thing.
3494 2003-07-26 Asger Alstrup <alstrup@local>
3496 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3498 * text.C (singleWidth): Spurious font copying in hot-spot
3499 singleWidth avoided. Reorder tests for arabic for efficiency.
3501 * text.C (fill): handle empty paragraphs better.
3503 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3506 * encoding.h: add includes
3508 * lyxrc.C: remove reading of bind files
3510 * lyx_main.C (init): setup bindings and menus only if we have a
3513 * kbmap.C (read): new method. Do the actual reading of bind
3516 * converter.C (dvipdfm_options):
3519 (output): adapt PAPER_* enums.
3521 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3523 * bufferparams.h: remove paper-related enums from there
3525 * paper.h: New file. A trivial header file to hold paper-related
3526 enums. It should later expand to contain many paper-related
3529 * lyxrc.C: declare extern displayTranslator
3531 2003-07-27 José Matos <jamatos@fep.up.pt>
3533 * tabular.[Ch] (linuxdoc): add support for tables and figures
3536 2003-07-27 José Matos <jamatos@fep.up.pt>
3538 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3539 consistency in both functions.
3540 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3542 2003-07-26 Asger Alstrup <alstrup@local>
3544 * rowpainter.C (paintRows): Change algorithm to work directly on
3545 the insets rather than asking every character in the document
3546 whether its an inset.
3548 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3550 * buffer.C (openFileWrite): factorize some code
3552 2003-07-26 Angus Leeming <leeming@lyx.org>
3555 * lyx_main.[Ch]: replace occurances of system_tempdir with
3558 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * rename Inset to InsetOld
3562 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3564 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3565 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3566 which I think is a bit clearer. EDIT is gone, since it was
3567 premature optimisation, and broken for mathed anyway.
3568 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3569 with cursor positioning in insets as well (math insets still do not
3570 work, but that's a different story anyway.) It mysteriously
3571 crashes sometimes with undo in the first paragraph, but I'm fairly
3572 confident that this is a compiler bug.
3574 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * paragraph.C (Paragraph): adjust for new clone return type
3578 (copyIntoMinibuffer): ditto
3580 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3582 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3583 by not having a special case, and always doing a full rebreak of
3584 the document after undo.
3586 2003-07-23 Angus Leeming <leeming@lyx.org>
3588 * factory.C (createInset): InsetExternal::setParams now takes a
3591 2003-07-23 Angus Leeming <leeming@lyx.org>
3593 * factory.C (createInset): changed interface to the external and
3594 graphics mailers' string2params functions.
3596 2003-07-23 Angus Leeming <leeming@lyx.org>
3598 * factory.C (createInset): pass a
3599 Buffer const * parameter to InsetExternalMailer's string2params.
3601 2003-07-22 John Levon <levon@movementarian.org>
3603 * Thesaurus.h: include the right aiksaurus header
3605 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3607 * MenuBackend.C (expand): check menu shortcuts unconditionally
3609 2003-07-21 Angus Leeming <leeming@lyx.org>
3611 * factory.C (createInset): pass a
3612 buffer_path parameter to InsetGraphicsMailer's string2params.
3614 2003-07-21 Angus Leeming <leeming@lyx.org>
3616 * BufferView_pimpl.C (buffer):
3619 * lyxfunc.C (dispatch):
3620 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3621 rather than the grfx shortcut.
3623 2003-07-21 André Pönitz <poenitz@gmx.net>
3625 * rowpainter.C: remove unused variables
3628 * tabular_funcs.h: move to tabular.C
3629 * Makefile.am: adjust
3631 * tabular.[Ch]: basic optical cleaning
3633 * author.h: pass references, not values
3635 2003-07-18 André Pönitz <poenitz@gmx.net>
3643 * text3.C: two-phase drawing for InsetText and InsetTabular
3644 some float -> int changes.
3646 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3648 * lyx_main.C: fix the fix
3650 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3652 * lyx_main.C: fix a crash in batch mode if no files specified
3655 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3657 * format.[Ch] (papersize): moved to BufferParams
3658 * converter.[Ch] (dvips_options): moved to BufferParams
3659 (dvipdfm_options): moved to anon namespace
3660 * bufferparams.[Ch]: added above functions.
3662 2003-07-17 André Pönitz <poenitz@gmx.net>
3666 * text2.C: don't call inset->update() anymore
3668 * metricsinfo.[Ch]: add convenience constructor
3670 2003-07-16 André Pönitz <poenitz@gmx.net>
3675 * text2.C: replace the LyXCursor::irow_ member with
3676 on-demand computation of the value
3678 2003-07-16 John Levon <levon@movementarian.org>
3680 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3682 2003-07-15 André Pönitz <poenitz@gmx.net>
3685 * text2.C: remove no more needed refresh_row
3687 2003-07-15 André Pönitz <poenitz@gmx.net>
3692 * text3.C: refresh_status tristate -> need_update bool
3694 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3696 * lyxtext.h (init): remove reinit argument (act as if always true)
3697 * text2.C: adjust to that
3699 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3701 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3702 * text3.C: use it to delete selections in some cases
3703 (bugs 441, 673, 702, 954).
3705 2003-07-14 André Pönitz <poenitz@gmx.net>
3707 * rowpainter.[Ch]: reduce interface
3709 2003-07-14 André Pönitz <poenitz@gmx.net>
3711 * BufferView_pimpl.C:
3712 * text2.C: adjust after removing unused BufferView * argument
3714 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3716 * text2.C (init): fix a crash fired on resize
3718 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3720 * buffer.[Ch]: added new closing signal
3721 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3722 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3723 BufferView::Pimpl via the closing the signal
3725 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3727 * buffer.[Ch]: take out all bv-related from buffer
3729 * BufferView_pimpl.[Ch]: connect to new signals
3730 * CutAndPaste.C: removed useless asserts
3731 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3734 * lyxfunc.C: moved view-related funciontality from vc here
3735 * paragraph.C: removed outdated comments
3738 2003-07-10 André Pönitz <poenitz@gmx.net>
3740 * BufferView_pimpl.C:
3744 * text2.C: remove InsetText::InnerCache, clean up consequences
3746 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3748 * ispell.C: fix two typos in error messages
3750 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3752 * Extend Note inset to other forms of annotation like Comment
3753 and Greyedout. Right button click gives dialog.
3755 Files modified or added (+):
3759 * ControlNote.[Ch] +
3761 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3762 frontends/controllers
3766 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3768 * aspell.C: add missing namespace lyx::support
3770 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3772 * BufferView.[Ch] (newFile): Add
3773 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3774 * LaTeX.[Ch] (message): added this signal and use it
3775 * buffer.[Ch] (busy, message): added these signals and use them
3776 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3780 * importer.C: use buffer signals instead of direct bv calling
3781 * lyx_cb.[Ch] (ShowMessage): removed
3784 * paragraph_funcs.C:
3785 * text2.C: use buffer signals
3787 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * introduce namespace lyx::graphics
3791 2003-07-02 André Pönitz <poenitz@gmx.net>
3793 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3795 2003-07-01 André Pönitz <poenitz@gmx.net>
3802 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3803 text*.C to text_func.C
3805 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * introduce namespace lyx::support
3809 2003-06-30 André Pönitz <poenitz@gmx.net>
3814 * text.C: re-enable --with-included-string
3816 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * textcursor.C: add <config.h>
3820 * text.C (getWord): remove const from word_location arg
3822 * lyxvc.C (getLogFile): fix const type order
3824 * lyxtext.h: remove const from word_location arg, add arg name
3826 * lyxlayout.h: currect type on labeltype.
3828 * importer.C: correct \file
3830 * converter.C (intToFormat): use std:: on ret val, ws changes
3832 * bufferlist.h: correct \file
3834 * buffer.C (makeLinuxDocFile): fix const type order
3835 (makeDocBookFile): ditto
3836 (fillWithBibKeys): use std:: on stdlib args.
3838 * CutAndPaste.C: fix authors.
3839 (availableSelections): use std:: on return vector
3841 2003-06-27 André Pönitz <poenitz@gmx.net>
3843 * BufferView_pimpl.C:
3844 * bufferview_funcs.C:
3852 * text3.C: remove LyXCursor::row_ member
3855 * text.C: rename fullRebreak() to partialRebreak() and implement
3856 a fullRebreak() that really bereks fully
3858 * textcursor.h: new struct for cursor-related data
3860 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3862 * lyx_main.C (LyX): get full path of document loaded on the
3865 2003-06-26 André Pönitz <poenitz@gmx.net>
3867 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3868 remove unused/broken operator>,<,>=.
3870 * text.C: remove only use of broken operator<= in an Assert().
3872 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3874 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3875 moved errorlist_.clear to showErrorList
3877 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3879 * converter.C (scanLog, runLaTeX):
3880 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3881 move the bv->showErrorList call to the callers
3882 * lyxfunc.C: i.e. here...
3884 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3885 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3886 namespace, the second to...
3887 * buffer_funcs (BufferFormat, parseErrors): added
3888 * errorlist.C (ErrorList(TeXErrors const &)): removed
3890 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3892 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3894 2003-06-24 "Garst R. Reese" <reese@isn.net>
3898 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3900 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3902 * version.C.in: change docversion to 1.4
3904 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3906 * buffer.C: fix a bug just introduced
3908 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3910 * buffer.[Ch]: added the parseError signal and use it, removed
3912 * BufferView.[Ch] (addError): moved to ...
3913 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3914 to the Buffer::parseError signal to catch (guess what) parse errors
3915 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3917 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3919 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3920 ability to create a buffer and to return an existing one from
3921 the list. Moved these functions to...
3922 * buffer_funcs.[Ch]: added
3923 * BufferView.[Ch] (loadLyXFile): added
3924 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3925 job removed from bufferlist::loadLyXFile.
3926 * buffer.C (setReadOnly): make it work without view
3927 (i.e added an if (users))
3929 2003-06-19 Angus Leeming <leeming@lyx.org>
3932 * LyXAction.C (init):
3933 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3934 with LFUN_DIALOG_SHOW <name> <data>.
3936 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3938 * CutAndPaste.C (availableSelections): small compilation fix for
3939 ancient (gcc 2.9x) compilers
3941 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * text3.C (cursorNext): add tmp var
3945 * text2.C (updateCounters): for function calling out of for clause
3946 (replaceSelectionWithString): ditto
3947 (insertStringAsParagraphs): ditto
3948 (getColumnNearX): add tmp var
3949 (setCursorFromCoordinates): add tmp var
3950 (cursorDownParagraph): add tmp var
3951 (deleteEmptyParagraphMechanism): add tmp var
3953 * text.C (insertChar): add tmp var
3955 * rowpainter.C (paintDepthBar): add tmp var
3957 * CutAndPaste.C (availableSelections): potentially check all
3958 paragraphs in a cut to fill the shown strings.
3960 2003-06-18 André Pönitz <poenitz@gmx.net>
3962 * kbmap.[Ch]: use vector<> instead of list<>
3964 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3966 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3967 pasteSelection with index
3969 * text2.C (pasteSelection): modify, call pasteSelection with index
3971 * paragraph.C (asString): reimplement version with no interval to
3972 call the one with interval.
3974 * lyxtext.h: add index arg to pasteSelection
3976 * MenuBackend.C (MenuItem): handle PasteRecent
3977 (Menu::read::Menutags): add md_pasterecent
3979 (expandPasteRecent): new function
3982 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3984 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3986 (availableSelections): new function
3988 2003-06-17 Angus Leeming <leeming@lyx.org>
3990 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3992 2003-06-17 Angus Leeming <leeming@lyx.org>
3995 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3997 * lyxfunc.C (dispatch): invoke it.
3999 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4001 * iterators.C (operator++, ParPosition): reintroduce some
4002 const_cast for the benefit of older compilers.
4004 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4006 * text3.C (dispatch): do not modify clipboard when doing
4007 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4008 LFUN_DELETE_SKIP on a selection selection
4010 2003-06-16 André Pönitz <poenitz@gmx.net>
4016 * tabular.[Ch]: IU of clone() and getLabelList();
4018 2003-06-13 André Pönitz <poenitz@gmx.net>
4020 * tabular.h: compactification
4022 2003-06-12 André Pönitz <poenitz@gmx.net>
4026 * tabular_funcs.h: some renaming plus whitespace
4028 2003-06-12 André Pönitz <poenitz@gmx.net>
4031 * BufferView_pimpl.C:
4037 * toc.C: Return a Paragraph & for ParIterator::operator*()
4039 2003-06-11 John Levon <levon@movementarian.org>
4043 * ToolbarBackend.C: add "Toolbars" section and
4046 2003-06-10 Angus Leeming <leeming@lyx.org>
4049 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4051 * lyxfunc.C (dispatch): invoke it.
4053 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * main.C: protect <ios> with HAVE_IOS
4056 (main): protect sync_with_stdio with HAVE_IOS
4058 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4060 * text2.C (cutSelection): adjust
4061 (pasteSelection): adjust
4063 * messages.C: handle get of empty string
4065 * main.C (main): use sync_with_stdio(false)
4067 * lyxfunc.C (dispatch): adjust
4069 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4070 (WriteAs): remove unneeded BufferView arg.
4072 * bufferparams.h: use correct types on papersize, papersize2 and
4075 * bufferparams.C (readToken): adjust for type
4076 (writeLaTeX): add missing cases to switch.
4078 * bufferlist.C (quitWriteBuffer): adjust
4081 * buffer.C (asciiParagraph): remove some commented code.
4083 * CutAndPaste.C: remove current_view extern variable.
4084 (cutSelection): add BufferParams arg.
4085 (eraseSelection): add BufferParams arg.
4086 (pasteSelection): add Buffer const & arg
4088 2003-06-07 John Levon <levon@movementarian.org>
4091 * paragraph_funcs.C:
4092 * paragraph_pimpl.C:
4096 * paragraph.C: allow InsetERT to freely space lines,
4097 and some consolidation of code
4099 2003-06-06 José Matos <jamatos@fep.up.pt>
4101 * buffer.C (makeDocBookFile): fix bug #821
4103 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4105 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4107 2003-06-04 Angus Leeming <leeming@lyx.org>
4109 * buffer.C: bump format to 224.
4111 2003-06-05 André Pönitz <poenitz@gmx.net>
4113 * text2.C (redoParagraphs): remove two const_cast<>
4115 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4117 * ParagraphList.h: remove last remnants of NO_STD_LIST
4119 2003-06-03 Angus Leeming <leeming@lyx.org>
4121 * factory.C (createInset): small change to the way InsetExternal's params
4124 2003-06-04 André Pönitz <poenitz@gmx.net>
4126 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4128 * paragraph_pimpl.h:
4129 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4131 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4133 * undo_funcs.C: make some simple cases of undo work again
4135 2003-06-03 John Levon <levon@movementarian.org>
4137 * ispell.C: HPUX doesn't have sys/select.h
4140 2003-06-03 John Levon <levon@movementarian.org>
4142 * CutAndPaste.C: update tabular and include inset
4147 * paragraph.C: remove owningBuffer(), don't pass Buffer
4150 * factory.C: insetGraphicsParams changed
4152 2003-06-02 John Levon <levon@movementarian.org>
4158 * text3.C: remove insetparent
4160 2003-06-02 John Levon <levon@movementarian.org>
4163 * buffer.C: fix inset_iterator.end(), move out of line
4166 2003-06-01 John Levon <levon@movementarian.org>
4168 * text3.C: use a proper cut/paste when doing inset
4169 insert (from Jürgen Spitzmüller)
4171 2003-06-01 John Levon <levon@movementarian.org>
4173 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4175 2003-05-30 André Pönitz <poenitz@gmx.net>
4177 * rowpainter.C: unify second drawing phase
4179 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * trans_mgr.C: remove one case of current_view
4183 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4185 * paragraph_funcs.h: remove paragraph.h include
4187 * paragraph.h: delete NO_STD_LIST stuff
4189 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4191 * buffer.h: remove paragraph.h include
4193 * ParagraphList.C: delete file
4195 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4197 * toc.C (getTocList): adjust
4199 * paragraph_pimpl.C (validate): adjust
4201 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4203 * paragraph.C (Paragraph): adjust
4204 (getPositionOfInset): use const_iterator, adjust
4205 (bibitem): use const_iterator, adjust
4206 (setInsetOwner): adjust
4208 * iterators.C (operator++): adjust
4210 * InsetList.[Ch]: Replace selfmade iterator with standard
4211 vector::iterator also introduce const_iterator. Remove getPos,
4212 getInset and setInset from InsetTable. Adjust accordingly.
4214 * BufferView.C (lockInset): adjust
4215 (ChangeInsets): adjust
4217 * tabular.[Ch]: delete commented same_id functions
4219 2003-05-28 John Levon <levon@movementarian.org>
4221 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4223 2003-05-28 André Pönitz <poenitz@gmx.net>
4225 * metricsinfo.[Ch]: remove 'fullredraw' member
4227 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4229 * lyxtextclass.C (operator): remove caching.
4231 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * text2.C (cursorBottom): adjust
4236 (setCounter): use ParagraphList::find, adjust
4238 * text.C (workWidth): use ParagraphList::find, adjust
4240 * lyxcursor.C (LyXCursor): adjust
4242 * buffer.C (inset_iterator): adjust
4244 * ParagraphList.h: make iterator(value_type) private, make
4245 ParagraphList a friend of iterator.
4247 * ParagraphList.C (find): new function
4249 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4251 2003-05-27 André Pönitz <poenitz@gmx.net>
4253 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4255 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4257 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4259 2003-05-26 John Levon <levon@movementarian.org>
4261 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4263 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * remove same_id from function signatures, adjust.
4267 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4271 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4273 * paragraph.C (Paragraph): get rid of same_ids parameter
4275 * ParagraphList.C (insert): adjust
4278 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * paragraph_funcs.C (breakParagraph): adjust
4281 (breakParagraphConservative): adjust
4283 * buffer.C (readParagraph): adjust
4285 * ParagraphList.C (insert): take a reference instead of a pointer
4288 * paragraph.[Ch] (id): new function
4290 * bufferlist.C (newFile): adjust
4292 * ParagraphList.C (ParagraphList): adjust
4294 (push_back): take a reference instead of a pointer.
4296 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4298 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4301 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4302 set else use old code.
4304 * ParagraphList.C: remove all NO_NEXT code and only compile this
4305 code of NO_STD_LIST is set.
4307 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4309 * BufferView_pimpl.C:
4319 * graphics/GraphicsConverter.C:
4320 * graphics/PreviewLoader.C: header adjustment
4322 2003-05-23 Angus Leeming <leeming@lyx.org>
4324 * LaTeXFeatures.[Ch] (useBabel): new method.
4325 * bufferparams.C (writeLaTeX): use it.
4327 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * ParagraphList.h (set): remove unused function.
4331 2003-05-23 André Pönitz <poenitz@gmx.net>
4334 * BufferView_pimpl.C:
4338 * undo_funcs.C: setUndo reworked
4340 * iterators.[Ch]: add access to topmost ParagraphList
4342 * lyxtext.[Ch] (workWidth): add a const
4344 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4346 * texrow.[Ch] (increasePos): remove function
4347 * exporter.C (export): removed unused var and outdated comment
4349 2003-05-23 Angus Leeming <leeming@lyx.org>
4351 * latexrunparams.h: rename fragile as moving_arg.
4352 * paragraph.C (simpleTeXOnePar): ditto.
4353 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4355 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4359 (textUndoOrRedo): comment out a currently unused var.
4361 * paragraph.h (NO_NEXT): enable NO_NEXT
4363 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4365 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4367 * exporter.C (Export): adjust for removeAutoInsets removal.
4369 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4371 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4373 * BufferView.[Ch] (removeAutoInsets): delete function
4375 2003-05-22 Angus Leeming <leeming@lyx.org>
4377 * latexrunparams.h: add a free_spacing variable.
4379 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4380 to pass moving_arg, as the data is stored in runparams.fragile.
4382 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4383 to Inset::latexOptional or to simpleTeXOnePar.
4385 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4386 free_spacing arg to Inset::latexOptional.
4388 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4391 2003-05-22 Angus Leeming <leeming@lyx.org>
4393 * latexrunparams.h: add fragile and use_babel variables.
4395 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4396 * buffer.C (makeLaTeXFile): store this returned value in
4397 runparams.use_babel, thus passing it to the inset::latex methods.
4399 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4400 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4402 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4403 longer has a fragile arg, as it is stored in runparams.fragile.
4405 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4406 moving_arg parameter as the data is stored in runparams.fragile.
4408 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4409 a fragile parameter as the data is stored in runparams.fragile.
4411 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4413 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4415 2003-05-22 Angus Leeming <leeming@lyx.org>
4417 * latexrunparams.h: add a 'bool nice' which defaults to false.
4419 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4420 now encapsulated within runparams.
4422 * bufferlist.C (updateIncludedTeXfiles):
4423 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4425 2003-05-22 Angus Leeming <leeming@lyx.org>
4427 * latexrunparams.h: new file containing struct LatexRunParams.
4428 * Makefile.am: add new file.
4430 * LaTeX.[Ch] (c-tor, run):
4431 * buffer.[Ch] (makeLaTeXFile):
4432 * bufferlist.[Ch] (updateIncludedTeXfiles):
4433 * converter.C (convert, scanLog):
4434 * converter.[Ch] (runLaTeX):
4435 * exporter.C (Export):
4436 * paragraph.[Ch] (simpleTeXOnePar):
4437 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4438 * paragraph_funcs.[Ch] (latexParagraphs):
4439 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4440 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4441 pass around a LatexRunParams parameter.
4443 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * paragraph.[Ch]: remove unused constructor
4447 * ParagraphList.C (erase): new function, taking two iterators
4449 2003-05-22 André Pönitz <poenitz@gmx.net>
4451 * undo_funcs.C: remove duplicated code
4453 * iterator.[Ch]: operator=
4455 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * tabular.C (SetMultiColumn): ws changes
4459 * rowpainter.C (paintFirst): get rid of a ->previous
4461 * lyx_cb.C (getPossibleLabel): parlist simplification
4463 * BufferView.C (ChangeInsets): simplify slightly.
4465 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4467 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4468 * lfuns.h: new LFUN_SPACE
4469 * lyxfunc.C: protected space has a new lfun
4470 * paragraph_funcs.C: read new space insets
4472 * factory.C: handle new space insets
4474 2003-05-22 André Pönitz <poenitz@gmx.net>
4477 * BufferView_pimpl.C:
4480 * undo_funcs.C: return a ParIterator from getParFromID.
4482 * iterators.[Ch]: add two const's
4484 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * toc.C (getTocList): adjust
4488 * iterators.[Ch]: rework for parlist
4490 * buffer.C (par_iterator_begin): adjust
4491 (par_iterator_end): adjust
4493 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4495 * BufferView.C (removeAutoInsets): adjust
4496 (ChangeInsets): adjust
4498 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4500 * text.C (top_y): fix bug 1110
4502 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4504 * errorlist.[Ch]: added
4507 * BufferView_pimpl.C:
4508 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4511 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * Makefile.am: ensure that lyx is relinked upon changes to the
4514 various "convenience" libs.
4516 2003-05-20 Angus Leeming <leeming@lyx.org>
4518 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4519 files are compiled in alphabetical order again.
4521 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4523 2003-05-19 Angus Leeming <leeming@lyx.org>
4525 * gettext.[Ch]: remove "char const * _(char const *)".
4527 2003-05-19 André Pönitz <poenitz@gmx.net>
4529 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4538 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4540 2003-05-19 André Pönitz <poenitz@gmx.net>
4544 * lyxtextclass.[Ch]:
4546 * paragraph_funcs.[Ch]:
4548 * text3.C: more insetenv work
4550 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4552 * ParagraphParameters.C (params2string): small bug fixed
4554 2003-05-16 André Pönitz <poenitz@gmx.net>
4557 * bufferview_funcs.C: patch from Kornel Benko to prevent
4558 crash when _(...) is called twice in a statement
4560 2003-05-16 André Pönitz <poenitz@gmx.net>
4567 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4569 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4571 * lyx_main.C (init): remove spurious static_cast
4573 2003-05-14 André Pönitz <poenitz@gmx.net>
4575 * BufferView.C: fix format string
4577 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4579 * BufferView.[Ch] (insertErrors): removed
4580 * BufferView.[Ch] (showErrorList): added
4581 * buffer.C (runChkTeX):
4582 * converter.C (scanLog): call showErrorList instead of inserterrors
4584 2003-05-13 André Pönitz <poenitz@gmx.net>
4586 * BufferView_pimpl.C:
4588 * bufferview_func.C:
4595 * tabular_funcs.h: tostr() from its own header
4597 * ParagraphParameters.C:
4602 * text3.C: STRCONV()
4604 2003-05-12 André Pönitz <poenitz@gmx.net>
4607 * BufferView_pimpl.C:
4611 * ParagraphParameters.C:
4615 * bufferview_funcs.C:
4628 * paragraph_funcs.C:
4632 * text3.C: boost::format -> bformat all over the place
4635 2003-05-09 André Pönitz <poenitz@gmx.net>
4637 * LColor.[Ch]: Pimpl the #include <map> away
4639 2003-05-09 John Levon <levon@movementarian.org>
4641 * bufferlist.C: never remove emergency saves
4643 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4645 * Makefile.am: better lib building
4647 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4651 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4652 (simpleTeXSpecialChars): adjust
4653 (simpleTeXSpecialChars): adjust
4654 * paragraph.C (simpleTeXOnePar): adjust
4655 * buffer.C (makeLaTeXFile): adjust
4657 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4659 * text2.C (changeDepth): parlist cleanup
4660 (getColumnNearX): ditto
4662 * rowpainter.C (getLabelFont): parlist cleanup
4664 * bufferlist.C (newFile): parlist cleanup
4666 * CutAndPaste.C (eraseSelection): parlist cleanup
4668 * BufferView_pimpl.C (trackChanges): parlist cleanup
4671 * BufferView.C (lockInset): parlist cleanup.
4672 (ChangeInsets): ditto
4674 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * CutAndPaste.h: Update file header.
4678 * CutAndPaste.C: Update file header.
4679 Store the parts cut out of the Document in a limited_stack.
4680 (copySelection): adjust
4681 (pasteSelection): new function, takes the index in the limited stack.
4682 (nrOfParagraphs): adjust
4683 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4684 simplify error inset insertion.
4685 (checkPastePossible): adjust
4687 2003-05-06 John Levon <levon@movementarian.org>
4689 * text2.C: don't cast wrap inset to float
4691 2003-05-05 André Pönitz <poenitz@gmx.net>
4694 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4696 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4697 few naked Paragraph *.
4699 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4701 * bufferparams.C: Output warning if a document with missing
4702 TeX document class is loaded
4703 * exporter.C: Disable TeX exports if the document class is missing
4706 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4707 isTeXClassAvailable()
4709 2003-05-03 John Levon <levon@movementarian.org>
4712 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4713 explicit cursor show/hide
4715 * BufferView_pimpl.h:
4716 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4717 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4719 * lyxfunc.C: hide cursor before dispatching.
4724 * text3.C: remove explicit cursor hides
4726 2003-05-02 André Pönitz <poenitz@gmx.net>
4728 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4731 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4734 * text2.C: tiny whitespace
4736 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * undo_funcs.C: almost only ws changes.
4740 * ParagraphList.C (splice): just return if pl is empty.
4742 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * ParagraphList.C (splice): new function.
4746 * CutAndPaste.C (pasteSelection): use it
4748 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * CutAndPaste.C (pasteSelection): remove the last next and
4751 previous from this file.
4753 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * CutAndPaste.C (pasteSelection): more clean up, user proper
4756 ParagraphList functions for pasteing.
4758 * ParagraphList.C (insert): new function, three arg insert
4760 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * ParagraphList.C (insert): new function, three arg insert
4764 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4767 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4771 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4775 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4778 (copySelection): clean up a bit.
4779 (pasteSelection): use make_pair
4781 * ParagraphList.C (ParagraphList): implement copy constructor
4782 (operator=): implement, base on copy constructor.
4785 * paragraph.C (erase): return a bool
4787 * paragraph_pimpl.C (erasePos): remove function, move contents...
4788 (erase): ... here. Return a bool.
4789 (erase): call erase instead of erasePos.
4791 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4793 * ParagraphList.h: define PitPosPair
4794 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4795 ParagraphList, fix a bug on pasting multiple pars
4796 * text2.C: change interface to C&P
4798 2003-04-30 André Pönitz <poenitz@gmx.net>
4800 * undo_func.C: revert part of yesterday's patch 2
4802 2003-04-30 John Levon <levon@movementarian.org>
4804 * LColor.C: s/tabular/table/
4806 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * text3.C (dispatch): do not convert iterator -> pointer
4809 * undo_funcs.C (setCursorParUndo): ditto
4810 * text_funcs.C (transposeChars): ditto
4812 * text2.C (setLayout): ws changes only
4814 * text.C (breakParagraph): do not convert iterator -> pointer
4816 (acceptChange): ditto
4817 (rejectChange): ditto
4822 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4825 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4827 * text3.C (gotoInset): YABG (yet another bad getChar)
4829 2003-04-29 André Pönitz <poenitz@gmx.net>
4831 * paragraph.h: make operator= private unimplemented as long as
4834 * ParagraphList.C: whitespace
4837 * paragraph_pimpl.[Ch]:
4838 * paragraph_funcs.C:
4840 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4843 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4845 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4847 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4848 * paragraph.[Ch] (erase):
4849 * paragraph_pimpl.[Ch] (erase): change return type and value
4850 * text2.C (cutSelection): some rework
4852 2003-04-28 John Levon <levon@movementarian.org>
4854 * bufferlist.C: changes for unsaved changes dialog
4856 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * bufferlist.C (newFile): set language (messages_) for new
4861 * buffer.C (readFile): ws changes only.
4863 2003-04-28 André Pönitz <poenitz@gmx.net>
4868 * BufferView_pimpl.C:
4869 * BufferView.C: getParFromID related ParagraphList::iterator changes
4871 2003-04-28 André Pönitz <poenitz@gmx.net>
4873 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4876 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * messages.C: remove one more localedir class variable.
4880 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * messages.C (getLocaleDir): singleton generation function
4884 (Messages): add a default constructor.
4886 * main.C (main): do not setup localedir here, do not call
4889 * gettext.C (_): use it.
4890 (gettext_init): delete funciton
4892 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * gettext.C (getLyXMessages): new singleton generating function.
4896 * buffer.C (updateDocLang): adjust
4898 * Makefile.am (messages.o): add target
4899 (main.o): remove target
4901 2003-04-27 John Levon <levon@movementarian.org>
4906 * lyxvc.C: specify cancel button in Alert::prompt
4908 2003-04-26 John Levon <levon@movementarian.org>
4913 * LyXAction.C: add LFUN_INSET_SETTINGS
4915 * lyxfunc.C: don't enable tabular-feature when there's
4916 just any locking inset
4918 2003-04-26 John Levon <levon@movementarian.org>
4920 * bufferlist.C: re-add Cancel to buffer close question
4922 * lyxfunc.C: fix import UI a bit
4924 2003-04-25 John Levon <levon@movementarian.org>
4926 * gettext.C: remove the broken asserts for now
4928 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * messages.C: make case where setlocale cannot comply work better.
4932 * buffer.C (updateDocLang): new function
4933 (changeLanguage): use it
4936 * text2.C (setCounter): use B_ a bit.
4938 * lyxlayout.C (Read): be sure to trim the label strings.
4940 * messages.C (Messages): fix typo in comment
4942 * buffer.C (readFile): set message_ after file is loaded.
4943 (makeDocBookFile): remove double return
4944 (changeLanguage): reset message_ upon language change.
4945 (B_): new func, use this to get translated buffer strings.
4947 * main.C: add myself and Jean Marc as authors.
4949 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * messages.[hC]: pimplify Messages, and three different pimpls to be
4952 used in different circumstances.
4954 * gettext.[Ch]: change for use with new message code.
4956 2003-04-24 André Pönitz <poenitz@gmx.net>
4958 * factory.C: support for eqref
4960 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * messages.[Ch]: add missing char
4964 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4966 * messages.[Ch]: New files
4968 2003-04-18 John Levon <levon@movementarian.org>
4972 * BufferView_pimpl.C:
4976 * text2.C: remove layout-copy/paste (bug 778)
4978 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4980 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4982 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4984 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4985 if they succeed. Act accordingly.
4987 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * text2.C (setCharFont): adjust
4990 (setCounter): adjust
4991 (insertStringAsLines): adjust
4993 * text.C (leftMargin): adjust
4994 (setHeightOfRow): adjust
4996 * rowpainter.C (paintFirst): adjust
4999 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5001 (isFirstInSequence): ditto
5002 (getEndLabel): ditto
5005 * paragraph.C (getParLanguage): comment out some hard stuff.
5007 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5009 (simpleDocBookOnePar): ditto
5010 (makeDocBookFile): use ParagraphList::iterator
5012 * CutAndPaste.C (pasteSelection): adjust
5014 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * text2.C (getFont): adjust
5017 (getLayoutFont): adjust
5018 (getLabelFont): adjust
5020 * paragraph_funcs.C (TeXOnePar): adjust
5022 * buffer.C (simpleLinuxDocOnePar): adjust
5023 (simpleDocBookOnePar): adjust
5025 * CutAndPaste.C (pasteSelection): adjust
5027 * BufferView.C (getEncoding): adjust
5029 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5031 2003-04-16 John Levon <levon@movementarian.org>
5033 * lyxfind.C: use parlist stuff for search/changes
5035 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5039 * text2.C (deleteEmptyParagraphMechanism): adjust
5041 * text2.[Ch] (ownerParagraph): delete func (both of them
5043 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5047 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5049 * ParagraphList.C: prepare for NO_NEXT
5051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * text2.C (getFont): adjust
5054 (getLayoutFont): adjust
5055 (getLabelFont): adjust
5057 * paragraph.C (getFont): adjust
5058 (getLabelFont): adjust
5059 (getLayoutFont): adjust
5061 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5063 2003-04-15 John Levon <levon@movementarian.org>
5067 * lyx_main.C: handle Include in .ui files
5069 2003-04-15 John Levon <levon@movementarian.org>
5071 * MenuBackend.C: make the doc files length shorter
5074 * ToolbarBackend.C: handle toolbar placement flags,
5077 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5082 * paragraph_funcs.C (TeXOnePar): adjust
5084 * paragraph.C (getLabelFont): add outerfont arg, adjust
5085 (getLayoutFont): ditto
5086 (simpleTeXOnePar): adjust
5088 * paragraph_pimpl.C (realizeFont): delete func
5090 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5092 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5093 row argument, constify cur argument.
5095 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * text2.C (getFont): adjust
5098 (getLayoutFont): adjust
5099 (getLabelFont): adjust
5101 * paragraph_funcs.C (TeXOnePar): adjust
5102 (outerFont): new func...
5103 (realizeFont): ...moved out from here, changed this to facilitate
5106 * paragraph.C (getFont): take outerfont as arg, adjust
5107 (simpleTeXOnePar): add outerfont arg, adjust
5109 * buffer.C (simpleLinuxDocOnePar): adjust
5110 (simpleDocBookOnePar): adjust
5112 * CutAndPaste.C (pasteSelection): adjust
5114 * BufferView.C (getEncoding): adjust
5116 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * text2.C (setCharFont): adjust
5119 (setCounter): adjust
5121 * text.C (leftMargin): adjust
5122 (setHeightOfRow): adjust
5124 * rowpainter.C (paintFirst): adjust
5127 * paragraph_pimpl.C (realizeFont): adjust
5129 * paragraph.C (isFirstInSequence): move from here...
5130 * paragraph_funcs.C (isFirstInSequence): ...to here
5132 * paragraph.C (outerHook): move from here...
5133 * paragraph_funcs.C (outerHook): ...to here
5135 * paragraph.C (depthHook): move from here...
5136 * paragraph_funcs.C (depthHook): ...to here
5138 * paragraph.C (getEndLabel): move from here...
5139 * paragraph_funcs.C (getEndLabel): ...to here
5141 * text2.C (realizeFont): move from here...
5142 * paragraph_funcs.C (realizeFont): ...to here
5144 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5148 2003-04-14 Angus Leeming <leeming@lyx.org>
5150 * LColor.[Ch]: scrap LColor mathcursor.
5152 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * lyxlex.[Ch] (text): delete function
5155 * trans.C (Load): adjust
5156 * paragraph_funcs.C (readParToken): adjust
5158 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5161 vector<char> instead of a char[].
5163 * lyxlex_pimpl.C (getString): adjust
5165 (lex): use getString
5169 * lyxlex.C (text): use pimpl_->getString()
5173 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5176 (makeFontEntriesLayoutSpecific): temp var for par.size()
5177 (setLayout): temp var for ownerParagraphs().end()
5178 (fullRebreak): temp var for rows().end()
5179 (selectionAsString): temp var for boost::next(startpit), realize
5180 that the while really is a regular for loop.
5181 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5182 setCursor in one place.
5183 (setParagraph): temp vr for ownerParagraphs().end()
5184 (updateCounters): make the while loop a for loop
5185 (cutSelection): temp var for ownerParagraphs().end()
5186 (updateInset): make the do {} while() a regular for loop
5187 (getCursorX): use temp vars
5188 (setCurrentFont): use temp vars
5189 (getColumnNearX): use temp vars
5191 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * text.C (transformChar): use temp var for getChar
5194 (computeBidiTables): use temp var for row->par()
5195 (fill): move temp vars for row->par() and pit->layout() earlier in
5197 (labelFill): use temp var for row->par()
5198 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5199 asc and desc, realize that pit never changes and that firstpit is
5200 just a duplicate and not needed. Exchange rit->par() with pit in a
5202 (breakAgain): use a temp var for boost::next(rit)
5203 (breakAgainOneRow): ditto
5204 (breakParagraph): use a temp var for rows().begin()
5205 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5206 (cursorRightOneWord): use temp var for cursor.par() and
5207 cursor.pos(), remove usage of tmpcursor.
5208 (cursorLeftOneWord): use temp var for cursor.par() and
5209 cursor.pos() only set cur at end of function.
5211 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text.C, text2.C: exchange all usage of Paragraph::next with
5214 boost::next(ParagraphList::iterator)
5216 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5218 * text2.C (cursorTop): simplify implementation
5219 (cursorBottom): ditto
5220 (setParagraph): use ParagraphList::iterator
5221 (setCurrentFont): adjust
5222 (getColumnNearX): adjust
5223 (cursorRight): adjust
5224 (cursorLeft): remove usage of Paragraph::previous
5225 (cursorUpParagraph): ditto
5226 (deleteEmptyParagraphMechanism): slight cleanup
5228 * text.C (isBoundary): take a Paragraph const & instead of a
5230 (addressBreakPoint): ditto
5231 (leftMargin): remove usage of Paragraph::previous.
5232 (setHeightOfRow): ditto
5233 (cursorLeftOneWord): ditto
5234 (selectNextWordToSpellcheck): ditto
5237 (breakParagraph): remove one usage of Paragraph::next
5238 (redoParagraph): ditto
5239 (acceptChange): ditto
5240 (insertChar): adjust
5241 (rowBreakPoint): adjust
5243 * bufferview_funcs.C (toggleAndShow): adjust
5245 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5247 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5248 methods to access it.
5250 * text.C: Added updateRowPositions to compute all row positions.
5251 Make top_y and getRowNearY() to use the cached y position
5253 2003-04-11 John Levon <levon@movementarian.org>
5255 * text.C (rowBreakPoint): reintroduce the labelEnd
5256 checks, code copied from the row fill stuff. Deep voodoo.
5258 * text.C (fill): add a comment and debugging for the
5261 2003-04-11 John Levon <levon@movementarian.org>
5263 * text.C: make sure fullrow insets get wrapped to the next line,
5264 even when they're in a manual label
5266 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * text2.C (insertParagraph): make it take ParagraphList::iterator
5270 (setLayout): make it return ParagraphList::iterator
5271 (redoParagraphs): ditto
5273 (checkParagraph): ditto
5275 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5277 * text2.C: adjust several funcs.
5278 (realizeFont): take a ParagraphList::iterator as arg.
5279 (getLayoutFont): ditto
5280 (getLabelFont): ditto
5281 (setCharFont): ditto
5283 * text.C: adjust several funcs.
5285 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5287 * text.C (selectNextWordToSpellcheck): don't accidentally
5290 2003-04-10 John Levon <levon@movementarian.org>
5292 * ToolbarBackend.C (getIcon): special handling for
5295 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5297 * text2.C (cursorRight): a getChar assert fixed
5299 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * text2.C (getFont): change to take a ParagraphList::iterator
5302 instead of Paragraph*
5303 Adjust several functions.
5305 * text.C (transformChar): change to take a ParagraphList::iterator
5306 instead of Paragraph*
5307 (singleWidth): ditto
5308 Adjust several functions.
5310 * rowpainter.C: adjust several functions
5311 * rowpainter.h:store a ParagraphList::iterator and not a
5315 2003-04-09 John Levon <levon@movementarian.org>
5320 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5321 and the "help" bits as well
5323 2003-04-09 John Levon <levon@movementarian.org>
5326 * ToolbarBackend.C: allow multiple toolbars
5328 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * undo_funcs.C (setCursorParUndo): adjust
5332 * text_funcs.C (transposeChars): adjust
5334 * text3.C (gotoNextInset): adjust
5337 * text2.C (setLayout): adjust
5338 (changeDepth): adjust
5340 (redoParagraphs): adjust
5341 (selectionAsString): adjust
5342 (setParagraph): adjust
5343 (insertInset): adjust
5344 (cutSelection): adjust
5345 (copySelection): adjust
5346 (pasteSelection): adjust
5347 (insertStringAsLines): adjust
5348 (updateInset): adjust
5349 (setCursor): change to take a ParagraphList::iterator parameter
5350 (setCursorIntern): change to take a ParagraphList::iterator parameter
5351 (setCurrentFont): adjust
5352 (cursorLeft): adjust
5353 (cursorRight): adjust
5354 (deleteEmptyParagraphMechanism): adjust
5356 * text.C (breakParagraph): adjust
5357 (insertChar): adjust
5358 (acceptChange): adjust
5359 (rejectChange): adjust
5360 (selectNextWordToSpellcheck): adjust
5361 (changeCase): adjust
5365 * lyxfind.C (SearchForward): adjust
5366 (SearchBackward): adjust
5367 (nextChange): adjust
5369 * lyxcursor.C (par): adjust
5371 * lyxcursor.h: store a ParagraphList::iterator instead of a
5374 * lyx_cb.C (getPossibleLabel): adjust
5376 * bufferview_funcs.C (toggleAndShow): adjust
5378 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5381 * BufferView.C (removeAutoInsets): adjust
5382 (lockedInsetStoreUndo): adjust
5384 2003-04-09 John Levon <levon@movementarian.org>
5386 * ToolbarBackend.C: try icon without argument
5387 if with argument fails
5389 2003-04-08 John Levon <levon@movementarian.org>
5392 * ToolbarBackend.C: add getIcon(), handle tooltip,
5393 and change from "Icon" to "Item".
5395 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5397 * BufferView.C (lockInset): another bad getchar crunched
5399 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5401 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5404 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5406 * lyxfind.C (searchForward, searchBackwards): bug 782
5408 2003-04-07 John Levon <levon@movementarian.org>
5410 * paragraph.C: remove dead comment
5412 * text.C: remove troublesome depth-fiddling code
5413 in leftMargin() and rightMargin() (bug 1017)
5415 * text.C: fix breaking of rows in nested lists
5418 * text2.C (updateCounters): fix up depth values
5421 2003-04-07 John Levon <levon@movementarian.org>
5423 * BufferView_pimpl.C: clear message when doc finishes resizing,
5424 and after a mouse event
5426 * lyxfunc.C: clear message after exiting inset
5428 2003-04-07 John Levon <levon@movementarian.org>
5430 * bufferview_funcs.C: show math status not outside
5431 status in the statusbar
5433 2003-04-07 John Levon <levon@movementarian.org>
5435 * lyxfunc.C: note status changed after a depth change
5437 2003-04-04 Angus Leeming <leeming@lyx.org>
5439 * LaTeX.h: move AuxInfo operator==, != out of line.
5440 Remove LaTeX virtual destructor; nothing derives from it.
5441 Move operator()() out of public area and rename it startscript().
5442 Change protected for private.
5444 2003-04-04 Angus Leeming <leeming@lyx.org>
5447 * text2.C: remove unneeded #includes.
5449 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5451 * text2.C (dEPM): fix the heigth of the next row
5453 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5455 * text.C: squashed an invalid getChar requester + some ws changes
5457 2003-04-03 John Levon <levon@movementarian.org>
5459 * bufferview_funcs.h:
5460 * bufferview_funcs.C:
5463 * text2.C: make getStatus work for the env depth lfuns
5465 2003-04-03 John Levon <levon@movementarian.org>
5467 * bufferview_funcs.h:
5468 * bufferview_funcs.C:
5471 * text2.C: parlistize decDepth(), by merging it with incDepth()
5473 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * lyxrow.h: store a ParagraphList::iterator instead of a
5476 Paragraph* and adjust other class functions to suit.
5478 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5481 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5483 * text2.C (setCursor): do not anchor to cursor row for the time being
5485 2003-04-02 John Levon <levon@movementarian.org>
5492 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5494 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * paragraph.h: make ParagraphList and ParagraphList::iterator
5497 friends of Paragraph.
5499 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5501 * ParagraphList.C: Use the private next_ and previous_ from
5504 2003-04-01 John Levon <levon@movementarian.org>
5508 * Makefile.am: rename, remove defaults gunk
5511 * MenuBackend.C: remove defaults gunk
5514 * Languages.C: remove defaults gunk
5517 * lyx_main.C: error out if files couldn't be found.
5519 2003-04-02 John Levon <levon@movementarian.org>
5521 * text2.C: make incDepth() use parlist
5523 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * undo_funcs.C (firstUndoParagraph): adjust
5527 * text3.C (gotoInset): adjust
5528 (dispatch): adjust, and rewrite loop.
5530 * text2.C (init): adjust, and rewrite loop.
5531 (redoParagraphs): adjust
5532 (updateInset): adjust, and rewrite loop.
5533 (deleteEmptyParagraphMechanism): adjust
5535 * tabular.C (LyXTabular): adjust
5536 (SetMultiColumn): adjust
5539 * lyxtext.[Ch] (ownerParagraph): delete function
5540 (ownerParagraphs): new function returns a ParagraphList.
5542 * BufferView.C (removeAutoInsets): adjust
5543 (insertErrors): adjust
5544 (setCursorFromRow): adjust
5546 2003-04-01 Angus Leeming <leeming@lyx.org>
5548 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5551 2003-04-02 John Levon <levon@movementarian.org>
5557 * text_funcs.C: make transposeChars a free function
5559 * lyxrow_funcs.C: remove wrong comment
5561 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * rowpainter.C: adjust
5569 * lyxrow_funcs. [Ch]: new files
5571 * lyxrow.[Ch]: remove next and previous pointers
5572 (next,previous): remove accessor functions
5573 (isParEnd): move to lyxrow_funcs
5574 (lastPos): move to lyxrow_funcs
5575 (nextRowIsAllInset): move to lyxrow_funcs
5576 (lastPrintablePos): move to lyxrow_funcs
5577 (numberOfSeparators): move to lyxrow_funcs
5578 (numberOfHfills): move to lyxrow_funcs
5579 (numberOfLabelHfills): move to lyxrow_funcs
5580 (hfillExpansion): move to lyxrow_funcs
5584 * bufferview_funcs.C (toggleAndShow): adjust
5586 * RowList.h: Remove class RowList from file leave just a
5589 * RowList.C: delete file
5591 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5594 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * text3.C (cursorPrevious): adjust
5597 (cursorNext): adjust
5600 * text2.C (redoHeightOfParagraph): adjust
5601 (redoDrawingOfParagraph): adjust
5604 * text.C (breakParagraph): adjust
5605 (insertChar): adjust
5608 * rowpainter.C (RowPainter): adjust
5609 (leftMargin): simplify and adjust
5610 (most rowpainter functions): adjust.
5612 * rowpainter.h: store the row as RowList::iterator not as Row*
5614 * lyxcursor.C (row): taka RowList::iterator as arg
5617 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5620 2003-04-01 Angus Leeming <leeming@lyx.org>
5622 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5623 stuff like bool Bool.
5625 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5627 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5630 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5635 * lyxtext.h (rows): drop one version and leve a const variant that
5636 returns a RowList::iterator.
5638 2003-03-31 Angus Leeming <leeming@lyx.org>
5640 * text.C (fill): ensure that the signature is the same as that in the
5643 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * text2.C (redoParagraphs): adjust
5646 (updateCounters): adjust
5647 (checkParagraph): adjust
5648 (getColumnNearX): adjust and reformat a bit.
5650 * text.C (top_y): adjust
5652 (leftMargin): adjust
5653 (prepareToPrint): adjust
5655 (getRowNearY): adjust
5657 * lyxtext.h: make rowlist_ mutable.
5659 * RowList.h: add const_iterator
5660 * RowList.C: adjust for RowList::const_iterator.
5662 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5665 2003-03-31 John Levon <levon@movementarian.org>
5668 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5670 * lyx_main.C: set default fonts from using lyx_gui funcs
5672 * exporter.C: pdf_mode moved from lyxrc
5675 * lyxfunc.C: changes from above
5677 2003-03-31 John Levon <levon@movementarian.org>
5679 * lyx_main.C: fix to the last fix
5681 2003-03-31 John Levon <levon@movementarian.org>
5683 * bufferlist.C: "Load original" -> "Load Original"
5689 * format.C: more Alert cleanups
5691 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * text2.C (removeParagraph): make it take a RowList::iterator as
5695 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5696 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5698 * text.C (anchor_row): make it take a RowList::iterator as arg,
5700 (computeBidiTables): make it take a const reference to Row instead
5701 of Row pointer, adjust.
5702 (leftMargin): make it take a RowList::iterator as arg, adjust.
5703 (rowBreakPoint): adjust
5704 (breakAgainOneRow): make it take a RowList::iterator as arg,
5706 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5708 * bufferview_funcs.C (toggleAndShow): adjust
5710 2003-03-30 John Levon <levon@movementarian.org>
5714 * boost-inst.C: moved to support
5716 * several files: changes as a result
5718 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * text2.C (LyXText): adjust.
5722 (removeRow): make it take a RowList::iterator as arg, adjust.
5723 (fullRebreak): adjust
5724 (deleteEmptyParagraphMechanism): adjust
5725 (clearPaint): adjust
5728 * text.C (top_y): adjust
5729 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5730 (breakAgain): make it take a RowList::iterator as arg, adjust.
5731 (breakParagraph): adjust
5732 (insertChar): adjust
5735 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5736 need_break_row, and refresh_row.
5738 * text3.C (dispatch): adjust
5740 * text2.C (checkParagraph): adjust
5742 (setCursorFromCoordinates): adjust
5744 * text.C (top_y): adjust
5746 (getRow): make it return a RowList::iterator, adjust
5747 (getRowNearY): make it return a RowList::iterator, adjust
5749 * text2.C (init): adjust
5750 (insertRow): remove function
5751 (insertParagraph): adjust
5752 (redoParagraphs): adjust
5753 (fullRebreak): adjust
5754 (updateCounters): adjust
5756 * text.C (top_y): rewrite to use RowList iterators.
5758 (setHeightOfRow): rewrite to sue RowList iterators.
5759 (appendParagraph): adjust
5760 (breakAgain): adjust
5761 (breakAgainOneRow): adjust
5762 (breakParagraph): adjust
5764 (getRowNearY): adjust, and remove commented code.
5766 * lyxtext.h (firstRow): delete function
5767 (lastRow): delete function
5768 (rows): new function (const and non-const versions.)
5769 (insertRow): delete function
5771 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5773 2003-03-29 John Levon <levon@movementarian.org>
5775 * BufferView_pimpl.C: always update scrollbar top
5776 because pasting text when we're anchored could mean we
5777 miss an update altogether
5779 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * text2.C (init): use rowlist_.end() and not 0.
5782 (insertRow): change to take a RowList::iterator as arg, adjust
5784 (insertParagraph): change to take a RowList::iterator as arg,
5786 (redoParagraphs): remove some debug msgs.
5788 * text.C (appendParagraph): change to take a RowList::iterator
5789 arg, adjust for this.
5790 (breakAgain): add an assert
5791 (breakAgainOneRow): ditto
5793 2003-03-29 John Levon <levon@movementarian.org>
5795 * text2.C: do not clear selection after inc/decDepth
5798 2003-03-29 John Levon <levon@movementarian.org>
5801 * buffer.C: fix broken strerrors according to Lars
5803 2003-03-29 John Levon <levon@movementarian.org>
5805 * converters.C: more Alert cleanups
5807 2003-03-29 John Levon <levon@movementarian.org>
5809 * bufferview_funcs.C: remove pointless Alert
5811 * buffer.C: fix confusing error message when
5812 a template is chmoded 000
5814 2003-03-29 John Levon <levon@movementarian.org>
5818 * BufferView_pimpl.C: Alert fixes
5822 * tabular-old.C: remove unused table compat reading
5824 2003-03-29 John Levon <levon@movementarian.org>
5829 * lyx_cb.C: more Alert cleanups
5831 * lyxfunc.C: don't allow chktex if not latex document
5833 2003-03-29 John Levon <levon@movementarian.org>
5837 * buffer.C: warnings pushed down from support/,
5840 2003-03-29 John Levon <levon@movementarian.org>
5842 * lyxfunc.C: safety check for C-r (revert)
5844 2003-03-29 John Levon <levon@movementarian.org>
5847 * bufferlist.C: several UI fixes using Alert::prompt.
5848 Fix the pointless looping quit code. Fix stupid revert
5853 * lyx_cb.C: use Alert::prompt
5855 * lyx_main.C: remove a silly question
5857 * lyxfunc.C: remove a couple of silly questions,
5860 2003-03-28 John Levon <levon@movementarian.org>
5862 * text2.C: fix bug 974 (End on empty par)
5864 2003-03-28 John Levon <levon@movementarian.org>
5866 * BufferView_pimpl.C:
5868 * lfuns.h: remove do-nothing math greek lfuns
5870 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * lyxgluelength.h (isValidGlueLength): add default arg on
5873 parameter 2. Remove default arg from friend in class.
5875 * lyxlength.h (isValidLength): add default arg on parameter 2.
5876 Remove default arg from friend in class.
5878 * text2.C (LyXText): adjust, initialize refresh_row.
5882 (insertParagraph): adjst
5883 (redoParagraphs): adjust
5884 (fullRebreak): adjust
5885 (updateCounters): adjust
5886 (deleteEmptyParagraphMechanism): first attempt at fixing a
5889 * text.C (top_y): adjust
5890 (setHeightOfRow): adjust
5892 (getRowNearY): adjust
5894 * lyxtext.h: include RowList.h
5895 (~LyXText): not needed anymore, deleted.
5896 (firstRow): modify for RowList
5897 (lastRow): new function
5898 Delete firstrow and lastrow class variables, add a Rowlist
5899 rowlist_ class variable.
5901 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5904 * RowList.C (insert): fix case where it == begin().
5906 2003-03-26 Angus Leeming <leeming@lyx.org>
5908 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5909 the thesaurus dialog.
5911 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5913 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5915 * RowList.[Ch]: new files
5917 * ParagraphList.C (erase): handle the case where it == begin
5920 2003-03-25 John Levon <levon@movementarian.org>
5924 * aspell.C: add new aspell support
5927 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5930 2003-03-25 Angus Leeming <leeming@lyx.org>
5933 * LyXAction.C (init): new LFUN_INSET_INSERT.
5935 * BufferView_pimpl.C (dispatch): split out part of the
5936 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5938 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5941 2003-03-25 Angus Leeming <leeming@lyx.org>
5943 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5945 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5948 * text3.C: remove useless row->height(0)
5950 2003-03-25 John Levon <levon@movementarian.org>
5954 * text3.C: rename the refreshing stuff to better names
5956 2003-03-24 John Levon <levon@movementarian.org>
5958 * BufferView_pimpl.h:
5959 * BufferView_pimpl.C: update layout choice on a mouse
5962 2003-03-23 John Levon <levon@movementarian.org>
5964 * Makefile.am: fix commandtags.h reference
5966 2003-03-22 John Levon <levon@movementarian.org>
5968 * BufferView_pimpl.C:
5973 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5975 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5978 * text.C: take the rtl methods out of line
5980 2003-03-21 André Pönitz <poenitz@gmx.net>
5982 * metricsinfo.[Ch]: new files containing structures to be passed around
5983 during the two-phase-drawing...
5985 2003-03-21 André Pönitz <poenitz@gmx.net>
5987 * lyxtextclass.C: read 'environment' tag.
5989 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5991 * text2.C (removeRow): fix bug 964
5993 2003-03-20 John Levon <levon@movementarian.org>
5997 * text2.C: paint cleanups. Inset::update() dropped font
6000 2003-03-19 John Levon <levon@movementarian.org>
6002 * lyxfunc.C: only fitcursor/markDirty if available()
6004 2003-03-19 John Levon <levon@movementarian.org>
6006 * commandtags.h: rename to ...
6008 * lfuns.h: ... this, and renumber / cleanup
6010 2003-03-19 John Levon <levon@movementarian.org>
6012 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6013 fit the cursor after an lfun
6017 * BufferView_pimpl.h:
6018 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6020 * LyXAction.C: layout-character should have ReadOnly
6022 * ParagraphParameters.C:
6024 * bufferview_funcs.C:
6031 * undo_funcs.C: changes from above
6033 2003-03-18 John Levon <levon@movementarian.org>
6035 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6036 remove it from update()
6038 * lyxfunc.C: update layout choice after an lfun
6040 * text3.C: remove extra updateLayoutChoice()s
6042 2003-03-18 John Levon <levon@movementarian.org>
6044 * text.C: top_y change means full repaint, fix
6045 a drawing bug with cursor movement
6047 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6051 * text2.C: anchor row on setCursor
6053 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6055 * lyxtext.h: remove almost all mutable keywords
6058 * text3.C: remove const keywords accordingly
6060 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6064 (TeXEnvironment): ditto
6067 2003-03-17 John Levon <levon@movementarian.org>
6069 * text.C (rowBreakPoint): remove attempt to fix displayed
6070 math insets inside a manual label
6072 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * lyxtext.h: remove BufferView* as first arg from almost all class
6076 * other files: adjust.
6078 2003-03-17 John Levon <levon@movementarian.org>
6082 * text2.C: more paint cleanups
6084 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6087 * rowpainter.C: remove "smart" background painting code
6089 2003-03-16 John Levon <levon@movementarian.org>
6094 * text3.C: add helper functions for setting refresh_row/y
6096 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6098 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6099 newline inset which *can* get inserted in the pass_thru layouts.
6100 This is primarily for literate documents.
6102 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6104 * buffer.C: increment LYX_FORMAT to 223
6106 2003-03-14 André Pönitz <poenitz@gmx.net>
6108 * textclass.h: prepare for environment handling, ws changes
6109 * lyxlayout.C: read latexheader and latexfooter tags
6111 2003-03-14 John Levon <levon@movementarian.org>
6113 * text2.C: rewrite ::status() a bit
6115 2003-03-13 John Levon <levon@movementarian.org>
6117 * lyxtext.h: add some docs
6119 2003-03-13 John Levon <levon@movementarian.org>
6124 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6126 2003-03-13 John Levon <levon@movementarian.org>
6128 * text3.C: fix appendix redrawing
6130 2003-03-13 John Levon <levon@movementarian.org>
6132 * text.C (setHeightOfRow):
6134 * rowpainter.C: make appendix mark have the text
6135 "Appendix" so the user knows what it is
6138 * LColor.C: s/appendixline/appendix/ from above
6140 2003-03-13 John Levon <levon@movementarian.org>
6142 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6144 * text.C: fix a getChar(pos) bug properly
6146 2003-03-13 Angus Leeming <leeming@lyx.org>
6149 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6150 Probably only temporary. Let's see how things pan out.
6152 * BufferView.C (unlockInset):
6153 * BufferView_pimpl.C (fitCursor):
6154 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6156 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6157 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6159 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6160 new functions that convert ParagraphParameters to and from a string.
6162 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6163 BufferView::Pimpl's dispatch.
6164 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6166 2003-03-13 André Pönitz <poenitz@gmx.net>
6170 * factory.C: make it aware of InsetEnv
6172 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * text2.C (setCursor): never ask for one past last
6175 (setCursor): add some debugging messages.
6177 * text.C (singleWidth): never ask for one past last
6178 (singleWidth): ditto
6180 (rightMargin): ditto
6181 (rowBreakPoint): ditto
6182 (setHeightOfRow): ditto
6183 (prepareToPrint): ditto
6185 * rowpainter.C (paintBackground): never ask for one past last
6186 (paintText): never ask for one past last
6188 * paragraph_pimpl.C (getChar): make the assert stricter, never
6189 allow the one past last pos to be taken
6191 * paragraph.C (getChar): ws changes only
6193 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6194 (numberOfSeparators): ditto
6195 (numberOfHfills): ditto
6197 2003-03-12 John Levon <levon@movementarian.org>
6203 * paragraph_funcs.C: fix per-buffer authorlists
6205 2003-03-12 John Levon <levon@movementarian.org>
6207 * text.C: fix newline in right address
6209 2003-03-12 Angus Leeming <leeming@lyx.org>
6211 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6212 duplicate those in LyXFunc::dispatch.
6216 * ToolbarDefaults.C:
6217 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6218 Add LFUN_FONTFREE_UPDATE.
6220 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6221 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6223 * bufferview_func.[Ch]: several new functions to facilliate
6224 transfer of data to and from the character dialog.
6226 2003-03-12 John Levon <levon@movementarian.org>
6231 * paragraph_funcs.C:
6232 * paragraph_pimpl.C:
6236 * text3.C: remove META_NEWLINE in favour of an inset
6239 * rowpainter.C: remove paintNewline (done by inset)
6241 2003-03-12 John Levon <levon@movementarian.org>
6243 * paragraph_pimpl.C: complain about bad getChar()s
6244 for a while at least
6246 2003-03-12 John Levon <levon@movementarian.org>
6249 * buffer.C: move paragraph read into a separate function,
6250 a little renaming to reflect that.
6253 * bufferparams.C: remove the author_ids map, not necessary now
6256 * factory.C: moved Buffer::readInset to here
6258 * paragraph_funcs.h:
6259 * paragraph_funcs.C: readParagraph free function moved from
6262 * tabular.C: name change
6264 2003-03-12 John Levon <levon@movementarian.org>
6267 * ParagraphParameters.C: move par params input to
6270 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6271 behave like a normal read from the stream wrt reading
6272 a line vs. a \\token
6274 2003-03-12 John Levon <levon@movementarian.org>
6277 * ParagraphParameters.h:
6278 * ParagraphParameters.C: move output code to a
6281 2003-03-12 John Levon <levon@movementarian.org>
6283 * BufferView.C (insertLyXFile):
6286 * tabular.C: use a parlist iterator for creating the
6289 2003-03-12 John Levon <levon@movementarian.org>
6291 * buffer.C: make current_change static local not
6294 2003-03-12 John Levon <levon@movementarian.org>
6296 * buffer.C: fix insertStringAsLines for change tracking
6298 2003-03-12 John Levon <levon@movementarian.org>
6305 * bufferparams.C: move author list into params. Rename some
6306 functions. Move the header reading into a separate token
6307 loop. Move the header token reading into BufferParams.
6309 2003-03-12 John Levon <levon@movementarian.org>
6311 * changes.C: put debug inside lyxerr.debugging() checks
6313 2003-03-11 André Pönitz <poenitz@gmx.net>
6315 * factory.C: make it aware of InsetHFill
6317 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6319 * buffer.C (latexParagraphs): move function from here...
6320 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6323 2003-03-10 Angus Leeming <leeming@lyx.org>
6325 * LyXAction.C (init): fix bug in poplating array with multiple entries
6326 with the same LFUN (spotted by JMarc).
6328 2003-03-10 John Levon <levon@movementarian.org>
6331 * text2.C: move getColumnNearX() near its
6334 2003-03-10 John Levon <levon@movementarian.org>
6336 * text.C: fix break before a minipage
6338 2003-03-10 John Levon <levon@movementarian.org>
6340 * text.C: fix the last commit
6342 2003-03-09 John Levon <levon@movementarian.org>
6346 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6347 bug 365 (don't break before insets unless needed). Don't
6348 return a value > last under any circumstances.
6350 2003-03-09 Angus Leeming <leeming@lyx.org>
6352 * BufferView_pimpl.C (trackChanges, dispatch): call
6353 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6355 2003-03-09 Angus Leeming <leeming@lyx.org>
6357 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6358 than Dialogs::showAboutlyx().
6360 2003-03-09 Angus Leeming <leeming@lyx.org>
6362 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6363 than Dialogs::showTabularCreate().
6365 2003-03-09 John Levon <levon@movementarian.org>
6369 * text2.C: 3rd arg to nextBreakPoint was always the same.
6372 2003-03-08 John Levon <levon@movementarian.org>
6379 * text2.C: Remove the "main" bit from the "main body"
6382 2003-03-08 John Levon <levon@movementarian.org>
6384 * text.C (leftMargin): The left margin of an empty
6385 manual label paragraph should not include the label width
6388 * text.C (prepareToPrint): don't attempt to measure hfills
6389 for empty manual label paragraphs - the answer should be 0
6391 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * CutAndPaste.C: remove commented code and reindent.
6395 2003-03-08 John Levon <levon@movementarian.org>
6398 * lyxfunc.C: move reloadBuffer()
6401 * BufferView.C: to here
6403 * lyxvc.C: add comment
6406 * vc-backend.C: call bv->reload() to avoid
6407 getStatus() check on MENURELOAD
6409 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6411 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6412 to an old format .dep file.
6414 2003-03-07 Angus Leeming <leeming@lyx.org>
6416 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6417 when the LFUN_MOUSE_RELEASE should have been handled by
6418 inset->localDispatch.
6420 2003-03-07 Angus Leeming <leeming@lyx.org>
6422 * BufferView_pimpl.C (dispatch):
6423 * LyXAction.C (init):
6424 * ToolbarDefaults.C (init):
6426 * lyxfunc.C (getStatus):
6427 remove LFUN_INSET_GRAPHICS.
6429 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6431 2003-03-07 Angus Leeming <leeming@lyx.org>
6434 * LyXAction.C (init):
6435 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6437 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6440 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6442 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6443 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6445 2003-03-07 Angus Leeming <leeming@lyx.org>
6447 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6450 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * ParagraphList.C (front): new function
6455 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6457 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6458 and top_row_offset_. removed var first_y.
6460 * text2.C (LyXText, removeRow):
6462 * BufferView_pimpl.C:
6463 use these methods instead of using first_y
6465 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * text2.C (pasteSelection): adjust for checkPastePossible
6469 * CutAndPaste.C: remove Paragraph * buf and replace with
6470 ParagraphList paragraphs.
6471 (DeleteBuffer): delete
6472 (cutSelection): change the tc type to textclass_type
6473 (copySelection): change the tc type to textclass_type
6474 (copySelection): adjust for ParagraphList
6475 (pasteSelection): change the tc type to textclass_type
6476 (pasteSelection): adjust for Paragraphlist
6477 (nrOfParagraphs): simplify for ParagraphList
6478 (checkPastePossible): simplify for ParagraphList
6479 (checkPastePossible): remove unused arg
6481 * ParagraphList.C (insert): handle the case where there are no
6484 * CutAndPaste.h: make CutAndPaste a namespace.
6486 * text3.C (dispatch): adjust
6488 * text.C (breakParagraph): add a ParagraphList as arg
6490 * paragraph_funcs.C (breakParagraph): change to take a
6491 BufferParams and a ParagraphList as args.
6492 (breakParagraphConservative): ditto
6493 (mergeParagraph): ditto
6494 (TeXDeeper): add a ParagraphList arg
6495 (TeXEnvironment): ditto
6498 * buffer.C (readLyXformat2): adjust
6499 (insertStringAsLines): adjust
6500 (latexParagraphs): adjust
6502 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6503 (cutSelection): adjust
6504 (pasteSelection): adjust
6506 * BufferView_pimpl.C (insertInset): adjust
6508 2003-03-05 Angus Leeming <leeming@lyx.org>
6511 * LyXAction.C (init):
6512 * BufferView_pimpl.C (dispatch):
6513 * lyxfunc.C (getStatus):
6514 remove LFUN_CHILD_INSERT.
6516 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6518 2003-03-05 Angus Leeming <leeming@lyx.org>
6521 * LyXAction.C (init):
6522 * src/factory.C (createInset):
6523 * lyxfunc.C (getStatus):
6524 * text3.C (dispatch):
6525 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6527 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6529 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * ParagraphList.C (insert): handle insert right before end()
6532 (erase): fix cases where it can be first or last paragraph.
6534 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6537 Paragraph::next and Paragraph::previous
6540 * text.C (breakParagraph): adjust
6542 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6543 BufferParams& as arg.
6544 (breakParagraph): use ParagraphList::insert
6545 (breakParagraphConservative): take a Buffer* instead of a
6546 BufferParams& as arg.
6547 (breakParagraphConservative): use ParagraphList::insert.
6549 * buffer.C (insertStringAsLines): un-const it
6550 (insertStringAsLines): adjust
6552 * ParagraphList.C (insert): new function
6554 * CutAndPaste.C (pasteSelection): adjust
6556 * text.C (backspace): adjust
6558 * tabular.C (SetMultiColumn): adjust
6560 * CutAndPaste.C (cutSelection): adjust
6561 (pasteSelection): adjust
6563 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6564 Buffer const * as arg
6566 * ParagraphList.C (erase): new function
6567 * paragraph_funcs.C (mergeParagraph): use it
6568 (mergeParagraph): make it take a Buffer* instead of a
6569 BufferParams* as arg
6571 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6573 (breakParagraphConservative): ditto
6575 * paragraph.h: remove the breakParagraph friend
6577 * paragraph.C (eraseIntern): new function
6578 (setChange): new function
6580 * paragraph_funcs.C (mergeParagraph): make it take a
6581 ParagraphList::iterator instead of a Paragraph *, adjust
6584 * paragraph.h: move an #endif so that the change tracking stuff
6585 also works in the NO_NEXT case.
6587 2003-03-04 Angus Leeming <leeming@lyx.org>
6590 * LyXAction.C: new LFUN_INSET_MODIFY.
6592 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6593 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6595 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * several files: ws changes only
6599 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6600 (TeXEnvironment): ditto
6603 * buffer.C (makeLaTeXFile): adjust
6604 (latexParagraphs): make it take ParagraphList::iterator as args
6606 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * buffer.C (latexParagraphs): adjust
6610 * paragraph.C (TeXOnePar): move function...
6611 (optArgInset): move function...
6612 (TeXEnvironment): move function...
6613 * paragraph_pimpl.C (TeXDeeper): move function...
6614 * paragraph_funcs.C: ...here
6616 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6618 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * buffer.C (readInset): remove compability code for old Figure and
6623 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * buffer.C: ws changes
6628 * BufferView_pimpl.C: ditto
6631 * bufferlist.h: ditto
6635 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6637 * converter.[Ch]: split into itself +
6640 * Makefile.am: += graph.[Ch] + format.[Ch]
6647 * lyxrc.C: added #include "format.h"
6649 2003-02-27 Angus Leeming <leeming@lyx.org>
6651 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6654 * factory.C (createInset): add "label" to the factory.
6656 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6657 string and do no more.
6659 2003-02-27 Angus Leeming <leeming@lyx.org>
6662 * LyXAction.C (init):
6663 * factory.C (createInset):
6664 * BufferView_pimpl.C (dispatch):
6665 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6667 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6669 * lyxfunc.C (dispatch):
6670 * text3.C (dispatch): pass name to params2string.
6672 2003-02-26 Angus Leeming <leeming@lyx.org>
6674 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6676 Rearrange the ~includes. Strip out the unnecessary ones.
6678 * factory.C (createInset): reformat.
6679 create new insets for the various LFUN_XYZ_APPLY lfuns.
6681 2003-02-26 John Levon <levon@movementarian.org>
6684 * lyxrow.C: add isParStart,isParEnd helpers
6686 * paragraph.h: make isInserted/DeletedText take refs
6688 * paragraph_funcs.h:
6689 * paragraph_funcs.C: remove #if 0'd code
6694 * text.C: use lyxrow helpers above.
6695 Move draw and paint routines to RowPainter.
6696 Make several methods use refs not pointers.
6697 Make backgroundColor() const.
6698 Add markChangeInDraw(), isInInset().
6699 Merge changeRegionCase into changeCase.
6700 Make workWidth() shouldn't-happen code into an Assert.
6703 * rowpainter.C: new class for painting a row.
6706 * vspace.C: make inPixels take a ref
6708 2003-02-26 Angus Leeming <leeming@lyx.org>
6710 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6713 2003-02-25 John Levon <levon@movementarian.org>
6715 * ispell.C: give the forked command a more accurate name
6717 2003-02-22 John Levon <levon@movementarian.org>
6720 * toc.C: make TocItem store an id not a Paragraph *
6723 2003-02-21 Angus Leeming <leeming@lyx.org>
6725 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6726 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6727 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6728 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6729 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6730 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6732 * BufferView_pimpl.C (dispatch):
6733 * LyXAction.C (init):
6734 * factory.C (createInset):
6735 * lyxfunc.C (getStatus, dispatch):
6736 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6738 2003-02-21 Angus Leeming <leeming@lyx.org>
6740 * BufferView_pimpl.C (MenuInsertLyXFile):
6741 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6742 * lyxfunc.C (menuNew, open, doImport):
6743 no longer pass a LyXView & to fileDlg.
6745 2003-02-21 Angus Leeming <leeming@lyx.org>
6747 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6748 * LyXAction.C: change, BIBKEY to BIBITEM.
6749 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6750 Change InsetBibKey to InsetBibitem.
6751 Change BIBKEY_CODE to BIBITEM_CODE.
6752 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6753 * factory.C: replace insetbib.h with insetbibitem.h.
6754 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6755 * paragraph.C: replace insetbib.h with insetbibitem.h.
6756 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6757 Change bibkey() to bibitem().
6758 * text.C: remove insetbib.h.
6759 * text2.C: replace insetbib.h with insetbibitem.h.
6760 change bibkey() to bibitem().
6761 * text3.C: remove insetbib.h.
6762 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6764 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * lyxrc.C (output): enclose user email in quotes (in case there are
6769 2003-02-18 John Levon <levon@movementarian.org>
6771 * buffer.h: add std::
6773 2003-02-17 John Levon <levon@movementarian.org>
6779 * pspell.C: reworking. Especially in ispell, a large
6780 number of clean ups and bug fixes.
6782 * lyxfunc.C: fix revert to behave sensibly
6784 2003-02-17 André Pönitz <poenitz@gmx.net>
6787 * commandtags.h: new LFUN_INSERT_BIBKEY
6797 * paragraph_func.C: remove special bibkey handling
6799 2003-02-17 John Levon <levon@movementarian.org>
6801 * text.C (Delete): fix case where delete at the end of
6802 the very first paragraph would not merge the pars
6804 2003-02-17 John Levon <levon@movementarian.org>
6806 * lyxrow.C: fix lastPrintablePos()
6808 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6810 * bufferparams.C (writeLaTeX): add a std:here
6812 * buffer.C: and remove a using directive there
6814 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6816 * buffer.C (makeLaTeXFile): move the code that generates the
6819 * bufferparams.C (writeLaTeX): ... in this new method
6821 * LaTeXFeatures.C (getEncodingSet): make const
6822 (getLanguages): make const
6824 * MenuBackend.C (binding): returns the binding associated to this
6826 (add): sets the status of each item by calling getStatus. Adds
6828 (read): add support for OptSubMenu
6829 (expand): remove extra separator at the end of expanded menu
6831 2003-02-15 John Levon <levon@movementarian.org>
6834 * BufferView_pimpl.C:
6836 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6837 inset code that had no actual effect. Remove unneeded status
6840 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6842 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6845 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6847 * text.C (drawLengthMarker): also draw an arrow marker for
6848 symbolic lengths (medskip...)
6850 2003-02-14 John Levon <levon@movementarian.org>
6853 * tabular.C: better method names
6855 2003-02-14 John Levon <levon@movementarian.org>
6857 * BufferView_pimpl.C:
6862 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6863 it's a more accurate name. Remove some pointless uses.
6865 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6867 * text2.C (LyXText): change order of initilizers to shut off
6870 2003-02-14 John Levon <levon@movementarian.org>
6872 * buffer.C: use ParIterator for getParFromID()
6876 * paragraph_pimpl.h:
6877 * paragraph_pimpl.C: remove unused getParFromID()
6879 2003-02-14 John Levon <levon@movementarian.org>
6881 * buffer.C: remove some very old #if 0'd parse code
6883 2003-02-13 John Levon <levon@movementarian.org>
6887 * text2.C: move hfillExpansion(), numberOfSeparators(),
6888 rowLast(), rowLastPrintable(), numberofHfills(),
6889 numberOfLabelHfills() ...
6892 * lyxrow.C: ... to member functions here.
6897 * text.C: remove LyXText::beginningOfMainBody(), and call
6898 p->beginningOfMainBody() directly. Move the check for
6899 LABEL_MANUAL into the latter.
6906 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6912 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6913 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6915 2003-02-13 John Levon <levon@movementarian.org>
6917 * CutAndPaste.C: remove debug
6919 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6921 * paragraph.C (asString): remove two unused variables
6923 * lyxtextclass.C (readTitleType):
6925 (LyXTextClass): handle new members titletype_ and titlename_
6927 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6929 2003-02-09 John Levon <levon@movementarian.org>
6932 * buffer.C: replace hand-coded list with a map for the dep clean
6934 2003-02-08 John Levon <levon@movementarian.org>
6936 * LaTeX.C: consolidate code into showRunMessage() helper
6938 2003-02-08 John Levon <levon@movementarian.org>
6943 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6944 and pass the size in explicitly
6946 * BufferView_pimpl.h:
6947 * BufferView_pimpl.C:
6949 * BufferView.C: add getCurrentChange()
6951 * BufferView_pimpl.h:
6952 * BufferView_pimpl.C: handle change lfuns
6954 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6955 for changes. Mark pasted paragraphs as new.
6957 * support/lyxtime.h:
6958 * support/lyxtime.C:
6959 * DepTable.C: abstract time_t as lyx::time_type
6962 * LColor.C: add colours for new text, deleted text, changebars
6964 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6965 package use "usenames" option.
6969 * LyXAction.C: add change lfuns
6973 * author.C: author handling
6976 * buffer.C: add a per-buffer author list, with first entry as
6977 current author. Handle new .lyx tokens for change tracking. Output
6978 author list to .lyx file. Output dvipost stuff to .tex preamble.
6979 Bump lyx format to 222.
6982 * bufferlist.C: add setCurrentAuthor() to reset current author details
6986 * bufferparams.C: add param for tracking
6988 * bufferview_funcs.C: output change info in minibuffer
6992 * changes.C: add change-tracking structure
6995 * debug.C: add CHANGES debug flag
6998 * lyxfind.C: add code for finding the next change piece
7001 * lyxrc.C: add user_name and user_email
7004 * lyxrow.C: add a metric for the top of the text line
7007 * text.C: implement accept/rejectChange()
7010 * text.C: paint changebars. Paint new/deleted text in the chosen
7011 colours. Strike through deleted text.
7015 * paragraph_pimpl.h:
7016 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7017 in the current change to the insert functions. Rework erase to
7018 mark text as deleted, adding an eraseIntern() and a range-based
7019 erase(). Implement per-paragraph change lookup and
7022 * paragraph_funcs.C: Fixup paste for change tracking.
7024 * tabular.C: mark added row/columns as new.
7026 * text.C: fix rowLast() to never return -1. Don't allow
7027 spellchecking of deleted text. Track transpose changes. Don't
7028 allow paragraph break or merge where appropriate.
7030 * text2.C: leave cursor at end of selection after a cut.
7032 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7034 * text.C (getLengthMarkerHeight):
7035 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7036 visible on screen too.
7038 2003-02-07 John Levon <levon@movementarian.org>
7040 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7042 2003-02-05 Angus Leeming <leeming@lyx.org>
7044 * lyxserver.C (read_ready): revert my patch of 11 September last year
7045 as it sends PC cpu through the roof. Presumably this means that
7046 the lyxserver will no longer run on an Alpha...
7048 2003-01-30 Angus Leeming <leeming@lyx.org>
7050 * factory.C (createInset): create an InsetCommandParam of type "index"
7051 and use it to 'do the right thing'.
7053 * text2.C (getStringToIndex): ensure that cursor position is always
7054 reset to the reset_cursor position.
7056 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7061 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7065 * lyxfunc.C: Output messages with identical spelling, punctuation,
7068 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7070 * MenuBackend.C (expandFormats): List only viewable export formats
7073 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7076 * lyxfunc.C (getStatus): Make sure that formats other than
7077 "fax" can also be disabled
7079 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * text3.C (dispatch): put the lfuns that insert insets in 3
7082 groups, and call doInsertInset with appropriate arguments.
7083 (doInsertInset): new function, that creates an inset and inserts
7084 it according to some boolean parameters.
7086 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7088 * buffer.C (readFile): remember to pass on 'par' when calling
7089 readFile recursively.
7091 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7093 * MenuBackend.C (expandFormats): add "..." to import formats.
7095 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7097 * paragraph.C (asString): Remove XForms RTL hacks.
7099 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7100 * buffer.C: fix typo
7102 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * Makefile.am (LIBS): delete var
7105 (lyx_LDADD): add @LIBS@ here instead.
7107 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7109 * Clarify the meaning of "wheel mouse jump"
7111 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7113 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7116 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * importer.C (Loaders): do not preallocate 3 elements in the
7119 vector, since one ends up with 6 elements otherwise
7121 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7123 * DepTable.C (write): write the file name as last element of the
7124 .dep file (because it may contain spaces)
7125 (read): read info in the right order
7127 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7129 * paragraph_pimpl.C (simpleTeXBlanks):
7130 (simpleTeXSpecialChars):
7131 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7133 * tabular.C (latex): add some missing case statements. Reindent.
7135 * MenuBackend.C (expandToc): remove unused variable.
7137 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7146 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7149 2003-01-05 John Levon <levon@movementarian.org>
7152 * BufferView.C: add getEncoding()
7155 * kbsequence.C: do not store last keypress
7158 * lyxfunc.C: store last keypress here instead. Pass encoding
7161 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7163 * lyx_main.C (init): remove annoying error message when following
7164 symbolic links (bug #780)
7166 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * text.C (insertChar):
7169 * lyxrc.C (getDescription): remove extra spaces
7171 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7173 * lyxrc.C (getDescription): remove extra spaces
7175 2002-12-20 John Levon <levon@movementarian.org>
7177 * text3.C: hack fix for page up/down across tall rows
7179 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7181 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7184 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7186 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7187 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7188 thesaurus is not compiled in
7190 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7192 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7194 2002-12-16 Angus Leeming <leeming@lyx.org>
7197 * lyx_main.C (init): remove override_x_deadkeys stuff.
7199 2002-12-12 John Levon <levon@movementarian.org>
7201 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7202 insert. Only remove shift modifier under strict
7205 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * MenuBackend.C (expandToc): fix crash.
7209 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * MenuBackend.C (expandToc): gettext on float names.
7213 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7215 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7216 implement bool empty() [bug 490]
7218 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7222 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * several files: ws changes
7226 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * text2.C (setCounter): clean up a bit, use boost.format.
7229 (updateCounters): initialize par upon declaration.
7231 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7232 if the layout exists. We do not just store the layout any more.
7233 (SwitchLayoutsBetweenClasses): use boost.format
7235 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7237 * converter.C (convert): if from and to files are the same, use a
7238 temporary files as intermediary
7240 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7243 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7245 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7247 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7249 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * tabular.C (asciiPrintCell): use string(size, char) instead of
7254 * sgml.C (openTag): fix order of arguments to string constructor
7257 * lyxfunc.C (dispatch): use boost.format
7259 * lots of files: change "c" -> 'c'
7261 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7263 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7265 2002-11-25 Angus Leeming <leeming@lyx.org>
7267 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7269 * lyx_main.C (init): compile fix.
7271 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * lyx_cb.C (start): boost.formatify
7274 do not include <iostream>
7276 * lengthcommon.C: ws only
7278 * boost-inst.C,BoostFormat.h: add more explict instantations
7280 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * lots of files: handle USE_BOOST_FORMAT
7284 2002-11-21 John Levon <levon@movementarian.org>
7286 * pspell.C: fix compile
7288 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7290 * lyxfunc.C (dispatch): use boost::format
7294 * lyxfont.C (stateText): use boost::format
7296 * lyx_main.C (LyX): use boost::format
7298 (queryUserLyXDir): ditto
7301 (typedef boost::function): use the recommened syntax.
7303 * importer.C (Import): use boost::format
7305 * debug.C (showLevel): use boost::format
7307 * converter.C (view): use boost::format
7312 * bufferview_funcs.C (currentState): use boost::format
7314 * bufferlist.C (emergencyWrite): use boost::format
7316 * buffer.C (readLyXformat2): use boost::format
7317 (parseSingleLyXformat2Token): ditto
7319 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7321 * LaTeX.C (run): use boost::format
7323 * Chktex.C (scanLogFile): use boost::format
7325 * BufferView_pimpl.C (savePosition): use boost::format
7326 (restorePosition): ditto
7327 (MenuInsertLyXFile): ditto
7329 * BoostFormat.h: help file for explicit instation.
7331 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7333 * tabular.C (latex): Support for block alignment in fixed width
7336 2002-11-17 John Levon <levon@movementarian.org>
7338 * BufferView_pimpl.C:
7340 * lyxfunc.C: split filedialog into open/save
7342 2002-11-08 Juergen Vigna <jug@sad.it>
7344 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7345 by my last patch (hopefully).
7347 2002-11-08 John Levon <levon@movementarian.org>
7356 * toc.C: ParConstIterator, and use it (from Lars)
7358 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7360 * lyxtextclass.[Ch]: revise and add doxygen comments
7362 2002-11-07 John Levon <levon@movementarian.org>
7364 * text.C: fix progress value for spellchecker
7366 * toc.C: fix navigate menu for insetwrap inside minipage
7368 * paragraph_funcs.C: added FIXME for suspect code
7370 2002-11-07 John Levon <levon@movementarian.org>
7372 * BufferView_pimpl.C: fix redrawing of insets
7375 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7377 * text2.C (updateCounters): fix bug 668
7379 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7381 * text3.C (dispatch): Do not make the buffer dirty when moving the
7384 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * vc-backend.C: STRCONV
7389 * text2.C (setCounter): STRCONV
7391 * paragraph.C (asString): STRCONV
7393 * lyxlength.C (asString): STRCONV
7394 (asLatexString): ditto
7396 * lyxgluelength.C (asString): STRCONV
7397 (asLatexString): ditto
7399 * lyxfunc.C (dispatch): STRCONV
7402 * lyxfont.C (stateText): STRCONV
7404 * importer.C (Import): STRCONV
7406 * counters.C (labelItem): STRCONV
7407 (numberLabel): ditto
7408 (numberLabel): remove unused ostringstream o
7413 * bufferview_funcs.C (currentState): STRCONV
7415 * buffer.C (readFile): STRCONV
7416 (asciiParagraph): ditto
7417 (makeLaTeXFile): ditto
7419 * Spacing.C (writeEnvirBegin): STRCONV
7421 * LaTeXFeatures.C (getLanguages): STRCONV
7422 (getPackages): ditto
7424 (getBabelOptions): ditto
7425 (getTClassPreamble): ditto
7426 (getLyXSGMLEntities): ditto
7427 (getIncludedFiles): ditto
7431 (scanAuxFile): ditto
7434 * LString.h: add the STRCONV macros
7436 * BufferView_pimpl.C (savePosition): STRCONV
7437 (restorePosition): ditto
7438 (MenuInsertLyXFile): ditto
7440 * vc-backend.C (scanMaster): change from submatch[...] to
7443 * funcrequest.C: include config.h
7445 * factory.C: include config.h
7447 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7449 * box.C: include config.h
7451 * LaTeX.C (scanAuxFile): change from submatch[...] to
7455 2002-10-25 Angus Leeming <leeming@lyx.org>
7457 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7459 * ispell.[Ch] (setError): new method.
7460 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7461 Use setError() insetead of goto END.
7463 * lyx_cb.C (AutoSave): move out child process into new class
7466 2002-10-30 John Levon <levon@movementarian.org>
7468 * text3.C: make start appendix undoable
7470 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7472 * lyxlength.C (inPixels): Fix returned value.
7474 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7477 2002-10-24 Angus Leeming <leeming@lyx.org>
7479 * lyxgluelength.h: no need to forward declare BufferParams
7480 or BufferView, so don't.
7482 2002-10-21 John Levon <levon@movementarian.org>
7484 * BufferView.C: menuUndo ->undo, redo
7486 * BufferView.h: document, remove dead, make some methods private
7488 * paragraph_funcs.h:
7489 * paragraph_funcs.C:
7490 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7495 * sgml.C: move sgml open/close tag into sgml.C
7497 * bufferview_funcs.h: unused prototype
7500 * lyxfunc.C: remove unused
7503 * text.C: remove unused
7505 2002-10-21 John Levon <levon@movementarian.org>
7509 * BufferView_pimpl.h:
7510 * BufferView_pimpl.C: fix mouse wheel handling based on
7511 patch from Darren Freeman
7513 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7515 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7517 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7519 * lyxlength.C (inPixels): Fix hanfling of negative length.
7520 Fix LyXLength::MU case.
7522 2002-10-16 John Levon <levon@movementarian.org>
7524 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7526 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7528 * converter.C (view): add support for $$i (file name) and $$p
7529 (file path) for the viewer command. If $$i is not specified, then
7530 it is appended to the command (for compatibility with old syntax)
7532 2002-10-14 Juergen Vigna <jug@sad.it>
7534 * undo_funcs.C (textHandleUndo): alter the order in which the
7535 new undopar is added to the LyXText, as we have to set first
7536 the right prev/next and then add it as otherwise the rebuild of
7537 LyXText is not correct. Also reset the cursor to the right paragraph,
7538 with this IMO we could remove the hack in "redoParagraphs()".
7540 2002-10-09 Angus Leeming <leeming@lyx.org>
7542 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7543 to turn off an optimisation if a new inset is to be inserted.
7545 2002-10-11 André Pönitz <poenitz@gmx.net>
7547 * lyxtext.h: make some functions public to allow access
7548 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7550 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * text3.C (dispatch): when changing layout, avoid an infinite loop
7555 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7557 * lyxrc.C (read): treat a viewer or converter command of "none" as
7560 * MenuBackend.C (expandFormats): for an update, also allow the
7561 formats that are not viewable
7563 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7564 script if it is newer than the lyxrc.defaults in user directory
7566 2002-10-07 André Pönitz <poenitz@gmx.net>
7568 * text.C: Vitaly Lipatov's small i18n fix
7570 2002-09-25 Angus Leeming <leeming@lyx.org>
7572 * ispell.h: doxygen fix.
7574 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7576 * buffer.h (readFile): Add a new argument to the method, to allow
7577 reading of old-format templates.
7579 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7581 * toc.C (getTocList): Get TOC from InsetWrap.
7583 2002-09-16 John Levon <levon@movementarian.org>
7585 * lyxfunc.C: check tabular for cut/copy too
7587 2002-09-12 John Levon <levon@movementarian.org>
7592 * factory.C: add header
7594 * paragraph_funcs.h:
7595 * paragraph_funcs.C: cleanup
7597 2002-09-11 John Levon <levon@movementarian.org>
7599 * PrinterParams.h: odd/even default to true
7601 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7603 * PrinterParams.h: update printer parameters for new xforms dialog
7605 2002-09-11 Angus Leeming <leeming@lyx.org>
7607 * lyxserver.C (read_ready): re-write to make it more transparent
7608 and to make it work in coherent fashion under Tru64 Unix.
7610 2002-09-11 André Pönitz <poenitz@gmx.net>
7614 * text3.C: implement LFUN_WORDSEL
7616 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7619 make floatlist_ a boost::shared_ptr<FloatList>
7621 * lyxtextclass.C: include FloatList.h
7622 (LyXTextClass): initialize floatlist_
7623 (TextClassTags): add TC_NOFLOAT
7624 (Read): match "nofloat" to TC_NOFLOAT and use it.
7625 (readFloat): modify call to floatlist_
7629 * FloatList.[Ch] (FloatList): remove commented out float
7631 (erase): new function
7633 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7635 * MenuBackend.C (expandToc): fix crash when there is no document
7638 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7640 * many files: Add insetwrap.
7642 2002-09-09 John Levon <levon@movementarian.org>
7644 * text2.C: remove confusing and awkward depth wraparound
7646 2002-09-09 John Levon <levon@movementarian.org>
7648 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7651 * buffer.C: remove getIncludeonlyList()
7654 * lyxfunc.C: remove headers
7656 2002-09-09 Juergen Vigna <jug@sad.it>
7658 * text.C (getColumnNearX): fix form Michael this is most
7659 probably a cut&paste bug.
7661 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7665 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7666 references, ws changes.
7668 * text2.C (init): update counters after init
7669 (insertParagraph): no need to set counter on idividual paragraphs.
7670 (setCounter): access the counters object in the textclass object
7671 on in the buffer object.
7672 (updateCounters): ditto
7674 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7675 shared_ptr<Counters> to avoid loading counters.h in all
7677 (LyXTextClass): initialize ctrs_
7678 (TextClassTags): add TC_COUNTER, and ...
7679 (Read): use it here.
7680 (CounterTags): new tags
7681 (readCounter): new function
7682 (counters): new funtion
7683 (defaultLayoutName): return a const reference
7685 * counters.C (Counters): remove contructor
7686 (newCounter): remove a couple of unneeded statements.
7687 (newCounter): simplify a bit.
7688 (numberLabel): some small formatting changes.
7690 * buffer.[Ch]: remove all traces of counters, move the Counters
7691 object to the LyXTextClass.
7693 2002-09-06 Alain Castera <castera@in2p3.fr>
7695 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7696 package to set the horizontal alignment on fixed width columns.
7699 * lyx_sty.h: added tabularnewline macro def.
7701 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7703 2002-09-06 John Levon <levon@movementarian.org>
7705 * LyXAction.C: tooltips for sub/superscript
7707 * MenuBackend.C: a bit more verbose
7709 * lyxfunc.C: tiny clean
7711 * undo_funcs.C: document undo_frozen
7713 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * counters.C (Counters): add missing algorithm counter.
7717 * text2.C (setCounter): lookup the counter with layouts latexname
7718 instead of by section number.
7719 (setCounter): use a hackish way to lookup the correct enum
7721 a float name->type change
7722 reset enum couners with counter name directly instead of depth value.
7724 * counters.C (Counters): remove the push_backs, change to use the
7725 float type not the float name.
7726 (labelItem): remove unused string, float name->type change
7728 * counters.h: don't include vector, loose the enums and sects vectors
7730 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7733 (Read): add float->TC_FLOAT to textclassTags
7734 (Read): and handle it in the switch
7735 (readFloat): new function
7737 * FloatList.C (FloatList): comment out the hardcoded float
7740 * lyxlayout.h: ws change.
7742 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7744 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7746 2002-09-03 Angus Leeming <leeming@lyx.org>
7748 * BufferView_pimpl.h: qualified name is not allowed in member
7749 declaration: WorkArea & Pimpl::workarea() const;
7751 * factory.C: added using std::endl directive.
7753 * text3.C: added using std::find and std::vector directives.
7755 2002-08-29 André Pönitz <poenitz@gmx.net>
7758 * text2.C: remove unused member number_of_rows
7761 * BufferView2.C: remove file, move contents to...
7762 * BufferView.C: ... here
7764 * BufferView_pimpl.C:
7765 * factory.C: move more inset creation to factory
7767 * vspace.C: avoid direct usage of LyXText, ws changes
7770 don't provide direct access to WorkArea, use two simple
7771 acessors haveSelction() and workHeight() instead
7774 2002-08-29 John Levon <levon@movementarian.org>
7776 * BufferView_pimpl.C (dispatch): do not continue when
7779 2002-08-28 André Pönitz <poenitz@gmx.net>
7781 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7784 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7786 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7788 * buffer.C: increment LYX_FORMAT to 221
7790 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7791 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7793 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7795 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7797 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7799 * factory.C (createInset): use LyXTextClass::floats
7801 * MenuBackend.C (expandFloatListInsert):
7802 (expandFloatInsert):
7805 * text2.C (setCounter):
7807 * LaTeXFeatures.C (useFloat):
7808 (getFloatDefinitions):
7810 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7812 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7813 floatlist_, with accessor floats().
7815 * FloatList.h: remove global FloatList
7817 2002-08-26 André Pönitz <poenitz@gmx.net>
7819 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7823 * BufferView_pimpl.C:
7824 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7826 2002-08-25 John Levon <levon@movementarian.org>
7828 * LyXAction.C: fix margin note description
7830 2002-08-24 John Levon <levon@movementarian.org>
7834 * bufferview_funcs.C:
7836 * undo_funcs.C: cleanups
7838 * lyxfunc.C: disable CUT/COPY when no selection
7840 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7842 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7843 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7845 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7846 Add backward compatibility to "mono", "gray" and "no".
7848 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7850 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7851 (and file_format >= 200).
7853 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7855 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7857 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7859 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7861 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7863 * BufferView_pimpl.C:
7870 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7871 inset and code to make it work with the paragraph code. The inset
7872 can be anywhere in the paragraph, but will only do the expected
7873 thing in LaTeX if the layout file contains the parameter line
7875 (or more generally, a nonzero value) for that layout.
7877 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7879 * paragraph.h: remove the declaration of undefined counters class
7882 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7884 * text2.C (setCounter): fixed enumeration mis-count as reported by
7885 Dr. Richard Hawkins.
7887 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7889 * paragraph_funcs.h: remove some unneeded includes
7891 * text.C (backspace): pasteParagraph now in global scipe
7893 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7894 (pasteSelection): ditto
7896 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7897 * paragraph_funcs.C (pasteParagraph): ... here
7899 2002-08-20 André Pönitz <poenitz@gmx.net>
7901 * commandtags.h: new LFUNs for swapping/copying table row/colums
7904 * lyxfunc.C: support for new lfuns
7906 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * buffer.[Ch]: remove NO_COMPABILITY stuff
7911 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * boost.C (throw_exception): new file, with helper function for
7914 boost compiled without exceptions.
7919 * ParameterStruct.h:
7920 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7922 * bufferlist.C (emergencyWriteAll): use boost bind
7924 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7926 * text.C: include paragraph_funcs.h
7927 (breakParagraph): breakParagraph is now in global scope
7929 * paragraph_funcs.[Ch]: new files
7931 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7934 * buffer.C: include paragraph_funcs.h
7935 (insertStringAsLines): breakParagraph is now in global scope
7937 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7940 * CutAndPaste.C: include paragraph_funcs.h
7941 (cutSelection): breakParagraphConservative is now in global scope
7942 (pasteSelection): ditto
7944 * buffer.h: declare oprator== and operator!= for
7945 Buffer::inset_iterator
7947 * bufferlist.C (emergencyWrite): don't use fmt(...)
7949 * text3.C: add using std::endl
7951 * BufferView.C (moveCursorUpdate): remove default arg
7953 2002-08-20 André Pönitz <poenitz@gmx.net>
7955 * buffer.[Ch]: move inline functions to .C
7958 * BufferView_pimpl.C:
7960 * buffer.[Ch]: use improved inset_iterator
7963 * paragraph.[Ch]: write one paragraph at a time
7965 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7967 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7968 style if style is not specified.
7970 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7972 * text2.C (setCounter): when searching for right label for a
7973 caption, make sure to recurse to parent insets (so that a caption
7974 in a minipage in a figure float works) (bug #568)
7976 2002-08-20 André Pönitz <poenitz@gmx.net>
7978 * text3.C: new file for LyXText::dispatch() and helpers
7980 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7982 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7984 2002-08-19 André Pönitz <poenitz@gmx.net>
7987 * text.C: new LyXText::dispatch()
7989 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7991 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7993 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7995 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7998 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * Makefile.am: use $(variables) instead of @substitutions@
8002 2002-08-15 André Pönitz <poenitz@gmx.net>
8005 * BufferView_pimpl.C: streamlining mathed <-> outer world
8009 * LyXAction.C: remove unused LFUN_MATH
8011 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8013 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8015 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * paragraph.C (Paragraph): reformat a bit
8018 (cutIntoMinibuffer): use builtin InsetList function instad of
8022 * buffer.C: include boost/bind.hpp, add using std::for_each
8023 (writeFileAscii): use ParagraphList iterators
8024 (validate): use for_each for validate traversal of paragraphs
8025 (getBibkeyList): use ParagraphList iterators
8026 (resizeInsets): use for_each to resizeInsetsLyXText for all
8028 (getParFromID): use ParagraphList iterators
8030 * BufferView2.C (lockInset): use paragraph list and iterators
8032 2002-08-14 John Levon <levon@movementarian.org>
8034 * lyxserver.C: remove spurious xforms include
8036 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8038 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8040 2002-08-13 André Pönitz <poenitz@gmx.net>
8043 * lyxfunc.C: further cleaning
8045 2002-08-13 André Pönitz <poenitz@gmx.net>
8047 * funcrequest.h: new constructor
8049 * funcrequest.C: move stuff here from .h
8052 * BufferView_pimpl.C:
8055 * lyxfunc.C: subsequent changes
8057 * lyxfunc.h: new view() member function
8059 * lyxfunc.C: subsequent changes
8061 2002-08-13 Angus Leeming <leeming@lyx.org>
8064 * BufferView_pimpl.C:
8072 changes due to the changed LyXView interface that now returns references
8073 to member variables not pointers.
8075 2002-08-13 Angus Leeming <leeming@lyx.org>
8077 * WordLangTuple (word, lang_code): return references to strings,
8082 * lyxtext.h: forward-declare WordLangTuple.
8087 * text.C: #include "WordLangTuple.h".
8090 * text.C: (selectNextWordToSpellcheck): constify return type.
8092 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8098 * paragraph_pimpl.h:
8101 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8103 Made updateCounter always count from start of buffer, and removed
8104 second argument (par).
8105 Reverted floats number display to '#'. Perhaps I'll try again when the
8106 code base is sanitized a bit.
8108 2002-08-12 Angus Leeming <leeming@lyx.org>
8110 * buffer.[Ch] (getLabelList): constify.
8112 2002-08-07 André Pönitz <poenitz@gmx.net>
8114 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8116 * funcrequest.h: extension to keep mouse (x,y) position
8118 2002-08-12 Juergen Vigna <jug@sad.it>
8120 * BufferView2.C (insertErrors): forbid undo when inserting error
8123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8125 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * ParagraphList.[Ch]: new files
8129 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8131 * BufferView2.C (lockInset): ParagraphList changes
8134 * bufferlist.C: ditto
8138 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8141 unused class variable counter_,
8143 * paragraph.[Ch] (getFirstCounter): delete unused function
8145 * counters.C: include LAssert.h
8146 (reset): add a new function with no arg, change other version to
8147 not have def. arg and to not allow empty arg.
8149 * text2.C (setCounter): remove empty arg from call to Counters::reset
8151 2002-08-11 John Levon <levon@movementarian.org>
8153 * Makefile.am: add WordLangTuple.h
8155 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8158 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8160 * insets/insettext.C: InsetList changes
8162 * graphics/GraphicsSupport.C (operator()): InsetList changes
8164 * toc.C (getTocList): InsetList changes
8166 * paragraph_pimpl.[Ch]: InsetList changes
8168 * paragraph.[Ch]: InsetList changes
8170 * buffer.C (inset_iterator): InsetList changes
8171 (setParagraph): ditto
8172 * buffer.h (inset_iterator): ditto
8173 * iterators.C (operator++): ditto
8174 * iterators.h: ditto
8176 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8178 * InsetList.[Ch]: new files, most InsetList handling moved out of
8181 * BufferView2.C (removeAutoInsets): InsetList changes
8183 (ChangeInsets): ditto
8185 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * paragraph_pimpl.h (empty): new function
8189 * paragraph.[Ch] (empty): new function
8191 * other files: use the new Paragraph::empty function
8193 2002-08-09 John Levon <levon@movementarian.org>
8195 * lyxtext.h: remove unused refresh_height
8197 2002-08-09 John Levon <levon@movementarian.org>
8204 * paragraph.C: move sgml char escaping out of paragraph
8207 * paragraph.C: remove id setter
8211 * paragraph_pimpl.C: remove dead tex_code_break_column
8213 * bufferview_funcs.C: small cleanup
8215 * lyxfunc.C: remove dead proto
8217 * lyxtext.h: make some stuff private. Remove some dead stuff.
8219 * lyxgluelength.C: make as[LyX]String() readable
8221 2002-08-08 John Levon <levon@movementarian.org>
8226 * ToolbarDefaults.C:
8229 * toc.C: lyxaction cleanup
8231 2002-08-08 John Levon <levon@movementarian.org>
8233 * BufferView2.C: small cleanup
8236 * lyxfind.C: move unnecessary header into the .C
8238 2002-08-08 John Levon <levon@movementarian.org>
8240 * funcrequest.h: just tedious nonsense
8243 * lyx_main.C: cleanups
8246 * vspace.C: remove dead header lyx_main.h
8248 2002-08-07 Angus Leeming <leeming@lyx.org>
8251 * paragraph_pimpl.h:
8252 Forward declare class Counters in paragraph.h by moving the ctrs member
8253 variable into Paragraph::Pimpl.
8254 (counters): new method, returning a reference to pimpl_->ctrs.
8256 * text2.C: ensuing changes.
8258 2002-08-07 John Levon <levon@movementarian.org>
8260 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8262 * BufferView_pimpl.C: announce X selection on double/triple
8265 * lyx_main.C: use correct bool in batch dispatch
8267 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8269 2002-08-07 André Pönitz <poenitz@gmx.net>
8271 * funcrequest.h: new class to wrap a kb_action and its argument
8274 * BufferView_pimpl[Ch]:
8278 * lyxrc.C: subsequent changes
8281 2002-08-07 John Levon <levon@movementarian.org>
8283 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8284 document options change.
8286 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8291 * makefile.am: move counters functionality over from
8292 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8294 2002-08-06 John Levon <levon@movementarian.org>
8296 * WordLangTuple.h: new file for word + language code tuple
8307 * BufferView2.C: use WordLangTuple
8310 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8312 2002-08-06 John Levon <levon@movementarian.org>
8314 * lyx_main.C: fix cmdline batch handling
8316 2002-08-06 André Pönitz <poenitz@gmx.net>
8318 * lyxrc.C: set default for show_banner to true
8320 2002-08-06 John Levon <levon@movementarian.org>
8322 * pspell.C: fix a crash, and allow new aspell to work
8324 2002-08-06 John Levon <levon@movementarian.org>
8327 * kbmap.C: small cleanup
8330 * vspace.C: add const
8332 2002-08-05 John Levon <levon@movementarian.org>
8334 * LyXAction.C: back to tabular-insert
8336 2002-08-04 John Levon <levon@movementarian.org>
8339 * BufferView.C: cosmetic change
8341 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8351 * BufferView2.C: purge all "Lyx" not "LyX" strings
8354 * lyxcursor.C: attempt to add some documentation
8359 * ToolbarDefaults.C:
8360 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8361 merge with LFUN_TABULAR_INSERT
8368 * pspell.C: split up i/pspell implementations into separate
8369 files, many cleanups
8371 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8373 * text2.C: some cleanup
8375 * lyxfunc.C: don't check for isp_command == "none" any more, it
8376 didn't make any sense
8378 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8383 * makefile.am: move counters functionality over
8384 from text2.C/paragraph.[Ch] to counters.[Ch], and
8386 2002-08-02 John Levon <levon@movementarian.org>
8388 * buffer.C: s/lyxconvert/lyx2lyx/
8390 2002-08-02 Angus Leeming <leeming@lyx.org>
8392 * lyxlex.C: revert John's change as it breaks reading of the user
8395 2002-08-02 Angus Leeming <leeming@lyx.org>
8397 * importer.C (Import):
8398 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8399 changes due to LyXView::view() now returning a boost::shared_ptr.
8401 2002-08-02 John Levon <levon@movementarian.org>
8403 * lyxlex.C: small cleanup
8405 2002-08-02 John Levon <levon@movementarian.org>
8407 * text2.C (status): small cleanup, no logic change
8409 2002-08-01 John Levon <levon@movementarian.org>
8412 * buffer.C (writeFile): don't output alerts, caller
8416 * lyx_cb.C: from above
8418 * lyxfunc.C: allow to open non-existent files
8420 2002-07-31 John Levon <levon@movementarian.org>
8422 * lyxserver.C: don't let incidental errors get
8425 2002-07-30 John Levon <levon@movementarian.org>
8427 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8429 2002-07-30 John Levon <levon@movementarian.org>
8432 * lyxserver.C: remove I/O callback too
8434 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8436 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8439 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * many files: strip,frontStrip -> trim,ltrim,rtrim
8443 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * PrinterParams.h: remove extern containsOnly, and include
8446 support/lstrings.h instead.
8448 * LaTeX.C (scanAuxFile): modify because of strip changes
8450 * buffer.C (makeLaTeXFile): ditto
8451 * bufferparams.C (writeFile): ditt
8452 * lyxfont.C (stateText): ditto
8453 * lyxserver.C (read_ready): ditto
8454 * vc-backend.C (scanMaster): ditto
8456 * BufferView_pimpl.h: ws changes
8458 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8460 2002-07-26 André Pönitz <poenitz@gmx.net>
8462 * kb_sequence.C: remove unnedred usings
8464 2002-07-26 Juergen Vigna <jug@sad.it>
8466 * lyxfind.C (LyXReplace): we have to check better if the returned
8467 text is not of theLockingInset()->getLockingInset().
8469 2002-07-25 Juergen Vigna <jug@sad.it>
8471 * lyxfind.C (LyXReplace): don't replace if we don't get the
8474 * undo_funcs.C (createUndo): remove debugging code.
8476 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8478 * buffer.C (parseSingleLyXformat2Token): Use default placement
8479 when reading old floats.
8481 * FloatList.C (FloatList): Change the default placement of figure
8482 and tables to "tbp".
8484 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8486 * MenuBackend.C: using std::max
8488 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * MenuBackend.C (expandToc):
8491 (expandToc2): code moved from xforms menu frontend. It is now
8492 generic and TOCs are transparent to menu frontends.
8494 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * toc.C (getTocList): protect against buf=0
8498 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8499 Menu as first parameter. Now, this calls itself recursively to
8500 expand a whole tree (this will be useful for TOC handling)
8501 (expandFloatInsert): remove 'wide' version of floats
8503 * MenuBackend.h (submenuname): returns the name of the submenu.
8504 (submenu): returns the submenu itself, provided it has been
8505 created by MenuBackend::expand
8507 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8510 insets which have noFontChange == true. (bug #172)
8512 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * BufferView_pimpl.C: add connection objects and use them...
8517 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * MenuBackend.C (expandLastfiles):
8522 (expandFloatListInsert):
8523 (expandFloatInsert):
8524 (expand): split expand in parts
8526 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8528 * lyx_gui.C: use lyx_gui::exit()
8530 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8532 * LyXAction.C: show the failing pseudo action
8534 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8536 * buffer.C (readFile): Run the lyxconvert script in order to read
8539 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8545 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8549 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8551 2002-07-22 Herbert Voss <voss@lyx.org>
8554 * lyxlength.[Ch]: add support for the vertical lengths
8556 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8558 * toc.[Ch]: std:: fixes
8560 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8562 * lyxrc.C: do not include lyx_main.h
8564 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8570 * BufferView2.C: include "lyxlex.h"
8573 * bufferparams.h: do not #include "lyxlex.h"
8575 * lyxtextclasslist.C (Add): remove method
8576 (classlist): renamed to classlist_
8578 * paragraph_pimpl.C:
8582 * bufferview_funcs.C:
8587 * toc.C (getTocList): use BufferParams::getLyXTextClass
8589 * toc.C (getTocList): use InsetFloat::addToToc
8591 * toc.[Ch]: new files, containing helper functions to handle table
8594 * lyxfunc.C (dispatch): no need to remove spaces around command
8596 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8597 first command of the sequence; it is not very clever, but I do not
8598 have a better idea, actually
8600 * LyXAction.C (LookupFunc): make sure to remove space at the
8601 beginning and end of the command
8603 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8605 * MenuBackend.C (getMenubar): new method: return the menubar of
8607 (read): treat differently reading of menu and menubar (in
8608 particular, the menubar has no name now)
8609 (Menu::menubar): remove
8611 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8614 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8616 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8617 a bibitem inset in a RTL paragraph.
8619 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8621 * paragraph_pimpl.C: constify
8623 * BufferView_pimpl.C:
8625 * lyxfunc.C: fix dispatch in a nicer way
8627 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8629 * lyxfunc.C (dispatch):
8630 * BufferView_pimpl.C:
8631 * BufferView_pimpl.h:
8633 * BufferView.h: rename Dispatch() to dispatch()
8635 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8637 * lyxlayout.C (Read): honor DependsOn tag
8639 * lyxlayout.[Ch] (depends_on): new method
8641 * version.C.in: update lyx_docversion
8643 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8645 * paragraph.C (validate): remove from here...
8646 * paragraph_pimpl.C (validate): ... and move here
8647 (isTextAt): make it const
8649 * buffer.C (getLists): ws cleanup
8651 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8653 * language.C (read): Use iso8859-1 encoding in latex_lang
8654 (this prevents LyX from crashing when using iso10646-1 encoding).
8656 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8658 * text2.C (toggleInset): if cursor is inside an inset, close the
8659 inset and leave cursor _after_ it
8661 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8663 * lyxfunc.C: move minibuffer completion handling out of here
8665 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8667 * BufferView_pimpl.C:
8668 * LaTeX.C: fix dispatch calls
8670 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8672 * text.C (drawChars): Fix Arabic text rendering.
8674 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8678 * lyxfunc.C: remove message-push/pop
8682 * lyxfunc.C: rationalise some code by removing verboseDispatch
8683 in favour of a bool argument to dispatch()
8685 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8687 * lyx_main.C (init): make sure to read symlinks as absolute paths
8689 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8692 * lyxfunc.C: no need for commandshortcut to be a member
8694 2002-07-15 André Pönitz <poenitz@gmx.net>
8696 * converter.C: add support for $$s (scripts from lib/scripts dir)
8697 * lyx_main.C: white space
8699 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8703 * lyxrc.C: remove second exit confirmation
8705 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8710 * BufferView_pimpl.h:
8711 * BufferView_pimpl.C:
8712 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8714 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8716 * MenuBackend.C (expand): add numeric shortcuts to document menu
8718 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8720 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * lyxfont.C (setLyXFamily):
8729 * buffer.C (asciiParagraph): use ascii_lowercase
8731 2002-07-15 Mike Fabian <mfabian@suse.de>
8733 * lyxlex_pimpl.C (search_kw):
8734 * lyxlex.C (getLongString):
8735 * converter.h (operator<):
8736 * converter.C (operator<):
8737 * buffer.C (parseSingleLyXformat2Token):
8739 * ToolbarDefaults.C (read):
8740 * MenuBackend.C (checkShortcuts):
8742 * LColor.C (getFromGUIName):
8743 (getFromLyXName): use the compare_ascii_no_case instead of
8744 compare_no_case, because in turkish, 'i' is not the lowercase
8745 version of 'I', and thus turkish locale breaks parsing of tags.
8747 2002-07-16 Angus Leeming <leeming@lyx.org>
8749 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8750 now takes a Buffer const & argument.
8752 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8754 * BufferView.C (resize): check there's a buffer to resize
8756 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8758 * lyxfunc.C: remove dead code
8761 * lyxserver.C: use lyx_guii::set_read_callback
8763 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8765 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8766 an inset in a RTL paragraph.
8768 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8770 * lyxfunc.C: repaint after a font size update
8772 2002-07-15 André Pönitz <poenitz@gmx.net>
8774 * lyxlength.C: inBP should be able to return negative values
8776 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8778 * lyxfunc.C: use lyx_gui::update_fonts()
8780 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8782 * lyxfunc.C: use lyx_gui::update_color()
8784 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8790 * lyxrc.C: remove file->new asks for name option, and let
8791 buffer-new take an argument
8793 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8795 * BufferView_pimpl.C: remove unneeded extra repaint()
8797 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8799 * LyXAction.C: allow command-sequence with NoBuffer
8801 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8803 2002-07-10 Angus Leeming <leeming@lyx.org>
8805 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8807 2002-07-09 Angus Leeming <leeming@lyx.org>
8809 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8811 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8813 * lengthcommon.h: whitespace
8815 * lyxfunc.C: update scrollbar after goto paragraph
8817 * lyxtext.h: factor out page break drawing, and fix it so
8818 page break/added space paints as selected nicely
8820 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8822 * BufferView_pimpl.C: add FIXMEs, clean up a little
8824 2002-07-09 André Pönitz <poenitz@gmx.net>
8826 * lyxfont.[Ch]: support for wasy symbols
8828 2002-07-08 André Pönitz <poenitz@gmx.net>
8830 * BufferView_pimpl.C: apply John's patch for #93.
8832 2002-07-05 Angus Leeming <leeming@lyx.org>
8834 * BufferView_pimpl.C (buffer): generate previews if desired.
8836 * LColor.h: add "preview" to the color enum.
8838 * LColor.C (LColor): add a corresponding entry to the items array.
8840 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8843 2002-07-05 Angus Leeming <leeming@lyx.org>
8845 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8846 The body of the code is now in the method that is passed an ostream &
8847 rather than a file name.
8848 Pass an additional only_preamble parameter, useful for the forthcoming
8851 2002-07-03 André Pönitz <poenitz@gmx.net>
8853 * lyxfunc.C: simplify getStatus() a bit for math stuff
8855 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8857 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8859 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * text.C (changeRegionCase): do not change case of all the
8862 document when region ends at paragraph end (bug #461)
8864 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * paragraph.C (startTeXParParams):
8867 (endTeXParParams): add \protect when necessary
8869 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * BufferView_pimpl.C (workAreaExpose): remove warning
8873 2002-06-27 Angus Leeming <leeming@lyx.org>
8875 * Makefile.am: add lyxlayout_ptr_fwd.h.
8877 2002-06-26 André Pönitz <poenitz@gmx.net>
8879 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8881 2002-06-25 Angus Leeming <leeming@lyx.org>
8883 * lyxfunc.C (dispatch): Comment out the call to
8884 grfx::GCache::changeDisplay. The method no longer exists now that the
8885 pixmap generation part of the graphics loader has been moved into
8888 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * text2.C: layout as layout
8892 * text.C: layout as layout
8894 * tabular.C (OldFormatRead): layout as layout
8896 * paragraph_pimpl.C (TeXDeeper): layout as layout
8897 (realizeFont): layout as layout
8899 * paragraph.C (writeFile): layout as layout
8900 (validate): layout as layout
8901 (getFont): layout as layout
8902 (getLabelFont): layout as layout
8903 (getLayoutFont): layout as layout
8904 (breakParagraph): layout as layout
8905 (stripLeadingSpaces): layout as layout
8906 (getEndLabel): layout as layout
8907 (getMaxDepthAfter): layout as layout
8908 (applyLayout): layout as layout
8909 (TeXOnePar): layout as layout
8910 (simpleTeXOnePar): layout as layout
8911 (TeXEnvironment): layout as layout
8912 (layout): layout as layout
8913 (layout): layout as layout
8915 * lyxtextclass.C (compare_name): new functor to work with
8916 shared_ptr, layout as layout
8917 (Read): layout as layout
8918 (hasLayout): layout as layout
8919 (operator): layout as layout
8920 (delete_layout): layout as layout
8921 (defaultLayout): layout as layout
8923 * lyxlayout_ptr_fwd.h: new file
8925 * lyxlayout.C (Read): layout as layout
8927 * lyx_cb.C (MenuInsertLabel): layout as layout
8929 * bufferlist.C (newFile): layout as layout
8931 * buffer.C (readLyXformat2): layout as layout
8932 (parseSingleLyXformat2Token): layout as layout
8933 (insertStringAsLines): layout as layout
8934 (asciiParagraph): layout as layout
8935 (latexParagraphs): layout as layout
8936 (makeLinuxDocFile): layout as layout
8937 (simpleLinuxDocOnePar): layout as layout
8938 (makeDocBookFile): layout as layout
8939 (simpleDocBookOnePar): layout as layout
8940 (getLists): layout as layout
8942 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8944 * CutAndPaste.C (cutSelection): layout as layout
8945 (pasteSelection): layout as layout
8946 (SwitchLayoutsBetweenClasses): layout as layout
8948 * BufferView_pimpl.C (Dispatch): layout as layout
8949 (smartQuote): layout as layout
8951 * BufferView2.C (unlockInset): layout as layout
8953 2002-06-24 André Pönitz <poenitz@gmx.net>
8955 * lyxfunc.C: fix #487
8957 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8961 * lyxfunc.C: remove display_shortcuts, show_banner
8963 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8965 * Buffer_pimpl.C: oops, update on resize
8967 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8974 * BufferView.C: use repaint()
8976 * BufferView_pimpl.h:
8977 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8978 as it's a clearer description. Remove superfluous
8981 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8983 * text.C: fix bug 488. Not ideal, but getting
8984 getWord() to work properly for the insets that
8985 matter is more difficult ...
8987 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8989 * BufferView_pimpl.C:
8992 * lyxfunc.C: remove the six million index lyxfuncs to just
8993 one, and DTRT (bug 458)
8995 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8999 * BufferView_pimpl.h:
9000 * BufferView_pimpl.C: clean up resize() stuff,
9001 and unnecessary updateScreen()s
9003 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9007 * BufferView_pimpl.h:
9008 * BufferView_pimpl.C:
9011 * minibuffer.C: remove focus management of workarea,
9012 not needed. Use screen's greyOut()
9014 2002-06-17 Herbert Voss <voss@lyx.org>
9016 * converter.C: (convert) do not post a message, when converting
9017 fails, let the calling function decide what to do in this case
9019 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9021 * lyxfunc.C: tidy up a little
9023 2002-06-16 <alstrup@diku.dk>
9025 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9026 Got rid of FORMS_H_LOCATION include. Now we are
9029 2002-06-15 LyX Development team <lyx@rilke>
9031 * buffer.[Ch] (sgmlOpenTag):
9032 (sgmlCloseTag): Added support for avoiding pernicious mixed
9033 content. Return number of lines written.
9036 (makeDocBookFile): Fixed calls to sgml*Tag.
9037 Simple white space clean.
9039 (simpleDocBookOnePar): Simple white space clean.
9041 * tabular.[Ch] (docBook): Renamed to docbook and got another
9042 argument to related with the pernicious mixed content.
9044 (docbookRow): Fixed calls for docbook inset method.
9046 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9048 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9049 so it's X11 independent.
9053 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9055 2002-06-15 Lyx Development team <lyx@electronia>
9057 * intl.h: Renamed getTrans to getTransManager.
9059 2002-06-14 Angus Leeming <leeming@lyx.org>
9061 * Makefile.am: nuke forgotten stl_string_fwd.h.
9063 2002-06-12 Angus Leeming <leeming@lyx.org>
9065 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9067 2002-06-13 Angus Leeming <leeming@lyx.org>
9070 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9072 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9074 * kbmap.C (getiso): add support for cyrillic and greek
9076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9080 * BufferView_pimpl.h:
9081 * BufferView_pimpl.C: move bogus scrolling logic
9084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9087 * BufferView_pimpl.C: view->resize() change
9089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView_pimpl.C: topCursorVisible
9094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9098 * lyx_gui.C: move to frontends/
9102 * lyx_main.C: changes from above
9104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9111 * lyx_main.C: minor tidy
9113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.h:
9116 * BufferView_pimpl.C:
9118 * BufferView.C: make painter() const,
9121 * BufferView2.C: use screen() accessor
9124 * lyx_main.C: some minor cleanup
9126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9128 * BufferView_pimpl.h:
9129 * BufferView_pimpl.C: remove enter/leaveView,
9132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9137 * BufferView_pimpl.h:
9138 * BufferView_pimpl.C: only construct screen once,
9141 * lyxrc.C: remove pointless comment
9143 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9146 * BufferView.C: remove active() and belowMouse()
9148 * BufferView_pimpl.h:
9149 * BufferView_pimpl.C: use workarea() not workarea_,
9150 and make it use a scoped_ptr instead
9152 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9154 * lyx_gui.C: add debug message on BadWindow
9156 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * sp_spell.C: fdopen is not part of the C++ standard.
9160 * paragraph.C (InsetIterator): use >= instead of ==
9162 2002-06-07 Angus Leeming <leeming@lyx.org>
9164 Fixes needed to compile with Compaq cxx 6.5.
9165 * BufferView_pimpl.C:
9172 * lyxtextclasslist.C:
9177 all c-library variables have been moved into namespace std. Wrap
9178 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9183 Add a using std::abs declaration.
9185 * kbmap.h (modifier_pair):
9186 * paragraph.h (InsetTable, InsetList):
9187 * lyxfont.h (FontBits):
9188 type definition made public.
9190 * bufferlist.C (emergencyWriteAll): the compiler complains that
9191 there is more than one possible lyx::class_fun template to choose from.
9192 I re-named the void specialisation as lyx::void_class_fun.
9194 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9196 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9197 the compiler is is unable to find tostr in write_attribute.
9199 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * buffer.C (sgmlError): hide #warning
9203 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9205 * xtl/*: get rid of xtl, which is not in use anyway
9207 * LyXAction.C (init):
9208 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9209 were unimplemented xtl experimentation
9211 2002-06-04 André Pönitz <poenitz@gmx.net>
9213 * lyxfunc.C: disable array operation on simple formulae
9215 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9217 * converter.C: constify a bit
9219 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9221 * lyx_gui.C: check xforms version correctly
9223 2002-04-30 Herbert Voss <voss@lyx.org>
9225 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9228 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9230 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9231 attempt to register it with a VCS)
9233 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * lyx_main.C (init): honor variables LYX_DIR_13x and
9238 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9242 * lyx_main.C: fix a crash on bad command line,
9243 and give a useful exit status on error
9245 * lyxfunc.C (doImport): allow -i lyx to work
9247 2002-03-30 André Pönitz <poenitz@gmx.net>
9249 * lyxfunc.C: mathed font changes
9251 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9266 * trans_mgr.h: srcdocs, and some minor cleanups
9268 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9270 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9271 call getFont all the time)
9273 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * switch from SigC signals to boost::signals
9277 2002-05-29 André Pönitz <poenitz@gmx.net>
9279 * paragraph_pimpl.C (getChar): don't call size() too often...
9281 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9283 * paragraph_pimpl.C (insertChar): do not try to update tables when
9284 appending (pos == size())
9286 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9287 in order to reduce drastically the number of comparisons needed to
9288 parse a large document
9290 2002-05-29 André Pönitz <poenitz@gmx.net>
9296 * textclasslist.[Ch]:
9297 * sp_ispell.h: whitespace change
9299 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9301 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9302 lyxaction directly now.
9304 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9308 * lyxvc.C: remove unused headers
9310 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9317 * undo_funcs.C: some cleanups. Use shared_ptr
9318 and a template for the undo stacks.
9320 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9322 * BufferView_pimpl.h:
9323 * BufferView_pimpl.C:
9330 * text2.C: use key_state/mouse_state
9332 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9337 * chset.C: change include order
9338 (loadFile): use boost regex and get rid of LRegex and LSubstring
9340 * Makefile.am (BOOST_LIBS): new variable
9343 * LaTeX.C: change include order.
9344 (scanAuxFile): use boost regex and get rid of LRegex and
9348 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9353 * FontInfo.C: moved to frontends/xforms/
9356 * FontLoader.C: moved into frontends for GUIIzation
9361 * lyxfunc.C: changes from above
9363 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9365 * LColor.C: remove spurious X include
9367 * BufferView_pimpl.C:
9372 * text2.C: move font metrics to frontends/
9374 2002-05-24 Juergen Vigna <jug@sad.it>
9376 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9377 setting the undo_cursor.
9379 * ParagraphParameters.h: include local includes first.
9381 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9383 * BufferView_pimpl.C:
9384 * BufferView_pimpl.h:
9388 * screen.C: move WorkArea into frontends/
9394 * BufferView2.C: move LyXScreen into frontends/
9398 * lyx_gui.C: move lyxlookup into frontends/xforms/
9400 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9403 * BufferView_pimpl.C:
9413 * bufferview_funcs.C:
9426 * vc-backend.C: move LyX/XFormsView into frontends/
9428 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9440 * text2.C: move Painter to frontends/
9442 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9444 * buffer.C: comment out some some code that depend upon lyx_format
9447 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9448 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9450 * buffer.h (NO_COMPABILITY): turn off compability
9452 * ColorHandler.C: include scoped_array.hpp
9454 * font.C: Use more specific smart_ptr header.
9457 * ShareContainer.h: ditto
9461 * BufferView_pimpl.h: ditto
9462 * ColorHandler.h: ditto
9464 * kbmap.C (defkey): change call to shared_ptr::reset
9466 2002-05-21 Juergen Vigna <jug@sad.it>
9468 * buffer.C (insertErtContents): fix to insert ert asis if it is
9469 non empty. Skip it completely if it contains only whitespaces.
9471 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9473 * BufferView_pimpl.C:
9474 * BufferView2.C: clear selection on paste (bug 393)
9476 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * DepTable.C: include ctime
9480 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9482 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9484 2002-05-14 Juergen Vigna <jug@sad.it>
9486 * text.C (breakParagraph): fixed function to honor the keepempty
9487 layout in the right maner and also to permit the right breaking
9488 algorithm on empty or non empyt keepempty paragraphs.
9490 * paragraph.C (breakParagraph): we have to check also if the par
9491 is really empty (!size()) for isempty otherwise we do the wrong
9494 2002-05-10 Juergen Vigna <jug@sad.it>
9496 * buffer.[Ch] : The following are only changes to the ert
9497 compatibility read reading old LaTeX layout and font stuff and
9498 convert it to ERTInsets.
9500 * buffer.h: added isErtInset().
9502 * buffer.C (struct ErtComp): add a fromlayout bool to check
9503 if we're inside a LaTeX layout.
9504 (isErtInset): new helper function.
9505 (insertErtContents): look for other ert insets before this one
9506 and insert the contents there, so that we don't have subsequent
9507 ERT insets with nothing between them. This way we create only one
9508 inset with multiple paragraphs. Also check if we don't insert only
9509 spaces ' ' as they are ignored anyway afterwards in the .tex file
9510 so if we have only spaces we will ignore this latex part in the
9512 (parseSingleLyXformat2Token \\layout): better compatibility when
9513 reading layout-latex stuff.
9514 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9516 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9517 stuff after reading the inset only get the information back from
9520 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9522 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9524 * LaTeXFeatures.C (getBabelOptions): New method.
9526 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * BufferView_pimpl.C (Dispatch): work around missing argument for
9531 2002-05-08 Juergen Vigna <jug@sad.it>
9533 * text.C (leftMargin): handle paragraph leftindent.
9535 * paragraph.C (writeFile): write the new \\leftindent tag.
9536 (validate): handle leftindent code.
9537 (TeXEnvironment): handle paragraphleftindent code again.
9539 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9541 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9542 for paragrap_extra indent code and new token \\leftindent.
9543 (latexParagraphs): handle the leftindent as environment.
9545 * ParameterStruct.h: added leftindent support.
9547 * ParagraphParameters.C (leftIndent): added support functions for
9548 the paragraph left indent.
9550 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9553 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9555 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9558 * text.C (computeBidiTables): No bidi in insetERT.
9560 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9563 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * version.C.in: pre 5
9567 2002-05-02 José Matos <jamatos@fep.up.pt>
9568 * buffer.C (makeDocBookFile): white space changes, add newline to
9570 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9572 * tabular.C (docBook): fix typo.
9574 2002-05-03 Juergen Vigna <jug@sad.it>
9576 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9577 change in LyXText as we can not be sure it was not freed.
9578 (drawOneRow): remove unused code.
9580 * text.C (drawInset): redo the calculation of the need_break_row as
9581 it could have a row which was already freed.
9582 (draw): look at the return value of drawInset and return false if
9583 it also returned false.
9584 (paintRowText): look at the return value of draw and return false if
9585 it also returned false.
9587 * lyxtext.h: added bool return type to drawInset() and draw() so that
9588 if we have a change in the row so that the rowbreak has to be redone
9589 we abort drawing as it will be called again.
9591 2002-05-02 Juergen Vigna <jug@sad.it>
9593 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9594 a change in the maintext also if we're inside an inset.
9595 (Dispatch): set the cursor again after a break line and after the
9596 screen has been updated as it could be we're in a different row.
9598 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9599 to set the cursor behind the pargraph with > size().
9600 (setCursor): check also for the same paragraph when checking where
9601 to put the cursor if we have a NFR inset.
9603 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9604 parts of layout read further up as it still was in the wrong
9607 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * screen.C (drawFromTo): change sine fullRebreak always return
9612 * buffer.C (parseSingleLyXformat2Token): reindent some
9614 * BufferView_pimpl.C (update): change since fullRebreak always
9616 (Dispatch): git rid of the last hardcoded "Standard"s.
9618 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * text2.[Ch] (fullRebreak): make it return void now that we always
9623 2002-04-30 Juergen Vigna <jug@sad.it>
9625 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9626 ert compatibility check for "latex" layout.
9628 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9630 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9631 minipages: use col% instead of p%, and also use the current font.
9632 (makeLaTeXFile): Fix use babel condition.
9633 (parseSingleLyXformat2Token): Correct font when reading old floats.
9635 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9637 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9638 inserting list of floats.
9640 2002-04-25 Herbert Voss <voss@lyx.org>
9642 * MenuBackend.C (expand): don't add the graphics extensions to the
9645 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9648 non-existing layout, do not complain if it was the default layout
9649 of the original class (bug #342)
9651 2002-04-24 Juergen Vigna <jug@sad.it>
9653 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9654 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9656 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9658 * buffer.C (getBibkeyList): If using \bibliography, return the
9659 option field with the reference itself. Enables us to provide natbib
9660 support when using \bibliography.
9662 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9664 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9666 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9667 natbib is provided by the LaTeX class.
9669 2002-04-23 Juergen Vigna <jug@sad.it>
9671 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9674 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9676 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9680 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9681 ensuremath around textordmasculine, textordfeminine and
9684 2002-04-19 Juergen Vigna <jug@sad.it>
9686 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9687 reinitializing the buffer otherwise row-dimensions may be wrong.
9688 (update): reset also the selection cursors if they do exits otherwise
9689 their x/y positions may be wrong.
9691 * text2.C (cursorDown): don't enter the inset if we came from a row
9692 above and are one row over the inset.
9694 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9695 really leaving an inset.
9697 2002-04-18 Juergen Vigna <jug@sad.it>
9699 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9700 of the selected paragraph does not have the selected layout also if
9703 * text2.C (setLayout): fixed bug which did not change last selected
9706 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9707 changed the read and substituted \\end_float with \\end_inset!
9709 * BufferView_pimpl.C (cursorPrevious):
9710 (cursorNext): fixed to make it work with rows heigher than the work
9711 area without moving the cursor only the draw of the row.
9712 (workAreaMotionNotify): fix jumping over high rows.
9714 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9719 2002-04-16 Juergen Vigna <jug@sad.it>
9721 * text2.C (setCursor): set also the irow().
9722 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9724 (cursorDown): support for locking an inset if the x_fix value goes
9725 inside it. That way I can transverse insets too with cursor up/down.
9727 * lyxrow.h: added irow helper function same as other (i) functions.
9729 * BufferView_pimpl.C (cursorPrevious):
9730 (cursorNext): fixed for insets!
9732 2002-04-15 Juergen Vigna <jug@sad.it>
9734 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9735 position otherwise it is wrong in some cases.
9737 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9738 inside the inset before the call.
9740 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9742 * buffer.[Ch] (getBibkeyList): make it const.
9744 2002-04-12 Juergen Vigna <jug@sad.it>
9746 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9748 * text2.C (getCursorX): new helper function
9749 (setCursor): compute also ix_
9750 (setCursorFromCoordinates): set also ix.
9752 * lyxcursor.h: added ix_ and helper functions.
9754 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9756 * buffer.C (insertStringAsLines): dont break paragraph if the this
9757 paragraph is inside an inset which does not permit it!
9759 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9760 also with no chars on this paragraph.
9761 (paintRowText): only paint stuff if it's inside the workarea!
9763 * paragraph.C (breakParagraph): honor keepempty flag and break the
9764 paragraph always below not above.
9766 * BufferView2.C (unlockInset): update the paragraph layout on inset
9767 unlock as we changed paragraph in such a case.
9769 * lyxfind.C (LyXFind): clear the former selection if not found!
9771 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9772 again called in insertChar().
9774 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9775 an inset which uses the whole row!
9776 (rightMargin): ditto.
9777 (insertChar): force a rebreak if we inserted an inset!
9779 2002-03-28 Herbert Voss <voss@lyx.org>
9781 * lyxlength.[Ch]: add inBP() to get the right PS-point
9782 units (BigPoint). With inPixels we have rounding errors
9784 2002-04-11 Juergen Vigna <jug@sad.it>
9786 * text2.C (setCursorFromCoordinates): set iy to the right value.
9787 (setCursor): add check if row->previous exists!
9789 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9790 an old float_type as this was the case in the old code!
9792 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9794 * BufferView2.C (showLockedInsetCursor): use iy
9795 (fitLockedInsetCursor): ditto
9797 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9798 locked insets as there we have the right value now.
9800 * lyxcursor.C: added iy_ variable and iy functions to set to the
9801 baseline of cursor-y of the locked inset.
9803 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9804 (setCursor): fixed for insets which need a full row.
9806 * text.C (rowLastPrintable): don't ignore the last space when before
9807 an inset which needs a full row.
9808 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9809 as last character of a row when before a inset which needs a full row.
9811 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * version.C.in: update date
9815 * text2.C (fullRebreak): try to always return true and see what
9818 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * MenuBackend.C (expand): use Floating::listName
9822 * FloatList.C (FloatList): add listName argument to the built-in
9825 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9826 text associated with the float.
9828 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9832 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9834 * ShareContainer.h: add a couple of missing typenames.
9836 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9838 * lyxrc.C (getDescription): use _() correctly rather than N_().
9840 2002-03-28 Herbert Voss <voss@lyx.org>
9842 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9843 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9845 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9847 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9848 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9850 2002-03-29 Juergen Vigna <jug@sad.it>
9852 * lyxfunc.C (dispatch): add a missing fitCursor call.
9854 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9855 it was scrolled by a cursor move, so return the bool status.
9857 * BufferView.C (fitCursor): return the bool flag also to the outside
9858 world as this is needed.
9860 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9862 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9863 call the edit() as it is not needed (and wrong) IMO.
9864 (workAreaButtonPress): set the screen_first variable before evt.
9865 unlock the inset as this may change screen_first and then we have
9866 a wrong y position for the click!
9868 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * MenuBackend.C (expand): another translation that I missed
9872 2002-03-28 Juergen Vigna <jug@sad.it>
9874 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9876 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9878 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9882 * MenuBackend.C (expand): fix export/view/update when there is no
9885 2002-03-27 Herbert Voss <voss@lyx.org>
9887 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9890 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * bufferview_funcs.C (currentState): only show paragraph number
9893 for is DEVEL_VERSION is set.
9895 * lyxfunc.C (dispatch): put warning in INFO channel
9897 * MenuBackend.C (expand): translate the name of floats
9899 * FloatList.C (FloatList): mark the float names for translation
9901 * converter.C (convert): use LibScriptSearch
9903 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9905 * MenuBackend.C (defaults): fix default menu (we might as well get
9908 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9913 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * lyxvc.C: reorder includes.
9917 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9919 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9922 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9924 * CutAndPaste.C: change layouts earlier on paste
9925 to avoid crashing when calling getFont()
9927 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9929 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9932 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * WorkArea.C: remove 'Pending' debug message.
9936 * most files: ws cleanup
9938 * buffer.[Ch]: ws changes
9940 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9942 2002-03-21 Juergen Vigna <jug@sad.it>
9944 * tabular.C (SetMultiColumn): collapse also the contents of the
9945 cells and set the last border right. Added a Buffer const * param.
9947 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9952 2002-03-19 Juergen Vigna <jug@sad.it>
9954 * text2.C (clearSelection): reset also xsel_cache.
9956 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9957 where it needs to be called (John tells us to do so too :)
9958 (selectionLost): reset sel_cache.
9960 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9962 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * text2.C (setCursorIntern): put debuging code in INSETS channel
9966 2002-03-19 André Pönitz <poenitz@gmx.net>
9968 * lyxfunc.C: tiny whitespace change
9970 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * ToolbarDefaults.C (init):
9973 * LyXAction.C (init):
9975 * BufferView_pimpl.C (Dispatch):
9976 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9978 2002-03-19 Allan Rae <rae@lyx.org>
9980 * exporter.C (Export): removeAutoInsets before doing anything else.
9981 While I've just introduced a dependency on BufferView this really is
9982 the best place to clean the buffer otherwise you need to cleanup in
9983 a dozen places before calling export or cleanup in a dozen functions
9986 * converter.C (runLaTeX):
9987 (scanLog): Better handling of removeAutoInsets and screen updates.
9989 * lyxfunc.C (dispatch): small whitespace changes
9991 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * WorkArea.C (C_WorkAreaEvent): return a value.
9994 (event_cb): return 1 if we handled the event, 0 otherwise.
9996 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9998 2002-03-18 Juergen Vigna <jug@sad.it>
10000 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10001 (GetAdditionalWidth): ditto.
10002 (RightLine): ditto.
10005 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10006 inset if we're there actually (probably not used right now but this
10007 is the direction to go for unifying code).
10008 (paste): disable code to clear the selection.
10010 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10011 inside an InsetText and move the check further up as it is in the
10014 * text2.C (pasteSelection): set a selection over the pasted text.
10016 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10018 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10019 and libgraphics to build on Cygwin.
10021 2002-03-15 Juergen Vigna <jug@sad.it>
10023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10024 inserting an Inset into the paragraph. I know this is not the best
10025 fix but we already use current_view in CutAndPaste so we will remove
10026 all of it's using at the same time.
10028 * buffer.C (sgmlError): deactivated function till it is rewritten in
10029 the right mode, now it can create problems.
10031 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10032 before accessing it.
10034 2002-03-14 Juergen Vigna <jug@sad.it>
10036 * undo_funcs.C (textHandleUndo): do the right thing when updating
10037 the inset after the undo/redo.
10039 * text2.C (setCursor): just some testcode for #44 not ready yet.
10041 * undo_funcs.C (textHandleUndo): set the next() and previous()
10042 pointers of the paragraph to 0 before deleting otherwise we have
10043 problems with the Paragraph::[destructor].
10045 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10046 on a paragraph insertion.
10048 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * buffer.C (asciiParagraph): use += operator for char append to
10053 * paragraph.C (getFontSettings): compare >= not just >
10054 (highestFontInRange): ditto
10057 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10059 * paragraph.C: change several algorithm to be more appripriate for
10060 the problem domain. This is lookip in FontList and in the InsetList.
10062 2002-03-13 André Pönitz <poenitz@gmx.net>
10065 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10067 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10072 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10074 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10076 * Painter.C (display): anon helper function, adjust code for this
10078 (pixmap): remove function.
10080 * Painter.h: remove private display variable.
10082 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10084 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10086 * WorkArea.[Ch]: remove figinset_canvas cruft.
10088 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * lyxtextclass.C (operator): add one item cache optimization.
10092 * bufferlist.h: doxy changes
10094 * bufferlist.C: ws changes
10096 * DepTable.[Ch] (ext_exist): place const in the right spot.
10098 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10100 (workAreaExpose): call resizeInsets when the with BufferView changes.
10101 (Dispatch): adjust for protectedBlank removal
10102 (specialChar): call updateInset if the insert went ok.
10104 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10105 specialChar instead.
10107 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10109 * BufferView.h: doxy change
10111 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10113 * lyxtextclass.C (operator[]): remove non-const version
10114 (defaultLayout): remove non-const version
10116 2002-03-12 Juergen Vigna <jug@sad.it>
10118 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10119 did resize the LyXText too.
10121 * buffer.C (readLyXformat2): set layout information on newly allocated
10124 * tabular.C (OldFormatRead): set layout information on the paragraph.
10126 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10128 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10130 2002-03-11 Juergen Vigna <jug@sad.it>
10132 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10134 (resizeCurrentBuffer): force also the insets to resize themselfes.
10135 (moveCursorUpdate): fixed up for InsetText.
10137 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10140 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10141 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10142 value of Dialogs::tooltipsEnabled().
10143 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10145 2002-03-08 Juergen Vigna <jug@sad.it>
10147 * BufferView_pimpl.C (updateInset): update inset inside inset also
10148 if it isn't inside theLockingInset().
10150 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * buffer.C (asciiParagraph): redo some of the word and line length
10154 (getLists): look for Caption instead of caption.
10156 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * buffer.C (Buffer): initialize niceFile to true
10160 (makeLinuxDocFile):
10161 (makeDocBookFile): make sure niceFile is true on exit
10163 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10165 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10167 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10169 * LyXSendto.C: remove.
10170 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10171 * lyx_gui.C: remove now-redundant comment.
10172 * ColorHandler.h: remove forward declaration of class WorkArea.
10173 * lyxfunc.C: remove #include "WorkArea.h".
10175 2002-03-07 Juergen Vigna <jug@sad.it>
10177 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10178 got moved away with the DEPM and also set the inset_owner always
10179 right which before could have been omitted.
10181 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10183 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10184 wanted layout is not found.
10186 2002-03-07 Juergen Vigna <jug@sad.it>
10188 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10190 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * paragraph.C (breakParagraph): use default layout not layout of
10194 (Paragraph): clear ParagraphParameters.
10196 2002-03-06 Juergen Vigna <jug@sad.it>
10198 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10199 otherwise it would not be a valid lenght. Fixed a special case in
10200 the minipage compatibility read where we end the document with a
10203 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10204 was set as it could be 0 for InsetTexts first entry.
10206 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10208 * paragraph.C (writeFile): if layout is empty write out
10209 defaultLayoutName().
10211 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10212 file without named layout we set layout to defaultLayoutName().
10214 2002-03-06 Juergen Vigna <jug@sad.it>
10216 * CutAndPaste.C (copySelection): set layout for new paragraph.
10218 * text.C (prepareToPrint): leave ERT inset left aligned
10219 (leftMargin): don't indent paragraphs inside ERT insets
10221 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * paragraph.C (breakParagraph): dont call clear do the work manually
10225 * paragraph.[Ch] (clear): remove function
10227 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * paragraph.C (Paragraph): dont call clear, the work has already
10232 * lyxtextclass.C (operator): assert if n is empty
10234 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10235 work manually instead.
10237 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10239 * BufferView_pimpl.C: protect selectionLost against text == 0
10241 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * text.C (breakParagraph): fix a setting layout to '0' problem.
10245 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10247 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10248 final location of file, for the included files, and graphics.
10250 2002-03-05 Juergen Vigna <jug@sad.it>
10252 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10254 2002-03-04 Juergen Vigna <jug@sad.it>
10256 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10258 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10259 last column of multicolumn cells.
10260 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10262 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10264 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10265 file if it doesn't go to a temporary file.
10267 * buffer.C (sgmlOpenTag):
10268 (sgmlCloseTag): remove extra newline insertion.
10270 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * text.C (getRowNearY): comment out debug msg
10274 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10276 * text2.C: first -> first_y
10278 * text.C (getRowNearY): add some attemts at a possible
10279 optimization, not working.
10281 * tabular.[Ch]: add BufferParams to several function so that newly
10282 created paragraph can be initialized to he default layotu for the
10285 * tabular-old.C (ReadOld): add buf->params to call of Init
10287 * screen.C: rename text->first to text->first_y
10289 * paragraph.C (breakParagraph): always set layout in the broken
10292 * lyxtextclass.C (Read): remove lowercase
10295 (delete_layout): ditto
10297 * lyxtext.h: rename first -> first_y
10299 * lyxlayout.C (Read): remove lowercase
10302 (obsoleted_by): ditto
10304 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10306 * buffer.C (insertErtContents): add params are to InsetERT
10307 (parseSingleLyXformat2Token): add code to check if a paragraphs
10308 layout really exist.
10309 (parseSingleLyXformat2Token): add params to several inset
10311 (asciiParagraph): remove lowercase, do the layout comparisons with
10314 * BufferView_pimpl.C (cursorNext): first -> first_y
10315 (resizeCurrentBuffer): first -> first_y
10316 (updateScrollbar): first -> first_y
10317 (scrollCB): first -> first_y
10318 (workAreaMotionNotify): first -> first_y
10319 (workAreaButtonPress): first -> first_y
10320 (checkInsetHit): first -> first_y
10321 (cursorPrevious): first -> first_y
10322 (cursorNext): first -> first_y
10323 (Dispatch): add buffer_->params to severl inset contructors
10325 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * lyxlayout.C (Read): remove some debug info that I forgot.
10329 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10330 clean up the code slightly.
10331 (makeLinuxDocFile): ditto
10332 (makeDocBookFile): ditto
10334 * text2.C: layout as string
10336 * text.C: layout as string
10338 * paragraph_pimpl.C: layout as string
10340 * paragraph.[Ch]: layout as string
10342 * lyxtextclasslist.[Ch]: layout as string
10344 * lyxtextclass.[Ch]: layout as string
10346 * lyxtext.h: layout as string
10348 * lyxlayout.[Ch]: layout as string
10350 * lyx_cb.C: layout as string
10352 * bufferview_funcs.C: layout as string
10354 * bufferparams.C: layout as string
10356 * buffer.C: layout as string
10358 * LyXView.[Ch]: layout as string
10360 * LaTeXFeatures.[Ch]: layout as string
10362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10364 * BufferView_pimpl.C: change current_layout to string, remove
10369 (workAreaButtonRelease): layout as string
10371 * BufferView2.C (unlockInset): adjust
10373 * vspace.C (asLatexCommand): use an explict temp variable.
10375 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10377 * Makefile.am: use FRONTEND_*
10379 2002-03-01 Juergen Vigna <jug@sad.it>
10381 * tabular.C (SetWidthOfMulticolCell): changed to something better
10382 I hope but still work in progress.
10383 (recalculateMulticolumnsOfColumn): renamed function from
10384 recalculateMulticolCells as it is more appropriate now.
10385 (SetWidthOfCell): calculate multicols better.
10387 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10391 * lyxfunc.C (processKeySym): print sequence also if it is
10392 `deleted' (complete)
10394 * kbsequence.C (print): print sequence even if it is deleted
10395 (complete would be a better word, actually).
10397 * lyxfunc.C (dispatch): print complete options after a prefix key
10399 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10401 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10403 * text2.C (setCharFont): eliminate setCharFont code duplication.
10405 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10408 LFUN_TABULAR_FEATURE (bug #177)
10410 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10412 * Makefile.am: remove figure.h
10414 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10416 * Bufferview_pimpl.C:
10428 * text2.C: remove #include "lyx_gui_misc.h".
10430 * LaTeX.C: added #include <cstdio>
10432 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10435 that the paragraph following this one can have.
10437 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10439 * vspace.C (asLatexCommand): fix bogus gcc warning
10441 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10443 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10445 * text2.C (setLayout): get rid of redundant code
10447 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10449 * text2.C (incDepth): make sure depth cannot be increased beyond
10452 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10454 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10455 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10457 * PainterBase.h (image):
10458 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10459 a LyXImage const *.
10461 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C:
10466 * BufferView_pimpl.h:
10486 * sp_spell.C: remove fig inset, and the crap house of
10487 cards that follows it
10489 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10494 * os2_errortable.h:
10495 * nt_defines.h: move .h into support/
10497 * vms_defines.h: remove
10499 * WorkArea.C: add space in debug output
10503 * buffer.C: add WITH_WARNINGS
10507 * bufferlist.C: s/retrive/retrieve/, add docs
10516 * chset.C: add docs
10518 * lyxgui.C: add ID to X error handler
10520 * lyxtestclass.c: fix typo
10522 2002-02-26 Juergen Vigna <jug@sad.it>
10524 * tabular_funcs.C (write_attribute): changed so that some default
10525 attributes are not written at all.
10526 (getTokenValue): set default values before trying to read the
10527 value so we have the return value always set as default if we don't
10528 find the token we search for.
10530 * tabular.C (Write): write bools as bools not as strings!
10532 2002-02-22 Juergen Vigna <jug@sad.it>
10534 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10535 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10537 * text.C (leftMargin): don't add an indent for paragraphs inside
10538 tabular cells (fix #208).
10540 2002-02-21 José Matos <jamatos@fep.up.pt>
10542 * tabular.C (docBook): fixed support for long tables.
10544 2002-02-20 Juergen Vigna <jug@sad.it>
10546 * text2.C (getFont): get the drawing font of the Inset if this
10547 paragraph is inside an inset (only important for InsetERT for now).
10549 * buffer.C (insertErtContents): use new lanugage params in ERT
10552 * CutAndPaste.C: commenting out seemingly uneeded code.
10554 2002-02-19 Allan Rae <rae@lyx.org>
10556 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10557 Iterators might be simple to use but they also get invalidated.
10558 (removeAutoInsets): renamed saved cursor tracking variables and added
10559 some comments to clarify what everything does.
10561 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10568 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10569 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10572 * vc-backend.h: remove #include "support/syscall.h"
10576 * converter.C: rearrange #includes in Lars' approved fashion.
10578 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10579 forward declare class Timeout in the header file.
10581 * XFormsView.C: changes due to the above.
10583 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10584 similar to LyXView.
10586 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10587 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10589 2002-02-18 José Matos <jamatos@fep.up.pt>
10591 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10594 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10596 * a lot of small ws changes
10597 * add a lot of using std::XXX
10598 * use std construcs some places where approp.
10599 * use some exisint stuff from lyxfunctional where approp.
10600 * Make file changes to use partial linking (lets test this now...)
10602 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10606 remove #include "support/syscontr.h" as it's redundant. Always has been.
10614 change Systemcalls::System to Systemcalls::Wait and
10615 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10616 No change of functionality, just reflects the stripped down Systemcalls
10619 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10621 * debug.[Ch]: add a GRAPHICS type to the enum.
10623 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10625 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10627 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10630 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10632 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10633 match the changes below.
10635 * text2.C (toggleInset): if there is not editable inset at cursor
10636 position, try to see if cursor is _inside_ a collapsable inset
10639 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10641 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10642 document menu has a nice checkbox
10644 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10646 * lyxlength.C (asLatexString): change PW to output as percent of
10649 * lengthcommon.C: change '%' to 't%'
10651 * lyxfunc.C (dispatch): a few comments from Martin
10653 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10657 * BufferView_pimpl.h:
10658 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10661 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * vspace.C (inPixels): fix compiler warning
10665 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * lyxfunc.C (getStatus): fix status message for disabled commands.
10669 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.C: fix crash on close buffer
10672 during selection (#227)
10674 2002-01-27 Herbert Voss <voss@lyx.org>
10676 * buffer.C: link old Figure to new graphic inset
10678 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10680 * FontLoader.C (getFontinfo): Change the latex font names in order
10681 to match the names of type1inst.
10683 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10687 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10688 (extchanged): ditto
10690 (remove_files_with_extension): ditto
10691 (remove_file): ditto
10694 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10695 document is smaller than the work area height. Do not initialize
10696 static variables to 0.
10698 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10700 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10702 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10703 LFUN_LAYOUT_PARAGRAPHS.
10705 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10706 tabular. It is possible to provide a possible cell, which will
10707 typically be the actcell from the corresponding insettabular
10709 * lyxfunc.C (getStatus): small cleanup; disable
10710 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10713 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10715 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10717 * paragraph.C (startTeXParParams):
10718 (endTeXParParams): new methods. The LaTeX code to
10719 start/end paragraph formatting
10720 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10721 empty (fixes bug #200)
10723 * vspace.C (inPixels): adapt to the change below
10724 (inPixels): [later] more cleanups (remove unused variables)
10726 * lyxlength.C (inPixels): change to use a width and a height as
10729 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10732 Replaced with \paperwidth
10734 * DepTable.C (insert): add std:: qualifier
10736 2002-01-18 Allan Rae <rae@lyx.org>
10738 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10741 * text.C (drawInset): Turned out I didn't know enough about how
10742 rebreaking worked. This fixes most of the redraw problems. I see
10743 an occasional cursor trail when a line is broken now and the cursor
10744 placement can seem out by a few pixels also after a rebreak.
10746 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10748 * buffer.C (parseSingleLyXformat2Token): update because minipage
10749 width is now a LyXLength
10751 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10753 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10756 2002-01-17 Juergen Vigna <jug@sad.it>
10758 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10760 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10761 is set correctly and the inset is updated correctly.
10763 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10766 the beginning of the loop.
10768 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10770 * lyxrc.C: improve help for use_scalable_fonts
10772 2002-01-17 Allan Rae <rae@lyx.org>
10774 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10776 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10778 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10779 make sure to set their inset_owner to the right value (bug #171)
10781 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10784 * DepTable.C: Implement mtime checking to reduce time spent doing
10787 2002-01-16 Juergen Vigna <jug@sad.it>
10789 * tabular.C (GetAdditionalHeight): one of error fixed.
10791 * lyxrc.C (output): small fix in writing use_pspell.
10793 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10795 * sp_base.h: #include LString.h
10797 2002-01-16 Allan Rae <rae@lyx.org>
10799 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10800 Can someone check this please?
10802 * text.C (drawInset): It was possible that p.row would be removed by
10803 breakAgainOneRow upsetting a few other settings. There may be another
10804 small tweak possible by setting need_break_row = 0 when p.row has been
10805 removed but I don't know enough about the logic here.
10807 2002-01-15 Allan Rae <rae@lyx.org>
10809 * text.C (insertChar): removed conditional truism.
10811 * BufferView2.C (removeAutoInsets): More tweaks.
10812 cur_par_prev could be a stray pointer. Check for trailing empty line
10813 in case last line was cur_par and only had an error inset on it.
10815 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10817 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10820 * vc-backend.C (most methods):
10821 * exporter.C (Export):
10822 * converter.C (convert):
10824 * LyXSendto.C (SendtoApplyCB):
10825 * lyxfunc.C (dispatch):
10829 * lyx_cb.C (AutoSave):
10831 * BufferView_pimpl.C (MenuInsertLyXFile):
10832 * buffer.C (runChktex): use Buffer::filePath().
10834 * buffer.h: rename filename to filename_; rename filepath to
10835 filepath_ and make it private
10836 (filePath): new method
10838 * buffer.C (writeFile): use fileName()
10841 * lyx_main.C (init): fix starting of LyX when the binary is a
10842 link from so,ewhere else.
10844 * minibuffer.C: include <cctype> for isprint
10846 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10848 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10849 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10850 name clash with InsetCollapsable's width function.
10852 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * lastfiles.C: include <iterator>
10856 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10858 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10861 * buffer.C (makeLaTeXFile): ditto.
10862 Also make loop operation more transparent.
10864 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10866 * ToolbarDefaults.C: remove trailing comma closing namespace.
10868 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10870 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10873 * trans.C (Load): comment out unused variable, allowed.
10875 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10877 * minibuffer.[Ch] (append_char): new method to recieve input from the
10878 drop-down completion browser. If a key was pressed, then recieve this
10879 char and append it to the existing string.
10880 (peek_event): modify the positioning data passed to the completion
10881 browser so that it can be placed above the minibuffer rather than below.
10882 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * LyXAction.C (init): alloe error-next for readonly documents.
10886 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10889 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * bufferlist.C (readFile): create the buffer _after_ checking that
10894 * lyxfunc.C (verboseDispatch): fix handling of arguments
10896 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10898 * lyxrc.C: use string::erase() instead of initializing to "".
10901 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10903 * BufferView_pimpl.h:
10904 * BufferView_pimpl.C:
10907 * text2.C: tell X when we have made a selection for copying
10909 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10911 * BufferView_pimpl.C (MenuInsertLyXFile):
10912 * lyxfunc.C (menuNew):
10914 (doImport): add shortcuts to directory buttons
10916 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10919 * lyxfunc.C (setStatusMessage):
10920 (getStatusMessage): new methods
10921 (getStatus):use setStatusMessage instead of setErrorMessage
10922 (dispatch): when function is disabled, set error message here
10923 [instead of in getStatus previously]
10925 * BufferView_pimpl.C (workAreaButtonRelease): update
10926 toolbar/menubar here too.
10928 2002-01-13 Allan Rae <rae@lyx.org>
10930 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10931 Now seems indestructible. Remaining task is to audit all other
10932 code affected by deleteEmptyParagraphMechanism. One small quirk
10933 left is that an empty document with an error in the preamble can
10934 be made to report an error but no error box appears. I don't know
10936 (removeAutoInsets): Improved comments.
10938 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10941 * Thesaurus.C: update for Aiksaurus 0.14
10943 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * text2.C (firstParagraph): removed member function, all uses
10946 replaces with ownerParagraph
10947 (redoParagraphs): here
10948 (updateInset): here
10949 (toggleAppendix): here
10950 * BufferView2.C (insertErrors): here
10951 (setCursorFromRow): here
10953 2002-01-13 Allan Rae <rae@lyx.org>
10955 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10956 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10957 There is still a way to segfault this although you may have to do this
10958 multiple times: Have an InsetERT with an unknown command in it.
10959 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10960 <down-arrow>, <Enter> again, View->DVI, BANG!
10962 * text2.C (setCursor):
10963 (deleteEmptyParagraphMechanism):
10964 * lyxtext.h (setCursor):
10965 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10966 Making use of the return value may help fix other bugs.
10968 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10970 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10972 * LyXView.C (updateMenubar): call MenuBar::update here
10973 (updateToolbar): but not here
10974 (showState): do not update toolbar/menubar
10976 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10977 should need to care about that.
10979 * lyxfunc.C (verboseDispatch): simplify a bit
10980 (getStatus): have a version which takes a pseudoaction, and
10981 another which requires a (kb_action,string).
10983 * LyXAction.C (retrieveActionArg): make it work also when action
10984 is not a pseudo-action.
10985 (getActionName): simplify a bit
10988 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10990 * lyxfunc.C (verboseDispatch): new families of methods with
10991 several ways to specify a command and a bool to indicate whether
10992 the command name and shortcut should be displayed in minibuffer
10993 (eventually, we could extend that to a finer bitmask like
10994 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10995 (dispatch): the pristine dispatch command which just, well,
10996 dispatchs! Note it still sets its result to minibuffer; I'm not
10999 * lyxfunc.h: remove setHintMessage
11001 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11003 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11005 * BufferView_pimpl.C (specialChar): delete new inset if we have
11006 not been able to insert it.
11008 * kbmap.C: revert to using int instead of kb_action, since all we
11009 are dealing with is pseudo-actions.
11011 * LyXAction.C (searchActionArg): change to return int instead of
11012 kb_action, since the result is a pseudoaction.
11014 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11016 * buffer.C (insertErtContents): Fix (partially) the font bug.
11018 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11020 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11021 as the other one is broken on my machine!
11023 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11026 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11028 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11030 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11031 reflect their actual use. Provide compatibility code for older lyxrc
11034 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11036 change names of popup font variables in line with the changes to lyxrc.C
11038 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * buffer.C (asciiParagraph): avoid outputing a word twice after
11043 * lyxrc.C (getDescription): document that document_path and
11044 template_path can be empty.
11046 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * LaTeXFeatures.C (getMacros):
11049 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11051 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11053 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11055 (getPackages): rename feature "floats" to "float". Use an array to
11056 iterate over 'simple' features (i.e. just a \usepackage). Add
11057 handling of "amsmath" (renamed from "amsstyle").
11059 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11061 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11064 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11066 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11067 FuncStaus::FuncStatus & FuncStaus::some_method().
11069 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11071 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11072 of the func_satus stuff. Edited and massaged in various ways by
11075 * lyxfunc.C (getStatus): use FuncStatus
11077 2002-01-08 Juergen Vigna <jug@sad.it>
11079 * text.C (nextBreakPoint): use function Inset::isChar().
11081 * paragraph.C (TeXOnePar): use function
11082 Inset::forceDefaultParagraphs.
11084 * buffer.C (latexParagraphs): use function
11085 Inset::forceDefaultParagraphs.
11087 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11089 * lyx_gui.C (init): set the style of the menu popups to
11090 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11092 2002-01-07 Juergen Vigna <jug@sad.it>
11094 * text.C (setHeightOfRow): small fix
11095 (prepareToPrint): don't look at alignment if we don't have the place
11098 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11100 * box.C: New file. Move the Box methods and functions out of box.h,
11101 following Lars' suggestion.
11103 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11105 * box.h: #include "support/LOstream.h", needed for inlined function.
11108 * lyxtextclasslist.C: added some using std declarations.
11110 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11112 * box.h: make signed dimensions to allow insets wider than
11113 the screen (bug #162)
11115 * BufferView_pimpl.C: add some insetHit debug
11117 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11119 * vc-backend.C: add FIXME
11121 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * lyxfunc.C (getStatus): enable code for showing math font status
11126 2002-01-07 Juergen Vigna <jug@sad.it>
11128 * text.C (nextBreakPoint): removed debug output not needed anymore.
11130 2002-01-06 Juergen Vigna <jug@sad.it>
11132 * text.C (nextBreakPoint): fixed up this function we had this bug
11133 since ever but now hopefully we break row better.
11134 (insertChar): we have to check if an inset is the next char as it
11135 could now happen that a large inset is causing a break.
11137 2002-01-05 Juergen Vigna <jug@sad.it>
11139 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11140 if it doesn't like to be drawed.
11142 2002-01-04 Juergen Vigna <jug@sad.it>
11144 * BufferView2.C (lockInset): forgot to set a cursor.
11146 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11148 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11150 * FormMathsPanel.C:
11153 * form_maths_panel.C:
11154 * form_maths_panel.h:
11155 * form_maths_panel.fd: implemented sub- and super- buttons in math
11158 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11159 (or ^ space) to be used as in TeX (req'd by André).
11161 * lyxfunc.C: Allow ^ and _ again to be used both as
11162 super/subscript (mathed) and as themselves (in text).
11164 2002-01-03 Allan Rae <rae@lyx.org>
11166 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11167 "LyX" or the filename of the current buffer if it has one. This is a
11168 modified form of John Levon's patch.
11170 * XFormsView.C (setWindowTitle): also set icon title.
11172 * LyXView.h (setWindowTitle): signature changed.
11173 * XFormsView.h (setWindowTitle): ditto.
11175 2002-01-02 Juergen Vigna <jug@sad.it>
11177 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11179 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * screen.C (topCursorVisible): introduce a temp var for
11182 text->cursor.row(), handle the case where this row is null. (kindo
11185 * text2.C (setCursor): add a couple of asserts.
11187 * paragraph.h (inset_iterator): add -> operator
11189 * paragraph.[Ch] (autoDeleteInsets): remove member function
11191 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11192 cursor pos correctly and handle inset deletion by itself.
11193 (insertErrors): move iterator declaration out of for expression
11195 * lyxtextclass.C: add <algorithm>
11197 * Makefile.am: added the new files to sources, removed layout.C
11199 * layout.C: removed file
11201 * layout.h: remove LYX_DUMMY_LAYOUT
11203 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11207 * lyxtextclass.[Ch]:
11208 * lyxtextclasslist.[Ch]: new files
11210 * include order changes to a lot of files, also changes because of
11213 2001-12-27 Juergen Vigna <jug@sad.it>
11215 * buffer.C (asciiParagraph): more fixes.
11217 * tabular.C (ascii): make ascii export support export of only the
11218 data separated by a column-delimiter.
11219 (ascii): better support for ascii export.
11221 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11223 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11225 * tabular_funcs.C: use a "using std::getline" instead of the
11226 previous fix from Angus (necessary for cxx + lyxstring)
11228 2001-12-24 Juergen Vigna <jug@sad.it>
11230 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11232 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11233 problems. First check a minipage also if we have some ert-contents
11234 (not only on par->size(), second set the right depth of the paragraph
11235 on the relink to the root-paragraph-list!
11237 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11238 which then did not anymore update the main paragraphs on undo/redo!
11240 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11242 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11243 code. Support all font-changing funcs (even those which are not in
11244 menu currently). Support for reporting font settings in
11245 mathed (disabled until Andre provides a function on mathed's side).
11247 * func_status.h (toggle): small helper function to set toggle
11250 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11252 * tabular_funcs.C: getline -> std::getline
11254 2001-12-21 Juergen Vigna <jug@sad.it>
11256 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11257 accessed and could be 0 (I couldn't generate this but it seems
11260 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11263 * tabular_funcs.h: here and include iosfwd
11265 2001-12-20 Juergen Vigna <jug@sad.it>
11267 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11268 inside inset but undo_par was.
11270 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11272 * Thesaurus.C: always include <config.h> in sources.
11276 * box.h: do not include <config.h> in header files
11278 * text.C (paintLastRow): remove unused variable
11280 * text.C (transformChar):
11282 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11284 * Painter.C (text):
11285 * font.C (width): rewrite to use uppercase() instead of
11288 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11290 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11292 * lyxfind.C: clean up of find failure position change
11294 2001-12-20 Juergen Vigna <jug@sad.it>
11296 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11298 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11299 (TeXRow): added to LaTeX a single tabular row.
11300 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11301 (Latex): simplified and finally good LT-h/f support.
11302 (various_functions): just small adaptions for LT-h/f support.
11304 * tabular_funcs.[hC]: added and moved here all not classfunctions
11307 2001-12-19 Juergen Vigna <jug@sad.it>
11309 * tabular.[Ch]: better support for longtabular options (not finished
11312 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * text.C (paintLastRow): use the label font instead of the font of
11315 the last character to compute the size of *_BOX. This makes more
11316 sense and avoids a crash with empty paragraphs.
11317 Use Painter::rectangle to draw EMPTY_BOX.
11319 2001-12-19 Juergen Vigna <jug@sad.it>
11321 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11322 the paragraphs if the replaced paragraph is not the first one!
11323 Tried to delete not used paragraphs but does not work yet so for
11324 now it's inside #ifdef's and by default off!
11326 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * MenuBackend.C: include "lyx_main.h" instead of declaring
11329 lastfiles (actually was declared as LastFiles* instead of a
11332 2001-12-17 Juergen Vigna <jug@sad.it>
11334 * tabular.C (AppendColumn): applied John's fix
11336 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11340 * BufferView_pimpl.h:
11341 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11344 * box.h: new start of class for above
11346 * lyxfunc.C: ignore space-only minibuffer dispatches.
11347 Show the command name when it doesn't exist
11349 * minibuffer.C: don't add empty lines to the history
11351 * minibuffer.C: add a space on dropdown completion
11353 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11355 * text.C: fix line above/below drawing in insets
11357 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * lyxlength.C (LyXLength): Initialize private variables.
11361 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11363 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11364 when inserting error insets.
11366 2001-12-13 Juergen Vigna <jug@sad.it>
11368 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11369 actually sometimes the before-paragraph.
11370 (setUndo): don't clear the redostack if we're not actually undoing!
11372 2001-12-06 Juergen Vigna <jug@sad.it>
11374 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11375 and fixed redoing of main paragraph, so we can use it now ;)
11377 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11379 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11384 2001-12-13 André Pönitz <poenitz@gmx.net>
11387 * undo_func.C: minor cleanup
11389 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11392 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11393 font in urw-fonts package which is marked as -urw-fontspecific and
11394 does not work (incidentally, changing the encoding in the
11395 fonts.dir of this package to -adobe-fontspecific fixes the
11398 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11399 is a crash when undoing first paragraph (Juergen, please take a
11400 look). THis does not mean the undo fix is wrong, just that it
11403 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11404 the (Paragraph*) version when needed instead of duplicating the
11407 * text.C (workWidth): use Inset::parOwner to find out where the
11408 inset has been inserted. This is a huge performance gain for large
11409 documents with lots of insets. If Inset::parOwner is not set, fall
11410 back on the brute force method
11412 * paragraph_pimpl.C (insertInset):
11413 * paragraph.C (Paragraph):
11414 (cutIntoMinibuffer): set parOwner of insets when
11415 inserting/removing them
11417 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11419 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11425 * mathed/formulabase.C:
11426 * mathed/math_cursor.[Ch]:
11427 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11430 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11432 * lyxlength.[Ch] (operator!=): new function
11434 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * text.C (workWidth): use Inset::parOwner to find out where the
11437 inset has been inserted. This is a huge performance gain for large
11438 documents with lots of insets. If Inset::parOwner is not set, fall
11439 back on the brute force method
11441 * paragraph_pimpl.C (insertInset):
11442 * paragraph.C (Paragraph):
11443 (cutIntoMinibuffer): set parOwner of insets when
11444 inserting/removing them
11446 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11448 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * tabular-old.C (getTokenValue):
11451 * tabular.C (getTokenValue):
11452 (write_attribute): new versions for LyXLength
11453 (everywhere): adjust the use of widths
11455 * tabular.h: change the type of widths from string to LyXLength
11457 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11459 * paragraph.C: fixed missing line number count when exporting
11460 Environments to LaTeX file
11462 * buffer.C: added informational message for checking line numbers.
11464 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11467 paragraph, do the 'double space' part, but not the 'empty
11470 * text.C (workWidth): small optimization
11471 (getLengthMarkerHeight): use minimal size for negative lengths.
11473 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11475 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11477 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11479 2001-12-11 André Pönitz <poenitz@gmx.net>
11482 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11484 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11486 * text2.C: keep selection on a setFont()
11488 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11490 * lyx_cb.C: another bv->text misuse, from insert label
11492 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11495 * kbsequence.C: re-instate nmodifier mask
11497 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11499 * lyx_main.h: make lyxGUI private.
11501 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11503 * lyxfind.C: place the cursor correctly on failed search
11505 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11507 * text.C (getLengthMarkerHeight): for small heights, the arrows
11508 are not always on top/bottom of the text
11509 (drawLengthMarker): smaller arrows; take the left margin in
11510 account; draw also vfills.
11512 (paintLastRow): remove special code for vfill and standard spaces,
11513 since everything is handled in drawLengthMarker now.
11515 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * buffer.C (insertErtContents): try to handle font and language
11518 interaction a bit better.g
11520 * ColorHandler.C (updateColor): change the hash to cover the whole
11521 LColor enum, ws cleanup
11522 (getGCLinepars): ditto
11523 (getGCLinepars): only lookup in the linecache once.
11525 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11527 * iterators.C (operator++): Make the iterator more robust
11529 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11533 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11536 * text.C: better added space drawing
11538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11541 * BufferView2.C: fix layout combo update on inset unlock
11543 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11545 * Makefile.am: don't compile unused files
11547 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11551 * LyXAction.C: remove old LFUN_LAYOUTNO
11553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11555 * paragraph_pimpl.h:
11556 * paragraph_pimpl.C: isTextAt() doesn't need font param
11558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11561 * lyxlex.C: little cleanup
11563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11565 * BufferView_pimpl.C: fix insertAscii for insets
11567 2001-12-05 Juergen Vigna <jug@sad.it>
11569 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11570 set the right font on the "multi" paragraph paste!
11572 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * lyxlength.C: remove out-commented code.
11580 * BufferView_pimpl:
11594 * vc-backend.C: change "while(" to "while ("
11596 * lyxlength.[Ch]: add zero function to check if length is zero or
11598 * lyxgluelength.C: use it
11600 2001-12-05 Allan Rae <rae@lyx.org>
11602 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11603 Works for 2.95.3, from what I understand of Garst's reports this should
11604 work for other g++ versions. We're screwed if the abs(int) definition
11605 changed between bugfix releases of gcc.
11607 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11609 * text.C: fix chapter label offset !
11611 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11614 * text.C: fix hfill at end of line, clean up
11616 2001-12-04 Juergen Vigna <jug@sad.it>
11618 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11619 that we force an update of the inset and it's owners if neccessary.
11621 2001-12-03 Juergen Vigna <jug@sad.it>
11623 * text.C (rowLast): simplified code
11625 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11627 * lyxfunc.C: fix show options on timeout
11629 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11631 * screen.C (topCursorVisible): scroll half a page when the cursor
11632 reached top of bottom of screen
11634 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11636 * minibuffer.C: deactivate on loss of focus
11638 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11640 * vspace.[Ch] (operator!=): add operator.
11642 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11644 * BufferView_pimpl.C: refuse to open an inset when
11645 there's a selection.
11647 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11649 * BufferView_pimpl.C: allow to click on RHS of full row insets
11651 2001-11-30 Juergen Vigna <jug@sad.it>
11653 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11654 insets for undo reasons.
11656 2001-11-28 André Pönitz <poenitz@gmx.net>
11658 * vspace.[Ch]: cosmetical changes
11660 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11670 * kbsequence.C: part re-write of old kb code
11673 * WorkArea.C: remove Lgb_bug_find_hack
11675 2001-11-30 José Matos <jamatos@fep.up.pt>
11677 * buffer.C (makeDocBookFile): add a comment to point a hack.
11678 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11679 Fixed a double write of labels.
11681 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11684 * LaTeX.h Fixed bug in LaTeX class where it would not
11685 re-run latex if no depfiles were changed, but the .dvi was removed.
11687 2001-11-28 André Pönitz <poenitz@gmx.net>
11689 * all the files from the change on 2001/11/26:
11690 use lyx::layout_type instead of LyXTextClass::size_type
11691 use lyx::textclass_type instead of LyXTextClassList::size_type
11693 2001-11-29 Juergen Vigna <jug@sad.it>
11695 * text.C: added support for paragraph::isFreeSpacing()
11697 * buffer.C: same as above
11699 * paragraph.h: inserted isFreeSpacing() function to enable
11700 FreeSpacing inside InsetERT.
11702 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11703 of the paragraph's in the cut/copy buffer to 0!
11705 * text2.C (removeRow): remove the assert as it can!
11707 * lyxtext.h: added helper function firstRow returning firstrow and
11708 made firstrow private again.
11710 * BufferView2.C (lockInset): don't relock if we're already locked!
11712 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11713 the only paragraph.
11714 (removeRow): added Assert::(firstrow)
11716 * debug.C: forgot to add INSETTEXT here.
11718 2001-11-28 Juergen Vigna <jug@sad.it>
11720 * sp_spell.C (initialize): changed error text to more general
11721 spellchecker command use (not only ispell!)
11723 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11725 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11727 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11729 * vspace.C: initialise lyxgluelength on failure
11731 2001-11-28 Allan Rae <rae@lyx.org>
11733 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11734 declaration & definition that looks like a function declaration.
11736 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11738 * BufferView2.C (copy):
11739 (copyEnvironment): do not clear the selection when doing a copy.
11741 * text.C (paintFirstRow): compilation fix
11743 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11745 * tabular.C (Latex): correct line count when writing latex.
11747 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11749 * paragraph_pimpl.h:
11750 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11753 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11757 * LColor.C: change vfillline->added_space
11759 * text.C: add markers and text for added space
11761 * vspace.C: fix comment
11763 2001-11-28 André Pönitz <poenitz@gmx.net>
11765 * paragraph.C: whitespace changes
11766 * all the other files from the change on 2001/11/26:
11767 change *::pos_type into lyx::pos_type
11769 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11771 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11772 language of the document when inserting error insets.
11774 2001-11-26 André Pönitz <poenitz@gmx.net>
11776 * BufferView_pimpl.[Ch]:
11784 * paragraph_pimpl.[Ch]:
11787 * text2.C: reduce header dependencies, introduce type for positions
11789 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11791 * <various>: change to use Alert.h
11793 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11795 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11796 when encountering an unknown token.
11797 (readLyXformat2): Show an error message if there were unknown tokens.
11799 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11802 * BufferView_pimpl.C:
11806 * text2.C: use par->isInset()
11808 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11810 * paragraph_pimpl.h:
11811 * paragraph_pimpl.C: cleanup
11813 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11815 * text2.C (removeRow):
11816 * text.C (setHeightOfRow): remove useless (and costly) call to
11819 2001-11-20 Allan Rae <rae@lyx.org>
11821 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11822 Now need Inset*::checkInsertChar() to return true for appropriate
11823 cases so that the characters in the minibuffer will actually be
11826 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11828 * text.C: change the order of the includes.
11829 (workWidth): initialize it at once.
11830 (workWidth): make maxw unsigned
11831 (setHeightOfRow): remove unused variable (inset)
11832 (selectSelectedWord): remove unused variable (inset)
11833 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11835 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11838 server is not running.
11840 (closeConnection): add debug info when server is disabled.
11842 * ColorHandler.C (getGCForeground): send debug message to GUI
11845 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11847 * kbmap.C (bind): modify because return conventions of
11848 kb_sequence::parse have changed.
11850 * kbsequence.C (parse): only ignore spaces and not any stupid
11851 control character. This avoids tests like s[i] <= ' ', which are
11852 guaranteed to fail with 8bit characters and signed chars.
11853 Change return code to string::npos when there have been no error
11854 (0 was a bad idea when error is at first character)
11856 2001-11-14 José Matos <jamatos@fep.up.pt>
11859 * buffer.C (simpleDocBookOnePar): removed unused argument.
11861 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11863 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11864 insets which are part of a word. Paragraph::isLetter takes care of
11865 that now. Use Paragraph::isInset to identify insets.
11866 (selectSelectedWord): do not test for hyphenation break.
11868 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11869 that protected spaces are considered as spaces.
11871 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11874 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11877 * lyxserver.C: fix it. and small cleanup.
11879 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11881 * BufferView_pimpl.C: use inline helpers
11884 * LaTeXFeatures.C: fix typos
11887 * Spacing.C: move spacing_string into class
11889 * ToolbarDefaults.C: move stuff into namespace anon
11891 * layout.h: update enum
11893 * lyxfunc.C: use better debug
11895 * minibuffer.h: fix typo
11899 * WorkArea.C: add and use Debug::WORKAREA
11903 * text2.C: code re-organisation, inline helpers
11905 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11907 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11908 std::vector.empty().
11910 2001-11-09 Allan Rae <rae@lyx.org>
11912 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11913 '\n's after tables. Tabular and ERT inset work now makes this no
11916 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11919 * minibuffer.C: fix crash, improve drop-down completion
11921 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11924 * lyxserver.C: invalidate fd's when doing endPipe()
11926 2001-11-08 José Matos <jamatos@fep.up.pt>
11928 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11929 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11932 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11934 2001-11-07 José Matos <jamatos@fep.up.pt>
11937 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11940 * buffer.C (sgmlOpenTag):
11941 * buffer.C (sgmlCloseTag): removed debug info.
11943 * buffer.h (sgmlOpenTag):
11944 * buffer.h (sgmlCloseTag): made public.
11946 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * buffer.C (saveParamsAsDefaults):
11949 * lyx_cb.C (MenuLayoutSave): remove
11951 * LyXAction.C (init):
11953 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11955 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11957 * buffer.C (setPaperStuff): removed from here...
11959 * bufferparams.C (setPaperStuff): ... and moved there.
11961 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11965 * XFormsView.C: add support for drop-down completion
11967 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11969 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11972 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11974 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11977 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11979 * lyx_main.C: change ref to known bugs
11981 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11983 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11984 to work around older babel problems.
11986 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11988 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11990 2001-10-24 Juergen Vigna <jug@sad.it>
11992 * tabular-old.C (ReadOld): below variable changes reflected.
11994 * tabular.[Ch]: added ltType struct for longtable header/footer
11995 defines and changed all instances where they are used. Added
11996 future support for double top/bottom rows.
11998 2001-10-24 José Matos <jamatos@fep.up.pt>
12000 * buffer.h (docbookHandleCaption):
12001 * buffer.C (docbookHandleCaption): removed unused function.
12002 (makeDocBookFile): moved docbook supported version to v4.1.
12004 2001-10-24 José Matos <jamatos@fep.up.pt>
12007 * tabular.C (docbookRow): new function to export docbook code of a row.
12008 (DocBook): now honors the longtable flags.
12010 2001-10-23 José Matos <jamatos@fep.up.pt>
12013 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12014 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12016 * buffer.C (makeLinuxDocFile):
12017 (makeDocBookFile): reworked the preamble, more clean, and with
12018 support for lyx defined entities. Changed the document declaration
12019 to be more XML friendly.
12021 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12022 if we need to output XML that should be done with a filter.
12024 2001-10-22 Juergen Vigna <jug@sad.it>
12026 * sp_pspell.h (class PSpell): add alive function needed in the
12027 controller to see if the spellchecker could be started.
12029 2001-10-22 Juergen Vigna <jug@sad.it>
12031 * buffer.C (insertStringAsLines): modify the font for inserting
12032 chars in certain conditions by calling checkInsertChar(font).
12034 2001-10-19 Juergen Vigna <jug@sad.it>
12036 * text.C (workWidth): use getRow instead of wrong algorithm.
12037 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12039 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12044 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12046 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * text.C (workWidth): do not search for the exact row when
12049 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12050 optimization for big documents.
12052 2001-10-18 Juergen Vigna <jug@sad.it>
12054 * text.C (workWidth): new function with added Inset * parameter.
12056 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12058 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12060 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12061 change return type of getColumnNearX.
12064 * text.C (changeRegionCase): use uppercase/lowercase instead of
12067 (rightMargin): simplify code by factoring out the uses of
12072 (appendParagraph): use Paragraph::size_type
12074 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12076 * vspace.C (asLatexString): add a missing break
12078 2001-10-15 Herbert Voss <voss@perce.de>
12080 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12082 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12084 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12087 2001-10-10 André Pönitz <poenitz@gmx.net>
12089 * lyxfunc.C: removed greek_kb_flag.
12091 2001-10-10 Herbert Voss <voss@perce.de>
12093 * lyx_main.C: delete global string help_lyxdir.
12095 2001-10-09 Herbert Voss <voss@perce.de>
12097 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12099 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12101 * lyx_main.C: added global string help_lyxdir.
12103 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12105 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12107 * lyxrc.C (set_font_norm_type): support iso8859-4
12109 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12111 * LaTeX.C (deplog): add another regex for MikTeX
12113 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12115 * lyxrc.C (set_font_norm_type): support iso8859-3
12117 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12119 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12121 * LaTeXFeatures.C: remove special case of french and index
12123 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12124 before \begin{document}). This solves several incompatibilities.
12126 2001-10-03 Garst Reese <reese@isn.net>
12128 * lyx_cb.C: change CheckTex error msg.
12130 2001-10-03 José Matos <jamatos@fep.up.pt>
12132 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12134 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12136 * .cvsignore: update
12138 * lyx_main.C (commandLineVersionInfo): use new style version info.
12140 * buffer.C (writeFile):
12142 (makeLinuxDocFile):
12143 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12145 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12147 * version.h: update to use stuff in version.C
12149 * version.C.in: new file. Contains version information determined
12150 at compile time. This is a merging of version.h and
12153 2001-10-03 Juergen Vigna <jug@sad.it>
12155 * BufferView_pimpl.C (update): don't change "dirty" status in
12158 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12160 * WorkArea.C (c-tor): re-position version string slightly.
12162 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12164 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12165 revert to previous code.
12167 WorkArea.[Ch]: (show, destroySplash): methods removed.
12169 WorkArea.C: rework code so that it's an amalgam of the codes before and
12170 after the splash screen was moved to WorkArea.
12172 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * vspace.C (inPixels):
12178 * buffer.C (insertStringAsLines):
12179 (asciiParagraph): fix types to be large enough
12181 * lyxlex_pimpl.h: change member status from short to int
12183 * layout.h: fix type of endlabeltype
12186 * kbsequence.C (parse): change return type to string::size_type
12188 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12191 * Bullet.C (bulletSize):
12192 (bulletEntry): do not use short ints as parameters
12194 * BufferView2.C (insertLyXFile): change a char to an int.
12196 * WorkArea.C (WorkArea): remove unneeded floats in computation
12198 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12200 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12202 * paragraph.C (asString): Do not ignore newline/hfill chars when
12203 copying to the clipboard.
12205 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12207 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12208 after a multi-line inset.
12210 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12212 * paragraph.C (validate): Set NeedLyXFootnoteCode
12214 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12216 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12217 and decrease-error to decrease.
12219 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12221 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12222 it more readable (should be equivalent)
12224 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12226 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12228 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12231 of a cursor (row, etc.) after a character has been deleted
12232 (deleteEmptyParagraphMechanism): call the method above on _all_
12233 cursors held by the LyXText when a double space has been
12236 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12238 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12240 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12242 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12243 background. Use greyOut() and the new show() methods to toggle between
12244 the foreground and background. Add code to remove the splash after
12245 its initial showing.
12247 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12248 (create_forms): no longer call Dialogs::showSplash.
12250 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * .cvsignore: add version_info.h
12254 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * version_info.h.in: new file
12258 * Makefile.am: add version_info.h.in
12260 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12261 version_info.h instead of VERSION_INFO
12263 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12265 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12266 The ERT inset now returns string().
12268 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12270 * lyxtext.h, text.C (selectNextWord): renamed as
12271 selectNextWordToSpellcheck.
12273 * text.C (selectNextWordToSpellcheck): Modified to not select
12274 words inside an ERT inset.
12276 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12278 * lyx_cb.C (MenuLayoutSave): change a bit the question
12280 * sp_base.h: include <sys/types.h>
12282 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12284 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12286 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12288 * several files: fix typos in user-visible strings
12290 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * text2.C (pasteSelection): do not set the selection, since it
12293 will be cleared later. Actually, the intent was to fix the way the
12294 selection was set, but I figured rmoving the code was just as good.
12296 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12298 * FontLoader.C (available): Check if font is available without
12301 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12303 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12305 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12307 * lyxrc.[Ch]: added display_graphics variable and associated code.
12309 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12311 * bufferparams.C (hasClassDefaults): new method. Returns true if
12312 the buffer parameters correspond to known class defaults
12314 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12316 * XFormsView.C (show): set minimum size to the main window.
12318 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12320 * text2.C (copySelection):
12322 * lyxfind.C (LyXReplace):
12323 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12324 LyXText::selectionAsString.
12326 * paragraph.C (asString): add "label" argument to the second form
12328 * text2.C (selectionAsString): add "label" argument and pass it to
12329 Paragraph::asString.
12331 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12333 * lyx_main.C (commandLineHelp): remove version information
12335 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12337 * lyx_main.C: add -version commandline option
12339 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * paragraph.h: make the optional constructor arg required instead.
12342 some modifications to other files because of this.
12344 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12346 * lyxserver.C (C_LyXComm_callback): make it static
12348 * lyx_main.C (error_handler): make it static
12350 * lyx_gui.C (LyX_XErrHandler): make it static
12352 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12354 * WorkArea.C: make the extern "C" methods static.
12356 * Makefile.am (lyx_LDADD): simplify
12358 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12360 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12361 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12363 * LyXAction.C (init):
12364 * lyxfunc.C (dispatch): associated code removal.
12366 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * lyxfont.h (isSymbolFont): shut off warning
12370 * text.C (setHeightOfRow):
12371 (getVisibleRow): fix crash with empty paragraphs which have a
12374 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12376 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12379 2001-09-04 José Matos <jamatos@fep.up.pt>
12382 * tabular.C (docbook): rename docBook method to docbook.
12384 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12386 * Makefile.am: add dependencies to main.o.
12388 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12390 * FontLoader.C (available): Return false if !lyxrc.use_gui
12392 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12394 * FontInfo.C (query):
12395 * converter.C (view):
12396 * importer.C (Import):
12397 * exporter.C (Export): Can not -> cannot.
12399 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12401 * BufferView_pimpl.C: allow to create index inset even if
12404 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12406 * buffer.C (getLists): replace boost::tie code with an explicit pair
12407 as boost::tie can break some compilers.
12409 * iterators.h: Added a std:: declaration to the return type of
12412 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12414 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12417 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12419 * iterators.[Ch]: New files. Provide paragraph iterators.
12421 * buffer.C (changeLanguage): Use paragraph iterators.
12422 (isMultiLingual): ditto
12424 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12426 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12428 * FontLoader.C: Support for cmr font.
12430 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12432 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12433 (available): New method.
12435 * FontInfo.C (getFontname): Use scalable fonts even when
12436 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12439 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12441 * converter.C (Formats::view): reverted! Incorrect fix.
12443 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12445 * converter.C (Formats::view): only output the -paper option
12446 if the dvi viewer is xdvi, thereby fixing bug #233429.
12448 2001-08-23 Herbert Voss <voss@perce>
12450 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12452 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12454 * Spacing.h (Spacing): Set space to Default on in the default
12457 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * vc-backend.h (RCS::versionString): add RCS to version
12460 (CVS::versionString): add CVS to version
12462 * vc-backend.C (scanMaster): do not add CVS to version.
12463 (scanMaster): do not add RCS to version
12465 * lyxvc.C (versionString): new method
12467 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12469 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * Spacing.C (set): initialize fval
12473 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12475 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12478 2001-08-16 Juergen Vigna <jug@sad.it>
12480 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12482 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12484 * BufferView_pimpl.C:
12487 * text2.C: setParagraph takes linespacing now
12489 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12491 * LyxAction.C: add internal LFUN_CITATION_INSERT
12493 * LyXView.C: actually apply fix
12495 * bufferlist.C: fix open non-existent file
12497 * lyxfind.C: fix indentation
12499 * lyxfunc.C: remove unneeded assert, fix typo
12501 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12503 * MenuBackend.C: use "Floatname List"
12505 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12507 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12508 when converting LaTeX layout to insetERT.
12509 Generate a non-collapsed float when reading old float
12511 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12513 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12516 2001-08-13 Juergen Vigna <jug@sad.it>
12518 * text.C (fill): return 0 instead of 20 as this seems to be the more
12521 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12523 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12526 2001-08-13 Juergen Vigna <jug@sad.it>
12528 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12530 (SearchBackward): comment out the unlocking of the inset_owner this
12531 should not be needed!
12533 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12535 * Many files: Remove inherit_language, and add latex_language
12537 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12538 collapsible insets.
12540 2001-08-10 Juergen Vigna <jug@sad.it>
12542 * text.C (prepareToPrint): fixed hfill-width in draw!
12544 * BufferView2.C (selectLastWord): save the selection cursor as this
12545 now is cleared in the function LyXText::clearSelection!
12547 2001-08-08 Juergen Vigna <jug@sad.it>
12549 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12550 BACKSPACE type functions.
12552 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12553 is only cutted from the document but not put in the cut-buffer, where
12554 still the old stuff should be.
12556 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12558 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12560 * tabular.C (SetWidthOfCell): fixed special case where the width
12562 (LeftLine): handle '|' in align_special.
12564 (LeftAlreadyDrawed): ditto
12565 (SetWidthOfCell): ditto
12567 2001-08-07 Juergen Vigna <jug@sad.it>
12569 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12571 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12573 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12574 * lyxlex.[hC]: ditto
12576 2001-08-06 Juergen Vigna <jug@sad.it>
12578 * text.C (getVisibleRow): fix up row clearing a bit.
12580 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12582 * minibuffer.C: make sure the X server sees the changes in the input.
12584 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12586 * paragraph.C (getFont): split into...
12587 (getLabelFont): this
12588 (getLayoutFont): and this
12589 * paragraph_pimpl.C (realizeFont): calling this
12591 * text2.C (getFont): split into...
12592 (getLayoutFont): this
12593 (getLabelFont): and this
12594 (realizeFont): all three calling this
12596 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12599 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12601 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12603 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12605 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12606 layouts from the Quote inset insertion.
12608 2001-08-03 Juergen Vigna <jug@sad.it>
12610 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12612 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12613 only if status not is already CHANGED_IN_DRAW (second level).
12615 * text.C (draw): don't set the need_break_row when inside an
12618 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * buffer.C (parseSingleLyXformat2Token): handle more latex
12623 * bufferview_funcs.[hC]: change function names to
12624 begin with small char, adjust other files.
12626 2001-08-02 André Pönitz <poenitz@gmx.net>
12629 BufferView_pimpl.C: remove broken special code for math-greek
12631 2001-08-02 Juergen Vigna <jug@sad.it>
12633 * BufferView_pimpl.C (update): redone this function so that we
12634 update the text again if there was a CHANGE_IN_DRAW.
12636 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12637 (drawFromTo): added a new internal bool which is used by draw() and
12639 (general): some cursor drawing problems fixed.
12641 2001-08-01 Juergen Vigna <jug@sad.it>
12643 * lyxfind.C (LyXFind): fixed
12644 (SearchForward): ditto
12645 (SearchBackward): ditto
12647 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12648 spurius drawing of the cursor in the main area.
12650 * text2.C (status): small fix which could lead to a segfault!
12651 (clearSelection): remove unneeded BufferView param.
12653 2001-08-01 André Pönitz <poenitz@gmx.net>
12655 * lyxfunc.C: small change due to changed mathed interface
12657 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12661 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12663 * lyxfunc.c: fail gracefully if file doesn't exist
12668 * BufferView_pimpl.C: IsDirWriteable() proto changed
12670 * LyXView.C: fix updateWindowTitle() to store the last title
12672 2001-07-31 Juergen Vigna <jug@sad.it>
12674 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12675 the font (wrong since using of Paragraph::highestFontInRange).
12677 * paragraph.C (highestFontInRange): added a default_size parameter.
12679 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12680 (setHeightOfRow): reformat
12682 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * converter.[hC] + affected files: move to (inital-char)lowercase
12687 * ParagraphParameters.C (ParagraphParameters): remove commented code
12689 * PainterBase.[Ch]: remove commented code
12691 * LaTeXFeatures.h: add "bool floats" for float.sty
12693 * LaTeXFeatures.C (LaTeXFeatures): init floats
12694 (require): handle float
12695 (getPackages): do it with floats
12697 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * BufferView_pimpl.C (Dispatch): improve handling of
12700 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12702 * commandtags.h: #include lyxfont.h here temporarily to avoid
12705 * bufferlist.h: include LString.h here.
12707 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * text2.C (getStringToIndex): new method.
12711 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12713 * *: Reduced header file dependencies all over.
12715 2001-07-30 Baruch Even <baruch@lyx.org>
12717 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12719 2001-07-29 Baruch Even <baruch@lyx.org>
12721 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12723 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * ParameterStruct.h (endif): add a default constructor to make
12726 sure that all variables is initialized.
12728 * ParagraphParameters.C (ParagraphParameters): adjust
12730 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12732 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12733 index; also, check that there is something to index, and that it
12734 does not span over several paragraphs.
12735 (doubleClick): use WHOLE_WORD_STRICT for double click.
12737 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12739 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12742 2001-07-26 Baruch Even <baruch@lyx.org>
12744 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12745 an InsetFig figure, backwards compatible reading of old figure code.
12747 2001-07-27 Juergen Vigna <jug@sad.it>
12749 * text2.C: font.realize function adaption.
12751 * text.C (draw): add a warnings lyxerr text if needed.
12753 * layout.C: font.realize function adaption.
12755 * language.C: add inherit_language and implement it's handlings
12757 * bufferview_funcs.C (StyleReset): remove language parameter from
12758 font creation (should be language_inherit now).
12760 * bufferparams.C (writeFile): handle ignore_language.
12762 * paragraph.C (getFontSettings): the language has to be resolved
12763 otherwise we have problems in LyXFont!
12765 * lyxfont.C (lyxWriteChanges): added document_language parameter
12766 (update): removed unneeded language parameter
12768 * paragraph.C (validate): fixed wrong output of color-package when
12769 using interface colors for certain fonts in certain environments,
12770 which should not seen as that on the final output.
12772 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12774 * BufferView_pimpl.C:
12779 * LyXAction.C: add thesaurus support
12782 * lyxfind.C: add "once" parameter, for thesaurus, to not
12783 move to the next match
12785 2001-07-26 Juergen Vigna <jug@sad.it>
12787 * lyxfont.C (realize): honor ignore_language too!
12790 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12792 * text.C (draw): one place more for ignore_language to not draw
12795 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12797 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12799 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12802 the minipage conversion problem.
12804 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12809 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12811 * BufferView.h: don't forward declare WorkArea
12813 * BufferView.C: don't include WorkArea.h
12815 2001-07-25 André Pönitz <poenitz@gmx.net>
12819 * lyxfunc.C: new LFUN 'math-space'
12821 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12823 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * text2.C (toggleInset): call open/close
12827 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * lyxfunc.C (dispatch): add debug for the disabled case
12831 * font.C (buttonText): make similar to rectText
12833 * buffer.C (readInset): comment out parsing of insetlist and
12836 * PainterBase.C (rectText): small correction
12838 * BufferView_pimpl.C: comment out insettheorem and insetlist
12839 * LyXAction.C: ditto
12840 * commandtags.h: ditto
12842 2001-07-24 Juergen Vigna <jug@sad.it>
12844 * text.C (draw): honor the ignore_language.
12846 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12848 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12853 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12855 * lyxtext.h: remove unused (and unimplemented) methods
12857 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12859 * text.C (getVisibleRow): honor background color
12862 * Painter.h: remove default color argument for fillRectangle
12864 * text.C (backgroundColor): new method
12866 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * text.C (getVisibleRow): adjust
12870 * font.[Ch] (rectText): new method, metrics
12871 (buttonText): new method, metrics
12873 * PainterBase.[hC]: make rectText and buttonText always draw and take
12876 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12878 * ToolbarDefaults.C (read):
12879 * MenuBackend.C (read): allow escaping in all strings
12881 * BufferView_pimpl.C (insertAndEditInset): new method.
12882 (Dispatch): use insertAndEditInset whenever appropriate.
12884 * BufferView_pimpl.C (insertNote): removed
12886 * BufferView_pimpl.C (smartQuote): new method, moved from
12887 BufferView; if an insetquote cannot be inserted, insert a '"'
12890 * BufferView2.C: remove insertCorrectQuote();
12892 * lyxfunc.C (getStatus): Add support for all remaingin
12893 inset-insert lfuns.
12895 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12897 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12898 command (necessary to pass " as parameter of self-insert.
12900 * text.C (selectWordWhenUnderCursor):
12901 (selectWord): add word_location parameter
12902 (selectWordWhenUnderCursor): same + remove special code for word
12904 (selectNextWord): use kind() to guess type of insetspecialchar,
12907 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12908 (insertErtContents): create ert insets as collapsed.
12909 (readInset): better compatibility code for Info inset.
12911 2001-07-20 Juergen Vigna <jug@sad.it>
12913 * lyxfunc.C (dispatch): use always LyXFind now!
12915 * text2.C (init): add a reinit flag so that the LyXText can be
12916 reinited instead of deleted and reallocated (used in InsetText).
12918 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12924 2001-07-18 Juergen Vigna <jug@sad.it>
12926 * text.C (selectNextWord): handle insets inside inset by calling
12927 always the bv->text functions so that we can go up the_locking_inset!
12929 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12930 in strange locations when inside an inset!
12932 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12933 handling to include insets.
12935 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12937 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12939 * LyXAction.C (init):
12941 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12942 LIGATURE_BREAK, since the name is so stupid.
12944 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12946 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12949 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12951 * sp_form.[Ch]: remove.
12953 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12955 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12958 * src/buffer.C (readInset): ditto.
12960 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12962 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12963 menuSeparator(), endOfSentenceDot(), ldots() and
12964 hyphenationPoint(), which are therefore removed.
12965 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12967 * LyXAction.C (init):
12968 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12970 * paragraph.C (getWord): removed.
12972 * BufferView_pimpl.C (Dispatch): use last word or selection for
12973 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12975 * lyx_main.C (queryUserLyXDir): do not ask before creating
12976 user_dir, except if it has been named explicitely.
12978 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12980 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12981 a document of zero size.
12983 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12985 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12986 approriately in the c-tor and in require().
12987 (getPackages): output the appropriate LaTeX for natbib support.
12989 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12990 variables "use_natbib" and "use_numerical_citations" when reading the
12992 (readInset): read the various natbib cite commands.
12993 (validate): white-space change.
12995 * bufferparams.[Ch]: new variables "bool use_natbib" and
12996 "bool use_numerical_citations".
12997 (writeFile): output them in the LyX file.
12999 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13001 * lyxfunc.C (getStatus): add support for all the inset insertion
13004 * text2.C (insertInset):
13005 * paragraph.C (insetAllowed):
13006 * BufferView_pimpl.C (insertInset): update to take in account the
13007 renaming of insertInsetAllowed
13009 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13011 * text2.C (getInset): new method. returns inset at cursor position.
13013 * BufferView_pimpl.C (Dispatch): changes because of this.
13015 * LyXAction.C (init): rename open-stuff to inset-toggle.
13017 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13019 * text2.C (toggleInset): renamed from openStuff; use
13022 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13024 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13026 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13028 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13030 * buffer.C (readLyXformat2): Add filename to the error dialog
13032 2001-07-18 Juergen Vigna <jug@sad.it>
13034 * tabular.C (GetCellNumber): put an assert here instead of the check!
13036 2001-07-17 Juergen Vigna <jug@sad.it>
13038 * BufferView_pimpl.C (toggleSelection): adapted too.
13040 * text.C (selectNextWord): adapted for use with insets.
13041 (selectSelectedWord): ditto
13043 2001-07-17 Juergen Vigna <jug@sad.it>
13045 * sp_spell.C (PSpell): fix initialitation order.
13047 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13049 * paragraph.C: spacing
13051 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13053 * sp_spell.C: repair language selection for pspell
13055 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13057 * lyxfunc.h: change more methods to begin with lower char.
13059 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13061 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13062 for unknown layouts.
13064 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13066 * buffer.C (readLyXformat2): Generate an error dialog if there are
13069 2001-07-16 Juergen Vigna <jug@sad.it>
13071 * sp_spell.C: always compile ISpell part.
13073 * lyxrc.C: added use_pspell entry and it's handling.
13075 2001-07-13 Juergen Vigna <jug@sad.it>
13077 * sp_spell.C: removed double includes.
13079 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13081 Consistent use of Lsstream.h:
13082 * Lsstream.h: added using std::stringstream for consistencies sake.
13084 * buffer.C: removed using std::stringstream
13086 * lyxfont.C (stateText):
13087 * paragraph.C (asString):
13088 * text.C (selectNextWord, selectSelectedWord):
13089 * text2.C (setCounter):
13090 * vspace.C (asString, asLatexString):
13091 std::ostringstream -> ostringstream.
13093 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13095 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13096 * commandtags.h: add LFUN_HELP_ABOUTLYX
13097 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13099 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13101 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13103 * lyx_gui_misc.C: remove spellchecker
13104 * lyxfunc.C: showSpellchecker
13106 * sp_ispell.h: added
13107 * sp_pspell.h: added
13108 * sp_spell.C: added
13109 * sp_form.[Ch]: removed
13110 * spellchecker.[Ch]: removed
13112 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13114 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13116 (simpleTeXSpecialChars): Simply print the input character without
13117 any special translation if pass_thru is set.
13119 * layout.h: Added bool pass_thru to layout class for being able to
13120 implement pass through of a paragraph for Literate Programming.
13122 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13123 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13124 * layout.C (Read): add "passthru" to list of layout tags and add
13125 code to set the pass_thru boolean when it is read.
13127 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * trans_decl.h: remove allowed from KmodInfo
13131 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13132 remove allowed code
13135 * paragraph_pimpl.C (erase): use boost::prior
13137 * Painter.C (text): use data() instead of c_str() when length is
13139 * WorkArea.C (putClipboard): ditto
13140 * font.h (width): ditto
13142 * BufferView2.C: use it-> instead of (*it). for iterators
13144 * paragraph_pimpl.C: ditto
13145 * paragraph.C: ditto
13146 * minibuffer.C: ditto
13147 * language.C: ditto
13149 * encoding.C: ditto
13150 * counters.C: ditto
13151 * converter.C: ditto
13153 * Variables.C: ditto
13154 * TextCache.C: ditto
13155 * MenuBackend.C: ditto
13156 * LyXAction.C: ditto
13158 * FloatList.C: ditto
13159 * DepTable.C: ditto
13160 * ColorHandler.C (LyXColorHandler): ditto
13162 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13164 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13166 * text2.C (openStuff): reintroduce this method (which had been
13167 nuked in NEW_INSETS frenzy).
13169 * lyxfunc.C (Dispatch): when an action has not been handled, use
13170 its name in the error message, not its number.
13172 * paragraph.C (inInset): change method name to begin with lowercase.
13175 * text2.C: updates because of this.
13177 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * ToolbarDefaults.C (add): add spaces in error message
13181 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13184 (readLyXformat2): rename return_par to first_par, use lyxlex's
13185 pushToken and remove the manual push handling.
13186 (parseSingleLyXformat2Token): add another ert comp. variable:
13187 in_tabular, rename return_par to first_par. handle newlines better
13189 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13193 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * text2.C (getParFromID): removed
13197 * buffer.C (getParFromID): new method moved form lyxtext.
13198 * BufferView2.C (insertErrors): adjust
13199 (setCursorFromRow): adjust
13200 * BufferView_pimpl.C (restorePosition): adjust
13201 * lyxfunc.C (Dispatch): adjust
13202 * undo_funcs.C (textUndo): adjust
13204 (textHandleUndo): adjust
13205 (textHandleUndo): adjust
13207 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * buffer.C: up' the LYX_FORMAT
13211 * lyxfont.h: turn NO_LATEX on as default
13213 * buffer.C (insertErtContents): new methods of tex style compability.
13214 (parseSingleLyXformat2Token): use it several places.
13215 * tabular.C (OldFormatRead): and here
13217 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * text2.C: remove some commented code.
13222 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13223 * trans.C: changes because of the above.
13225 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13227 * text2.C (setCounter): Fix counters bug with bibliography layout.
13229 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13231 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13232 own member functions
13233 (simpleTeXSpecialChars): ditto
13235 2001-07-06 Juergen Vigna <jug@sad.it>
13237 * a lot of files: changed the access to LyXText::status and the
13238 call of undo-functions.
13240 * undo.[Ch]: added a inset_id to the undo informations.
13242 * undo_funcs.[Ch]: added and moved here all undo functions.
13244 * lyxtext.h: give the status enum a weight, made status_ a private
13245 variable and made accessor functions for it, removed the whole bunch
13246 of undo-functions as they are now in their own file, make some
13247 functions publically available. Added function ownerParagraph with
13250 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13251 made InInset() a const function, added getParFromID() function.
13253 * buffer.[Ch]: added const version for inset_iterator functions,
13254 added getInsetFromID() function.
13256 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13257 changed undo functions for new version.
13259 2001-07-05 Juergen Vigna <jug@sad.it>
13261 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13262 unknow mechanism does not call the proper constructor but only this
13263 one also if I request the other!?
13265 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13269 * text2.C (LyXText): use initialization lists.
13271 * lyxtext.h (Selection): initialize set_ and mark_
13272 (init): remove method
13274 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13276 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13278 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * screen.[Ch]: change method names to begin with lowercase
13282 * BufferView_pimpl.C (updateScrollbar): simplify further and
13283 hopefully make it a bit faster.
13285 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13287 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13288 calling directly xforms functions.
13290 * Painter.C (Painter):
13291 * lyx_cb.C (MenuWrite):
13292 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13295 * lyx_gui.C: remove bogus guiruntime extern declaration.
13297 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13301 (redoDrawingOfParagraph): ditto
13302 (redoParagraphs): ditto
13303 (cutSelection): don't create a object for CutAndPaste use the
13304 static method directly
13305 (pasteSelection): ditto
13307 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13310 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13312 * modifications to some other files because of this.
13314 * Makefile.am (lyx_SOURCES): add XFormsView
13316 * XFormsView.[Ch]: new files
13318 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13319 the main window. Move the gui dependent stuff to XFormsView
13321 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13323 * tabular.C (GetCellInset): update cur_cell also in the row/col
13324 version of this function.
13326 * lyxfunc.C: no need to include figure_form.h here.
13332 * lyxvc.C: no need to include forms.h here.
13334 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13338 * lyxfunc.C (Dispatch):
13340 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13341 constructor argument.
13343 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * paragraph.C (Paragraph): dont't clear, and just set layout.
13346 (makeSameLayout): use params's copy contructor.
13348 * ParagraphParameters.[Ch] (makeSame): delete method
13350 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13352 * Variables.[Ch]: fix indentation, rename set to isSet
13354 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13356 * lyxfunc.C (Dispatch): fix typo
13358 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13363 * bufferlist.C: include assert.h for emergencyWrite().
13365 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13367 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13368 give up at last (bug #425202) !
13370 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13376 * spellchecker.C: strip spellchecker options and bring up
13377 preferences tab instead
13379 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13382 the istringstream constructor
13384 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * paragraph.C (getLayout): fix return value
13388 * paragraph.h: do not declare getLayout as inline.
13390 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13392 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * lyxcursor.h (operator<): new func
13395 (operator>): new func
13396 (operator>=): new func
13397 (operator<=): new func
13399 * text.C (changeCase): use selection.start and selection.end
13400 (changeRegionCase): require from to be <= to. Require par to be a
13403 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13405 2001-06-27 Juergen Vigna <jug@sad.it>
13407 * text.C (cursorLeftOneWord): changed to return the cursor and added
13408 overlay with BufferView * parameter which calls this one.
13410 (selectWord): use new getWord function.
13411 (changeCase): renamed from changeWordCase as and extended to work
13412 also on selections.
13414 * lyxtext.h: added enum word_location
13416 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13417 changeCase as this operates now also on selections.
13419 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13421 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13423 * many files: send debug output to Debug::INFO instead of
13426 * converter.C (View):
13428 (Move): send debug output to Debug::FILES instead of console.
13430 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13432 * lyxfunc.C (getStatus): use func_status
13434 * func_status.h: new header, describing the results of
13435 LyXFunc::getStatus;
13437 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13440 2001-06-25 The LyX Project <jug@sad.it>
13442 * buffer.C (sgmlOpenTag):
13444 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13446 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * text2.C: remove some dead code
13450 * tabular.C (GetCellInset): store the last cell checked (gotten)
13452 * tabular.h: add the helper for the speedup
13454 * lyxtext.h: remove some dead code
13456 2001-06-26 The LyX Project <Asger>
13458 * paragraph.C: Change export to LaTeX of alignment to
13459 \begin{center} and family for better roundtrip work with reLyX.
13461 * Tune the math drawing a bit.
13463 2001-06-25 The LyX Project <Asger>
13465 * LColor.C (LColor): New color for math background. New color
13468 2001-06-25 The LyX Project <jug@sad.it>
13470 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13472 * lyxfunc.C (Open):
13473 * bufferlist.C (newFile): do not restrict to files ending with
13476 * BufferView_pimpl.C (MenuInsertLyXFile):
13478 2001-06-24 The LyX Project <jug@sad.it>
13480 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13483 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * lyxtext.h: rename most methods to begin with a small char.
13486 Lots of changes because of this.
13488 * paragraph.C (Paragraph): do not call fitToSize
13489 (erase): call Pimpl::erase
13490 (insertChar): call Pimpl::insertChar
13491 (insertInset): call Pipl::insertInset
13492 (breakParagraph): do not call fitToSize
13493 (breakParagraphConservative): do not call fitToSize
13494 (fitToSize): remove method
13496 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13498 2001-06-24 The LyX Project <Asger>
13500 * Fix Qt compilation^2
13502 2001-06-24 The LyX Project <jug@sad.it>
13504 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13505 depthHook(getDepth()-1).
13508 * ParagraphParameters.h:
13509 * ParameterStruct.h: change type of depth to unsigned int ==
13510 depth_type. Many adaptations to other files before of that.
13512 2001-06-24 The LyX Project <Asger>
13514 * Fix Qt compilation.
13516 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * paragraph.h: renamed several methods to begin with small letter.
13519 several changes to many parts of the code because of this.
13521 2001-06-23 The LyX Project <jug@sad.it>
13523 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13524 rewritten to discard all double spaces when KeepEmpty is off
13525 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13526 to only handle newlines but not fiddle with spaces and friends.
13528 * lyxfunc.C (MenuNew): when doing 'new from template', use
13529 template_path as default directory
13531 2001-06-23 The LyX Project <Asger>
13533 * Clean-up of header file includes all over
13534 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13536 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * paragraph.h: renamed from lyxparagraph.h
13540 2001-06-23 Asger <lyx@violet.home.sad.it>
13542 * Buffer.h: Removed Buffer::resize
13543 * BufferList.h: Removed BufferList::resize
13544 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13545 the document lazily when we change the width, or the font settings.
13547 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13549 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13551 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13553 * buffer.h: remove out of date comment
13555 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13558 * screen.C: fix "theoretical" GC leak
13560 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * LaTeX.C (scanAuxFile):
13563 (deplog): remove trailing \r when reading stream (useful under
13566 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13568 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13569 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13570 and BufferView::theLockingInset(Inset*), so should use them and not
13571 access bv_->text->the_locking_inset directly.
13573 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13575 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13578 * tex-defs.h: remove old unused file
13580 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13582 * BufferView_pimpl.C: fix typo, remove minibuffer message
13583 when buffer has loaded
13585 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13587 * lyxfunc.C (Dispatch): use stringstream
13588 (MenuNew): use stringstream
13589 (Open): use stringstream
13591 * importer.C (Import): use stringstream
13593 * bufferview_funcs.C (CurrentState): use stringstream
13595 * LaTeX.C (run): use stringstream
13597 * BufferView_pimpl.C (savePosition): use stringstream
13598 (restorePosition): use stringstream
13599 (MenuInsertLyXFile): use stringstream
13601 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13614 * vspace.C: removed // -*- C++ -*- as first line.
13617 * version.h: added // -*- C++ -*- as first line.
13619 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13621 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13623 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13626 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13628 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13631 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13633 * gettext.C: include LString.h even when --disable-nls is on.
13635 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13637 * converter.h (Get): changed argument type from int to
13638 FormatList::size_type to avoid unnecessary conversion.
13640 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13643 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13645 * gettext.h: include LString.h even when --disable-nls is on.
13647 2001-06-07 Juergen Vigna <jug@sad.it>
13649 * text.C (BreakAgain): subst spaces with tabs.
13651 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13652 (resizeInsetsLyXText): set force on resizeLyXText.
13654 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * gettext.h (gettext_init):
13657 (locale_init): use a real definition instead of a macro
13659 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13661 * Bufferview_pimpl.C:
13663 * LColor.C: further lcolor tidies
13665 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13667 * BufferView_pimpl.C (updateScrollbar): simplify.
13669 * BufferView2.C: don't include insets/insetinfo.h, change
13670 prototype for insertInset and call the Pimpl version. let
13671 updateInset call Pimpl version.
13673 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13674 gotoInset to BufferView::Pimpl
13676 2001-06-01 Juergen Vigna <jug@sad.it>
13678 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13679 inside a LockingInset (is the update needed at all?).
13681 2001-05-31 Juergen Vigna <jug@sad.it>
13683 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13684 here not the old one otherwise how should we compare it afterwards
13687 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * FontInfo.C: bring C functions into global namespace when
13695 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * LString.h: make sure config.h has been loaded before LString.h.
13699 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13700 (one for each char read by EatLine!).
13702 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13705 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13707 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13708 to the same as the par we break from
13710 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13714 * MenuBackend.C (expand): also create menu entries for wide
13715 versions of the floats.
13717 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13719 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13721 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13722 frontends/Makefile.am
13728 * tabular.C (getTokenValue): add std::
13730 * tabular-old.C (getTokenValue): add std::
13731 (getTokenValue): ditto
13732 (getTokenValue): ditto
13734 * screen.C (ToggleSelection): adjust
13736 * lyxtext.h: put selection cursors inside a Selection struct.
13738 * lyxfunc.C (moveCursorUpdate): adjust
13740 * lyxfont.C (latexWriteStartChanges): add std::
13742 * lyxfind.C: adjust
13744 * font.h: delete with(char const *, LyXFont const &)
13746 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13748 * FontInfo.C (getFontname): add std::
13750 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13751 (workAreaButtonPress): adjust
13752 (tripleClick): adjust
13754 (moveCursorUpdate): adjust
13757 * BufferView2.C (gotoInset): adjust
13759 2001-05-30 Juergen Vigna <jug@sad.it>
13761 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13762 to check pspell I add this as default as I now have new pspell
13763 libraries and they seem to use this.
13765 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * text2.C (CutSelection): make the cursor valid before the call to
13770 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13772 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13773 relied on 0 terminated strings and other horrors. Bug found due to
13774 the new assert in lyxstring!
13776 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13779 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13784 * lyxfunc.C (processKeySym): change method of getting to the
13787 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13788 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13789 * BufferView_pimpl.[Ch]: here as private methods.
13791 2001-05-28 Juergen Vigna <jug@sad.it>
13793 * text.C (SetHeightOfRow): added the update() call again as it is
13794 needed to initialize inset dimensions!
13796 2001-05-16 Juergen Vigna <jug@sad.it>
13798 * text2.C (SetCharFont): Add new function with BufferView * and
13799 bool toggleall parameters for setting insets internal fonts.
13800 (SetFont): Freeze the undo as we may change fonts in Insets and
13801 all this change should be inside only one Undo!
13803 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13804 setting font's in insets as for them we have the SetFont function!
13806 2001-05-15 Juergen Vigna <jug@sad.it>
13808 * text2.C (ClearSelection): to be sure we REALLY don't have any
13811 * tabular.C (TeXCellPreamble): fixed the left border problem for
13814 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13816 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13819 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13822 LFUN_BREAKPARAGRAPH.
13824 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13825 help test to "internal only", similar for LFUN_INSERT_URL
13827 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13828 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13829 auto_region_delete and deadkeys.
13831 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13834 * LColor.C: remove some dead entries, tidy a little
13836 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13840 (Dispatch): implement LFUN_ESCAPE
13842 * commandtags.h: add LFUN_ESCAPE
13844 * LyXAction.C (init): add entry for LFUN_ESCAPE
13846 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13847 Remove commented code.
13848 (insertNote): moved here
13849 (open_new_inset): moved here
13851 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13854 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * kbmap.C (findbinding): clean it up and make it work correctly.
13858 * lyx_main.C (init): do not pass argc and argv as parameters
13860 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13862 * buffer.C: fix path for OS/2 & Win32
13866 * lyx_main.C: Added os:: class.
13868 * os2_defines.h: update
13870 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13873 better by trying again with reduced state.
13875 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13877 * lyxrc.C (read): print error about invalid key sequence only when
13878 debugging (because not all latinX keysyms are known to some X
13881 * kbsequence.C (getiso): add a few std:: qualifiers
13882 (getiso): comment out extra return statement.
13884 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13888 (Dispatch): enhance the accent inset a bit. (not perfect)
13890 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13892 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13894 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * bufferlist.C (emergencyWrite): fix assert() call
13898 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13900 * text.C (InsertChar): Added trivial patch to only send the "you
13901 can not do multiple spaces this way" message once during a
13904 2001-05-08 Baruch Even <baruch@lyx.org>
13906 * Makefile.am: Changed order of libraries to get LyX to link properly
13907 with the gnome frontend.
13909 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * LaTeXFeatures.h: add a std:: qualifier
13913 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * paragraph.C (String): use stringstream
13917 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * paragraph.C (writeFile): remove footflag arg
13921 * buffer.C (makeLaTeXFile): use stringstream
13922 (latexParagraphs): remove footnot gurba
13924 * LaTeXFeatures.C (getPackages): use stringstream
13925 (getMacros): likewise
13926 (getTClassPreamble): likewise
13927 (getFloatDefinitions): new method
13929 * paragraph.C (writeFile): reindent
13932 * WorkArea.h: revert the xpos + etc changes.
13934 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13936 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13938 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13939 (pasteSelection): likewise
13940 * text2.C (CreateUndo): likewise
13942 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13944 * minibuffer.C (peek_event): temporarily reduce the functionality
13945 of the minibuffer (to allow args on lfuns)
13947 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13948 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13950 * buffer.C (readInset): add compability reading of old float
13951 lists, add reading of new style float list.
13952 (readInset): avoid reevaluation of inscmd.getCmdName()
13953 (getLists): reindent
13955 * MenuBackend.C (MenuItem): implement parsing of
13956 md_floatlistinsert and md_floatinsert.
13957 (expand::LastFiles): move initalizaton of iterators out of loop,
13958 avoid reevaluation.
13959 (expand::Documents): introduce typdedef vector<string> Strings,
13961 (expand::ExportFormats): introduce typedef vector<Format const *>
13962 Formats, and use it.
13963 (expand): implement FloatListInsert and FloatInsert.
13965 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13966 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13967 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13969 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13971 (Dispatch::LFUN_FLOAT_LIST): implement
13973 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13975 * LaTeX.C (run): Fix problem with --export code.
13977 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13979 * BufferView.[Ch] (workarea): removed.
13980 (getClipboard) new method; wrapper for workarea()->getClipboard()
13982 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13985 * WorkArea.h (width, height, xpos, ypos): These methods all
13986 returned the dimensions of the work_area sub-area of WorkArea,
13987 resulting in a position error if the WorkArea were resized. Now
13988 return the dimensions of the entire WorkArea.
13990 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13992 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13994 * LaTeX.C (deplog): correct the syntax of regex reg1
13996 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13998 * undo.C: remove !NEW_INSETS cruft
14000 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * text2.C: remove !NEW_INSETS cruft
14004 * text.C: remove !NEW_INSETS cruft
14006 * tabular.C: remove !NEW_INSETS cruft
14008 * spellchecker.C: remove !NEW_INSETS cruft
14010 * lyxtext.h: remove !NEW_INSETS cruft
14012 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14014 * lyxfunc.C: remove !NEW_INSETS cruft
14016 * lyxfind.C: remove !NEW_INSETS cruft
14018 * lyx_cb.C: remove !NEW_INSETS cruft
14020 * figureForm.C: remove !NEW_INSETS cruft
14022 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14024 * buffer.[Ch]: remove !NEW_INSETS cruft
14026 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14028 * CutAndPaste.C: remove !NEW_INSETS cruft
14030 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14032 * BufferView2.C: remove !NEW_INSETS cruft
14034 * BufferView.h: remove !NEW_INSETS cruft
14036 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * Lsstream.h: include LString.h before the sstream headers to
14039 fix problem with gcc 2.95.3 and lyxstring
14041 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14043 * lyx_main.C: add using directives when needed for C functions
14044 declared in std:: namespace.
14046 2001-04-27 Juergen Vigna <jug@sad.it>
14048 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14049 (SetHeightOfRow): comment out the update call should not be needed!
14051 2001-04-13 Juergen Vigna <jug@sad.it>
14053 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14054 (LyXTabular): tried to minimize operator= operations (and realized
14055 hopfully Lars wish).
14057 2001-04-27 Juergen Vigna <jug@sad.it>
14059 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14061 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14065 * buffer.C (readInset): hack to make listof algorithm work
14067 * BufferView_pimpl.C: hack to make listof algorithm work
14069 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14071 * LyXAction.C: removed all !NEW_INSETS cruft
14072 (init): moved lfun_item in method
14074 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14076 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14078 * BufferView2.C (theLockingInset): white space.
14080 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * minibuffer.C: include <iostream>
14084 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14086 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14088 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14090 * text.[Ch] (TransposeChars): new method
14092 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14094 * call message directly through LyXView instead of through LyXFunc
14095 * BufferView2.C: adjust
14096 * BufferView_pimpl.C: adjust
14097 * FontLoader.C: adjust
14099 * bufferview_funcs.C: adjust
14100 * converter.C: adjust
14101 * figureForm.C: adjust
14102 * importer.C: adjust
14104 * lyx_gui_misc.C: adjust
14105 * lyxfunc.C: adjust
14108 + more files in subdirs
14110 * lyxparagraph.h (size): move up int file
14113 * adjust all uses of Assert to lyx::Assert.
14115 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14116 lyxfunctional in namespace lyx
14117 * layout.C (hasLayout): ditto
14120 (delete_layout): ditto
14121 (NumberOfClass): ditto
14122 * converter.C (GetFormat): ditto
14127 * bufferlist.C (getFileNames): ditto
14128 (emergencyWriteAll): ditto
14131 * MenuBackend.C (hasSubmenu): ditto
14134 * BufferView_pimpl.C (getInsetByCode): ditto
14136 2001-04-18 Juergen Vigna <jug@sad.it>
14138 * vspace.C (asLatexString): fixed the 100% problem.
14140 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * lyxfunc.C (Dispatch):
14144 * minibuffer.h: add a few std:: qualifiers
14146 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * minibuffer.[Ch]: reimplement so that commands is initiated and
14149 run from lyxfunc, simplified som handling, and made the completion
14150 and history code for complete. wip.
14152 * lyxfunc.C (processKeySym): call message
14153 (miniDispatch): new temporary method
14154 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14155 (LFUN_MESSAGE): implement
14156 (LFUN_MESSAGE_PUSH): implement
14157 (LFUN_MESSAGE_POP): implement
14158 (initMiniBuffer): the initial/defualt minibuffer message.
14160 * lyxfont.[Ch]: inline some more getters
14162 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14164 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14166 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14167 (AutoSave): use LFUN_MESSAGE
14168 (Reconfigure): ditto
14170 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14172 * figureForm.C: use LFUN_MESSAGE
14174 * converter.C (runLaTeX): use LFUN_MESSAGE
14176 * bufferview_funcs.C: use LFUN_MESSAGE
14178 (changeDepth): ditto
14180 * bufferparams.h: use boost::
14182 * bufferlist.h: inherit privately from noncopyable
14184 * bufferlist.C (loadLyXFile): remove some commented code.
14186 * buffer.C (runChktex): use LFUN_MESSAGE
14188 * ShareContainer.h: inherit privately from noncopyable
14190 * ParagraphParameters.[hC] (depth): inline it.
14192 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14194 (message): new method
14195 (messagePush): ditto
14196 (messagePop): ditto
14197 (show): init minibuffer
14198 (showState): direct call
14200 * LaTeX.[Ch]: inherit privately from noncopyable
14201 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14202 instead of WriteStatus.
14204 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14206 * BufferView_pimpl.C (buffer): don't init minibuffer
14207 (workAreaButtonPress): use LFUN_MESSAGE
14208 (workAreaButtonRelease): ditto
14209 (savePosition): ditto
14210 (restorePosition): ditto
14211 (MenuInsertLyXFile): ditto
14212 (workAreaExpose): don't init minibuffer
14213 (update): remove commented code, simplify
14215 * BufferView2.C (openStuff): use LFUN_MESSAGE
14216 (toggleFloat): ditto
14219 (copyEnvironment): ditto
14220 (pasteEnvironment): ditto
14225 (updateInset): remove some commented code
14227 * lastfiles.h: inherit privately from noncopyable
14230 * lyx_main.h: ditto
14232 * lyxlex_pimpl.h: ditto
14234 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14235 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14236 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14238 * LyXAction.h: inherit privately from noncopyable, add methods
14239 func_begin, func_end, returning iterators to the func map.
14241 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14242 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14243 (func_begin): new method
14244 (func_end): new method
14246 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14248 (copySelection): ditto
14249 (pasteSelection): ditto
14251 * BufferView.C: whitespace change
14252 * BufferView.h: inherit privately from noncopyable
14254 2001-04-16 Allan Rae <rae@lyx.org>
14256 * tabular-old.C (l_getline):
14257 * spellchecker.C (sc_check_word):
14258 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14259 an unrecognised preprocessor directive. So ensure they're wrapped.
14261 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14263 * src/exporter.C (Export): Give an error message when path to file
14266 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14268 * LaTeX.C (deplog): Always check that foundfile exists.
14270 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14273 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14275 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * tabular.[Ch] (getLabelList): implement new method
14279 * minibuffer.h: comment ouf setTiimer
14281 * minibuffer.C (ExecutingCB): constify res
14282 (peek_event): constify s
14283 (Set): constify ntext
14284 (Init): constify nicename
14286 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14288 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14289 (savePosition): use two params to Minibuffer::Set
14290 (restorePosition): ditto
14292 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * lyx_main.C: include language.h
14296 * Makefile.am (lyx_main.o): add language.h
14298 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14304 * CutAndPaste.C: include gettext.h
14306 * lyxfont.h: remove old hack with ON and OFF.
14309 * lyxfont.h: do not include language.h...
14314 * bufferview_funcs.C:
14320 * paragraph.C: ... but do it here instead
14322 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14326 * tabular.C: small reformat
14328 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14331 (BreakParagraph): ditto
14332 (SetOnlyLayout): ditto
14335 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14338 * lastfiles.C: removed most using decl, add std:: where needed
14340 * buffer.C: ws changes
14342 * MenuBackend.C (class compare_format): put into anon namespace
14343 (expand): constify label, names, action, action2
14346 * text.C (SingleWidth): constify font
14347 (IsBoundary): constify rtl2
14348 (GetVisibleRow): constify ww
14350 * LaTeX.C (deplog): constify logfile
14352 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14354 (workAreaExpose): constify widthChange, heightChange
14356 * lyxrow.C (par): moved
14359 * lyxrow.h: as inlines here
14361 * lyxfont.h (shape): moved from lyxfont.C
14362 (emph): moved from lyxfont.C
14364 * lyxfont.C (LyXFont): use initialization list for all
14366 (shape): move to lyxfont.h as inline
14367 (emph): move to lyxfont.h as inline
14370 2001-04-04 Juergen Vigna <jug@sad.it>
14372 * vspace.C: had to include stdio.h for use of sscanf
14374 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14377 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14378 independent of xforms.
14380 2001-04-02 Juergen Vigna <jug@sad.it>
14382 * spellchecker.C: fixed namespace placing!
14384 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14386 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14387 the LyXParagraph * is 0.
14389 2001-03-29 Juergen Vigna <jug@sad.it>
14391 * vspace.C: added support for %, c%, p%, l%.
14392 (stringFromUnit): added helper function.
14393 (asLatexString): changed to give right results for the %-values.
14395 * buffer.C: convert the widthp in a width%.
14397 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14399 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14402 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14403 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14405 * lyx_cb.[Ch]: see above.
14407 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14411 * lyx.[Ch]: replaced by figure_form.[Ch].
14415 * lyxfunc.C: changed headers associated with above changes.
14417 2001-03-27 Juergen Vigna <jug@sad.it>
14419 * BufferView_pimpl.C: set the temporary cursor right!
14421 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14423 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14425 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14427 * LString.h: removed "using std::getline"!
14429 * BufferView_pimpl.C (Dispatch): changes due to changes in
14430 InsetInclude::Params.
14432 * buffer.C (tag_name): removed redundant break statements as they were
14433 producing lots of warnings with my compiler.
14435 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * LString.h: add "using std::getline" when using the real <string>.
14439 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14441 * buffer.C: removed bitset usage.
14442 PAR_TAG moved to an anonymous name space.
14443 (tag_name): new funtion, also in the anonymous namespace.
14444 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14445 (makeDocBookFile): clean code. Completed transition from string arrays
14447 (SimpleDocBookOnePar): code clean.
14449 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14451 * tabular.C: add some comments.
14453 2001-03-22 Juergen Vigna <jug@sad.it>
14455 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14456 compatibility read a bit and fixed bug with minipage in different
14459 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14461 * buffer.C (pop_tag): removed.
14462 (push_tag): removed.
14463 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14464 array replaced with vector. Added support for CDATA sections.
14465 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14467 (makeDocBookFile): XML conformant declaration of CDATA section,
14468 fixed bug related to <emphasis> in the first paragraph char.
14469 (sgmlOpenTag): exclude empty tags.
14470 (sgmlCloseTag): ditto.
14472 * buffer.h (pop_tag): removed.
14473 (push_tag): removed.
14475 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14477 * language.h (Languages): added size_type and size().
14479 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14481 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14482 response on compability reading of minipages. One probliem is that
14483 the old usage of minipages was «flertydig»
14485 * several files here and in subdirs: don't use static at file
14486 scope use anon namespaces instead.
14488 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14490 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14491 LaTeX output. This is necessary for Literate document
14494 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14496 * buffer.C: insert hfill when needed.
14498 * tabular.C (l_getline): use string::erase, small whitespace change.
14500 * BufferView_pimpl.C: try the anon namespace.
14501 * WorkArea.C: ditto
14503 2001-03-16 Juergen Vigna <jug@sad.it>
14505 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14506 otherwise it won't open options-dialogs.
14508 * buffer.C: honor pextraWidth(p) on converting minipages.
14510 * tabular.C (l_getline): changed the functions to strip trailing \r.
14512 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14514 * BufferView_pimpl.C:
14515 * minibuffer..C: added "using SigC::slot" declaration.
14517 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14519 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14525 * paragraph.C: ditto
14527 * lyxtext.h: NO_PEXTRA
14529 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14531 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14532 * ParameterStruct.h: ditto
14533 * ParagraphParameters.h: ditto
14534 * lyxparagraph.h: ditto
14536 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14538 * buffer.C: add compability for minipage alignment.
14539 (latexParagraphs): remove unwanted pextra check.
14541 * several files: remove CXX_WORKING_NAMESPACES
14543 * buffer.C (pop_tag): tie is in namespace boost
14545 * BufferView.h: noncopyable is in namespace boost
14547 * lyx_main.h: ditto
14550 * lastfiles.h: ditto
14551 * bufferlist.h: ditto
14552 * ShareContainer.h: ditto
14554 * LyXAction.h: ditto
14557 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14559 * Merging changes from BRANCH_MVC back into HEAD.
14561 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14563 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14565 * BufferView_pimpl.C: change from intl.C
14569 * Makefile.am: move combox.*
14575 * intl.C: remove dialog (covered by prefs)
14577 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14579 * lyxfunc.C (Dispatch): removed redundant break statement.
14581 2001-03-14 Juergen Vigna <jug@sad.it>
14583 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14585 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14587 * buffer.C: add hack to fix compability reading of minipages.
14589 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14591 * buffer.C (getLists): Cleanup.
14593 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * lyxfont.C (update): don't honor toggleall on font size.
14597 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14601 * Makefile.am: moved to frontends/xforms/
14605 * BufferView_pimpl.C: changes for moved mathpanel
14607 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14609 * gettext.h: fix gettext_init() in --disable-nls
14611 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14613 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14615 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14618 * lyx.h: strip external form
14620 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14622 * BufferView_pimpl.C: add comment, destroySplash()
14624 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14626 * BufferView_pimpl.C:
14630 * lyxfunc.C: use re-worked insetinclude
14632 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14634 * buffer.C: add using std::stringstream.
14636 * lyx_cb.C: readd using std::ios.
14638 * buffer.C: add using std::map.
14640 * BufferView_pimpl.C: add using std::vector.
14642 * ShareContainer.h: add std:: to swap.
14644 * buffer.h: add some typedefs
14645 * buffer.C (getLists): use them
14646 (getLists): renamed from getTocList.
14647 add a counter for the different float types and use it in the
14649 (getLists): use the same counter for the NEW_INSETS and the "non"
14652 * lyx_cb.h: remove unused items, includes, using etc.
14654 * ShareContainer.h: remove some commented code, add more comments
14655 and "documentation".
14657 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14659 * buffer.C (getTocList): make the list also when NEW_INSETS is
14662 * buffer.h: remove TocType
14664 * buffer.C (getTocList): change to return a map<string,
14665 vector<TocItem> >, implement for dynamic number of list.
14667 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14668 * text2.C (PasteSelection): adjust
14669 * CutAndPaste.C (pasteSelection): adjust
14671 * FloatList.C (FloatList): update from the new_insets branch.
14672 * Floating.[Ch]: ditto
14673 * LaTeXFeatures.C: ditto
14675 * lyxlex_pimpl.C: ditto
14677 * paragraph.C (Last): remove when NEW_INSETS is defined.
14679 * other file: changes because of the above.
14681 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14683 * lyxparagraph.h: rename next to next_, previous to previous_,
14684 make them private for NEW_INSETS. Rename Next() to next(),
14685 Previous() to previous().
14687 * other files: changes because of the above.
14689 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14692 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14695 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * main.C (main): pass lyx_localedir to gettext_init().
14699 * gettext.h: remove locale_init and gettext_init macros
14701 * gettext.C (locale_init): new function
14702 (gettext_init): new function
14704 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14707 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14709 * Moved credits to frontends:
14710 * credits.[Ch]: removed
14711 * credits_form.[Ch]: removed
14712 * lyx_gui_misc.C: remove credits stuff
14715 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14717 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14719 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14720 unneeded destructor.
14722 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14723 a standalone pointer again.
14725 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14727 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14733 * ToolbarDefaults.C:
14742 * BufferView_pimpl.C: use new file dialog in GUII
14745 * lyx_cb.C: remove LayoutsCB to Toolbar
14747 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * ShareContainer.h (get): add std:: qualifier
14751 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * ShareContainer.h: define a proper ShareContainer::value_type
14754 type (and use typename to please compaq cxx)
14756 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14758 * lyxparagraph.h: move serveral local vars to
14759 ParameterStruct/ParagraphParameters., use ShareContainer in
14760 FontTable., make vars in FontTable private and add getter and
14763 * paragraph.C: changes because of the above.
14765 * lyxfont.h: remove copy constructor and copy assignment. (the
14766 default ones is ok), move number inside FontBits. move inlines to
14769 * lyxfont.C: add number to initializaton of statics, move several
14770 inlines here. constify several local vars. some whitespace
14771 cleanup. Dont hide outerscope variables.
14773 * Spacing.h: add two new constructors to match the set methods.
14775 * ShareContainer.h: new file, will perhaps be moved to support
14777 * ParameterStruct.h: new file
14779 * ParagraphParameters.h: new file
14781 * ParagraphParameters.C: new file
14783 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14784 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14786 * BufferView_pimpl.C: ParagraphParameter changes.
14787 * buffer.C: Likewise.
14788 * bufferview_funcs.C: Likewise.
14789 * text.C: Likewise.
14790 * text2.C: Likewise.
14792 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14794 * lyxfind.C (LyXReplace): do not redefine default argument in
14796 (IsStringInText): ditto
14797 (SearchForward): ditto
14798 (SearchBackward): ditto
14800 2001-03-06 Juergen Vigna <jug@sad.it>
14802 * lyxfind.C (IsStringInText): put parentes around expressions.
14804 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14806 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14808 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14810 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14812 * stl_string_fwd.h: add comment
14814 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14817 * tabular.C: remove unused DocBook methods
14823 killed DO_USE_DEFAULT_LANGUAGE
14825 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * lyx_gui.C: do not include language.h.
14829 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14830 arguments in function implementation.
14832 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14834 * BufferView_pimpl.C: add <ctime>
14836 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14838 * BufferView_pimpl.C: add using std::find_if
14840 2001-02-27 José Matos <jamatos@fep.up.pt>
14842 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14845 2001-02-11 José Matos <jamatos@fep.up.pt>
14847 * buffer.C (makeDocBookFile): command styles now have a parameter as
14848 "title" by default.
14850 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14852 * layout_forms.[Ch]: removed
14853 * lyx_cb.[Ch]: out character
14854 * lyx_gui.C: out character
14855 * lyx_gui_misc.C: out character
14856 * bufferview_funcs.C: : out character,
14857 added toggleall as parameter in ToggleAndShow
14859 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14861 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14863 * text2.C (SetCurrentFont): Disable number property at boundary.
14865 2001-02-26 Juergen Vigna <jug@sad.it>
14867 * lyxfunc.C (getStatus): added a string argument override function so
14868 that this is correctly called from LyXFunc::Dispatch if it contains a
14869 do_not_use_argument which is used!
14870 (Dispatch): added check for "custom" export and call appropriate func.
14872 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14874 * lyxrc.C: Add language_command_local, language_use_babel and
14875 language_global_options.
14877 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14879 * buffer.C (makeLaTeXFile): Use language_use_babel and
14880 language_global_options.
14882 2001-02-23 Juergen Vigna <jug@sad.it>
14884 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14885 which works with LyXText and putted it inside BufferView. Here now we
14886 only call for that part the BufferView::Dispatch() function.
14888 * BufferView.C (Dispatch): added.
14890 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14891 functions which needs to use a LyXText over from LyXFunc.
14892 (MenuInsertLyXFile): added
14893 (getInsetByCode): added
14894 (moveCursorUpdate): added
14895 (static TEXT): added
14897 2001-02-22 Juergen Vigna <jug@sad.it>
14899 * BufferView_pimpl.C (update): call a status update to see if LyXText
14902 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14904 * vc-backend.C (revert): implement for CVS
14905 (getLog): implement for CVS
14907 2001-02-20 Juergen Vigna <jug@sad.it>
14909 * text2.C (ClearSelection): added BufferView param for inset_owner call
14911 * lyxfunc.C (TEXT): added this function and use it instead of
14912 directly owner->view()-text of getLyXText().
14914 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14916 * src/layout_forms.C: out preamble
14917 * src/layout_forms.h: out preamble
14918 * src/lyx_cb.C: out preamble
14919 * src/lyx_cb.h: out preamble
14920 * src/lyx_gui.C: out preamble
14921 * src/lyx_gui_misc.C: out preamble
14922 * src/lyxfunc.C: connect with guii preamble
14924 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14926 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14928 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14930 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14931 whether to run bibtex.
14933 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14935 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14937 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14939 * Makefile.am (lyx_SOURCES): removed bibforms.h
14941 * vspace.h: doxygen
14943 * text.C (GetVisibleRow): make several local vars const
14945 * tabular.C: small cleanup.
14947 * lyxserver.C (callback): use compare instead of strncmp
14949 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14950 inlines to after class or to paragraph.C
14952 * lyxfont.h: remove friend operator!=
14954 * converter.h: move friend bool operator< to non friend and after
14957 * combox.h: small cleanup
14959 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14960 to inlines after class def.
14962 * buffer.C (pop_tag): use string operations instead of strcmp
14964 * bmtable.c: doxygen, small cleanup
14966 * LaTeX.h: remove friend operator==
14968 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14980 * BufferView_pimpl.C:
14981 * BufferView.[Ch]: remove cruft
14983 2001-02-14 Juergen Vigna <jug@sad.it>
14985 * lyxfunc.C: removed #if 0 unused code
14987 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14989 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14991 * text2.C (SetSelection): added a BufferView * parameter
14993 2001-02-13 Juergen Vigna <jug@sad.it>
14995 * lyxfunc.C (Dispatch): fixed protected blank problem.
14996 * BufferView2.C (protectedBlank): added LyxText * parameter.
14998 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14999 (AppendColumn): same as above for column_info.
15001 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15002 (moveCursorUpdate): use a LyXText param for support of InsetText.
15004 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15005 (tripleClick): ditto
15007 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15009 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15011 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15013 * text2.C (SetSelection): set correct update status if inset_owner
15014 (ToggleFree): ditto
15016 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15018 * tabular.C: remove some commented code.
15020 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15022 * BufferView_pimpl.C: call hideSplash()
15024 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15027 * bibforms.h: remove
15030 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15031 add LFUN_CHILD_CREATE
15033 * counters.h: fix tiny typo
15038 * lyx.C: move splash to frontends/xforms/
15040 * lyx_gui_misc.C: move Include and Bibform to frontends
15042 * lyxvc.h: clarify comment
15044 * vspace.C: tiny housekeeping
15046 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15048 * text.C (PrepareToPrint): RTL Fix.
15050 * paragraph.C (GetUChar): New method.
15051 (String): Use GetUChar.
15053 * buffer.C (asciiParagraph): Use GetUChar.
15055 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15057 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15059 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15062 * buffer.C: rename to getLogName(), handle
15063 build log / latex log nicely
15065 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * MenuBackend.h: remove support for reference menuitem type.
15070 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15072 * BufferView_pimpl.C: housekeeping
15073 * BufferView_pimpl.h:
15078 * minibuffer.h: move Timeout GUI-I
15080 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15082 * lyxrc.C (read): Update converters data-structures.
15084 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15086 * LaTeX.h (operator!=): add operator != for Aux_Info
15088 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15090 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15092 * LaTeXLog.C: deleted, useful code moved to Buffer
15095 * buffer.C: new function getLatexLogName()
15101 * lyxfunc.C: use frontends for LaTeX and VC logs
15103 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * LaTeX.h: yet another std:: that Allan forgot.
15107 * Variables.C (set): renamed from isset(), because this clashes
15108 with some HP-UX macros (grr).
15110 2001-02-06 Allan Rae <rae@lyx.org>
15112 * LaTeX.h: Another bug fix. Missing std:: this time.
15114 2001-02-04 Allan Rae <rae@lyx.org>
15116 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15117 floats problem. I've left it commented out because it's not quite
15118 correct. It should also test that the current object is a table or
15119 figure inset. But I haven't gotten around to figuring out how to do
15120 that. I *think* it'll be something like: "table" == inset.type()
15122 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15125 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15127 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15128 all the citation/databases/styles in the auxilary file.
15129 (run): Rerun latex if there was a babel language error.
15131 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15133 * text.C (Backspace): Preserve the font when changing newline char
15135 (BreakParagraph): If the cursor is before a space, delete the space.
15137 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15139 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15141 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15142 new argument (code).
15143 (ChangeCitationsIfUnique): New method.
15145 * paragraph.C (GetPositionOfInset): Handle bibkey.
15147 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * BufferView_pimpl.h: change type of Position::par_pos to
15150 LyXParagraph::size_type.
15152 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15154 * BufferView_pimpl.C (savePosition, restorePosition): Write
15155 messages to minibuffer.
15157 2001-01-28 José Matos <jamatos@fep.up.pt>
15159 * buffer.C (makeDocBookFile): adds support for document language.
15160 A silly restriction on the name of LatexCommand types where removed.
15161 Added support for CDATA sections, allows to chars unescaped, used
15162 among others in code, to avoid escape < and >.
15164 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15166 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15167 saved positions instrad of a stack. Furthermore, a position is
15168 stored using paragraph id/paragraph position.
15170 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15171 Remove LFUN_REF_BACK.
15173 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15175 * converter.C (dvipdfm_options): New method.
15177 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15179 * vspace.C (isValidLength): Fix for empty input string.
15181 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * LyXAction.C (init): change description of LFUN_FIGURE to
15186 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * LaTeX.C: add using directive
15190 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15192 * MenuBackend.C (expand): Fix the sorting of the formats.
15194 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15196 * lyx_main.C: tiny error message fix
15198 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15200 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15201 calling fl_initialize(). This fixes the problem with ',' as
15202 decimal separator in text files.
15204 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15206 * trans.C (process): Fix the keymap bug.
15208 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15210 * LaTeX.C (scanAuxFiles): New method. Provides support for
15211 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15212 (scanLogFile) Scan for "run BibTeX" messages.
15214 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15215 OT1 font encoding. Also, load the aecompl package if the ae
15218 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15220 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * texrow.C (increasePos): turn two error messages into debug
15225 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15227 * LaTeX.C (scanAux): Handle the \@input macro.
15228 (runBibTeX): Use scanAux().
15230 * language.C (latex_options_): New field.
15232 * LaTeXFeatures.C (getMacros): Add language macros.
15234 * buffer.C (makeLaTeXFile): Small fix.
15236 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15240 * text2.C: add a using directive.
15242 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15247 * lyxfunc.C: kill LyXBell.
15249 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15251 * text.C (IsBoundary): Remove the error message
15253 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15255 * lyxrc.C (setDefaults): Correct initialization value for
15258 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15260 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15263 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15264 and GotoNextNote().
15266 * src/LyXAction.C: Added reference-next.
15268 * text.C (InsertChar): Use contains instead of strchr.
15270 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15272 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15274 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15275 alignment commands (when needed).
15277 * text.C (InsertChar): Add ':' to number separator chars.