2 2004-04-03 Alfredo Braunstein <abraunst@lyx.org>
4 * cursor.[Ch] (LCursor): remove cached_y_ and updatePos
5 (getDim) remove outdated comment
7 * BufferView_pimpl.C (fitCursor): call redoParagraph on the outer
8 cursor paragraph to obtain good cursor y info
9 (workAreaDispatch): remove unneeded update call
11 * BufferView.C (setCursor): call redoParagraph, as some insets
12 could have been opened
13 (putSelectionAt): remove the double update and all that cleverness
14 (simplified and transfered to fitCursor where it belongs).
16 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
18 * text3.C (getStatus): add LFUN_BEGINNINGBUF
20 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
22 * lyxfind.C: add a couple of inTexted() tests + other small fixes
23 * BufferView_pimpl.[Ch] (getStatus)
24 * BufferView.[Ch] (getStatus): add
25 * lyxfunc.C (getStatus): move lfuns handled in
26 BufferView::dispatch to te function above
27 * Cursor.C (setSelection): set selection() = true
29 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
31 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
33 2004-03-31 Angus Leeming <leeming@lyx.org>
35 * lyxfunc.C (dispatch): Fall through to the generic
36 Dialogs::show("preamble").
38 2004-03-31 Angus Leeming <leeming@lyx.org>
40 * lyxfunc.C (dispatch): Fall through to the generic
41 Dialogs::show("spellchecker").
43 2004-03-31 Angus Leeming <leeming@lyx.org>
45 * lyxfunc.C (getStatus, dispatch): changed invocation of the
48 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
58 * undo.[Ch]: s/DocumentIterator/DocIterator/g
60 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
62 * BufferView.C (setCursor, putSelectionAt): call edit to open the
63 insets where we are putting the cursor.
65 2004-03-31 Angus Leeming <leeming@lyx.org>
68 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
70 * lyxrc.[Ch] (read, write): overloaded member functions taking
71 a std::[io]stream arguments.
73 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
75 2004-03-31 Angus Leeming <leeming@lyx.org>
77 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
78 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
80 * lyxtextclass.C (load): if the text class couldn't be loaded, then
81 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
83 2004-03-31 Angus Leeming <leeming@lyx.org>
85 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
86 the LFUN_ALL_INSETS_TOGGLE code.
88 2004-03-30 Angus Leeming <leeming@lyx.org>
90 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
91 has died. Fall through to the generic Dialogs::show("document").
93 2004-03-30 Angus Leeming <leeming@lyx.org>
96 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
97 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
99 * lyxfunc.C (getStatus, dispatch): define the actions for these
100 lfuns. Little more than a cut and pste job from ControlDocument.C
102 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
104 2004-03-30 Angus Leeming <leeming@lyx.org>
107 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
108 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
110 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
111 open/closed state of ollapsable insets. Usage:
113 all-inset-toggle <state> <name>, where
114 <state> == "open" || "closed" || "toggle" and
115 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
117 * lyxtext.h, text2.C (toggleInset): removed.
119 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
120 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
121 now passes LFUN_INSET_TOGGLE to the found inset.
123 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
124 is now invoked as "all-insets-toggle toggle branch".
126 2004-03-30 Angus Leeming <leeming@lyx.org>
130 * pariterator.[Ch]: added/corrected header blurb.
132 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
134 * dociterator.[Ch]: add an inset_ member
135 (backwardPos): implemented
136 (backwardPos, forwardPos): use inset_ when the stack is empty.
137 (doc_iterator_begin, doc_iterator_end): implemented
138 * pariterator.[Ch]: adjust, add begin, end
139 * insetiterator.[Ch]: adjust, add begin, end
143 * BufferView_pimpl.C:
144 * CutAndPaste.C: adjust
146 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
148 * buffer.C: increment file format to 232.
149 * LaTeXFeatures.C: add bibtopic package.
150 * bufferparams.[Ch]: param \use_bibtopic.
152 * lyxrc.[Ch]: add lyxrc bibtex_command
153 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
155 * buffer.C: increment file format to 231.
157 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
159 * dociterator.C: implement forwardPar
160 * iterators.[Ch]: remove, replaced by
161 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
163 * BufferView_pimpl.C:
166 * bufferview_funcs.C:
172 * Makefile.am: adjust
174 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
176 * CutAndPaste.C (pasteSelection): fix 2 crashes
177 (eraseSelection): fix a crash
178 * paragraph_funcs.C: remove a warning
180 2004-03-28 Angus Leeming <leeming@lyx.org>
183 * LyXAction.C (init): new LFUN_PRINT.
185 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
187 2004-03-27 Angus Leeming <leeming@lyx.org>
190 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
192 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
194 2004-03-27 Angus Leeming <leeming@lyx.org>
196 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
197 insetlist always contains non-null pointers to insets.
199 2004-03-26 Angus Leeming <leeming@lyx.org>
201 * src/BufferView_pimpl.C:
205 * src/output_plaintext.C:
206 * src/outputparams.h:
207 * src/paragraph_funcs.C:
211 * src/frontends/controllers/ControlErrorList.C:
212 * src/frontends/gtk/FileDialogPrivate.C:
213 * src/frontends/gtk/GPainter.C:
214 * src/frontends/gtk/GToolbar.C:
215 * src/frontends/qt2/QRef.C:
216 * src/mathed/math_scriptinset.C: squash compiler warnings.
218 2004-03-26 Angus Leeming <leeming@lyx.org>
220 * ispell.C (LaunchIspell::start):
221 * lyx_cb.C (AutoSaveBuffer::start):
222 invoke run(DontWait) rather than runNonBlocking().
224 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
226 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
228 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * kbsequence.C (print): adjust
232 * kbmap.C (printKeySym): rename and change signature
233 (printKey): use LyXKeySym::print()
235 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
237 * undo.C: add using std::advance to compile for stlport
239 2004-03-24 Angus Leeming <leeming@lyx.org>
241 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
242 it leads to a crash when no buffer is present.
244 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 Martin Vermeer <martin.vermeer@hut.fi>
247 * lyxfunc.C (dispatch):
248 * bufferparams.C (readToken): use the new LColor::setColor
250 * LColor.[Ch] (setColor): new version that takes two strings as
251 argument and creates a new color entry if necessary
253 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
255 * buffer.C (makeLaTeXFile): if the main latex file that is
256 processed is usually a subdocument of some master, then pretend
257 for a while that it is actually the master
259 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
261 * buffer.C (getLabelList):
262 (getBibkeyList): use getMasterBuffer()
263 (getMasterBuffer): new method. Returns the main document in the
264 case where one is using included documents.
266 2004-03-25 André Pönitz <poenitz@gmx.net>
270 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
272 * ParagraphList_fwd.h: change ParagraphList to a std::vector
274 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
275 text*.C over here. Rename namespace CutAndPaste to lyx::cap
277 * ParameterStruct.h: merge with ParagraphParameters
279 * lyxtext.h: remove LyXText::parOffset() and getPar()
281 * text3.C: Remove all 'manual' update calls. We do now one per user
282 interaction which is completely sufficient.
286 * BufferView_pimpl.C:
289 * ParagraphParameters.[Ch]:
301 * output_docbook.[Ch]:
303 * output_linuxdoc.[Ch]:
304 * output_plaintext.[Ch]:
306 * paragraph_funcs.[Ch]:
307 * paragraph_pimpl.[Ch]:
315 * frontends/controllers/ControlDocument.C:
316 * frontends/controllers/ControlErrorList.C:
317 * frontends/controllers/ControlSpellchecker.C:
320 * insets/insetbase.h:
321 * insets/insetbibitem.C:
323 * insets/insetbranch.C:
324 * insets/insetcaption.C:
325 * insets/insetcharstyle.C:
326 * insets/insetcharstyle.h:
327 * insets/insetcollapsable.C:
328 * insets/insetcollapsable.h:
330 * insets/insetfloat.C:
331 * insets/insetfoot.C:
332 * insets/insetmarginal.C:
333 * insets/insetnote.C:
334 * insets/insetoptarg.C:
335 * insets/insettabular.C:
336 * insets/insettext.C:
337 * insets/insettext.h:
338 * insets/insetwrap.C:
339 * mathed/math_mboxinset.C:
340 * mathed/math_nestinset.C:
341 * mathed/math_scriptinset.C:
342 * mathed/math_scriptinset.h:
345 2004-03-24 Angus Leeming <leeming@lyx.org>
347 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
348 deal with any child processes that have finished but are waiting to
349 communicate this fact to the rest of LyX.
351 2004-03-24 Angus Leeming <leeming@lyx.org>
353 64-bit compile fixes.
355 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
356 (c-tor): pass lyx::pos_types rather than ints.
358 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
361 * text.C (Delete): compile fix.
362 (getPar): ensure that function declaration is the same as that in
365 2004-03-23 Angus Leeming <leeming@lyx.org>
367 * ispell.C (LaunchIspell):
368 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
369 a boost::shred_ptr rather than a std::auto_ptr.
371 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * lyxfunc.C (getStatus): handle read-only buffers correctly;
374 handle LFUN_FILE_INSERT_*
376 * lyxrc.C (setDefaults, getDescription, output, read):
377 * lyxrc.h: remove ps_command
379 2004-03-22 Angus Leeming <leeming@lyx.org>
381 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
382 Ensure that error_handler is processed once only and that all data
383 is saved before attempting to output any warning messages.
385 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
387 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
389 * tabular.C (TeXRow): crash fix (from Kayvan and André)
391 2004-03-19 André Pönitz <poenitz@gmx.net>
393 * cursor.[Ch] (reset): take main text inset as argument
396 * BufferView_pimpl.C: adjust
398 * paragraph.[Ch]: fix completely broken operator=()
400 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * LColor.C (getFromLyXName): make sure that the color name is used
405 2004-03-17 Angus Leeming <leeming@lyx.org>
408 * LyXAction.C (init): remove LFUN_FORKS_KILL.
410 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
411 dialog and to kill a forked process.
413 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
415 * text2.C (setCursorFromCoordinates): fix font problem
417 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
419 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
420 bogus "rebuild cursor" code
422 2004-03-11 André Pönitz <poenitz@gmx.net>
424 * buffer.[Ch]: use InsetText instead of LyXText as container for
427 * dociterator.[Ch]: drop the BufferView * member which is not needed
428 anymore after the change to buffer.C
434 * BufferView_pimpl.[Ch]:
436 * cursor_slice.[Ch]: adjust
438 * text3.C: fix bug in mathDispatch
440 2004-03-08 André Pönitz <poenitz@gmx.net>
442 * undo.[Ch]: use 'StableDocumentIterator' as base for
445 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * bufferparams.[Ch]: add jurabib support and param.
450 * LaTeX.C: add FIXME/comment.
452 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
454 * buffer.C: increment file format to 230.
456 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
458 * cursor.C (dispatch): avoid infinite loops
460 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
462 * rowpainter.C (paintSelection): fix x coordinates
464 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
466 * text.C (rowBreakPoint): fix breaking before displayed insets
468 2004-03-01 André Pönitz <poenitz@gmx.net>
470 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
472 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
476 * BufferView_pimpl.C:
484 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
490 * BufferView_pimpl.C: rename textwidth -> maxwidth,
491 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
493 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
495 * Bidi.[Ch] (computeTables): const correctness
496 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
497 fill_hfill, fill_label_hfill and x from Row
498 * lyxtext.h: prepareToPrint returns a RowMetrics
499 * rowPainter.C: adjust
500 * text.C (prepareToPrint): use width, not textWidth. adjust
501 (redoParagraphInternal, cursorX): adjust
502 * text2.C (getColumnNearX): adjust
503 (init): put a default value to the top LyXText::width
505 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
507 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
509 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
511 * lyxtext.h: add FontIterator class
513 * text.C (FontIterator, operator*, operator->, operator++): add
514 (rowBreakPoint, setRowWidth): adjust (fixing a
517 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * BufferView_pimpl.C (workAreaDispatch): allow also
520 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
522 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
524 * text.C (rowBreakPoint): fix a bug showing with very large insets
526 2004-02-25 André Pönitz <poenitz@gmx.net>
529 * cursor.[Ch]: move some mathed specific code to mathed
531 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
533 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
534 use_tempdir in preferences
535 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
537 * lyx_main.C: ensure that tempdir is valid
538 * lyxlex.h: correct typo
539 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
540 * paragraph.[Ch] (isMultiLingual): make const
541 * cursor.[Ch] (openable): make const
543 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
545 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
547 2004-02-20 André Pönitz <poenitz@gmx.net>
549 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
551 * cursor.[Ch]: prepare for localized getStatus()
557 * text3.C: streamlines the LyXText cursor movement handlers a bit.
559 2004-02-20 André Pönitz <poenitz@gmx.net>
561 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
563 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
565 * text2.C (setCursorFromCoordinates): switch to absolute coords
568 * text3.C (dispatch): adjust
570 2004-02-16 André Pönitz <poenitz@gmx.net>
572 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
575 * cursor_slice.[Ch]: remove unneeded acessor function
577 * lyxtext.h: rename rtl() to isRTL()
585 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
587 * rowpainter.C (paintSelection): coord fix
589 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * Spacing.C: compile fix
593 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
595 * cursor.C (dispatch): restore current_ before returning
597 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
599 * text2.C (cursorUp, cursorDown): fix coords
602 2004-02-12 André Pönitz <poenitz@gmx.net>
607 * text3.C: add LCursor & parameter to most cursor movement functions
608 remove usage of LyXText::cursorRow() and cursorPar()
610 * cursor.[Ch]: add textRow() needed members
613 * BufferView_pimpl.C:
616 * BufferView_pimpl.C: adjust
618 2004-02-11 André Pönitz <poenitz@gmx.net>
622 * BufferView_pimpl.C: shift undo/redo handling
624 * cursor.[Ch]: fix mathed crash
627 * lyxtext.h: move selectionAsText to LCursor
635 * rowpainter.C: fix excessive drawing
637 2004-02-06 André Pönitz <poenitz@gmx.net>
640 * BufferView_pimpl.[Ch]:
641 * text3.C: move some text specific LFUN handling
643 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
645 * text3.C (checkInsetHit): adjust coords
646 * text2.C (getColumnNearX): adjust coords
647 (edit): adjust coords
648 * text.C (getRowNearY): add two asserts
650 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
653 * format.C: add using std::distance to compile on gcc 2.95/stlport
655 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
657 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
659 2004-02-04 André Pönitz <poenitz@gmx.net>
661 * BufferView.[Ch] (insertInset):
662 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
667 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
669 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
670 on the default clause of the switch
671 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
672 wasn't catched by LCursor::dispatch
674 2004-02-03 André Pönitz <poenitz@gmx.net>
677 * cursor.[Ch]: some additional asserts
679 * undo.[Ch]: remove LyXText dependency in interface
683 * lyxtext.h (firstPar, lastPar): remove dead functions
688 * paragraph.[Ch]: adjust
690 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
692 * lyxfind.C (find): fix argument order in call to ::find
694 2004-02-02 André Pönitz <poenitz@gmx.net>
696 * cursor.[Ch]: remove direct access to anchor
698 * text.C: remove findText() hack
700 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
702 * iterators.[Ch] (lockPath): remove in favour of...
703 * BufferView.[Ch] (setCursor): this addition
704 * BufferView.C (putSelectionAt): adjust
705 * undo.C (performUndoOrRedo): adjust
706 * lyxfunc.C (dispatch): adjust
708 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
710 * iterators.C (lockPath): add a missing slice
711 * undo.C (performUndoOrRedo): remove redundant positioning code
713 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
715 * vc-backend.C (scanMaster): ";" -> ';'
717 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
719 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
722 * lyxtextclass.C (compare_name): rename to...
723 (LayoutNamesEqual): ...this
725 * lyxlex_pimpl.C (compare_tags): inherit from
726 std::binary_function, put back into anon namespace
728 * lyxfind.C (MatchString): inherig from std::binary_function
729 (findChange): use empty() istead of !size()
731 * format.C (FormatNamesEqual): new functor
738 * converter.C (compare_Converter): rename to...
739 (ConverterEqual): ...this, and fixup a bit.
740 (getConverter): use it, and make function const
741 (getNumber): use it, and make function const
745 * bufferlist.C: add using boost::bind
747 * MenuBackend.C (MenuNamesEqual): new functor
748 (hasMenu): use it, and make function const
749 (hasSubmenu): use nested bind to get rid of compare_memfun.
751 2004-01-30 André Pönitz <poenitz@gmx.net>
753 * BufferView_pimpl.C:
764 * text3.C: move some of the edit(x,y) handling to the insets
765 some coordinate changes.
767 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * text.C: add using statements for std::advance and std::distance
771 * paragraph.C: add using statement for std::distance
773 * lyxfind.C: add using statement for std::advance
775 * cursor.C (region): remove std:: from swap
776 (openable): use nucleus in stead of operator->
778 * BufferView.C: add using statements for std::distance and std::swap
780 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * iterators.C: Remove the pimple, move the needed structures to
783 the header file. Create accessor for the positions stack.
784 (asPosIterator): remove function
786 * PosIterator.C (PosIterator): move constructors to top of file
787 (PosIterator): reimplement the constructor taking a ParIterator in
789 (setFrom): new function
790 (operator!=): inline it
792 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
794 * lyxfind.C (replaceAll): use std::advance
796 * iterators.h: inherit from std::iterator.
798 * PosIterator.C (advance, distance): remove
799 * PosIterator.h: interit from std::iterator.
801 2004-01-26 André Pönitz <poenitz@gmx.net>
804 * BufferView_pimpl.[Ch]:
808 * bufferview_funcs.C:
819 * output_plaintext.C:
821 * paragraph_funcs.[Ch]:
822 * paragraph_pimpl.[Ch]:
828 * text3.C: more IU: dumps most of the rest of the mathcursor
829 implementation into cursor.[Ch]; "globalize" a bit of it.
831 2004-01-25 Angus Leeming <leeming@lyx.org>
833 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
835 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
837 * LaTeXFeatures.h: add nice_ and nice() const
838 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
840 2004-01-20 André Pönitz <poenitz@gmx.net>
843 * BufferView_pimpl.C:
845 * bufferview_funcs.C:
858 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
859 LCursor and mathcursor parts to LCursor and InsetBase.
861 2004-01-15 André Pönitz <poenitz@gmx.net>
863 * cursor_slice.[Ch]: add a few covienience functions
865 * funcrequest.[Ch]: remove BufferView * member
867 * BufferView_pimpl.C:
874 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
876 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
878 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
879 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
881 2004-01-13 André Pönitz <poenitz@gmx.net>
884 * lyxtext.h: hide cursor and selection anchor behind accessor function
887 * BufferView_pimpl.[Ch]:
889 * bufferview_funcs.C:
899 * cursor_slice.[Ch]: some integer type changes for inset unification
901 * lyxcursor.[hC]: remove, it's CursorSlice now.
904 * BufferView_pimpl.[Ch]:
905 * bufferview_funcs.C:
911 * textcursor.[Ch]: adjust
913 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
915 * text2.C (undoSpan): add and use
916 * text.C (breakParagraph): use undoSpan (fix bug 578)
919 2004-01-08 Angus Leeming <leeming@lyx.org>
921 * BufferView_pimpl.C (MenuInsertLyXFile):
922 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
923 * lyxfunc.C (menuNew, open, doImport):
924 FileFilterList change to the FileDialog open and save functions.
926 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * ShareContainer.h: make isEqual and isUnique adaptable
930 * CutAndPaste.C: make resetOwnerAndChanges adaptable
932 2004-01-07 Angus Leeming <leeming@lyx.org>
935 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
937 * BufferView_pimpl.C (dispatch): act on these LFUNs.
939 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
940 functions replacing find, replace and replaceAll.
942 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
943 LFUN_WORDFIND(FORWARD|BACKWARD).
945 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
947 * text.C (breakParagraph): remove an outdated #warning
949 2004-01-07 André Pönitz <poenitz@gmx.net>
951 * lyxfind.C: somewhat clearer logic
953 * text.C: prevent crash in cursorX on unitialized row cache
955 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
957 * lyxcursor.[Ch] (operator>): add
958 * textcursor.C (selStart, selEnd): use std::min and std::max
960 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
962 * Chktex.C: include boost/format.hpp
964 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
966 * InsetList.C: replace functor MathcIt with adaptable functor
968 (insetIterator): modify accordingly
970 * BranchList.h: move the BranchNamesEqual functor here from...
971 * BranchList.C: ... to here
973 * BranchList.C: new BranchListEqual fuctor, use it. Remove
975 (add): replace a finding loop with std::find_if.
977 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
979 * output_docbook.C: moving LatexParam functionality into
982 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
984 * buffer.C: increment format to 229.
986 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
989 * lyx_sty.[Ch]: remove minipageindent_def
995 * text3.C: remove LFUN_INSET_MINIPAGE
997 2003-12-28 Angus Leeming <leeming@lyx.org>
999 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1001 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1003 * text2.C (setParagraph): fix off-by-one crash
1005 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1007 * output_docbook.C: header stuff for AGU
1009 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1011 * text2.C (redoCursor): remove
1014 * BufferView_pimpl.C: remove calls to redoCursor and
1015 setCursor(cursor.par(), cursor.pos()) all around
1017 2003-12-15 Angus Leeming <leeming@lyx.org>
1019 * buffer.C: up the format to 228.
1021 2003-12-15 André Pönitz <poenitz@gmx.net>
1023 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1028 * BufferView_pimpl.C:
1037 2003-12-15 Angus Leeming <leeming@lyx.org>
1039 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1040 than getFromGUIName to manipulate the color.
1042 2003-12-14 Angus Leeming <leeming@lyx.org>
1044 * BranchList.[Ch]: minimize the API.
1045 (Branch::getBranch, getColor): now return a 'const &'.
1046 (Branch::setSelected) now returns a bool set to true if the
1047 selection status changes.
1048 (BranchList::clear, size, getColor, setColor, setSelected,
1049 allBranches, allSelected, separator): removed.
1050 (BranchList::find): new functions, returning the Branch with
1052 (BranchList::add, remove): return a bool indicating that
1053 the operation was successful.
1055 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1056 new InsetBranch::isBranchSlected member function.
1058 * LColor.[Ch]: mimimize the API.
1059 (fill): renamed as addColor and made private.
1060 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1061 versions of these functions taking a string arg have been removed.
1063 * bufferparams.C (readToken):
1064 * lyxfunc.C (dispatch):
1065 * lyxrc.C (read): changes due to the altered BranchList and
1068 * factory.C (createInset, readInset): changes due to altered
1071 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1074 * lyxfunc.C: remove insetminipage. "minipage-insert"
1075 now produces a frameless minipage box inset.
1077 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1079 * textcursor.[Ch] (selStart,selEnd): add new methods
1080 remove selection::start, end, use LyXCursor::operator<
1081 * lyxcursor.[Ch] (operator<): add
1082 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1083 * BufferView.[Ch] (unsetXSel): add
1084 * text2.C (clearSelection): use unsetXSel,adjust
1087 * rowpainter.C: adjust
1088 * bufferview_funcs.C (put_selection_at): adjust
1090 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1092 * BufferView_pimpl.C: small coord. correction
1094 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1096 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1097 dragging over the splash screen.
1099 2003-12-11 Angus Leeming <leeming@lyx.org>
1101 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1102 as it is now handled in LyXText::dispatch.
1104 * text3.C (doInsertInset): remove a level of nesting.
1106 2003-12-11 Angus Leeming <leeming@lyx.org>
1108 * factory.C (createInset): changes due to the changed interface to
1109 InsetCommandMailer::string2params.
1111 2003-12-10 Angus Leeming <leeming@lyx.org>
1113 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1114 'dialog-show-new-inset <inset name>'
1116 2003-12-10 Angus Leeming <leeming@lyx.org>
1118 * buffer.C: up the format to 227.
1120 * factory.C: the box inset is now identified simply by 'Box'.
1122 2003-12-10 Angus Leeming <leeming@lyx.org>
1124 * buffer.C: up the format to 226.
1126 * factory.C: the note inset is now identified simply by 'Note'.
1128 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1130 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1131 when a pit is enough. Standarize a couple of loops.
1133 2003-12-05 Angus Leeming <leeming@lyx.org>
1135 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1136 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1137 data to the re-worked "log" dialog.
1139 2003-12-03 André Pönitz <poenitz@gmx.net>
1145 * paragraph_funcs.C:
1147 * text2.C: use Inset::getText instead of Inset::getParagraph
1149 2003-12-03 André Pönitz <poenitz@gmx.net>
1153 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1154 InsetText::read() as LyXText::read()
1156 2003-12-02 Angus Leeming <leeming@lyx.org>
1158 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1159 type. Add a comment in the implementation that the function uses
1160 the stream's bad() function rather than fail() as the std::streams
1163 2003-12-02 André Pönitz <poenitz@gmx.net>
1165 * lyxlex.[Ch]: make interface more similar to std::stream
1167 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1169 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1171 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1173 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1175 * vspace.[Ch]: remove VSpace::NONE
1177 2003-12-01 André Pönitz <poenitz@gmx.net>
1180 * lyxtext.h: move ParagraphList member to LyXText
1181 rename LyXText::ownerParagraphs to LyXText::paragraph
1184 * bufferview_funcs.C:
1194 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1196 * undo.C: fix cursor positioning
1198 2003-12-01 John Levon <levon@movementarian.org>
1200 * BufferView_pimpl.C: fix a crash on exit with
1203 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1205 * BranchList.C: fix setSelected() method.
1207 2003-11-28 André Pönitz <poenitz@gmx.net>
1209 * ParagraphParameters.[Ch]:
1210 * ParameterStruct.h: remove space above/below from Paragraph to
1213 * BufferView_pimpl.C:
1219 * paragraph_funcs.C:
1225 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1227 * factory.C: Syntax change for CharStyles
1229 2003-11-28 André Pönitz <poenitz@gmx.net>
1234 * buffer.[Ch]: move LyXText member
1236 2003-11-28 André Pönitz <poenitz@gmx.net>
1238 * BufferView.[Ch]: make LyXText * text a private member
1240 * BufferView_pimpl.C:
1251 * output_plaintext.C: cleanup
1253 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1256 * lyxtextclass.[Ch]: parametrize SGML document header
1258 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1261 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1264 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1266 * text2.C (setFont): rework using PosIterator (no more recursive)
1267 (setCharFont): no more needed
1268 (setLayout): no more selection cursors fiddling (done by redoCursor)
1269 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1270 destroy remaining ones)
1272 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1274 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1276 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1279 * text3.C: adjust + re-allow multi par depth changes
1280 * textcursor.C: simplify a bit
1282 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1288 * src/output_docbook.C:
1289 * src/output_latex.C:
1294 * src/text2.C: Introducing a number of tags parametrizing various
1295 XML formats that we may want to support
1297 2003-11-25 André Pönitz <poenitz@gmx.net>
1299 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1301 * lyxtext.h (leftMargin/rightMargin): simplify interface
1308 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1310 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1311 master file to any child files. Fixes bug 546.
1313 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1315 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1317 2003-11-24 André Pönitz <poenitz@gmx.net>
1319 * rowpainter.C: simplification
1321 * text2.C (updateCounters): remove call to redoParagraph on
1322 changed labels as this is far too expensive.
1324 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1326 * converter.C (convert): fix a crash: this function gets
1327 called with buffer == 0 from importer code.
1329 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1331 * text3.C (cursorPrevious): make sure that we do not compare
1332 iterators form different containers.
1335 * rowpainter.C (paintSelection): make sure that we do not compare
1336 iterators from different containers.
1338 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1339 iterators from different ParagraphList containers.
1342 * text2.C (LyXText): change order of initialization slightly
1343 (operator=): new function. copy all variables except cache_par_
1344 (moveUp): make sure that we do not compare iterators from
1345 different ParagraphList constainers.
1348 * text.C (firstPar): new function
1349 (lastPar): new function
1350 (endPar): new function
1352 * lyxtext.h: move things around and group public functions, public
1353 variables, private functions, private variables
1355 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1357 * factory.C: change call to InsetERT constructor to avoid
1358 additional invocation of method status
1359 * text2.C (toggleInset): remove redundant update() call
1360 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1361 instead of a Bufferview pointer
1363 2003-11-21 André Pönitz <poenitz@gmx.net>
1365 * rowpainter.C: simplification
1367 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1369 * text3.C (dispatch): make possible to extend a word/row selection
1372 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1374 * lyxtext.h: x0_,y0_ -> xo_,yo_
1375 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1376 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1377 * rowpainter.C (paintRows): paint full paragraphs
1379 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1381 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1384 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1386 * lyxtext.h: add x0_, y0_
1387 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1388 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1390 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1392 * text2.C (setCursorIntern): move the x_target update here *
1393 * text3.C: change some bv() to true/false in calls to
1394 cursorUp/Down/Right/Left
1395 * cursor.C: use helper function.
1397 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1399 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1400 * paragraph_funcs.[Ch]: correct comment
1401 * rowpainter.C: do not paint selections away from bv->cursor()
1402 Fix a long standing selection painting bug.
1403 * text3.C: generalize mouse-selection code to LyXTexts other that
1405 * textcursor.C: do not use y coords if we can use par offsets
1407 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1409 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1410 cursor position after e.g. inset insert)
1412 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1414 * lyxfind.C (replace): adjust to locking removal + some
1417 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1419 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1422 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1425 * output_docbook.C: XML sanitation: new layout
1426 parameters InnerTag and CommandDepth
1428 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1430 * BufferView_pimpl.C:
1432 * text3.C: Fix the insertion and modification of button-style
1435 2003-11-13 André Pönitz <poenitz@gmx.net>
1437 * InsetList.[Ch]: remove deleteLyXText
1439 * paragraph.[Ch]: cache beginOfBody position
1444 * text3.C: remove superfluous update() calls
1448 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1450 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1451 * BufferView.C (fitLockedInsetCursor): remove
1452 * cursor.[Ch] (getDim): add
1453 * text.C (getRowNearY): add faster version
1454 * text3.C: remove some update calls
1456 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1468 * text3.C: The Character Style /XML short element patch.
1470 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1473 * factory.C: Small step to solving 'unable to insert some insets'
1476 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1478 * cursor.[Ch] (updatePos): new function for updating the y
1479 position of the tip inset
1480 * bufferview_funcs.C (put_selection_at):
1481 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1483 2003-11-11 André Pönitz <poenitz@gmx.net>
1485 * text.C: remove big comment on invalid Paragraph pointers as it is
1488 2003-11-11 André Pönitz <poenitz@gmx.net>
1490 * text_funcs.[Ch]: merge with ...
1498 * Makefile.am: remove text_funcs.[Ch]
1500 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1502 * cursor.C (getPos): return absolute cached y coord
1504 * BufferView_pimpl.C (fitCursor): new simplistic code
1505 (workAreaDispatch): add a fitCursor call
1507 2003-11-10 André Pönitz <poenitz@gmx.net>
1510 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1512 2003-11-10 André Pönitz <poenitz@gmx.net>
1514 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1515 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1516 indicate that the cursor needs to leave an inset
1518 * lyxtext.h: remove inset locking
1520 * cursor.[Ch]: re-implement functionality provided by inset locking
1523 * BufferView_pimpl.[Ch]:
1525 * bufferview_funcs.[Ch]:
1537 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1539 * PosIterator.[Ch]: replace the stack with a vector, add inset
1541 * iterators.[C]: adjust
1543 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1545 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1547 * paragraph_funcs.C (readParToken): put the correct id in the
1548 error item, not the id of the top paragraph
1550 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1552 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1553 * bufferview_funcs.C (put_selection_at): use the above
1555 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1557 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1559 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1561 * output_linuxdoc.h:
1562 * output_plaintext.h:
1564 * output_docbook.h: add #include statements
1566 2003-11-05 José Matos <jamatos@lyx.org>
1568 * output_docbook.[Ch]:
1569 * output_latex.[Ch]:
1570 * output_linuxdoc.[Ch]:
1571 * output_plaintext.[Ch]: New files for output formats.
1572 * output.[Ch]: New file for helper functions.
1575 * paragraph_funcs.[Ch]: output functions moved to new files.
1577 * outputparams.h: rename of latexrunparams.h
1585 * paragraph_funcs.[Ch]:
1586 * paragraph_pimpl.[Ch]:
1587 * tabular.[Ch]: rename ascii to plaintext
1588 and LatexRunParams to OutputParams.
1590 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1592 * iterators.[Ch] (text): require bv argument
1593 * undo.C (recordUndo):
1594 * lyxfunc.C (dispatch):
1595 * bufferview_funcs.C (put_selection_at): adjust
1597 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1599 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1601 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1603 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1606 2003-11-04 André Pönitz <poenitz@gmx.net>
1608 * cursor.[Ch]: restructure
1611 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1613 * iterators.[Ch] (asCursor): remove
1615 * lfuns.h: remove LFUN_INSET_EDIT
1621 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1623 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1625 * lyxfind.[Ch]: complete overhaul
1626 * BufferView_pimpl.C:
1628 * paragraph.[Ch] (insert): add
1630 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1634 * text.C: remove dead spellcheck code
1636 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * dispatchresult.h: add a val setter
1640 * cursor.C (dispatch): use a tempvar for data_[i]
1642 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1644 * PosIterator.[Ch]: compile fix
1646 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1648 * text.C (cursorPar): deactivate the cursor cache
1650 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1652 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1654 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * text3.C (dispatch): adjust for new DisptchResult semantics.
1658 * lyxfunc.C (dispatch): handle update when return from
1659 Cursor::dispatch, adjust for new DispatchResult semantics.
1661 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1662 DispatchResult(true) mean to not update. Add class functions for
1663 setting dispatched and update, as well as reading.
1665 * cursor.C (dispatch): don't handle update here
1667 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1669 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1670 * trans_mgr.C: adjust
1672 * paragraph_funcs.C (readParToken): exception safety
1674 * lyxvc.h: store the vcs pointer in a scoped_ptr
1677 * lyxsocket.C (serverCallback): exception safety
1679 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1681 * ispell.C (clone): make it return a auto_ptr
1683 * factory.C (createInset): exception safety
1684 (readInset): exception safety
1686 * bufferlist.C (newBuffer): exception safety
1688 * Thesaurus.C (Thesaurus): use initialization for aik_
1690 * MenuBackend.C (expandToc): exception safety.
1692 2003-11-03 André Pönitz <poenitz@gmx.net>
1696 * bufferview_funcs.C: remove getInsetFromId()
1699 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1705 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1707 * PosIterator.C (distance, advance): new
1708 * bufferview_funcs.[Ch] (put_selection_at): new
1709 * iterators.[Ch] (lockPath): new
1711 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1713 * iterators.[Ch] (asPosIterator): added
1714 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1715 * PosIterator.[Ch]: added
1717 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * cursor.C (dispatch):
1722 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1724 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1725 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1726 contructor, add a class function dispatched. Remove operator>=
1728 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1730 * debug.C: only use the default constructor for debugstream
1733 * main.C (main): include debug.h and setup the lyxerr streambuf
1736 2003-10-31 José Matos <jamatos@lyx.org>
1738 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1740 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1741 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1742 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1743 * paragraph_pimpl.C (simpleTeXSpecialC):
1744 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1745 add LatexRunParams argument.
1747 * exporter.C (Export): change call accordingly.
1749 * latexrunparams.h: add new member to take care of the other backends.
1750 2003-10-30 José Matos <jamatos@lyx.org>
1752 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1753 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1754 factorise code for paragraph output.
1756 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * text3.C (dispatch):
1762 * lyxfunc.C (dispatch):
1763 * cursor.C (dispatch):
1764 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1766 * dispatchresult.h: make the dispatch_result_t ctor explicit
1768 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1771 * buffer.C: small refactoring of docbook stuff
1773 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1778 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1781 operator dispatch_result_t, and operators for == != and >=
1783 * cursor.C (dispatch): adjust for operator dispatch_result_t
1784 removal. comment out call to update
1786 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1788 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1799 * dispatchresult.h: new file, DispatchResult broken out of
1802 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1804 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1806 * text.C (rowBreakPoint): put a hack inside #if 0
1808 2003-10-28 André Pönitz <poenitz@gmx.net>
1812 * paragraph_funcs.C:
1815 * text2.C: general cleanup (lots of small stuff)
1817 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1819 * text2.C (cursorEnd): simple fix to the "end key goes to one
1820 before the end on last row" bug
1822 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1824 * text.C (backspace): fix the "zombie characters"
1826 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1828 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1830 2003-10-27 André Pönitz <poenitz@gmx.net>
1832 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1834 * factory.C: handle new InsetPagebreak, InsetLine
1836 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1837 and move handling into new InsetPagebreak, InsetLine
1839 * BufferView_pimpl.C:
1841 * ParagraphParameters.C:
1842 * ParameterStruct.h:
1847 * paragraph_funcs.C:
1848 * paragraph_pimpl.C:
1854 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1857 * lyxrow_funcs.[Ch]:
1863 * text3.C: remove lastPos uses in favour of Row::endpos
1865 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1867 * undo.C (performUndoOrRedo): fix two crashes by setting a
1868 cursor by hand and reordering some calls. Use bv->lockInset instead
1869 of inset->edit because the latter loses cursor information
1871 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1873 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1875 (rowBreakPoint): fix width. change point to point + 1.
1876 Add a missing check.
1878 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1881 * lyxfunc.C: fix (at least partly) the problems
1882 with the Nav menu and headers inside branch insets
1885 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1887 * paragraph.C (getChar): add strong asserts
1889 * lyxrow_funcs.C (lastPos): remove hideous hack
1891 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1892 (fill): adjust to that (avoid an infinite loop)
1894 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1896 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1898 2003-10-23 André Pönitz <poenitz@gmx.net>
1900 * RowList_fwd.h: change list<> to vector<> to gain speed
1901 after suggestion from Alfredo
1903 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1905 * lyxtext.h: move the bidi stuff from here...
1908 * Bidi.[Ch]: ... to here
1910 2003-10-23 André Pönitz <poenitz@gmx.net>
1913 * text.C (isLastRow, isFirstRow): new functions
1915 * paragraph.h: new width cache member
1917 * rowpainter.C: replace RowList::iterator with Row & where possible
1919 * lyxfunc.C: replace several view()->text with a single call
1921 * toc.C: fix 'unused' warning
1923 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1926 when woring with stream::pos_type
1927 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1929 2003-10-22 André Pönitz <poenitz@gmx.net>
1932 * text.C: use Row & instead of RowList::iterator
1934 * lyxrow.h: rename end() to endpos()
1940 2003-10-22 Angus Leeming <leeming@lyx.org>
1942 * buffer.[Ch] (fully_loaded): new member function, returning true
1943 only when the file has been loaded fully.
1944 Used to prevent the premature generation of previews and by the
1945 citation inset to prevent computation of the natbib-style label.
1947 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1948 templates are all set up.
1950 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1952 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1954 * text.C: fixed an "oops" in the "is a bit silly"
1957 2003-10-21 André Pönitz <poenitz@gmx.net>
1959 * FuncStatus.[Ch]: small stuff, whitespace
1961 * lyxfont.[Ch]: operator<<() for debug reasons
1965 * lyxtext.h: whitespace, spelling
1967 * paragraph.C: naming of variables
1970 * text2.C: small stuff
1973 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1975 * text.C: (1) finish off the inset display() work;
1976 (2) fix the "is a bit silly" bug (accessing char
1979 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1981 * text.C: re-introduce display() for insets, fixing the
1982 various bugs (stretch of line above, math inset
1985 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * text.C (rightMargin): remove spurious semicolon
1989 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1992 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1994 * text3.C: fix one crash due to wrong cursor def
1996 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * vc-backend.C (scanMaster): make the regex static
2000 * LaTeX.C (scanAuxFile): make the regexs static
2002 * text3.C (doInsertInset, dispatch, dispatch):
2003 * text2.C (cursorUp, cursorDown):
2004 * text.C (selectNextWordToSpellcheck):
2005 * BufferView_pimpl.C (dispatch):
2006 * lyxfunc.C (dispatch): localDispatch -> dispatch
2008 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2010 * lyxsocket.C: include <cerrno>
2012 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * lyxfunc.C (dispatch): remove textcache stuff
2016 * bufferlist.C (release): remove textcache stuff
2019 * TextCache.C: delete file
2020 * TextCache.h: delete file
2022 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2024 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2025 delete of the bv_->text.
2026 (resizeCurrentBuffer): remove texcache stuff
2027 (workAreaResize): ditto
2029 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2034 2003-10-16 André Pönitz <poenitz@gmx.net>
2041 * text3.C: speed up by storing y positions per paragraph plus per-row
2042 offset instead of having a 'full' y position in the row.
2044 2003-10-15 André Pönitz <poenitz@gmx.net>
2048 * undo.[Ch]: make undo aware of inner insets
2050 2003-10-14 Angus Leeming <leeming@lyx.org>
2052 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2053 static member functions LyX::ref() and LyX::cref.
2054 (lastfiles): new accessor functions for the new lastfiles_ member var.
2055 (addLyXView, views_): add a new LyXView to the list of views_.
2056 (updateInset): loop over all LyXViews to call their own updateInset
2057 member function, returning a pointer to the Buffer owning the inset.
2059 * BufferView_pimpl.C (loadLyXFile):
2060 * MenuBackend.C (expandLastfiles):
2061 * bufferlist.C (MenuWrite, QuitLyX):
2062 lastfiles is no longer a global variable.
2063 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2065 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2066 static function. Access through LyX::cref().emergencyCleanup().
2068 2003-10-14 André Pönitz <poenitz@gmx.net>
2070 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2072 * undo.[Ch]: restoring part of 'undo in insets'
2075 * undo_funcs.[Ch]: merge with undo.[Ch]
2077 * tabular.C: small cleansing stuff
2079 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2081 * paragraph_funcs.C (readParToken): report unknown insets as error
2082 boxes. Use the outer paragraph as location (also for unknown
2085 * factory.C (readInset): do not abort on reading an unknown inset.
2086 Eat it and return 0.
2088 2003-10-13 Angus Leeming <leeming@lyx.org>
2090 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2092 * lyxrc.C: displayTranslator is now a function,
2093 declared in GraphicsTypes.h.
2095 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2097 * format.C: new placeholder $$a to pass the socket address.
2099 * bufferlist.[Ch]: new function getBufferFromTmp.
2101 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2102 files in the temporary dir.
2104 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2106 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2108 * Makefile.am: add lyxsocket.[Ch].
2110 * lyx_main.C (error_handler): handle SIGPIPE.
2112 2003-10-13 André Pönitz <poenitz@gmx.net>
2114 * BufferView_pimpl.C:
2119 * undo_funcs.[Ch]: use paroffset_type instead of
2120 ParagraphList::iterators to prevent multiple conversion
2121 (and get a more robust interface)
2123 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2127 * text3.C (dispatch): ditto
2129 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2132 move the onlyfile, use onlyfile instead of foundfile in a couple
2135 * DepTable.C (update): flush the error stream a bit more
2137 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * lyxserver.C (callback): adjust
2141 * lyxfunc.C (getStatus): add a missing brace in commented code
2142 (ensureBufferClean): reindent
2143 (dispatch): delete version taking a string
2145 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * LaTeX.C (deplog): move found file handlig from here...
2148 (handleFoundFile): .. to new function here.
2149 (deplog): make sure to discover several files mentioned on the
2152 2003-10-10 André Pönitz <poenitz@gmx.net>
2159 * text3.C: fix some of the tabular crashes
2161 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2163 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2165 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2167 2003-10-09 André Pönitz <poenitz@gmx.net>
2169 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2172 * BufferView_pimpl.C:
2173 * bufferview_funcs.C:
2184 * undo_funcs.C: adjust
2186 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * text2.C (incrementItemDepth): new function, use a backtracking
2189 algorithm to discover the correct item depth.
2190 (resetEnumCounterIfNeeded): new function, use a backtracking
2191 algorithm to discover if counter reset is needed.
2192 (setCounter): use them. Simplify a bit. Add different labels for
2193 different item depths for itemize.
2195 * paragraph.C (Paragraph): remove initialization of enumdepth
2198 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2199 enumerate and itemize. Change the type of itemdepth to signed char.
2201 2003-10-08 André Pönitz <poenitz@gmx.net>
2203 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2208 * tabular.[Ch]: fix crash after 'row-insert'
2210 2003-10-08 Angus Leeming <leeming@lyx.org>
2212 Fix doxygen warnings.
2214 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2215 Remove CutAndPaste:: prefix from header file declaration.
2217 * LColor.h (fill): remove LColor:: prefix from declaration.
2219 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2220 use lyx::depth_type rather than Paragraph::depth_type so that
2221 header file and .C file match.
2223 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2225 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2226 * aspell.C: \file aspell_local.C -> \file aspell.C
2227 * gettext.C: \file gettext.C -> \file src/gettext.C
2228 * gettext.h: \file gettext.h -> \file src/gettext.h
2229 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2230 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2231 * text.C: \file text.C -> \file src/text.C
2233 * toc.C: move comment so that doxygen is not confused.
2235 2003-10-07 Angus Leeming <leeming@lyx.org>
2237 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2239 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2242 * aspell_local.h: add forgotten std::string's.
2244 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2251 * text3.C: The Box patch. Fancybox support, minipage, parbox
2253 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2259 * ParagraphParameters.h:
2269 * lyxtextclasslist.h:
2272 * paragraph_pimpl.C:
2273 * textcursor.h: add <string> and other small fixes to make Lars'
2274 std::string patch compile with STLport.
2276 2003-10-06 Angus Leeming <leeming@lyx.org>
2278 * LColor.h: Add missing #include <string>.
2280 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * All most all file in all subdirs: Make <string> be the prefered
2283 way of getting to std::string, add using declarations.
2285 2003-10-06 André Pönitz <poenitz@gmx.net>
2287 * metricsinfo.C: initialize LyXFont before changing attribute.
2288 (fixes the 'math in \emph is upright' bug)
2290 2003-10-06 André Pönitz <poenitz@gmx.net>
2292 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2294 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2297 * paragraph_pimpl.C: Small fixes to build using STLport
2299 2003-10-02 André Pönitz <poenitz@gmx.net>
2302 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2304 2003-10-01 André Pönitz <poenitz@gmx.net>
2306 * factory.C: assert early
2308 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * lyx_main.C: remove the global debug object
2312 * debug.h: adjust for new debugstream
2314 * debug.C: adjust for new debugstream and keep the global debug
2317 2003-09-22 Angus Leeming <leeming@lyx.org>
2319 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2320 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2321 an incomplete class LyXFont.
2323 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2325 * factory.C: bug fix in branches
2327 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * lyxfunc.C (processKeySym): adjust
2331 (dispatch): change arg name from ev to func, adjust
2332 (sendDispatchMessage): ditto
2334 * lyx_main.C (defaultKeyBindings): adjust keybindings
2335 (deadKeyBindings): ditto
2337 * kbsequence.C (addkey): return a FuncRequest
2339 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2341 * kbmap.C (bind): take a FuncRequest as arg, adjust
2344 (defkey): change to take a FuncRequest as arg, adjust
2345 (findbinding): take a FuncRequest as arg, adjust.
2347 * funcrequest.h (operator=): added
2349 * funcrequest.C (FuncRequest): default kb_action changed from
2350 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2352 * buffer.C (dispatch): simplify
2353 (dispatch): adjust to take a FuncRequest as arg, adjust
2355 * boost.C (assertion_failed): change assertion message slightly
2357 * ToolbarBackend.C (read): simplify
2359 * MenuBackend.C (binding): adjust call to findbinding, add a
2360 message if no binding is found.
2362 (expandToc): correct by adding a empty FuncRequest
2364 * LyXAction.C: include <boost/assert.hpp>
2365 (isPseudoAction): delete function
2366 (LookupFunc): change name to...
2367 (lookupFunc): this. change return type to FuncRequest.
2368 (getActionName): take kb_action as arg, simplify
2369 (funcHasFlag): add an assert, simplify.
2371 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * toc.C (action): return a FuncRequest, simplify
2375 * lyxfunc.C (processKeySym): adjust
2376 (getStatus): delete version that takes an int.
2378 (dispatch): delete version that takes action as int
2380 (sendDispatchMessage): simplify and adjust
2382 * funcrequest.C (getArg): take unsigned int as arg
2384 * ToolbarBackend.C (read): adjust
2385 (add): delete version that takes func as a string.
2386 (getIton): take a FuncRequest as arg
2388 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2391 * MenuBackend.C (MenuItem): add a new construct that only takes a
2392 Kind, simplify the constructor use for submenus.
2394 (expandLastfiles): adjust
2395 (expandDocuments): adjust
2396 (expandFormats): adjust
2397 (expandFloatListInsert): adjust
2398 (expandFloatInsert): adjust
2399 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2401 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2402 Remove class variables lyx_pseudo_map and lyx_arg_map
2404 * LyXAction.C (searchActionArg): delete function
2405 (getPseudoAction): delete function
2406 (retrieveActionArg): delete function
2407 (LookupFunc): make it return kb_action, simplify.
2408 (getActionName): simplify
2410 * factory.C (createInset): fix new bug
2412 2003-09-19 Angus Leeming <leeming@lyx.org>
2414 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2415 masterFilename_ parameter in the include inset.
2417 * factory.C (createInset): changes due to the changes to InsetInclude.
2419 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2421 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2423 2003-09-18 Angus Leeming <leeming@lyx.org>
2426 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2427 Inset::fillWithBibKeys.
2428 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2430 2003-09-18 Angus Leeming <leeming@lyx.org>
2432 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2434 (ctor): pass and store a 'Buffer const &'
2435 (buffer): new member function.
2437 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2438 '*this' to the LaTeXFeatures ctor.
2440 2003-09-18 Angus Leeming <leeming@lyx.org>
2446 * text.C: rename EnumLColor as LColor_color.
2448 2003-09-18 Angus Leeming <leeming@lyx.org>
2450 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2451 remove #include "insets/insetbase.h" from cursor.h.
2453 2003-09-18 Angus Leeming <leeming@lyx.org>
2455 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2456 InsetOld_code to remove #include "inset.h".
2458 * iterators.C: add #include "insets/inset.h"
2460 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2462 * BufferView.C: remove more locking stuff that apparently doesn't
2463 do anything sensible.
2465 2003-09-16 André Pönitz <poenitz@gmx.net>
2468 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2471 2003-09-16 Angus Leeming <leeming@lyx.org>
2473 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2475 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2478 * paragraph.h: remove #include "lyxfont.h". Forward declare
2481 2003-09-16 Angus Leeming <leeming@lyx.org>
2483 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2484 of support/textutils.h.
2485 (isWord): move the contents of support/textutils.h's IsWordChar here.
2491 * text2.C: add #include "paragraph.h".
2494 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2496 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * LaTeX.C: use namespace alias for lyx::support::os
2504 2003-09-16 Angus Leeming <leeming@lyx.org>
2507 * bufferview_funcs.C:
2510 * paragraph_pimpl.C:
2512 * text.C: add #include "LColor.h".
2514 2003-09-16 Angus Leeming <leeming@lyx.org>
2516 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2517 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2519 Store the FontBits::color variable as an int rather than as an
2520 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2523 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2524 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2525 string calls together.
2527 * lyxrc.C: add #include "LColor.h".
2529 2003-09-15 Angus Leeming <leeming@lyx.org>
2531 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2534 2003-09-15 Angus Leeming <leeming@lyx.org>
2536 * LColor.h: add an EnumLColor wrapper for LColor::color.
2538 * lyxfont.[Ch] (color, setColor, realColor):
2539 * lyxtext.h, text.C (backgroundColor):
2540 pass EnumLColor args to/from the functions, rather than LColor::color
2544 * lyxtext.h: forward declare EnumLColor.
2546 * lyx_main.C: add #include "LColor.h".
2548 2003-09-15 Angus Leeming <leeming@lyx.org>
2550 * .cvsignore: add lyx-gtk.
2552 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * ParagraphParameters.C
2561 * bufferview_funcs.C
2571 * vc-backend.C: remove usage of STRCONV
2573 2003-09-15 Angus Leeming <leeming@lyx.org>
2575 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2576 explicitly define the color passed to the painter.
2578 2003-09-15 Angus Leeming <leeming@lyx.org>
2580 * bufferparams.C (BufferParams): reorder member initializers to avoid
2583 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2585 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2586 * text.C (updateRowPositions): remove an unusual nop
2588 2003-09-12 André Pönitz <poenitz@gmx.net>
2590 * BufferView_pimpl.C:
2599 * Counters.[Ch]: finish the 'automatic counters' job
2601 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2603 * aspell.C: include <boost/assert.cpp> (compile fix)
2605 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2607 * boost.C (assertion_failed): use lyx::support::abort instead of
2610 2003-09-10 Angus Leeming <leeming@lyx.org>
2612 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2613 with their _fwd progeny.
2615 2003-09-09 Angus Leeming <leeming@lyx.org>
2617 134 files throughtout the source tree: replace 'using namespace abc;'
2618 directives with the appropriate 'using abc::xyz;' declarations.
2620 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2622 * boost.C (emergencyCleanup): moved here from LAssert.c
2623 (assertion_failed): new function, called by BOOST_ASSERT
2625 * several files: change Assert to BOOST_ASSERT
2627 2003-09-09 Angus Leeming <leeming@lyx.org>
2629 * buffer.[Ch]: Add an Impl class and move Buffer's member
2630 variables into it. As a result move several header files out of
2633 Add header files to lots of .C files all over the tree as a result.
2635 2003-09-09 Angus Leeming <leeming@lyx.org>
2637 * buffer.[Ch]: make Buffer's member variables private. Add
2640 Lots of changes all over the tree as a result.
2642 2003-09-08 Angus Leeming <leeming@lyx.org>
2644 * graph.C: #include <config.h>.
2646 2003-09-08 Angus Leeming <leeming@lyx.org>
2650 * BufferView_pimpl.C:
2679 * toc.C: remove redundant using directives.
2681 2003-09-07 Angus Leeming <leeming@lyx.org>
2683 * LaTeXFeatures.h: remove #include "support/types.h".
2684 * ToolbarBackend.h: remove #include <algorithm>.
2685 * changes.h: remove #include <ctime>.
2686 * debug.h: remove #include <iosfwd>.
2687 * graph.h: remove #include "support/std_string.h".
2688 * lyx_main.h: remove #include <csignal>.
2689 * lyxlex_pimpl.h: remove #include <fstream>.
2690 * sgml.h: remove #include <algorithm>, <utility>.
2691 * toc.h: remove #include "support/std_ostream.h".
2692 Add #include <iosfwd>.
2694 2003-09-07 Angus Leeming <leeming@lyx.org>
2696 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2698 * converter.h: forward declare LatexRunParams.
2699 * encoding.h: remove #include "lyxrc.h".
2700 * lyxtext.h: remove #include "LColor.h".
2701 * lyxtextclass.h: remove #include "support/types.h".
2702 * trans.h: remove #include "tex-accent.h".
2703 * trans_mgr.h: remove #include "tex-accent.h".
2704 * insets/inset.h: remove #include "support/types.h", <vector>.
2705 * insets/insetcollapsable.h: remove #include "LColor.h".
2706 * insets/insetinclude.h: remove #include "dimension.h".
2707 * insets/insetlatexaccent.h: remove #include "dimension.h".
2708 * insets/insetoptarg.h:: remove #include "insettext.h".
2709 * insets/insettext.h: remove #include "dimension.h",
2710 <boost/shared_ptr.hpp>
2712 * insets/renderers.h: add #include "dimension.h".
2713 * insets/updatableinset.h: add #include "support/types.h".
2715 * many .C files: Associated changes.
2717 2003-09-06 Angus Leeming <leeming@lyx.org>
2719 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2720 one, inside testInvariant.
2722 * PrinterParams.C: new file.
2723 * PrinterParams.[Ch]: move the function bodies out of line.
2725 2003-09-06 Angus Leeming <leeming@lyx.org>
2727 * ParagraphParameters.h: forward declare ParameterStruct rather than
2728 including its header file.
2729 (depth): moved out-of-line.
2731 2003-09-06 Angus Leeming <leeming@lyx.org>
2733 * BufferView_pimpl.h:
2736 * lyxfunc.h: forward declare LyXKeySym rather than
2737 #include "frontends/LyXKeySym.h".
2739 * BufferView_pimpl.C:
2742 * lyxfunc.C: associated changes.
2744 2003-09-06 Angus Leeming <leeming@lyx.org>
2746 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2747 As a result, can remove the #include "insets/inset.h" from BufferView.h
2749 2003-09-06 Angus Leeming <leeming@lyx.org>
2751 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2752 As a result, can remove the #include "insets/inset.h" from BufferView.h
2754 2003-09-06 Angus Leeming <leeming@lyx.org>
2760 * bufferview_funcs.C:
2761 * BufferView_pimpl.C:
2766 * ParagraphParameters.C:
2771 * frontends/controllers/ControlDocument.C:
2772 * insets/insetcaption.C: rearrange the #includes into some sort of
2775 * buffer.h: remove #includes ErrorList.h, undo.h
2777 2003-09-06 Angus Leeming <leeming@lyx.org>
2779 * support/types.h: add a 'depth_type' typedef, used to store the
2780 nesting depth of a paragraph.
2783 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2784 defining explicitly.
2787 * paragraph_funcs.h:
2788 * ParagraphParameters.h:
2789 * sgml.h: use lyx::depth_type rather than Paragraph or
2790 ParameterStruct's depth_type.
2793 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2796 * BufferView_pimpl.C:
2798 * ParagraphParameters.C:
2801 * bufferview_funcs.C:
2808 * frontends/LyXView.C:
2809 * frontends/controllers/ControlDocument.C:
2810 * frontends/controllers/ControlErrorList.C:
2811 * insets/insetbibitem.C:
2812 * insets/insetbranch.C:
2813 * insets/insetcaption.C:
2814 * insets/insetcollapsable.C:
2815 * insets/insetenv.C:
2816 * insets/insetert.C:
2817 * insets/insetfloat.C:
2818 * insets/insetfoot.C:
2819 * insets/insetfootlike.C:
2820 * insets/insetnewline.C:
2821 * insets/insetquotes.C:
2822 * insets/insettabular.C:
2823 * insets/insettext.C:
2824 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2826 * frontends/controllers/ControlChanges.C: #include "changes.h".
2828 2003-09-06 Angus Leeming <leeming@lyx.org>
2830 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2831 than #including paragraph.h.
2834 * RowList.h: deleted. Superfluous.
2844 * insets/insettext.h: use ParagraphList_fwd.h rather than
2847 * paragraph.h: don't forward declare ParagraphList.
2850 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2851 rather than ParagraphList.h. paragraph.h is still needed for the
2852 Paragraph::depth_type parameters.
2854 * textcursor.h: enable it to compile stand-alone in light of the
2857 * bufferview_funcs.C:
2869 * frontends/controllers/ControlParagraph.C:
2870 * frontends/controllers/ControlTabular.C:
2871 * insets/insetmarginal.C:
2872 * insets/insetminipage.C:
2873 * insets/insetnote.C:
2874 * insets/insetoptarg.C: add header files needed to compile again.
2876 2003-09-06 Angus Leeming <leeming@lyx.org>
2878 * RowList_fwd.h: new file, forward-declaring Row rather than
2879 #including lyxrow.h.
2884 * insets/insettext.h: use it instead of RowList.h
2886 * bufferview_funcs.C:
2893 * text3.C: #include "RowList.h".
2895 2003-09-05 Angus Leeming <leeming@lyx.org>
2897 * factory.C (createInset):
2898 * vspace.C (c-tor): replace sscanf call with an istringstream.
2899 * ispell.C: re-add missing HP/UX headers.
2900 * lyxserver.C: re-add missing os2 headers.
2902 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2911 * text3.C: re-add missing system headers, needed for 2.95.2.
2913 2003-09-05 Angus Leeming <leeming@lyx.org>
2915 Changes most place everywhere due to the removal of using directives
2916 from support/std_sstream.h.
2918 2003-09-05 Angus Leeming <leeming@lyx.org>
2920 Replace LString.h with support/std_string.h,
2921 Lsstream.h with support/std_sstream.h,
2922 support/LIstream.h with support/std_istream.h,
2923 support/LOstream.h with support/std_ostream.h.
2925 Changes resulting throughout the tree.
2927 2003-09-05 Angus Leeming <leeming@lyx.org>
2929 * sgml.h: ensure that the header file can be compiled stand-alone.
2930 * *.C: strip out redundant #includes. (320 in total.)
2932 2003-09-04 Angus Leeming <leeming@lyx.org>
2934 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2935 here (from getPackages).
2937 * debug.[Ch]: add a new EXTERNAL tag.
2939 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2941 * text2.C (cursorEnd): simplify
2943 (getColumnNearX): adjust
2945 * text.C (computeBidiTables): adjust
2948 * rowpainter.C (paintChars): adjust
2949 (paintSelection): adjust
2950 (paintChangeBar): adjust
2953 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2955 (numberOfSeparators): adjust
2957 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2963 * text3.C: Restricts the mouse click functionality
2964 of insets like bibtex, include, toc and floatlist to the visible
2965 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2966 up the dialogs. Cursor has to be in front of the inset (i.e.
2967 start of row) for this to function.
2969 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2971 * bufferview_funcs.C (currentState): output row information
2973 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2975 * bufferview_funcs.C (currentState): output paragraph position
2977 2003-09-04 Angus Leeming <leeming@lyx.org>
2979 * FloatList.h: move out #include "Floating.h".
2980 * LaTeX.h: move out #include "DepTable.h".
2981 * LyXAction.h: move out #include "funcrequest.h".
2982 * buffer.h: move out #include "author.h", "iterators.h".
2983 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2984 * lyx_main.h: move out #include "errorlist.h".
2985 * lyxfunc.h: move out #include "FuncStatus.h".
2986 * lyxtext: move out #include "lyxcursor.h".
2987 * paragraph_pimpl.h: move out #include "counters.h".
2989 2003-09-03 Angus Leeming <leeming@lyx.org>
2991 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2992 preamble_snippets list, enabling us to add snippets to the preamble
2993 only if the snippet was not there already.
2995 2003-09-04 Angus Leeming <leeming@lyx.org>
2997 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2999 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3004 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3006 * BranchList.C: point fix, earlier forgotten
3008 2003-09-02 Angus Leeming <leeming@lyx.org>
3010 * box.C (contains): renamed from 'contained' after a fantastic
3013 2003-09-02 John Levon <levon@movementarian.org>
3019 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3021 2003-09-02 John Levon <levon@movementarian.org>
3023 * text2.C: simplification of cursorEnd(), including partial
3026 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * buffer.C (readFile): add a space
3030 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3032 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3034 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * buffer.C (readFile): new function, take a filename and a
3037 ParagraphList::iterator
3039 (readFile): adjust, make it private. don't use setStream, make
3040 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3041 always contain the filename.
3043 * BufferView.C (insertLyXFile): simplify and make it work for
3046 2003-08-30 John Levon <levon@movementarian.org>
3048 * Makefile.am: fix dist (from Kayvan)
3050 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * most files: change to use const Buffer refs
3054 2003-08-27 André Pönitz <poenitz@gmx.net>
3056 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3057 on top of ownerPar().
3059 2003-08-27 John Levon <levon@movementarian.org>
3061 * funcrequest.C: properly initialise POD members
3063 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3065 * lyxtext.h (top_y): move top_y from here
3070 * BufferView_pimpl.[Ch]: to here
3071 * frontends/screen.C:
3072 * insets/insettabular.C:
3073 * insets/insettext.C: adjust
3074 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3076 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3079 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3081 2003-08-26 André Pönitz <poenitz@gmx.net>
3083 * paragraph_func.[Ch] (outerPar): new function
3086 * paragraph_funcs.C:
3087 * paragraph_funcs.h:
3088 * paragraph_pimpl.C:
3089 * text2.C: remove Inset::par_owner
3091 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3096 * text2.C: eliminates the needFullRow/display() stuff
3097 altogether, putting the logic in metrics/draw in the insets.
3099 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3101 * text2.C (redoParagraphInternal, redoParagraphs):
3102 * text.C (redoParagraph): add a call to updateRowPositions at the
3103 end of each 'metrics-like' call. Remove all others.
3104 (getRow): remove the 'y-computing' version.
3105 (getRowNearY): do not compute nor return the real y. Solve the
3106 'y < 0' problem and simplify.
3108 2003-08-22 Angus Leeming <leeming@lyx.org>
3110 * *.[Ch]: clean-up of licence and author blurbs.
3111 Also move config.h out of a few .h files and into a few .C files.
3113 2003-08-22 André Pönitz <poenitz@gmx.net>
3115 * lyxrow.[Ch]: add x_ and *fill_ members
3120 * text2.C: adjust/remove prepareToPrint() calls
3122 2003-08-22 André Pönitz <poenitz@gmx.net>
3124 * lyxrow.[Ch]: add end_ member
3126 * lyxrow_funcs.C: use LyXRow::end_
3128 * lyxtext.h (singleWidth): add LyXFont parameter
3131 * text2.C: adjust LyXText::singleWidth() calls
3133 * text.C (redoParagraph): simplify row breaking logic
3136 2003-08-19 André Pönitz <poenitz@gmx.net>
3138 * funcrequest.C: initialize button_ member
3141 * rowpainter.[Ch]: interface consolidation
3143 2003-08-18 André Pönitz <poenitz@gmx.net>
3146 * BufferView_pimpl.C:
3148 * paragraph_funcs.C:
3150 * text3.C: remove LyXScreen::draw() and fitCursor calls
3152 * BranchList.h: remove spurious semicolons
3154 * MenuBackend.C: fix branchlist related crash
3156 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3164 * bufferparams.[Ch]:
3168 * text3.C: implements the 'branch inset'
3169 idea. This allows the output of various versions of a document
3170 from a single source version, selectively outputing or suppressing
3171 output of parts of the text.
3172 This implementation contains a 'branch list editor' in a separate
3173 tab of the document settings dialog. Branches are user definable
3174 and have a "display colour" to distinguish them on-screen.
3176 ColorHandler was somewhat cleaned up.
3177 (1) make possible a dynamically growing LColor list by allowing
3178 the graphic context cache to grow along (vector);
3179 (2) eliminate an IMHO unnecessary step in colour allocation.
3181 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3183 * BufferView_pimpl.C: compile fix
3185 2003-08-15 André Pönitz <poenitz@gmx.net>
3187 * rowpainter.C: remove extra metrics calls
3189 * lyxtext.h: merge the two constructors into a single one,
3190 pass reference to owner's par list
3192 * BufferView_pimpl.C:
3196 2003-08-15 André Pönitz <poenitz@gmx.net>
3198 * lyxrow_funcs.[Ch]:
3201 * paragraph_funcs.C:
3206 * text_funcs.C: split LyXText::rowlist_ into individual
3207 Paragraph::rows_ chunks
3210 * BufferView_pimpl.[Ch]:
3213 * text3.C: remove toggleSelection()
3215 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3217 * bufferlist.C: beautify two alerts (shorter text of buttons)
3218 * buffer.C: Remove redundant ' ' from message
3220 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3221 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3222 rename VALIGN_CENTER to VALIGN_MIDDLE
3224 2003-08-11 André Pönitz <poenitz@gmx.net>
3226 * lyxtext.h (getPar):
3227 * text.C: new function
3229 2003-08-11 André Pönitz <poenitz@gmx.net>
3232 * tracer.[Ch]: remove unneeded files
3234 * InsetList.[Ch]: remove resizeInsetsLyXText()
3239 * text3.C: merge insertParagraphs() and appendParagraph()
3240 remove breakAgain(), update()
3242 * BufferView_pimpl.[Ch]:
3243 * bufferview_funcs.[Ch]:
3247 * tabular.C: adjust after text & InsetList changes.
3249 2003-08-08 André Pönitz <poenitz@gmx.net>
3251 * text.C (insertChar, backspace): replace rowlist fiddling
3252 with rebreak of full par
3255 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3256 checkParagraph, updateInset): removed
3258 2003-08-07 André Pönitz <poenitz@gmx.net>
3261 * text3.C: merge some LFUN handlers, remove dead code
3263 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3265 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3267 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3269 * text2.C (DEPM): fix part of bug 1255 and 1256
3271 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3273 * BufferView_pimpl.C (workAreaDispatch): change to use
3274 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3275 that are no mouse related.
3277 2003-08-05 André Pönitz <poenitz@gmx.net>
3280 * BufferView_pimpl.[Ch]:
3281 * bufferview_funcs.C:
3283 * text3.C: rip out "deep update"
3285 * textcursor.[Ch] (last_sel_cursor): remove unused member
3287 2003-08-04 André Pönitz <poenitz@gmx.net>
3290 * BufferView_pimpl.[Ch]:
3291 * ParagraphParameters.C:
3292 * bufferview_funcs.C:
3298 * text3.C: replace "complicated" BufferView::update(...) calls with
3301 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3303 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3305 * Makefile.am (lyx_SOURCES): add paper.h
3307 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3309 * Makefile.am: move things around so that both lyx-qt and
3310 lyx-xforms can be built (according to --with-frontend). Then lyx
3311 is a symbolic link to lyx-[firstfrontend]
3313 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3315 * Always use std::endl with lyxerr
3317 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3319 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3321 2003-08-01 André Pönitz <poenitz@gmx.net>
3324 * BufferView_pimpl.[Ch]:
3326 * text3.C: merge BufferView::repaint() and BufferView::update()
3328 2003-08-01 José Matos <jamatos@lyx.org>
3330 * buffer.[Ch]: file_format is no longer a buffer data element.
3332 2003-08-01 André Pönitz <poenitz@gmx.net>
3337 * text2.C: make redoParagraph more independent of current cursor
3339 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3341 * text2.C: remove unneeded members
3343 2003-07-30 André Pönitz <poenitz@gmx.net>
3345 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3347 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3348 create a single function...
3350 * paragraph_funcs.C (moveItem): ... here.
3353 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3357 * LColor.[Ch]: Add comment and greyedout logical colors.
3359 2003-07-30 André Pönitz <poenitz@gmx.net>
3361 * tabular.C: don't use Assert too heavily. This crashes where it
3364 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3366 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3367 is disabled (bug 1232)
3369 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3371 * factory.C: limited 'arg' scope
3373 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3375 * factory.C: fixed Note submenu issues
3377 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3379 * factory.C: submenu for Note/Comment/Greyedout
3381 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3384 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3386 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3389 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3390 greyedout. Patch provided by Jürgen Spitzmüller.
3392 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3394 * kbmap.C (read): fix error message when reading bind files
3396 2003-07-29 Angus Leeming <leeming@lyx.org>
3398 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3399 certainly does not do what it purports to do. I am doing it, and
3400 us, a favour by killing it.
3402 2003-07-28 José Matos <jamatos@lyx.org>
3404 * buffer.C (readBody, do_writeFile):
3405 * paragraph.C(readParagraph): \end_document replaces \the_end.
3407 2003-07-29 André Pönitz <poenitz@gmx.net>
3410 * BufferView_pimpl.[Ch]:
3414 * textcursor.[Ch]: remove toggleToggle & Co
3416 2003-07-28 José Matos <jamatos@fep.up.pt>
3418 * buffer.C (readParagraph):
3419 * params_func (readParToken, readParagraph):
3420 * paragraph.C (write): \layout -> \begin_layout.
3422 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * lyxlex_pimpl.C (setFile): clean up slightly.
3426 * bufferparams.h: add compressed var
3428 * buffer_funcs.C (readFile): adjust for LyXLex change
3429 (newFile): ditto + simplify
3431 * buffer.C (writeFile): handle writing of compressed files
3433 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3434 Check if the file is compressed and set a bufferparm if so.
3436 * Makefile.am (lyx_LDADD): remove explicit -lz
3438 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3440 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3441 makeDocBookFile): put the real LyX version in the first line of
3445 * version.C.in: remove lyx_docversion
3447 * tabular.C (write_attribute): add a template-based version to
3448 write enums properly
3450 2003-07-28 André Pönitz <poenitz@gmx.net>
3455 * text3.C: use doubles again for x-coordinates. They are needed.
3457 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * messages.C (getLocaleDir): use lyx_localedir()
3461 * lyxlex_pimpl.C (setFile): compress stuff
3463 * buffer.C (writeFile): add some compression stuff
3464 (do_writeFile): new func, dont call expliti close... will this
3467 * Makefile.am (lyx_LDADD): add -lz
3469 2003-07-28 José Matos <jamatos@fep.up.pt>
3471 * buffer.C: increment file format.
3472 * paragraph_funcs (readParagraph, readParToken):
3473 * paragraph.C (readParagraph): add \end_layout.
3475 2003-07-27 Angus Leeming <leeming@lyx.org>
3477 * Makefile.am: remove special casing for configure-time setting of
3478 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3480 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3481 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3483 2003-07-26 André Pönitz <poenitz@gmx.net>
3485 * paragraph_func.[Ch]:
3486 * paragraph.C (realizeFont): inline it whereever it is used
3491 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3494 2003-07-26 André Pönitz <poenitz@gmx.net>
3498 * text2.C: get rid of LyXText::need_break_row
3500 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3502 * toc.[Ch]: put namespace toc inside namespace lyx
3504 * MenuBackend.C (expandToc2): adjust for lyx::toc
3507 * lyxfunc.C (dispatch): adjust for lyx::find
3509 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3510 lyx::find instead. Reorganize a bit.
3511 (LyXReplace): rename to replace
3512 (LyXFind): rename to find
3514 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3517 2003-07-26 André Pönitz <poenitz@gmx.net>
3519 * text.C (setHeightOfRow): restrict scope of temporary variable
3521 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3522 code (never has been used?)
3524 2003-07-27 Asger Alstrup <alstrup@local>
3526 * text.C (fill): Optimise algorithm to exploit that we can reuse
3527 the LyXFont for many characters.
3528 (setHeightOfRow): Same thing.
3529 (rowBreakPoint): Same thing.
3531 2003-07-26 Asger Alstrup <alstrup@local>
3533 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3535 * text.C (singleWidth): Spurious font copying in hot-spot
3536 singleWidth avoided. Reorder tests for arabic for efficiency.
3538 * text.C (fill): handle empty paragraphs better.
3540 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3543 * encoding.h: add includes
3545 * lyxrc.C: remove reading of bind files
3547 * lyx_main.C (init): setup bindings and menus only if we have a
3550 * kbmap.C (read): new method. Do the actual reading of bind
3553 * converter.C (dvipdfm_options):
3556 (output): adapt PAPER_* enums.
3558 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3560 * bufferparams.h: remove paper-related enums from there
3562 * paper.h: New file. A trivial header file to hold paper-related
3563 enums. It should later expand to contain many paper-related
3566 * lyxrc.C: declare extern displayTranslator
3568 2003-07-27 José Matos <jamatos@fep.up.pt>
3570 * tabular.[Ch] (linuxdoc): add support for tables and figures
3573 2003-07-27 José Matos <jamatos@fep.up.pt>
3575 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3576 consistency in both functions.
3577 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3579 2003-07-26 Asger Alstrup <alstrup@local>
3581 * rowpainter.C (paintRows): Change algorithm to work directly on
3582 the insets rather than asking every character in the document
3583 whether its an inset.
3585 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3587 * buffer.C (openFileWrite): factorize some code
3589 2003-07-26 Angus Leeming <leeming@lyx.org>
3592 * lyx_main.[Ch]: replace occurances of system_tempdir with
3595 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * rename Inset to InsetOld
3599 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3601 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3602 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3603 which I think is a bit clearer. EDIT is gone, since it was
3604 premature optimisation, and broken for mathed anyway.
3605 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3606 with cursor positioning in insets as well (math insets still do not
3607 work, but that's a different story anyway.) It mysteriously
3608 crashes sometimes with undo in the first paragraph, but I'm fairly
3609 confident that this is a compiler bug.
3611 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * paragraph.C (Paragraph): adjust for new clone return type
3615 (copyIntoMinibuffer): ditto
3617 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3619 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3620 by not having a special case, and always doing a full rebreak of
3621 the document after undo.
3623 2003-07-23 Angus Leeming <leeming@lyx.org>
3625 * factory.C (createInset): InsetExternal::setParams now takes a
3628 2003-07-23 Angus Leeming <leeming@lyx.org>
3630 * factory.C (createInset): changed interface to the external and
3631 graphics mailers' string2params functions.
3633 2003-07-23 Angus Leeming <leeming@lyx.org>
3635 * factory.C (createInset): pass a
3636 Buffer const * parameter to InsetExternalMailer's string2params.
3638 2003-07-22 John Levon <levon@movementarian.org>
3640 * Thesaurus.h: include the right aiksaurus header
3642 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3644 * MenuBackend.C (expand): check menu shortcuts unconditionally
3646 2003-07-21 Angus Leeming <leeming@lyx.org>
3648 * factory.C (createInset): pass a
3649 buffer_path parameter to InsetGraphicsMailer's string2params.
3651 2003-07-21 Angus Leeming <leeming@lyx.org>
3653 * BufferView_pimpl.C (buffer):
3656 * lyxfunc.C (dispatch):
3657 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3658 rather than the grfx shortcut.
3660 2003-07-21 André Pönitz <poenitz@gmx.net>
3662 * rowpainter.C: remove unused variables
3665 * tabular_funcs.h: move to tabular.C
3666 * Makefile.am: adjust
3668 * tabular.[Ch]: basic optical cleaning
3670 * author.h: pass references, not values
3672 2003-07-18 André Pönitz <poenitz@gmx.net>
3680 * text3.C: two-phase drawing for InsetText and InsetTabular
3681 some float -> int changes.
3683 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3685 * lyx_main.C: fix the fix
3687 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3689 * lyx_main.C: fix a crash in batch mode if no files specified
3692 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3694 * format.[Ch] (papersize): moved to BufferParams
3695 * converter.[Ch] (dvips_options): moved to BufferParams
3696 (dvipdfm_options): moved to anon namespace
3697 * bufferparams.[Ch]: added above functions.
3699 2003-07-17 André Pönitz <poenitz@gmx.net>
3703 * text2.C: don't call inset->update() anymore
3705 * metricsinfo.[Ch]: add convenience constructor
3707 2003-07-16 André Pönitz <poenitz@gmx.net>
3712 * text2.C: replace the LyXCursor::irow_ member with
3713 on-demand computation of the value
3715 2003-07-16 John Levon <levon@movementarian.org>
3717 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3719 2003-07-15 André Pönitz <poenitz@gmx.net>
3722 * text2.C: remove no more needed refresh_row
3724 2003-07-15 André Pönitz <poenitz@gmx.net>
3729 * text3.C: refresh_status tristate -> need_update bool
3731 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3733 * lyxtext.h (init): remove reinit argument (act as if always true)
3734 * text2.C: adjust to that
3736 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3738 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3739 * text3.C: use it to delete selections in some cases
3740 (bugs 441, 673, 702, 954).
3742 2003-07-14 André Pönitz <poenitz@gmx.net>
3744 * rowpainter.[Ch]: reduce interface
3746 2003-07-14 André Pönitz <poenitz@gmx.net>
3748 * BufferView_pimpl.C:
3749 * text2.C: adjust after removing unused BufferView * argument
3751 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3753 * text2.C (init): fix a crash fired on resize
3755 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3757 * buffer.[Ch]: added new closing signal
3758 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3759 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3760 BufferView::Pimpl via the closing the signal
3762 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3764 * buffer.[Ch]: take out all bv-related from buffer
3766 * BufferView_pimpl.[Ch]: connect to new signals
3767 * CutAndPaste.C: removed useless asserts
3768 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3771 * lyxfunc.C: moved view-related funciontality from vc here
3772 * paragraph.C: removed outdated comments
3775 2003-07-10 André Pönitz <poenitz@gmx.net>
3777 * BufferView_pimpl.C:
3781 * text2.C: remove InsetText::InnerCache, clean up consequences
3783 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3785 * ispell.C: fix two typos in error messages
3787 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3789 * Extend Note inset to other forms of annotation like Comment
3790 and Greyedout. Right button click gives dialog.
3792 Files modified or added (+):
3796 * ControlNote.[Ch] +
3798 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3799 frontends/controllers
3803 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3805 * aspell.C: add missing namespace lyx::support
3807 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3809 * BufferView.[Ch] (newFile): Add
3810 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3811 * LaTeX.[Ch] (message): added this signal and use it
3812 * buffer.[Ch] (busy, message): added these signals and use them
3813 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3817 * importer.C: use buffer signals instead of direct bv calling
3818 * lyx_cb.[Ch] (ShowMessage): removed
3821 * paragraph_funcs.C:
3822 * text2.C: use buffer signals
3824 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * introduce namespace lyx::graphics
3828 2003-07-02 André Pönitz <poenitz@gmx.net>
3830 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3832 2003-07-01 André Pönitz <poenitz@gmx.net>
3839 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3840 text*.C to text_func.C
3842 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * introduce namespace lyx::support
3846 2003-06-30 André Pönitz <poenitz@gmx.net>
3851 * text.C: re-enable --with-included-string
3853 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * textcursor.C: add <config.h>
3857 * text.C (getWord): remove const from word_location arg
3859 * lyxvc.C (getLogFile): fix const type order
3861 * lyxtext.h: remove const from word_location arg, add arg name
3863 * lyxlayout.h: currect type on labeltype.
3865 * importer.C: correct \file
3867 * converter.C (intToFormat): use std:: on ret val, ws changes
3869 * bufferlist.h: correct \file
3871 * buffer.C (makeLinuxDocFile): fix const type order
3872 (makeDocBookFile): ditto
3873 (fillWithBibKeys): use std:: on stdlib args.
3875 * CutAndPaste.C: fix authors.
3876 (availableSelections): use std:: on return vector
3878 2003-06-27 André Pönitz <poenitz@gmx.net>
3880 * BufferView_pimpl.C:
3881 * bufferview_funcs.C:
3889 * text3.C: remove LyXCursor::row_ member
3892 * text.C: rename fullRebreak() to partialRebreak() and implement
3893 a fullRebreak() that really bereks fully
3895 * textcursor.h: new struct for cursor-related data
3897 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3899 * lyx_main.C (LyX): get full path of document loaded on the
3902 2003-06-26 André Pönitz <poenitz@gmx.net>
3904 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3905 remove unused/broken operator>,<,>=.
3907 * text.C: remove only use of broken operator<= in an Assert().
3909 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3911 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3912 moved errorlist_.clear to showErrorList
3914 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3916 * converter.C (scanLog, runLaTeX):
3917 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3918 move the bv->showErrorList call to the callers
3919 * lyxfunc.C: i.e. here...
3921 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3922 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3923 namespace, the second to...
3924 * buffer_funcs (BufferFormat, parseErrors): added
3925 * errorlist.C (ErrorList(TeXErrors const &)): removed
3927 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3929 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3931 2003-06-24 "Garst R. Reese" <reese@isn.net>
3935 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3937 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3939 * version.C.in: change docversion to 1.4
3941 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3943 * buffer.C: fix a bug just introduced
3945 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3947 * buffer.[Ch]: added the parseError signal and use it, removed
3949 * BufferView.[Ch] (addError): moved to ...
3950 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3951 to the Buffer::parseError signal to catch (guess what) parse errors
3952 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3954 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3956 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3957 ability to create a buffer and to return an existing one from
3958 the list. Moved these functions to...
3959 * buffer_funcs.[Ch]: added
3960 * BufferView.[Ch] (loadLyXFile): added
3961 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3962 job removed from bufferlist::loadLyXFile.
3963 * buffer.C (setReadOnly): make it work without view
3964 (i.e added an if (users))
3966 2003-06-19 Angus Leeming <leeming@lyx.org>
3969 * LyXAction.C (init):
3970 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3971 with LFUN_DIALOG_SHOW <name> <data>.
3973 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3975 * CutAndPaste.C (availableSelections): small compilation fix for
3976 ancient (gcc 2.9x) compilers
3978 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * text3.C (cursorNext): add tmp var
3982 * text2.C (updateCounters): for function calling out of for clause
3983 (replaceSelectionWithString): ditto
3984 (insertStringAsParagraphs): ditto
3985 (getColumnNearX): add tmp var
3986 (setCursorFromCoordinates): add tmp var
3987 (cursorDownParagraph): add tmp var
3988 (deleteEmptyParagraphMechanism): add tmp var
3990 * text.C (insertChar): add tmp var
3992 * rowpainter.C (paintDepthBar): add tmp var
3994 * CutAndPaste.C (availableSelections): potentially check all
3995 paragraphs in a cut to fill the shown strings.
3997 2003-06-18 André Pönitz <poenitz@gmx.net>
3999 * kbmap.[Ch]: use vector<> instead of list<>
4001 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4003 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4004 pasteSelection with index
4006 * text2.C (pasteSelection): modify, call pasteSelection with index
4008 * paragraph.C (asString): reimplement version with no interval to
4009 call the one with interval.
4011 * lyxtext.h: add index arg to pasteSelection
4013 * MenuBackend.C (MenuItem): handle PasteRecent
4014 (Menu::read::Menutags): add md_pasterecent
4016 (expandPasteRecent): new function
4019 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4021 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4023 (availableSelections): new function
4025 2003-06-17 Angus Leeming <leeming@lyx.org>
4027 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4029 2003-06-17 Angus Leeming <leeming@lyx.org>
4032 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4034 * lyxfunc.C (dispatch): invoke it.
4036 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4038 * iterators.C (operator++, ParPosition): reintroduce some
4039 const_cast for the benefit of older compilers.
4041 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4043 * text3.C (dispatch): do not modify clipboard when doing
4044 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4045 LFUN_DELETE_SKIP on a selection selection
4047 2003-06-16 André Pönitz <poenitz@gmx.net>
4053 * tabular.[Ch]: IU of clone() and getLabelList();
4055 2003-06-13 André Pönitz <poenitz@gmx.net>
4057 * tabular.h: compactification
4059 2003-06-12 André Pönitz <poenitz@gmx.net>
4063 * tabular_funcs.h: some renaming plus whitespace
4065 2003-06-12 André Pönitz <poenitz@gmx.net>
4068 * BufferView_pimpl.C:
4074 * toc.C: Return a Paragraph & for ParIterator::operator*()
4076 2003-06-11 John Levon <levon@movementarian.org>
4080 * ToolbarBackend.C: add "Toolbars" section and
4083 2003-06-10 Angus Leeming <leeming@lyx.org>
4086 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4088 * lyxfunc.C (dispatch): invoke it.
4090 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * main.C: protect <ios> with HAVE_IOS
4093 (main): protect sync_with_stdio with HAVE_IOS
4095 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4097 * text2.C (cutSelection): adjust
4098 (pasteSelection): adjust
4100 * messages.C: handle get of empty string
4102 * main.C (main): use sync_with_stdio(false)
4104 * lyxfunc.C (dispatch): adjust
4106 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4107 (WriteAs): remove unneeded BufferView arg.
4109 * bufferparams.h: use correct types on papersize, papersize2 and
4112 * bufferparams.C (readToken): adjust for type
4113 (writeLaTeX): add missing cases to switch.
4115 * bufferlist.C (quitWriteBuffer): adjust
4118 * buffer.C (asciiParagraph): remove some commented code.
4120 * CutAndPaste.C: remove current_view extern variable.
4121 (cutSelection): add BufferParams arg.
4122 (eraseSelection): add BufferParams arg.
4123 (pasteSelection): add Buffer const & arg
4125 2003-06-07 John Levon <levon@movementarian.org>
4128 * paragraph_funcs.C:
4129 * paragraph_pimpl.C:
4133 * paragraph.C: allow InsetERT to freely space lines,
4134 and some consolidation of code
4136 2003-06-06 José Matos <jamatos@fep.up.pt>
4138 * buffer.C (makeDocBookFile): fix bug #821
4140 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4142 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4144 2003-06-04 Angus Leeming <leeming@lyx.org>
4146 * buffer.C: bump format to 224.
4148 2003-06-05 André Pönitz <poenitz@gmx.net>
4150 * text2.C (redoParagraphs): remove two const_cast<>
4152 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4154 * ParagraphList.h: remove last remnants of NO_STD_LIST
4156 2003-06-03 Angus Leeming <leeming@lyx.org>
4158 * factory.C (createInset): small change to the way InsetExternal's params
4161 2003-06-04 André Pönitz <poenitz@gmx.net>
4163 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4165 * paragraph_pimpl.h:
4166 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4168 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4170 * undo_funcs.C: make some simple cases of undo work again
4172 2003-06-03 John Levon <levon@movementarian.org>
4174 * ispell.C: HPUX doesn't have sys/select.h
4177 2003-06-03 John Levon <levon@movementarian.org>
4179 * CutAndPaste.C: update tabular and include inset
4184 * paragraph.C: remove owningBuffer(), don't pass Buffer
4187 * factory.C: insetGraphicsParams changed
4189 2003-06-02 John Levon <levon@movementarian.org>
4195 * text3.C: remove insetparent
4197 2003-06-02 John Levon <levon@movementarian.org>
4200 * buffer.C: fix inset_iterator.end(), move out of line
4203 2003-06-01 John Levon <levon@movementarian.org>
4205 * text3.C: use a proper cut/paste when doing inset
4206 insert (from Jürgen Spitzmüller)
4208 2003-06-01 John Levon <levon@movementarian.org>
4210 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4212 2003-05-30 André Pönitz <poenitz@gmx.net>
4214 * rowpainter.C: unify second drawing phase
4216 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4218 * trans_mgr.C: remove one case of current_view
4220 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4222 * paragraph_funcs.h: remove paragraph.h include
4224 * paragraph.h: delete NO_STD_LIST stuff
4226 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4228 * buffer.h: remove paragraph.h include
4230 * ParagraphList.C: delete file
4232 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4234 * toc.C (getTocList): adjust
4236 * paragraph_pimpl.C (validate): adjust
4238 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4240 * paragraph.C (Paragraph): adjust
4241 (getPositionOfInset): use const_iterator, adjust
4242 (bibitem): use const_iterator, adjust
4243 (setInsetOwner): adjust
4245 * iterators.C (operator++): adjust
4247 * InsetList.[Ch]: Replace selfmade iterator with standard
4248 vector::iterator also introduce const_iterator. Remove getPos,
4249 getInset and setInset from InsetTable. Adjust accordingly.
4251 * BufferView.C (lockInset): adjust
4252 (ChangeInsets): adjust
4254 * tabular.[Ch]: delete commented same_id functions
4256 2003-05-28 John Levon <levon@movementarian.org>
4258 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4260 2003-05-28 André Pönitz <poenitz@gmx.net>
4262 * metricsinfo.[Ch]: remove 'fullredraw' member
4264 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4266 * lyxtextclass.C (operator): remove caching.
4268 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * text2.C (cursorBottom): adjust
4273 (setCounter): use ParagraphList::find, adjust
4275 * text.C (workWidth): use ParagraphList::find, adjust
4277 * lyxcursor.C (LyXCursor): adjust
4279 * buffer.C (inset_iterator): adjust
4281 * ParagraphList.h: make iterator(value_type) private, make
4282 ParagraphList a friend of iterator.
4284 * ParagraphList.C (find): new function
4286 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4288 2003-05-27 André Pönitz <poenitz@gmx.net>
4290 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4292 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4294 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4296 2003-05-26 John Levon <levon@movementarian.org>
4298 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4300 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * remove same_id from function signatures, adjust.
4304 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4308 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4310 * paragraph.C (Paragraph): get rid of same_ids parameter
4312 * ParagraphList.C (insert): adjust
4315 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * paragraph_funcs.C (breakParagraph): adjust
4318 (breakParagraphConservative): adjust
4320 * buffer.C (readParagraph): adjust
4322 * ParagraphList.C (insert): take a reference instead of a pointer
4325 * paragraph.[Ch] (id): new function
4327 * bufferlist.C (newFile): adjust
4329 * ParagraphList.C (ParagraphList): adjust
4331 (push_back): take a reference instead of a pointer.
4333 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4335 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4338 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4339 set else use old code.
4341 * ParagraphList.C: remove all NO_NEXT code and only compile this
4342 code of NO_STD_LIST is set.
4344 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4346 * BufferView_pimpl.C:
4356 * graphics/GraphicsConverter.C:
4357 * graphics/PreviewLoader.C: header adjustment
4359 2003-05-23 Angus Leeming <leeming@lyx.org>
4361 * LaTeXFeatures.[Ch] (useBabel): new method.
4362 * bufferparams.C (writeLaTeX): use it.
4364 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * ParagraphList.h (set): remove unused function.
4368 2003-05-23 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.C:
4375 * undo_funcs.C: setUndo reworked
4377 * iterators.[Ch]: add access to topmost ParagraphList
4379 * lyxtext.[Ch] (workWidth): add a const
4381 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4383 * texrow.[Ch] (increasePos): remove function
4384 * exporter.C (export): removed unused var and outdated comment
4386 2003-05-23 Angus Leeming <leeming@lyx.org>
4388 * latexrunparams.h: rename fragile as moving_arg.
4389 * paragraph.C (simpleTeXOnePar): ditto.
4390 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4392 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4396 (textUndoOrRedo): comment out a currently unused var.
4398 * paragraph.h (NO_NEXT): enable NO_NEXT
4400 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4402 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4404 * exporter.C (Export): adjust for removeAutoInsets removal.
4406 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4408 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4410 * BufferView.[Ch] (removeAutoInsets): delete function
4412 2003-05-22 Angus Leeming <leeming@lyx.org>
4414 * latexrunparams.h: add a free_spacing variable.
4416 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4417 to pass moving_arg, as the data is stored in runparams.fragile.
4419 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4420 to Inset::latexOptional or to simpleTeXOnePar.
4422 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4423 free_spacing arg to Inset::latexOptional.
4425 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4428 2003-05-22 Angus Leeming <leeming@lyx.org>
4430 * latexrunparams.h: add fragile and use_babel variables.
4432 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4433 * buffer.C (makeLaTeXFile): store this returned value in
4434 runparams.use_babel, thus passing it to the inset::latex methods.
4436 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4437 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4439 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4440 longer has a fragile arg, as it is stored in runparams.fragile.
4442 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4443 moving_arg parameter as the data is stored in runparams.fragile.
4445 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4446 a fragile parameter as the data is stored in runparams.fragile.
4448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4452 2003-05-22 Angus Leeming <leeming@lyx.org>
4454 * latexrunparams.h: add a 'bool nice' which defaults to false.
4456 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4457 now encapsulated within runparams.
4459 * bufferlist.C (updateIncludedTeXfiles):
4460 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4462 2003-05-22 Angus Leeming <leeming@lyx.org>
4464 * latexrunparams.h: new file containing struct LatexRunParams.
4465 * Makefile.am: add new file.
4467 * LaTeX.[Ch] (c-tor, run):
4468 * buffer.[Ch] (makeLaTeXFile):
4469 * bufferlist.[Ch] (updateIncludedTeXfiles):
4470 * converter.C (convert, scanLog):
4471 * converter.[Ch] (runLaTeX):
4472 * exporter.C (Export):
4473 * paragraph.[Ch] (simpleTeXOnePar):
4474 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4475 * paragraph_funcs.[Ch] (latexParagraphs):
4476 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4477 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4478 pass around a LatexRunParams parameter.
4480 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * paragraph.[Ch]: remove unused constructor
4484 * ParagraphList.C (erase): new function, taking two iterators
4486 2003-05-22 André Pönitz <poenitz@gmx.net>
4488 * undo_funcs.C: remove duplicated code
4490 * iterator.[Ch]: operator=
4492 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * tabular.C (SetMultiColumn): ws changes
4496 * rowpainter.C (paintFirst): get rid of a ->previous
4498 * lyx_cb.C (getPossibleLabel): parlist simplification
4500 * BufferView.C (ChangeInsets): simplify slightly.
4502 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4504 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4505 * lfuns.h: new LFUN_SPACE
4506 * lyxfunc.C: protected space has a new lfun
4507 * paragraph_funcs.C: read new space insets
4509 * factory.C: handle new space insets
4511 2003-05-22 André Pönitz <poenitz@gmx.net>
4514 * BufferView_pimpl.C:
4517 * undo_funcs.C: return a ParIterator from getParFromID.
4519 * iterators.[Ch]: add two const's
4521 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * toc.C (getTocList): adjust
4525 * iterators.[Ch]: rework for parlist
4527 * buffer.C (par_iterator_begin): adjust
4528 (par_iterator_end): adjust
4530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4532 * BufferView.C (removeAutoInsets): adjust
4533 (ChangeInsets): adjust
4535 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4537 * text.C (top_y): fix bug 1110
4539 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4541 * errorlist.[Ch]: added
4544 * BufferView_pimpl.C:
4545 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4548 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * Makefile.am: ensure that lyx is relinked upon changes to the
4551 various "convenience" libs.
4553 2003-05-20 Angus Leeming <leeming@lyx.org>
4555 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4556 files are compiled in alphabetical order again.
4558 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4560 2003-05-19 Angus Leeming <leeming@lyx.org>
4562 * gettext.[Ch]: remove "char const * _(char const *)".
4564 2003-05-19 André Pönitz <poenitz@gmx.net>
4566 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4575 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4577 2003-05-19 André Pönitz <poenitz@gmx.net>
4581 * lyxtextclass.[Ch]:
4583 * paragraph_funcs.[Ch]:
4585 * text3.C: more insetenv work
4587 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4589 * ParagraphParameters.C (params2string): small bug fixed
4591 2003-05-16 André Pönitz <poenitz@gmx.net>
4594 * bufferview_funcs.C: patch from Kornel Benko to prevent
4595 crash when _(...) is called twice in a statement
4597 2003-05-16 André Pönitz <poenitz@gmx.net>
4604 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4606 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4608 * lyx_main.C (init): remove spurious static_cast
4610 2003-05-14 André Pönitz <poenitz@gmx.net>
4612 * BufferView.C: fix format string
4614 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4616 * BufferView.[Ch] (insertErrors): removed
4617 * BufferView.[Ch] (showErrorList): added
4618 * buffer.C (runChkTeX):
4619 * converter.C (scanLog): call showErrorList instead of inserterrors
4621 2003-05-13 André Pönitz <poenitz@gmx.net>
4623 * BufferView_pimpl.C:
4625 * bufferview_func.C:
4632 * tabular_funcs.h: tostr() from its own header
4634 * ParagraphParameters.C:
4639 * text3.C: STRCONV()
4641 2003-05-12 André Pönitz <poenitz@gmx.net>
4644 * BufferView_pimpl.C:
4648 * ParagraphParameters.C:
4652 * bufferview_funcs.C:
4665 * paragraph_funcs.C:
4669 * text3.C: boost::format -> bformat all over the place
4672 2003-05-09 André Pönitz <poenitz@gmx.net>
4674 * LColor.[Ch]: Pimpl the #include <map> away
4676 2003-05-09 John Levon <levon@movementarian.org>
4678 * bufferlist.C: never remove emergency saves
4680 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * Makefile.am: better lib building
4684 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4688 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4689 (simpleTeXSpecialChars): adjust
4690 (simpleTeXSpecialChars): adjust
4691 * paragraph.C (simpleTeXOnePar): adjust
4692 * buffer.C (makeLaTeXFile): adjust
4694 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4696 * text2.C (changeDepth): parlist cleanup
4697 (getColumnNearX): ditto
4699 * rowpainter.C (getLabelFont): parlist cleanup
4701 * bufferlist.C (newFile): parlist cleanup
4703 * CutAndPaste.C (eraseSelection): parlist cleanup
4705 * BufferView_pimpl.C (trackChanges): parlist cleanup
4708 * BufferView.C (lockInset): parlist cleanup.
4709 (ChangeInsets): ditto
4711 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * CutAndPaste.h: Update file header.
4715 * CutAndPaste.C: Update file header.
4716 Store the parts cut out of the Document in a limited_stack.
4717 (copySelection): adjust
4718 (pasteSelection): new function, takes the index in the limited stack.
4719 (nrOfParagraphs): adjust
4720 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4721 simplify error inset insertion.
4722 (checkPastePossible): adjust
4724 2003-05-06 John Levon <levon@movementarian.org>
4726 * text2.C: don't cast wrap inset to float
4728 2003-05-05 André Pönitz <poenitz@gmx.net>
4731 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4733 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4734 few naked Paragraph *.
4736 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4738 * bufferparams.C: Output warning if a document with missing
4739 TeX document class is loaded
4740 * exporter.C: Disable TeX exports if the document class is missing
4743 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4744 isTeXClassAvailable()
4746 2003-05-03 John Levon <levon@movementarian.org>
4749 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4750 explicit cursor show/hide
4752 * BufferView_pimpl.h:
4753 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4754 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4756 * lyxfunc.C: hide cursor before dispatching.
4761 * text3.C: remove explicit cursor hides
4763 2003-05-02 André Pönitz <poenitz@gmx.net>
4765 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4768 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4771 * text2.C: tiny whitespace
4773 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * undo_funcs.C: almost only ws changes.
4777 * ParagraphList.C (splice): just return if pl is empty.
4779 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * ParagraphList.C (splice): new function.
4783 * CutAndPaste.C (pasteSelection): use it
4785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * CutAndPaste.C (pasteSelection): remove the last next and
4788 previous from this file.
4790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * CutAndPaste.C (pasteSelection): more clean up, user proper
4793 ParagraphList functions for pasteing.
4795 * ParagraphList.C (insert): new function, three arg insert
4797 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * ParagraphList.C (insert): new function, three arg insert
4801 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4804 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4808 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4815 (copySelection): clean up a bit.
4816 (pasteSelection): use make_pair
4818 * ParagraphList.C (ParagraphList): implement copy constructor
4819 (operator=): implement, base on copy constructor.
4822 * paragraph.C (erase): return a bool
4824 * paragraph_pimpl.C (erasePos): remove function, move contents...
4825 (erase): ... here. Return a bool.
4826 (erase): call erase instead of erasePos.
4828 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4830 * ParagraphList.h: define PitPosPair
4831 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4832 ParagraphList, fix a bug on pasting multiple pars
4833 * text2.C: change interface to C&P
4835 2003-04-30 André Pönitz <poenitz@gmx.net>
4837 * undo_func.C: revert part of yesterday's patch 2
4839 2003-04-30 John Levon <levon@movementarian.org>
4841 * LColor.C: s/tabular/table/
4843 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * text3.C (dispatch): do not convert iterator -> pointer
4846 * undo_funcs.C (setCursorParUndo): ditto
4847 * text_funcs.C (transposeChars): ditto
4849 * text2.C (setLayout): ws changes only
4851 * text.C (breakParagraph): do not convert iterator -> pointer
4853 (acceptChange): ditto
4854 (rejectChange): ditto
4859 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4862 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4864 * text3.C (gotoInset): YABG (yet another bad getChar)
4866 2003-04-29 André Pönitz <poenitz@gmx.net>
4868 * paragraph.h: make operator= private unimplemented as long as
4871 * ParagraphList.C: whitespace
4874 * paragraph_pimpl.[Ch]:
4875 * paragraph_funcs.C:
4877 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4880 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4882 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4884 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4885 * paragraph.[Ch] (erase):
4886 * paragraph_pimpl.[Ch] (erase): change return type and value
4887 * text2.C (cutSelection): some rework
4889 2003-04-28 John Levon <levon@movementarian.org>
4891 * bufferlist.C: changes for unsaved changes dialog
4893 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * bufferlist.C (newFile): set language (messages_) for new
4898 * buffer.C (readFile): ws changes only.
4900 2003-04-28 André Pönitz <poenitz@gmx.net>
4905 * BufferView_pimpl.C:
4906 * BufferView.C: getParFromID related ParagraphList::iterator changes
4908 2003-04-28 André Pönitz <poenitz@gmx.net>
4910 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4913 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4915 * messages.C: remove one more localedir class variable.
4917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * messages.C (getLocaleDir): singleton generation function
4921 (Messages): add a default constructor.
4923 * main.C (main): do not setup localedir here, do not call
4926 * gettext.C (_): use it.
4927 (gettext_init): delete funciton
4929 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * gettext.C (getLyXMessages): new singleton generating function.
4933 * buffer.C (updateDocLang): adjust
4935 * Makefile.am (messages.o): add target
4936 (main.o): remove target
4938 2003-04-27 John Levon <levon@movementarian.org>
4943 * lyxvc.C: specify cancel button in Alert::prompt
4945 2003-04-26 John Levon <levon@movementarian.org>
4950 * LyXAction.C: add LFUN_INSET_SETTINGS
4952 * lyxfunc.C: don't enable tabular-feature when there's
4953 just any locking inset
4955 2003-04-26 John Levon <levon@movementarian.org>
4957 * bufferlist.C: re-add Cancel to buffer close question
4959 * lyxfunc.C: fix import UI a bit
4961 2003-04-25 John Levon <levon@movementarian.org>
4963 * gettext.C: remove the broken asserts for now
4965 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4967 * messages.C: make case where setlocale cannot comply work better.
4969 * buffer.C (updateDocLang): new function
4970 (changeLanguage): use it
4973 * text2.C (setCounter): use B_ a bit.
4975 * lyxlayout.C (Read): be sure to trim the label strings.
4977 * messages.C (Messages): fix typo in comment
4979 * buffer.C (readFile): set message_ after file is loaded.
4980 (makeDocBookFile): remove double return
4981 (changeLanguage): reset message_ upon language change.
4982 (B_): new func, use this to get translated buffer strings.
4984 * main.C: add myself and Jean Marc as authors.
4986 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * messages.[hC]: pimplify Messages, and three different pimpls to be
4989 used in different circumstances.
4991 * gettext.[Ch]: change for use with new message code.
4993 2003-04-24 André Pönitz <poenitz@gmx.net>
4995 * factory.C: support for eqref
4997 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * messages.[Ch]: add missing char
5001 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5003 * messages.[Ch]: New files
5005 2003-04-18 John Levon <levon@movementarian.org>
5009 * BufferView_pimpl.C:
5013 * text2.C: remove layout-copy/paste (bug 778)
5015 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5017 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5019 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5021 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5022 if they succeed. Act accordingly.
5024 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * text2.C (setCharFont): adjust
5027 (setCounter): adjust
5028 (insertStringAsLines): adjust
5030 * text.C (leftMargin): adjust
5031 (setHeightOfRow): adjust
5033 * rowpainter.C (paintFirst): adjust
5036 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5038 (isFirstInSequence): ditto
5039 (getEndLabel): ditto
5042 * paragraph.C (getParLanguage): comment out some hard stuff.
5044 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5046 (simpleDocBookOnePar): ditto
5047 (makeDocBookFile): use ParagraphList::iterator
5049 * CutAndPaste.C (pasteSelection): adjust
5051 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * text2.C (getFont): adjust
5054 (getLayoutFont): adjust
5055 (getLabelFont): adjust
5057 * paragraph_funcs.C (TeXOnePar): adjust
5059 * buffer.C (simpleLinuxDocOnePar): adjust
5060 (simpleDocBookOnePar): adjust
5062 * CutAndPaste.C (pasteSelection): adjust
5064 * BufferView.C (getEncoding): adjust
5066 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5068 2003-04-16 John Levon <levon@movementarian.org>
5070 * lyxfind.C: use parlist stuff for search/changes
5072 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5076 * text2.C (deleteEmptyParagraphMechanism): adjust
5078 * text2.[Ch] (ownerParagraph): delete func (both of them
5080 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5084 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * ParagraphList.C: prepare for NO_NEXT
5088 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * text2.C (getFont): adjust
5091 (getLayoutFont): adjust
5092 (getLabelFont): adjust
5094 * paragraph.C (getFont): adjust
5095 (getLabelFont): adjust
5096 (getLayoutFont): adjust
5098 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5100 2003-04-15 John Levon <levon@movementarian.org>
5104 * lyx_main.C: handle Include in .ui files
5106 2003-04-15 John Levon <levon@movementarian.org>
5108 * MenuBackend.C: make the doc files length shorter
5111 * ToolbarBackend.C: handle toolbar placement flags,
5114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5119 * paragraph_funcs.C (TeXOnePar): adjust
5121 * paragraph.C (getLabelFont): add outerfont arg, adjust
5122 (getLayoutFont): ditto
5123 (simpleTeXOnePar): adjust
5125 * paragraph_pimpl.C (realizeFont): delete func
5127 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5129 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5130 row argument, constify cur argument.
5132 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * text2.C (getFont): adjust
5135 (getLayoutFont): adjust
5136 (getLabelFont): adjust
5138 * paragraph_funcs.C (TeXOnePar): adjust
5139 (outerFont): new func...
5140 (realizeFont): ...moved out from here, changed this to facilitate
5143 * paragraph.C (getFont): take outerfont as arg, adjust
5144 (simpleTeXOnePar): add outerfont arg, adjust
5146 * buffer.C (simpleLinuxDocOnePar): adjust
5147 (simpleDocBookOnePar): adjust
5149 * CutAndPaste.C (pasteSelection): adjust
5151 * BufferView.C (getEncoding): adjust
5153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5155 * text2.C (setCharFont): adjust
5156 (setCounter): adjust
5158 * text.C (leftMargin): adjust
5159 (setHeightOfRow): adjust
5161 * rowpainter.C (paintFirst): adjust
5164 * paragraph_pimpl.C (realizeFont): adjust
5166 * paragraph.C (isFirstInSequence): move from here...
5167 * paragraph_funcs.C (isFirstInSequence): ...to here
5169 * paragraph.C (outerHook): move from here...
5170 * paragraph_funcs.C (outerHook): ...to here
5172 * paragraph.C (depthHook): move from here...
5173 * paragraph_funcs.C (depthHook): ...to here
5175 * paragraph.C (getEndLabel): move from here...
5176 * paragraph_funcs.C (getEndLabel): ...to here
5178 * text2.C (realizeFont): move from here...
5179 * paragraph_funcs.C (realizeFont): ...to here
5181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5185 2003-04-14 Angus Leeming <leeming@lyx.org>
5187 * LColor.[Ch]: scrap LColor mathcursor.
5189 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * lyxlex.[Ch] (text): delete function
5192 * trans.C (Load): adjust
5193 * paragraph_funcs.C (readParToken): adjust
5195 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5198 vector<char> instead of a char[].
5200 * lyxlex_pimpl.C (getString): adjust
5202 (lex): use getString
5206 * lyxlex.C (text): use pimpl_->getString()
5210 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5213 (makeFontEntriesLayoutSpecific): temp var for par.size()
5214 (setLayout): temp var for ownerParagraphs().end()
5215 (fullRebreak): temp var for rows().end()
5216 (selectionAsString): temp var for boost::next(startpit), realize
5217 that the while really is a regular for loop.
5218 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5219 setCursor in one place.
5220 (setParagraph): temp vr for ownerParagraphs().end()
5221 (updateCounters): make the while loop a for loop
5222 (cutSelection): temp var for ownerParagraphs().end()
5223 (updateInset): make the do {} while() a regular for loop
5224 (getCursorX): use temp vars
5225 (setCurrentFont): use temp vars
5226 (getColumnNearX): use temp vars
5228 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * text.C (transformChar): use temp var for getChar
5231 (computeBidiTables): use temp var for row->par()
5232 (fill): move temp vars for row->par() and pit->layout() earlier in
5234 (labelFill): use temp var for row->par()
5235 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5236 asc and desc, realize that pit never changes and that firstpit is
5237 just a duplicate and not needed. Exchange rit->par() with pit in a
5239 (breakAgain): use a temp var for boost::next(rit)
5240 (breakAgainOneRow): ditto
5241 (breakParagraph): use a temp var for rows().begin()
5242 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5243 (cursorRightOneWord): use temp var for cursor.par() and
5244 cursor.pos(), remove usage of tmpcursor.
5245 (cursorLeftOneWord): use temp var for cursor.par() and
5246 cursor.pos() only set cur at end of function.
5248 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * text.C, text2.C: exchange all usage of Paragraph::next with
5251 boost::next(ParagraphList::iterator)
5253 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5255 * text2.C (cursorTop): simplify implementation
5256 (cursorBottom): ditto
5257 (setParagraph): use ParagraphList::iterator
5258 (setCurrentFont): adjust
5259 (getColumnNearX): adjust
5260 (cursorRight): adjust
5261 (cursorLeft): remove usage of Paragraph::previous
5262 (cursorUpParagraph): ditto
5263 (deleteEmptyParagraphMechanism): slight cleanup
5265 * text.C (isBoundary): take a Paragraph const & instead of a
5267 (addressBreakPoint): ditto
5268 (leftMargin): remove usage of Paragraph::previous.
5269 (setHeightOfRow): ditto
5270 (cursorLeftOneWord): ditto
5271 (selectNextWordToSpellcheck): ditto
5274 (breakParagraph): remove one usage of Paragraph::next
5275 (redoParagraph): ditto
5276 (acceptChange): ditto
5277 (insertChar): adjust
5278 (rowBreakPoint): adjust
5280 * bufferview_funcs.C (toggleAndShow): adjust
5282 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5284 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5285 methods to access it.
5287 * text.C: Added updateRowPositions to compute all row positions.
5288 Make top_y and getRowNearY() to use the cached y position
5290 2003-04-11 John Levon <levon@movementarian.org>
5292 * text.C (rowBreakPoint): reintroduce the labelEnd
5293 checks, code copied from the row fill stuff. Deep voodoo.
5295 * text.C (fill): add a comment and debugging for the
5298 2003-04-11 John Levon <levon@movementarian.org>
5300 * text.C: make sure fullrow insets get wrapped to the next line,
5301 even when they're in a manual label
5303 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * text2.C (insertParagraph): make it take ParagraphList::iterator
5307 (setLayout): make it return ParagraphList::iterator
5308 (redoParagraphs): ditto
5310 (checkParagraph): ditto
5312 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5314 * text2.C: adjust several funcs.
5315 (realizeFont): take a ParagraphList::iterator as arg.
5316 (getLayoutFont): ditto
5317 (getLabelFont): ditto
5318 (setCharFont): ditto
5320 * text.C: adjust several funcs.
5322 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5324 * text.C (selectNextWordToSpellcheck): don't accidentally
5327 2003-04-10 John Levon <levon@movementarian.org>
5329 * ToolbarBackend.C (getIcon): special handling for
5332 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5334 * text2.C (cursorRight): a getChar assert fixed
5336 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * text2.C (getFont): change to take a ParagraphList::iterator
5339 instead of Paragraph*
5340 Adjust several functions.
5342 * text.C (transformChar): change to take a ParagraphList::iterator
5343 instead of Paragraph*
5344 (singleWidth): ditto
5345 Adjust several functions.
5347 * rowpainter.C: adjust several functions
5348 * rowpainter.h:store a ParagraphList::iterator and not a
5352 2003-04-09 John Levon <levon@movementarian.org>
5357 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5358 and the "help" bits as well
5360 2003-04-09 John Levon <levon@movementarian.org>
5363 * ToolbarBackend.C: allow multiple toolbars
5365 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * undo_funcs.C (setCursorParUndo): adjust
5369 * text_funcs.C (transposeChars): adjust
5371 * text3.C (gotoNextInset): adjust
5374 * text2.C (setLayout): adjust
5375 (changeDepth): adjust
5377 (redoParagraphs): adjust
5378 (selectionAsString): adjust
5379 (setParagraph): adjust
5380 (insertInset): adjust
5381 (cutSelection): adjust
5382 (copySelection): adjust
5383 (pasteSelection): adjust
5384 (insertStringAsLines): adjust
5385 (updateInset): adjust
5386 (setCursor): change to take a ParagraphList::iterator parameter
5387 (setCursorIntern): change to take a ParagraphList::iterator parameter
5388 (setCurrentFont): adjust
5389 (cursorLeft): adjust
5390 (cursorRight): adjust
5391 (deleteEmptyParagraphMechanism): adjust
5393 * text.C (breakParagraph): adjust
5394 (insertChar): adjust
5395 (acceptChange): adjust
5396 (rejectChange): adjust
5397 (selectNextWordToSpellcheck): adjust
5398 (changeCase): adjust
5402 * lyxfind.C (SearchForward): adjust
5403 (SearchBackward): adjust
5404 (nextChange): adjust
5406 * lyxcursor.C (par): adjust
5408 * lyxcursor.h: store a ParagraphList::iterator instead of a
5411 * lyx_cb.C (getPossibleLabel): adjust
5413 * bufferview_funcs.C (toggleAndShow): adjust
5415 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5418 * BufferView.C (removeAutoInsets): adjust
5419 (lockedInsetStoreUndo): adjust
5421 2003-04-09 John Levon <levon@movementarian.org>
5423 * ToolbarBackend.C: try icon without argument
5424 if with argument fails
5426 2003-04-08 John Levon <levon@movementarian.org>
5429 * ToolbarBackend.C: add getIcon(), handle tooltip,
5430 and change from "Icon" to "Item".
5432 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5434 * BufferView.C (lockInset): another bad getchar crunched
5436 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5438 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5441 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5443 * lyxfind.C (searchForward, searchBackwards): bug 782
5445 2003-04-07 John Levon <levon@movementarian.org>
5447 * paragraph.C: remove dead comment
5449 * text.C: remove troublesome depth-fiddling code
5450 in leftMargin() and rightMargin() (bug 1017)
5452 * text.C: fix breaking of rows in nested lists
5455 * text2.C (updateCounters): fix up depth values
5458 2003-04-07 John Levon <levon@movementarian.org>
5460 * BufferView_pimpl.C: clear message when doc finishes resizing,
5461 and after a mouse event
5463 * lyxfunc.C: clear message after exiting inset
5465 2003-04-07 John Levon <levon@movementarian.org>
5467 * bufferview_funcs.C: show math status not outside
5468 status in the statusbar
5470 2003-04-07 John Levon <levon@movementarian.org>
5472 * lyxfunc.C: note status changed after a depth change
5474 2003-04-04 Angus Leeming <leeming@lyx.org>
5476 * LaTeX.h: move AuxInfo operator==, != out of line.
5477 Remove LaTeX virtual destructor; nothing derives from it.
5478 Move operator()() out of public area and rename it startscript().
5479 Change protected for private.
5481 2003-04-04 Angus Leeming <leeming@lyx.org>
5484 * text2.C: remove unneeded #includes.
5486 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5488 * text2.C (dEPM): fix the heigth of the next row
5490 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5492 * text.C: squashed an invalid getChar requester + some ws changes
5494 2003-04-03 John Levon <levon@movementarian.org>
5496 * bufferview_funcs.h:
5497 * bufferview_funcs.C:
5500 * text2.C: make getStatus work for the env depth lfuns
5502 2003-04-03 John Levon <levon@movementarian.org>
5504 * bufferview_funcs.h:
5505 * bufferview_funcs.C:
5508 * text2.C: parlistize decDepth(), by merging it with incDepth()
5510 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5512 * lyxrow.h: store a ParagraphList::iterator instead of a
5513 Paragraph* and adjust other class functions to suit.
5515 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5518 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5520 * text2.C (setCursor): do not anchor to cursor row for the time being
5522 2003-04-02 John Levon <levon@movementarian.org>
5529 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5531 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * paragraph.h: make ParagraphList and ParagraphList::iterator
5534 friends of Paragraph.
5536 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5538 * ParagraphList.C: Use the private next_ and previous_ from
5541 2003-04-01 John Levon <levon@movementarian.org>
5545 * Makefile.am: rename, remove defaults gunk
5548 * MenuBackend.C: remove defaults gunk
5551 * Languages.C: remove defaults gunk
5554 * lyx_main.C: error out if files couldn't be found.
5556 2003-04-02 John Levon <levon@movementarian.org>
5558 * text2.C: make incDepth() use parlist
5560 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * undo_funcs.C (firstUndoParagraph): adjust
5564 * text3.C (gotoInset): adjust
5565 (dispatch): adjust, and rewrite loop.
5567 * text2.C (init): adjust, and rewrite loop.
5568 (redoParagraphs): adjust
5569 (updateInset): adjust, and rewrite loop.
5570 (deleteEmptyParagraphMechanism): adjust
5572 * tabular.C (LyXTabular): adjust
5573 (SetMultiColumn): adjust
5576 * lyxtext.[Ch] (ownerParagraph): delete function
5577 (ownerParagraphs): new function returns a ParagraphList.
5579 * BufferView.C (removeAutoInsets): adjust
5580 (insertErrors): adjust
5581 (setCursorFromRow): adjust
5583 2003-04-01 Angus Leeming <leeming@lyx.org>
5585 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5588 2003-04-02 John Levon <levon@movementarian.org>
5594 * text_funcs.C: make transposeChars a free function
5596 * lyxrow_funcs.C: remove wrong comment
5598 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * rowpainter.C: adjust
5606 * lyxrow_funcs. [Ch]: new files
5608 * lyxrow.[Ch]: remove next and previous pointers
5609 (next,previous): remove accessor functions
5610 (isParEnd): move to lyxrow_funcs
5611 (lastPos): move to lyxrow_funcs
5612 (nextRowIsAllInset): move to lyxrow_funcs
5613 (lastPrintablePos): move to lyxrow_funcs
5614 (numberOfSeparators): move to lyxrow_funcs
5615 (numberOfHfills): move to lyxrow_funcs
5616 (numberOfLabelHfills): move to lyxrow_funcs
5617 (hfillExpansion): move to lyxrow_funcs
5621 * bufferview_funcs.C (toggleAndShow): adjust
5623 * RowList.h: Remove class RowList from file leave just a
5626 * RowList.C: delete file
5628 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5631 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * text3.C (cursorPrevious): adjust
5634 (cursorNext): adjust
5637 * text2.C (redoHeightOfParagraph): adjust
5638 (redoDrawingOfParagraph): adjust
5641 * text.C (breakParagraph): adjust
5642 (insertChar): adjust
5645 * rowpainter.C (RowPainter): adjust
5646 (leftMargin): simplify and adjust
5647 (most rowpainter functions): adjust.
5649 * rowpainter.h: store the row as RowList::iterator not as Row*
5651 * lyxcursor.C (row): taka RowList::iterator as arg
5654 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5657 2003-04-01 Angus Leeming <leeming@lyx.org>
5659 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5660 stuff like bool Bool.
5662 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5664 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5667 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5672 * lyxtext.h (rows): drop one version and leve a const variant that
5673 returns a RowList::iterator.
5675 2003-03-31 Angus Leeming <leeming@lyx.org>
5677 * text.C (fill): ensure that the signature is the same as that in the
5680 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * text2.C (redoParagraphs): adjust
5683 (updateCounters): adjust
5684 (checkParagraph): adjust
5685 (getColumnNearX): adjust and reformat a bit.
5687 * text.C (top_y): adjust
5689 (leftMargin): adjust
5690 (prepareToPrint): adjust
5692 (getRowNearY): adjust
5694 * lyxtext.h: make rowlist_ mutable.
5696 * RowList.h: add const_iterator
5697 * RowList.C: adjust for RowList::const_iterator.
5699 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5702 2003-03-31 John Levon <levon@movementarian.org>
5705 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5707 * lyx_main.C: set default fonts from using lyx_gui funcs
5709 * exporter.C: pdf_mode moved from lyxrc
5712 * lyxfunc.C: changes from above
5714 2003-03-31 John Levon <levon@movementarian.org>
5716 * lyx_main.C: fix to the last fix
5718 2003-03-31 John Levon <levon@movementarian.org>
5720 * bufferlist.C: "Load original" -> "Load Original"
5726 * format.C: more Alert cleanups
5728 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * text2.C (removeParagraph): make it take a RowList::iterator as
5732 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5733 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5735 * text.C (anchor_row): make it take a RowList::iterator as arg,
5737 (computeBidiTables): make it take a const reference to Row instead
5738 of Row pointer, adjust.
5739 (leftMargin): make it take a RowList::iterator as arg, adjust.
5740 (rowBreakPoint): adjust
5741 (breakAgainOneRow): make it take a RowList::iterator as arg,
5743 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5745 * bufferview_funcs.C (toggleAndShow): adjust
5747 2003-03-30 John Levon <levon@movementarian.org>
5751 * boost-inst.C: moved to support
5753 * several files: changes as a result
5755 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * text2.C (LyXText): adjust.
5759 (removeRow): make it take a RowList::iterator as arg, adjust.
5760 (fullRebreak): adjust
5761 (deleteEmptyParagraphMechanism): adjust
5762 (clearPaint): adjust
5765 * text.C (top_y): adjust
5766 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5767 (breakAgain): make it take a RowList::iterator as arg, adjust.
5768 (breakParagraph): adjust
5769 (insertChar): adjust
5772 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5773 need_break_row, and refresh_row.
5775 * text3.C (dispatch): adjust
5777 * text2.C (checkParagraph): adjust
5779 (setCursorFromCoordinates): adjust
5781 * text.C (top_y): adjust
5783 (getRow): make it return a RowList::iterator, adjust
5784 (getRowNearY): make it return a RowList::iterator, adjust
5786 * text2.C (init): adjust
5787 (insertRow): remove function
5788 (insertParagraph): adjust
5789 (redoParagraphs): adjust
5790 (fullRebreak): adjust
5791 (updateCounters): adjust
5793 * text.C (top_y): rewrite to use RowList iterators.
5795 (setHeightOfRow): rewrite to sue RowList iterators.
5796 (appendParagraph): adjust
5797 (breakAgain): adjust
5798 (breakAgainOneRow): adjust
5799 (breakParagraph): adjust
5801 (getRowNearY): adjust, and remove commented code.
5803 * lyxtext.h (firstRow): delete function
5804 (lastRow): delete function
5805 (rows): new function (const and non-const versions.)
5806 (insertRow): delete function
5808 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5810 2003-03-29 John Levon <levon@movementarian.org>
5812 * BufferView_pimpl.C: always update scrollbar top
5813 because pasting text when we're anchored could mean we
5814 miss an update altogether
5816 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * text2.C (init): use rowlist_.end() and not 0.
5819 (insertRow): change to take a RowList::iterator as arg, adjust
5821 (insertParagraph): change to take a RowList::iterator as arg,
5823 (redoParagraphs): remove some debug msgs.
5825 * text.C (appendParagraph): change to take a RowList::iterator
5826 arg, adjust for this.
5827 (breakAgain): add an assert
5828 (breakAgainOneRow): ditto
5830 2003-03-29 John Levon <levon@movementarian.org>
5832 * text2.C: do not clear selection after inc/decDepth
5835 2003-03-29 John Levon <levon@movementarian.org>
5838 * buffer.C: fix broken strerrors according to Lars
5840 2003-03-29 John Levon <levon@movementarian.org>
5842 * converters.C: more Alert cleanups
5844 2003-03-29 John Levon <levon@movementarian.org>
5846 * bufferview_funcs.C: remove pointless Alert
5848 * buffer.C: fix confusing error message when
5849 a template is chmoded 000
5851 2003-03-29 John Levon <levon@movementarian.org>
5855 * BufferView_pimpl.C: Alert fixes
5859 * tabular-old.C: remove unused table compat reading
5861 2003-03-29 John Levon <levon@movementarian.org>
5866 * lyx_cb.C: more Alert cleanups
5868 * lyxfunc.C: don't allow chktex if not latex document
5870 2003-03-29 John Levon <levon@movementarian.org>
5874 * buffer.C: warnings pushed down from support/,
5877 2003-03-29 John Levon <levon@movementarian.org>
5879 * lyxfunc.C: safety check for C-r (revert)
5881 2003-03-29 John Levon <levon@movementarian.org>
5884 * bufferlist.C: several UI fixes using Alert::prompt.
5885 Fix the pointless looping quit code. Fix stupid revert
5890 * lyx_cb.C: use Alert::prompt
5892 * lyx_main.C: remove a silly question
5894 * lyxfunc.C: remove a couple of silly questions,
5897 2003-03-28 John Levon <levon@movementarian.org>
5899 * text2.C: fix bug 974 (End on empty par)
5901 2003-03-28 John Levon <levon@movementarian.org>
5903 * BufferView_pimpl.C:
5905 * lfuns.h: remove do-nothing math greek lfuns
5907 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * lyxgluelength.h (isValidGlueLength): add default arg on
5910 parameter 2. Remove default arg from friend in class.
5912 * lyxlength.h (isValidLength): add default arg on parameter 2.
5913 Remove default arg from friend in class.
5915 * text2.C (LyXText): adjust, initialize refresh_row.
5919 (insertParagraph): adjst
5920 (redoParagraphs): adjust
5921 (fullRebreak): adjust
5922 (updateCounters): adjust
5923 (deleteEmptyParagraphMechanism): first attempt at fixing a
5926 * text.C (top_y): adjust
5927 (setHeightOfRow): adjust
5929 (getRowNearY): adjust
5931 * lyxtext.h: include RowList.h
5932 (~LyXText): not needed anymore, deleted.
5933 (firstRow): modify for RowList
5934 (lastRow): new function
5935 Delete firstrow and lastrow class variables, add a Rowlist
5936 rowlist_ class variable.
5938 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5941 * RowList.C (insert): fix case where it == begin().
5943 2003-03-26 Angus Leeming <leeming@lyx.org>
5945 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5946 the thesaurus dialog.
5948 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5952 * RowList.[Ch]: new files
5954 * ParagraphList.C (erase): handle the case where it == begin
5957 2003-03-25 John Levon <levon@movementarian.org>
5961 * aspell.C: add new aspell support
5964 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5967 2003-03-25 Angus Leeming <leeming@lyx.org>
5970 * LyXAction.C (init): new LFUN_INSET_INSERT.
5972 * BufferView_pimpl.C (dispatch): split out part of the
5973 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5975 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5978 2003-03-25 Angus Leeming <leeming@lyx.org>
5980 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5982 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5985 * text3.C: remove useless row->height(0)
5987 2003-03-25 John Levon <levon@movementarian.org>
5991 * text3.C: rename the refreshing stuff to better names
5993 2003-03-24 John Levon <levon@movementarian.org>
5995 * BufferView_pimpl.h:
5996 * BufferView_pimpl.C: update layout choice on a mouse
5999 2003-03-23 John Levon <levon@movementarian.org>
6001 * Makefile.am: fix commandtags.h reference
6003 2003-03-22 John Levon <levon@movementarian.org>
6005 * BufferView_pimpl.C:
6010 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6012 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6015 * text.C: take the rtl methods out of line
6017 2003-03-21 André Pönitz <poenitz@gmx.net>
6019 * metricsinfo.[Ch]: new files containing structures to be passed around
6020 during the two-phase-drawing...
6022 2003-03-21 André Pönitz <poenitz@gmx.net>
6024 * lyxtextclass.C: read 'environment' tag.
6026 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6028 * text2.C (removeRow): fix bug 964
6030 2003-03-20 John Levon <levon@movementarian.org>
6034 * text2.C: paint cleanups. Inset::update() dropped font
6037 2003-03-19 John Levon <levon@movementarian.org>
6039 * lyxfunc.C: only fitcursor/markDirty if available()
6041 2003-03-19 John Levon <levon@movementarian.org>
6043 * commandtags.h: rename to ...
6045 * lfuns.h: ... this, and renumber / cleanup
6047 2003-03-19 John Levon <levon@movementarian.org>
6049 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6050 fit the cursor after an lfun
6054 * BufferView_pimpl.h:
6055 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6057 * LyXAction.C: layout-character should have ReadOnly
6059 * ParagraphParameters.C:
6061 * bufferview_funcs.C:
6068 * undo_funcs.C: changes from above
6070 2003-03-18 John Levon <levon@movementarian.org>
6072 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6073 remove it from update()
6075 * lyxfunc.C: update layout choice after an lfun
6077 * text3.C: remove extra updateLayoutChoice()s
6079 2003-03-18 John Levon <levon@movementarian.org>
6081 * text.C: top_y change means full repaint, fix
6082 a drawing bug with cursor movement
6084 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6088 * text2.C: anchor row on setCursor
6090 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6092 * lyxtext.h: remove almost all mutable keywords
6095 * text3.C: remove const keywords accordingly
6097 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6101 (TeXEnvironment): ditto
6104 2003-03-17 John Levon <levon@movementarian.org>
6106 * text.C (rowBreakPoint): remove attempt to fix displayed
6107 math insets inside a manual label
6109 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * lyxtext.h: remove BufferView* as first arg from almost all class
6113 * other files: adjust.
6115 2003-03-17 John Levon <levon@movementarian.org>
6119 * text2.C: more paint cleanups
6121 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6124 * rowpainter.C: remove "smart" background painting code
6126 2003-03-16 John Levon <levon@movementarian.org>
6131 * text3.C: add helper functions for setting refresh_row/y
6133 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6135 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6136 newline inset which *can* get inserted in the pass_thru layouts.
6137 This is primarily for literate documents.
6139 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6141 * buffer.C: increment LYX_FORMAT to 223
6143 2003-03-14 André Pönitz <poenitz@gmx.net>
6145 * textclass.h: prepare for environment handling, ws changes
6146 * lyxlayout.C: read latexheader and latexfooter tags
6148 2003-03-14 John Levon <levon@movementarian.org>
6150 * text2.C: rewrite ::status() a bit
6152 2003-03-13 John Levon <levon@movementarian.org>
6154 * lyxtext.h: add some docs
6156 2003-03-13 John Levon <levon@movementarian.org>
6161 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6163 2003-03-13 John Levon <levon@movementarian.org>
6165 * text3.C: fix appendix redrawing
6167 2003-03-13 John Levon <levon@movementarian.org>
6169 * text.C (setHeightOfRow):
6171 * rowpainter.C: make appendix mark have the text
6172 "Appendix" so the user knows what it is
6175 * LColor.C: s/appendixline/appendix/ from above
6177 2003-03-13 John Levon <levon@movementarian.org>
6179 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6181 * text.C: fix a getChar(pos) bug properly
6183 2003-03-13 Angus Leeming <leeming@lyx.org>
6186 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6187 Probably only temporary. Let's see how things pan out.
6189 * BufferView.C (unlockInset):
6190 * BufferView_pimpl.C (fitCursor):
6191 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6193 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6194 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6196 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6197 new functions that convert ParagraphParameters to and from a string.
6199 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6200 BufferView::Pimpl's dispatch.
6201 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6203 2003-03-13 André Pönitz <poenitz@gmx.net>
6207 * factory.C: make it aware of InsetEnv
6209 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * text2.C (setCursor): never ask for one past last
6212 (setCursor): add some debugging messages.
6214 * text.C (singleWidth): never ask for one past last
6215 (singleWidth): ditto
6217 (rightMargin): ditto
6218 (rowBreakPoint): ditto
6219 (setHeightOfRow): ditto
6220 (prepareToPrint): ditto
6222 * rowpainter.C (paintBackground): never ask for one past last
6223 (paintText): never ask for one past last
6225 * paragraph_pimpl.C (getChar): make the assert stricter, never
6226 allow the one past last pos to be taken
6228 * paragraph.C (getChar): ws changes only
6230 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6231 (numberOfSeparators): ditto
6232 (numberOfHfills): ditto
6234 2003-03-12 John Levon <levon@movementarian.org>
6240 * paragraph_funcs.C: fix per-buffer authorlists
6242 2003-03-12 John Levon <levon@movementarian.org>
6244 * text.C: fix newline in right address
6246 2003-03-12 Angus Leeming <leeming@lyx.org>
6248 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6249 duplicate those in LyXFunc::dispatch.
6253 * ToolbarDefaults.C:
6254 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6255 Add LFUN_FONTFREE_UPDATE.
6257 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6258 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6260 * bufferview_func.[Ch]: several new functions to facilliate
6261 transfer of data to and from the character dialog.
6263 2003-03-12 John Levon <levon@movementarian.org>
6268 * paragraph_funcs.C:
6269 * paragraph_pimpl.C:
6273 * text3.C: remove META_NEWLINE in favour of an inset
6276 * rowpainter.C: remove paintNewline (done by inset)
6278 2003-03-12 John Levon <levon@movementarian.org>
6280 * paragraph_pimpl.C: complain about bad getChar()s
6281 for a while at least
6283 2003-03-12 John Levon <levon@movementarian.org>
6286 * buffer.C: move paragraph read into a separate function,
6287 a little renaming to reflect that.
6290 * bufferparams.C: remove the author_ids map, not necessary now
6293 * factory.C: moved Buffer::readInset to here
6295 * paragraph_funcs.h:
6296 * paragraph_funcs.C: readParagraph free function moved from
6299 * tabular.C: name change
6301 2003-03-12 John Levon <levon@movementarian.org>
6304 * ParagraphParameters.C: move par params input to
6307 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6308 behave like a normal read from the stream wrt reading
6309 a line vs. a \\token
6311 2003-03-12 John Levon <levon@movementarian.org>
6314 * ParagraphParameters.h:
6315 * ParagraphParameters.C: move output code to a
6318 2003-03-12 John Levon <levon@movementarian.org>
6320 * BufferView.C (insertLyXFile):
6323 * tabular.C: use a parlist iterator for creating the
6326 2003-03-12 John Levon <levon@movementarian.org>
6328 * buffer.C: make current_change static local not
6331 2003-03-12 John Levon <levon@movementarian.org>
6333 * buffer.C: fix insertStringAsLines for change tracking
6335 2003-03-12 John Levon <levon@movementarian.org>
6342 * bufferparams.C: move author list into params. Rename some
6343 functions. Move the header reading into a separate token
6344 loop. Move the header token reading into BufferParams.
6346 2003-03-12 John Levon <levon@movementarian.org>
6348 * changes.C: put debug inside lyxerr.debugging() checks
6350 2003-03-11 André Pönitz <poenitz@gmx.net>
6352 * factory.C: make it aware of InsetHFill
6354 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6356 * buffer.C (latexParagraphs): move function from here...
6357 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6360 2003-03-10 Angus Leeming <leeming@lyx.org>
6362 * LyXAction.C (init): fix bug in poplating array with multiple entries
6363 with the same LFUN (spotted by JMarc).
6365 2003-03-10 John Levon <levon@movementarian.org>
6368 * text2.C: move getColumnNearX() near its
6371 2003-03-10 John Levon <levon@movementarian.org>
6373 * text.C: fix break before a minipage
6375 2003-03-10 John Levon <levon@movementarian.org>
6377 * text.C: fix the last commit
6379 2003-03-09 John Levon <levon@movementarian.org>
6383 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6384 bug 365 (don't break before insets unless needed). Don't
6385 return a value > last under any circumstances.
6387 2003-03-09 Angus Leeming <leeming@lyx.org>
6389 * BufferView_pimpl.C (trackChanges, dispatch): call
6390 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6392 2003-03-09 Angus Leeming <leeming@lyx.org>
6394 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6395 than Dialogs::showAboutlyx().
6397 2003-03-09 Angus Leeming <leeming@lyx.org>
6399 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6400 than Dialogs::showTabularCreate().
6402 2003-03-09 John Levon <levon@movementarian.org>
6406 * text2.C: 3rd arg to nextBreakPoint was always the same.
6409 2003-03-08 John Levon <levon@movementarian.org>
6416 * text2.C: Remove the "main" bit from the "main body"
6419 2003-03-08 John Levon <levon@movementarian.org>
6421 * text.C (leftMargin): The left margin of an empty
6422 manual label paragraph should not include the label width
6425 * text.C (prepareToPrint): don't attempt to measure hfills
6426 for empty manual label paragraphs - the answer should be 0
6428 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * CutAndPaste.C: remove commented code and reindent.
6432 2003-03-08 John Levon <levon@movementarian.org>
6435 * lyxfunc.C: move reloadBuffer()
6438 * BufferView.C: to here
6440 * lyxvc.C: add comment
6443 * vc-backend.C: call bv->reload() to avoid
6444 getStatus() check on MENURELOAD
6446 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6448 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6449 to an old format .dep file.
6451 2003-03-07 Angus Leeming <leeming@lyx.org>
6453 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6454 when the LFUN_MOUSE_RELEASE should have been handled by
6455 inset->localDispatch.
6457 2003-03-07 Angus Leeming <leeming@lyx.org>
6459 * BufferView_pimpl.C (dispatch):
6460 * LyXAction.C (init):
6461 * ToolbarDefaults.C (init):
6463 * lyxfunc.C (getStatus):
6464 remove LFUN_INSET_GRAPHICS.
6466 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6468 2003-03-07 Angus Leeming <leeming@lyx.org>
6471 * LyXAction.C (init):
6472 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6474 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6477 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6479 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6480 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6482 2003-03-07 Angus Leeming <leeming@lyx.org>
6484 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6487 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * ParagraphList.C (front): new function
6492 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6494 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6495 and top_row_offset_. removed var first_y.
6497 * text2.C (LyXText, removeRow):
6499 * BufferView_pimpl.C:
6500 use these methods instead of using first_y
6502 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * text2.C (pasteSelection): adjust for checkPastePossible
6506 * CutAndPaste.C: remove Paragraph * buf and replace with
6507 ParagraphList paragraphs.
6508 (DeleteBuffer): delete
6509 (cutSelection): change the tc type to textclass_type
6510 (copySelection): change the tc type to textclass_type
6511 (copySelection): adjust for ParagraphList
6512 (pasteSelection): change the tc type to textclass_type
6513 (pasteSelection): adjust for Paragraphlist
6514 (nrOfParagraphs): simplify for ParagraphList
6515 (checkPastePossible): simplify for ParagraphList
6516 (checkPastePossible): remove unused arg
6518 * ParagraphList.C (insert): handle the case where there are no
6521 * CutAndPaste.h: make CutAndPaste a namespace.
6523 * text3.C (dispatch): adjust
6525 * text.C (breakParagraph): add a ParagraphList as arg
6527 * paragraph_funcs.C (breakParagraph): change to take a
6528 BufferParams and a ParagraphList as args.
6529 (breakParagraphConservative): ditto
6530 (mergeParagraph): ditto
6531 (TeXDeeper): add a ParagraphList arg
6532 (TeXEnvironment): ditto
6535 * buffer.C (readLyXformat2): adjust
6536 (insertStringAsLines): adjust
6537 (latexParagraphs): adjust
6539 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6540 (cutSelection): adjust
6541 (pasteSelection): adjust
6543 * BufferView_pimpl.C (insertInset): adjust
6545 2003-03-05 Angus Leeming <leeming@lyx.org>
6548 * LyXAction.C (init):
6549 * BufferView_pimpl.C (dispatch):
6550 * lyxfunc.C (getStatus):
6551 remove LFUN_CHILD_INSERT.
6553 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6555 2003-03-05 Angus Leeming <leeming@lyx.org>
6558 * LyXAction.C (init):
6559 * src/factory.C (createInset):
6560 * lyxfunc.C (getStatus):
6561 * text3.C (dispatch):
6562 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6564 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6566 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * ParagraphList.C (insert): handle insert right before end()
6569 (erase): fix cases where it can be first or last paragraph.
6571 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6574 Paragraph::next and Paragraph::previous
6577 * text.C (breakParagraph): adjust
6579 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6580 BufferParams& as arg.
6581 (breakParagraph): use ParagraphList::insert
6582 (breakParagraphConservative): take a Buffer* instead of a
6583 BufferParams& as arg.
6584 (breakParagraphConservative): use ParagraphList::insert.
6586 * buffer.C (insertStringAsLines): un-const it
6587 (insertStringAsLines): adjust
6589 * ParagraphList.C (insert): new function
6591 * CutAndPaste.C (pasteSelection): adjust
6593 * text.C (backspace): adjust
6595 * tabular.C (SetMultiColumn): adjust
6597 * CutAndPaste.C (cutSelection): adjust
6598 (pasteSelection): adjust
6600 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6601 Buffer const * as arg
6603 * ParagraphList.C (erase): new function
6604 * paragraph_funcs.C (mergeParagraph): use it
6605 (mergeParagraph): make it take a Buffer* instead of a
6606 BufferParams* as arg
6608 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6610 (breakParagraphConservative): ditto
6612 * paragraph.h: remove the breakParagraph friend
6614 * paragraph.C (eraseIntern): new function
6615 (setChange): new function
6617 * paragraph_funcs.C (mergeParagraph): make it take a
6618 ParagraphList::iterator instead of a Paragraph *, adjust
6621 * paragraph.h: move an #endif so that the change tracking stuff
6622 also works in the NO_NEXT case.
6624 2003-03-04 Angus Leeming <leeming@lyx.org>
6627 * LyXAction.C: new LFUN_INSET_MODIFY.
6629 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6630 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6632 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * several files: ws changes only
6636 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6637 (TeXEnvironment): ditto
6640 * buffer.C (makeLaTeXFile): adjust
6641 (latexParagraphs): make it take ParagraphList::iterator as args
6643 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * buffer.C (latexParagraphs): adjust
6647 * paragraph.C (TeXOnePar): move function...
6648 (optArgInset): move function...
6649 (TeXEnvironment): move function...
6650 * paragraph_pimpl.C (TeXDeeper): move function...
6651 * paragraph_funcs.C: ...here
6653 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * buffer.C (readInset): remove compability code for old Figure and
6660 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * buffer.C: ws changes
6665 * BufferView_pimpl.C: ditto
6668 * bufferlist.h: ditto
6672 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6674 * converter.[Ch]: split into itself +
6677 * Makefile.am: += graph.[Ch] + format.[Ch]
6684 * lyxrc.C: added #include "format.h"
6686 2003-02-27 Angus Leeming <leeming@lyx.org>
6688 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6691 * factory.C (createInset): add "label" to the factory.
6693 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6694 string and do no more.
6696 2003-02-27 Angus Leeming <leeming@lyx.org>
6699 * LyXAction.C (init):
6700 * factory.C (createInset):
6701 * BufferView_pimpl.C (dispatch):
6702 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6704 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6706 * lyxfunc.C (dispatch):
6707 * text3.C (dispatch): pass name to params2string.
6709 2003-02-26 Angus Leeming <leeming@lyx.org>
6711 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6713 Rearrange the ~includes. Strip out the unnecessary ones.
6715 * factory.C (createInset): reformat.
6716 create new insets for the various LFUN_XYZ_APPLY lfuns.
6718 2003-02-26 John Levon <levon@movementarian.org>
6721 * lyxrow.C: add isParStart,isParEnd helpers
6723 * paragraph.h: make isInserted/DeletedText take refs
6725 * paragraph_funcs.h:
6726 * paragraph_funcs.C: remove #if 0'd code
6731 * text.C: use lyxrow helpers above.
6732 Move draw and paint routines to RowPainter.
6733 Make several methods use refs not pointers.
6734 Make backgroundColor() const.
6735 Add markChangeInDraw(), isInInset().
6736 Merge changeRegionCase into changeCase.
6737 Make workWidth() shouldn't-happen code into an Assert.
6740 * rowpainter.C: new class for painting a row.
6743 * vspace.C: make inPixels take a ref
6745 2003-02-26 Angus Leeming <leeming@lyx.org>
6747 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6750 2003-02-25 John Levon <levon@movementarian.org>
6752 * ispell.C: give the forked command a more accurate name
6754 2003-02-22 John Levon <levon@movementarian.org>
6757 * toc.C: make TocItem store an id not a Paragraph *
6760 2003-02-21 Angus Leeming <leeming@lyx.org>
6762 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6763 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6764 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6765 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6766 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6767 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6769 * BufferView_pimpl.C (dispatch):
6770 * LyXAction.C (init):
6771 * factory.C (createInset):
6772 * lyxfunc.C (getStatus, dispatch):
6773 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6775 2003-02-21 Angus Leeming <leeming@lyx.org>
6777 * BufferView_pimpl.C (MenuInsertLyXFile):
6778 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6779 * lyxfunc.C (menuNew, open, doImport):
6780 no longer pass a LyXView & to fileDlg.
6782 2003-02-21 Angus Leeming <leeming@lyx.org>
6784 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6785 * LyXAction.C: change, BIBKEY to BIBITEM.
6786 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6787 Change InsetBibKey to InsetBibitem.
6788 Change BIBKEY_CODE to BIBITEM_CODE.
6789 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6790 * factory.C: replace insetbib.h with insetbibitem.h.
6791 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6792 * paragraph.C: replace insetbib.h with insetbibitem.h.
6793 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6794 Change bibkey() to bibitem().
6795 * text.C: remove insetbib.h.
6796 * text2.C: replace insetbib.h with insetbibitem.h.
6797 change bibkey() to bibitem().
6798 * text3.C: remove insetbib.h.
6799 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6801 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6803 * lyxrc.C (output): enclose user email in quotes (in case there are
6806 2003-02-18 John Levon <levon@movementarian.org>
6808 * buffer.h: add std::
6810 2003-02-17 John Levon <levon@movementarian.org>
6816 * pspell.C: reworking. Especially in ispell, a large
6817 number of clean ups and bug fixes.
6819 * lyxfunc.C: fix revert to behave sensibly
6821 2003-02-17 André Pönitz <poenitz@gmx.net>
6824 * commandtags.h: new LFUN_INSERT_BIBKEY
6834 * paragraph_func.C: remove special bibkey handling
6836 2003-02-17 John Levon <levon@movementarian.org>
6838 * text.C (Delete): fix case where delete at the end of
6839 the very first paragraph would not merge the pars
6841 2003-02-17 John Levon <levon@movementarian.org>
6843 * lyxrow.C: fix lastPrintablePos()
6845 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6847 * bufferparams.C (writeLaTeX): add a std:here
6849 * buffer.C: and remove a using directive there
6851 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6853 * buffer.C (makeLaTeXFile): move the code that generates the
6856 * bufferparams.C (writeLaTeX): ... in this new method
6858 * LaTeXFeatures.C (getEncodingSet): make const
6859 (getLanguages): make const
6861 * MenuBackend.C (binding): returns the binding associated to this
6863 (add): sets the status of each item by calling getStatus. Adds
6865 (read): add support for OptSubMenu
6866 (expand): remove extra separator at the end of expanded menu
6868 2003-02-15 John Levon <levon@movementarian.org>
6871 * BufferView_pimpl.C:
6873 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6874 inset code that had no actual effect. Remove unneeded status
6877 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6879 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6882 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6884 * text.C (drawLengthMarker): also draw an arrow marker for
6885 symbolic lengths (medskip...)
6887 2003-02-14 John Levon <levon@movementarian.org>
6890 * tabular.C: better method names
6892 2003-02-14 John Levon <levon@movementarian.org>
6894 * BufferView_pimpl.C:
6899 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6900 it's a more accurate name. Remove some pointless uses.
6902 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6904 * text2.C (LyXText): change order of initilizers to shut off
6907 2003-02-14 John Levon <levon@movementarian.org>
6909 * buffer.C: use ParIterator for getParFromID()
6913 * paragraph_pimpl.h:
6914 * paragraph_pimpl.C: remove unused getParFromID()
6916 2003-02-14 John Levon <levon@movementarian.org>
6918 * buffer.C: remove some very old #if 0'd parse code
6920 2003-02-13 John Levon <levon@movementarian.org>
6924 * text2.C: move hfillExpansion(), numberOfSeparators(),
6925 rowLast(), rowLastPrintable(), numberofHfills(),
6926 numberOfLabelHfills() ...
6929 * lyxrow.C: ... to member functions here.
6934 * text.C: remove LyXText::beginningOfMainBody(), and call
6935 p->beginningOfMainBody() directly. Move the check for
6936 LABEL_MANUAL into the latter.
6943 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6949 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6950 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6952 2003-02-13 John Levon <levon@movementarian.org>
6954 * CutAndPaste.C: remove debug
6956 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6958 * paragraph.C (asString): remove two unused variables
6960 * lyxtextclass.C (readTitleType):
6962 (LyXTextClass): handle new members titletype_ and titlename_
6964 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6966 2003-02-09 John Levon <levon@movementarian.org>
6969 * buffer.C: replace hand-coded list with a map for the dep clean
6971 2003-02-08 John Levon <levon@movementarian.org>
6973 * LaTeX.C: consolidate code into showRunMessage() helper
6975 2003-02-08 John Levon <levon@movementarian.org>
6980 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6981 and pass the size in explicitly
6983 * BufferView_pimpl.h:
6984 * BufferView_pimpl.C:
6986 * BufferView.C: add getCurrentChange()
6988 * BufferView_pimpl.h:
6989 * BufferView_pimpl.C: handle change lfuns
6991 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6992 for changes. Mark pasted paragraphs as new.
6994 * support/lyxtime.h:
6995 * support/lyxtime.C:
6996 * DepTable.C: abstract time_t as lyx::time_type
6999 * LColor.C: add colours for new text, deleted text, changebars
7001 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7002 package use "usenames" option.
7006 * LyXAction.C: add change lfuns
7010 * author.C: author handling
7013 * buffer.C: add a per-buffer author list, with first entry as
7014 current author. Handle new .lyx tokens for change tracking. Output
7015 author list to .lyx file. Output dvipost stuff to .tex preamble.
7016 Bump lyx format to 222.
7019 * bufferlist.C: add setCurrentAuthor() to reset current author details
7023 * bufferparams.C: add param for tracking
7025 * bufferview_funcs.C: output change info in minibuffer
7029 * changes.C: add change-tracking structure
7032 * debug.C: add CHANGES debug flag
7035 * lyxfind.C: add code for finding the next change piece
7038 * lyxrc.C: add user_name and user_email
7041 * lyxrow.C: add a metric for the top of the text line
7044 * text.C: implement accept/rejectChange()
7047 * text.C: paint changebars. Paint new/deleted text in the chosen
7048 colours. Strike through deleted text.
7052 * paragraph_pimpl.h:
7053 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7054 in the current change to the insert functions. Rework erase to
7055 mark text as deleted, adding an eraseIntern() and a range-based
7056 erase(). Implement per-paragraph change lookup and
7059 * paragraph_funcs.C: Fixup paste for change tracking.
7061 * tabular.C: mark added row/columns as new.
7063 * text.C: fix rowLast() to never return -1. Don't allow
7064 spellchecking of deleted text. Track transpose changes. Don't
7065 allow paragraph break or merge where appropriate.
7067 * text2.C: leave cursor at end of selection after a cut.
7069 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7071 * text.C (getLengthMarkerHeight):
7072 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7073 visible on screen too.
7075 2003-02-07 John Levon <levon@movementarian.org>
7077 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7079 2003-02-05 Angus Leeming <leeming@lyx.org>
7081 * lyxserver.C (read_ready): revert my patch of 11 September last year
7082 as it sends PC cpu through the roof. Presumably this means that
7083 the lyxserver will no longer run on an Alpha...
7085 2003-01-30 Angus Leeming <leeming@lyx.org>
7087 * factory.C (createInset): create an InsetCommandParam of type "index"
7088 and use it to 'do the right thing'.
7090 * text2.C (getStringToIndex): ensure that cursor position is always
7091 reset to the reset_cursor position.
7093 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7095 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7098 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7102 * lyxfunc.C: Output messages with identical spelling, punctuation,
7105 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7107 * MenuBackend.C (expandFormats): List only viewable export formats
7110 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7113 * lyxfunc.C (getStatus): Make sure that formats other than
7114 "fax" can also be disabled
7116 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * text3.C (dispatch): put the lfuns that insert insets in 3
7119 groups, and call doInsertInset with appropriate arguments.
7120 (doInsertInset): new function, that creates an inset and inserts
7121 it according to some boolean parameters.
7123 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * buffer.C (readFile): remember to pass on 'par' when calling
7126 readFile recursively.
7128 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7130 * MenuBackend.C (expandFormats): add "..." to import formats.
7132 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7134 * paragraph.C (asString): Remove XForms RTL hacks.
7136 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7137 * buffer.C: fix typo
7139 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7141 * Makefile.am (LIBS): delete var
7142 (lyx_LDADD): add @LIBS@ here instead.
7144 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7146 * Clarify the meaning of "wheel mouse jump"
7148 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7150 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7153 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7155 * importer.C (Loaders): do not preallocate 3 elements in the
7156 vector, since one ends up with 6 elements otherwise
7158 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * DepTable.C (write): write the file name as last element of the
7161 .dep file (because it may contain spaces)
7162 (read): read info in the right order
7164 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7166 * paragraph_pimpl.C (simpleTeXBlanks):
7167 (simpleTeXSpecialChars):
7168 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7170 * tabular.C (latex): add some missing case statements. Reindent.
7172 * MenuBackend.C (expandToc): remove unused variable.
7174 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7183 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7186 2003-01-05 John Levon <levon@movementarian.org>
7189 * BufferView.C: add getEncoding()
7192 * kbsequence.C: do not store last keypress
7195 * lyxfunc.C: store last keypress here instead. Pass encoding
7198 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * lyx_main.C (init): remove annoying error message when following
7201 symbolic links (bug #780)
7203 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7205 * text.C (insertChar):
7206 * lyxrc.C (getDescription): remove extra spaces
7208 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7210 * lyxrc.C (getDescription): remove extra spaces
7212 2002-12-20 John Levon <levon@movementarian.org>
7214 * text3.C: hack fix for page up/down across tall rows
7216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7218 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7223 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7224 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7225 thesaurus is not compiled in
7227 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7229 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7231 2002-12-16 Angus Leeming <leeming@lyx.org>
7234 * lyx_main.C (init): remove override_x_deadkeys stuff.
7236 2002-12-12 John Levon <levon@movementarian.org>
7238 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7239 insert. Only remove shift modifier under strict
7242 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * MenuBackend.C (expandToc): fix crash.
7246 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * MenuBackend.C (expandToc): gettext on float names.
7250 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7252 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7253 implement bool empty() [bug 490]
7255 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7259 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * several files: ws changes
7263 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * text2.C (setCounter): clean up a bit, use boost.format.
7266 (updateCounters): initialize par upon declaration.
7268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7269 if the layout exists. We do not just store the layout any more.
7270 (SwitchLayoutsBetweenClasses): use boost.format
7272 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7274 * converter.C (convert): if from and to files are the same, use a
7275 temporary files as intermediary
7277 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7280 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7282 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7284 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7286 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * tabular.C (asciiPrintCell): use string(size, char) instead of
7291 * sgml.C (openTag): fix order of arguments to string constructor
7294 * lyxfunc.C (dispatch): use boost.format
7296 * lots of files: change "c" -> 'c'
7298 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7300 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7302 2002-11-25 Angus Leeming <leeming@lyx.org>
7304 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7306 * lyx_main.C (init): compile fix.
7308 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * lyx_cb.C (start): boost.formatify
7311 do not include <iostream>
7313 * lengthcommon.C: ws only
7315 * boost-inst.C,BoostFormat.h: add more explict instantations
7317 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * lots of files: handle USE_BOOST_FORMAT
7321 2002-11-21 John Levon <levon@movementarian.org>
7323 * pspell.C: fix compile
7325 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * lyxfunc.C (dispatch): use boost::format
7331 * lyxfont.C (stateText): use boost::format
7333 * lyx_main.C (LyX): use boost::format
7335 (queryUserLyXDir): ditto
7338 (typedef boost::function): use the recommened syntax.
7340 * importer.C (Import): use boost::format
7342 * debug.C (showLevel): use boost::format
7344 * converter.C (view): use boost::format
7349 * bufferview_funcs.C (currentState): use boost::format
7351 * bufferlist.C (emergencyWrite): use boost::format
7353 * buffer.C (readLyXformat2): use boost::format
7354 (parseSingleLyXformat2Token): ditto
7356 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7358 * LaTeX.C (run): use boost::format
7360 * Chktex.C (scanLogFile): use boost::format
7362 * BufferView_pimpl.C (savePosition): use boost::format
7363 (restorePosition): ditto
7364 (MenuInsertLyXFile): ditto
7366 * BoostFormat.h: help file for explicit instation.
7368 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7370 * tabular.C (latex): Support for block alignment in fixed width
7373 2002-11-17 John Levon <levon@movementarian.org>
7375 * BufferView_pimpl.C:
7377 * lyxfunc.C: split filedialog into open/save
7379 2002-11-08 Juergen Vigna <jug@sad.it>
7381 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7382 by my last patch (hopefully).
7384 2002-11-08 John Levon <levon@movementarian.org>
7393 * toc.C: ParConstIterator, and use it (from Lars)
7395 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7397 * lyxtextclass.[Ch]: revise and add doxygen comments
7399 2002-11-07 John Levon <levon@movementarian.org>
7401 * text.C: fix progress value for spellchecker
7403 * toc.C: fix navigate menu for insetwrap inside minipage
7405 * paragraph_funcs.C: added FIXME for suspect code
7407 2002-11-07 John Levon <levon@movementarian.org>
7409 * BufferView_pimpl.C: fix redrawing of insets
7412 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * text2.C (updateCounters): fix bug 668
7416 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7418 * text3.C (dispatch): Do not make the buffer dirty when moving the
7421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * vc-backend.C: STRCONV
7426 * text2.C (setCounter): STRCONV
7428 * paragraph.C (asString): STRCONV
7430 * lyxlength.C (asString): STRCONV
7431 (asLatexString): ditto
7433 * lyxgluelength.C (asString): STRCONV
7434 (asLatexString): ditto
7436 * lyxfunc.C (dispatch): STRCONV
7439 * lyxfont.C (stateText): STRCONV
7441 * importer.C (Import): STRCONV
7443 * counters.C (labelItem): STRCONV
7444 (numberLabel): ditto
7445 (numberLabel): remove unused ostringstream o
7450 * bufferview_funcs.C (currentState): STRCONV
7452 * buffer.C (readFile): STRCONV
7453 (asciiParagraph): ditto
7454 (makeLaTeXFile): ditto
7456 * Spacing.C (writeEnvirBegin): STRCONV
7458 * LaTeXFeatures.C (getLanguages): STRCONV
7459 (getPackages): ditto
7461 (getBabelOptions): ditto
7462 (getTClassPreamble): ditto
7463 (getLyXSGMLEntities): ditto
7464 (getIncludedFiles): ditto
7468 (scanAuxFile): ditto
7471 * LString.h: add the STRCONV macros
7473 * BufferView_pimpl.C (savePosition): STRCONV
7474 (restorePosition): ditto
7475 (MenuInsertLyXFile): ditto
7477 * vc-backend.C (scanMaster): change from submatch[...] to
7480 * funcrequest.C: include config.h
7482 * factory.C: include config.h
7484 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7486 * box.C: include config.h
7488 * LaTeX.C (scanAuxFile): change from submatch[...] to
7492 2002-10-25 Angus Leeming <leeming@lyx.org>
7494 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7496 * ispell.[Ch] (setError): new method.
7497 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7498 Use setError() insetead of goto END.
7500 * lyx_cb.C (AutoSave): move out child process into new class
7503 2002-10-30 John Levon <levon@movementarian.org>
7505 * text3.C: make start appendix undoable
7507 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7509 * lyxlength.C (inPixels): Fix returned value.
7511 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7514 2002-10-24 Angus Leeming <leeming@lyx.org>
7516 * lyxgluelength.h: no need to forward declare BufferParams
7517 or BufferView, so don't.
7519 2002-10-21 John Levon <levon@movementarian.org>
7521 * BufferView.C: menuUndo ->undo, redo
7523 * BufferView.h: document, remove dead, make some methods private
7525 * paragraph_funcs.h:
7526 * paragraph_funcs.C:
7527 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7532 * sgml.C: move sgml open/close tag into sgml.C
7534 * bufferview_funcs.h: unused prototype
7537 * lyxfunc.C: remove unused
7540 * text.C: remove unused
7542 2002-10-21 John Levon <levon@movementarian.org>
7546 * BufferView_pimpl.h:
7547 * BufferView_pimpl.C: fix mouse wheel handling based on
7548 patch from Darren Freeman
7550 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7552 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7554 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7556 * lyxlength.C (inPixels): Fix hanfling of negative length.
7557 Fix LyXLength::MU case.
7559 2002-10-16 John Levon <levon@movementarian.org>
7561 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7563 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7565 * converter.C (view): add support for $$i (file name) and $$p
7566 (file path) for the viewer command. If $$i is not specified, then
7567 it is appended to the command (for compatibility with old syntax)
7569 2002-10-14 Juergen Vigna <jug@sad.it>
7571 * undo_funcs.C (textHandleUndo): alter the order in which the
7572 new undopar is added to the LyXText, as we have to set first
7573 the right prev/next and then add it as otherwise the rebuild of
7574 LyXText is not correct. Also reset the cursor to the right paragraph,
7575 with this IMO we could remove the hack in "redoParagraphs()".
7577 2002-10-09 Angus Leeming <leeming@lyx.org>
7579 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7580 to turn off an optimisation if a new inset is to be inserted.
7582 2002-10-11 André Pönitz <poenitz@gmx.net>
7584 * lyxtext.h: make some functions public to allow access
7585 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7587 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * text3.C (dispatch): when changing layout, avoid an infinite loop
7592 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7594 * lyxrc.C (read): treat a viewer or converter command of "none" as
7597 * MenuBackend.C (expandFormats): for an update, also allow the
7598 formats that are not viewable
7600 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7601 script if it is newer than the lyxrc.defaults in user directory
7603 2002-10-07 André Pönitz <poenitz@gmx.net>
7605 * text.C: Vitaly Lipatov's small i18n fix
7607 2002-09-25 Angus Leeming <leeming@lyx.org>
7609 * ispell.h: doxygen fix.
7611 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7613 * buffer.h (readFile): Add a new argument to the method, to allow
7614 reading of old-format templates.
7616 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7618 * toc.C (getTocList): Get TOC from InsetWrap.
7620 2002-09-16 John Levon <levon@movementarian.org>
7622 * lyxfunc.C: check tabular for cut/copy too
7624 2002-09-12 John Levon <levon@movementarian.org>
7629 * factory.C: add header
7631 * paragraph_funcs.h:
7632 * paragraph_funcs.C: cleanup
7634 2002-09-11 John Levon <levon@movementarian.org>
7636 * PrinterParams.h: odd/even default to true
7638 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7640 * PrinterParams.h: update printer parameters for new xforms dialog
7642 2002-09-11 Angus Leeming <leeming@lyx.org>
7644 * lyxserver.C (read_ready): re-write to make it more transparent
7645 and to make it work in coherent fashion under Tru64 Unix.
7647 2002-09-11 André Pönitz <poenitz@gmx.net>
7651 * text3.C: implement LFUN_WORDSEL
7653 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7656 make floatlist_ a boost::shared_ptr<FloatList>
7658 * lyxtextclass.C: include FloatList.h
7659 (LyXTextClass): initialize floatlist_
7660 (TextClassTags): add TC_NOFLOAT
7661 (Read): match "nofloat" to TC_NOFLOAT and use it.
7662 (readFloat): modify call to floatlist_
7666 * FloatList.[Ch] (FloatList): remove commented out float
7668 (erase): new function
7670 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7672 * MenuBackend.C (expandToc): fix crash when there is no document
7675 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7677 * many files: Add insetwrap.
7679 2002-09-09 John Levon <levon@movementarian.org>
7681 * text2.C: remove confusing and awkward depth wraparound
7683 2002-09-09 John Levon <levon@movementarian.org>
7685 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7688 * buffer.C: remove getIncludeonlyList()
7691 * lyxfunc.C: remove headers
7693 2002-09-09 Juergen Vigna <jug@sad.it>
7695 * text.C (getColumnNearX): fix form Michael this is most
7696 probably a cut&paste bug.
7698 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7702 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7703 references, ws changes.
7705 * text2.C (init): update counters after init
7706 (insertParagraph): no need to set counter on idividual paragraphs.
7707 (setCounter): access the counters object in the textclass object
7708 on in the buffer object.
7709 (updateCounters): ditto
7711 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7712 shared_ptr<Counters> to avoid loading counters.h in all
7714 (LyXTextClass): initialize ctrs_
7715 (TextClassTags): add TC_COUNTER, and ...
7716 (Read): use it here.
7717 (CounterTags): new tags
7718 (readCounter): new function
7719 (counters): new funtion
7720 (defaultLayoutName): return a const reference
7722 * counters.C (Counters): remove contructor
7723 (newCounter): remove a couple of unneeded statements.
7724 (newCounter): simplify a bit.
7725 (numberLabel): some small formatting changes.
7727 * buffer.[Ch]: remove all traces of counters, move the Counters
7728 object to the LyXTextClass.
7730 2002-09-06 Alain Castera <castera@in2p3.fr>
7732 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7733 package to set the horizontal alignment on fixed width columns.
7736 * lyx_sty.h: added tabularnewline macro def.
7738 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7740 2002-09-06 John Levon <levon@movementarian.org>
7742 * LyXAction.C: tooltips for sub/superscript
7744 * MenuBackend.C: a bit more verbose
7746 * lyxfunc.C: tiny clean
7748 * undo_funcs.C: document undo_frozen
7750 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * counters.C (Counters): add missing algorithm counter.
7754 * text2.C (setCounter): lookup the counter with layouts latexname
7755 instead of by section number.
7756 (setCounter): use a hackish way to lookup the correct enum
7758 a float name->type change
7759 reset enum couners with counter name directly instead of depth value.
7761 * counters.C (Counters): remove the push_backs, change to use the
7762 float type not the float name.
7763 (labelItem): remove unused string, float name->type change
7765 * counters.h: don't include vector, loose the enums and sects vectors
7767 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7770 (Read): add float->TC_FLOAT to textclassTags
7771 (Read): and handle it in the switch
7772 (readFloat): new function
7774 * FloatList.C (FloatList): comment out the hardcoded float
7777 * lyxlayout.h: ws change.
7779 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7781 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7783 2002-09-03 Angus Leeming <leeming@lyx.org>
7785 * BufferView_pimpl.h: qualified name is not allowed in member
7786 declaration: WorkArea & Pimpl::workarea() const;
7788 * factory.C: added using std::endl directive.
7790 * text3.C: added using std::find and std::vector directives.
7792 2002-08-29 André Pönitz <poenitz@gmx.net>
7795 * text2.C: remove unused member number_of_rows
7798 * BufferView2.C: remove file, move contents to...
7799 * BufferView.C: ... here
7801 * BufferView_pimpl.C:
7802 * factory.C: move more inset creation to factory
7804 * vspace.C: avoid direct usage of LyXText, ws changes
7807 don't provide direct access to WorkArea, use two simple
7808 acessors haveSelction() and workHeight() instead
7811 2002-08-29 John Levon <levon@movementarian.org>
7813 * BufferView_pimpl.C (dispatch): do not continue when
7816 2002-08-28 André Pönitz <poenitz@gmx.net>
7818 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7821 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7823 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7825 * buffer.C: increment LYX_FORMAT to 221
7827 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7828 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7830 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7832 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7834 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * factory.C (createInset): use LyXTextClass::floats
7838 * MenuBackend.C (expandFloatListInsert):
7839 (expandFloatInsert):
7842 * text2.C (setCounter):
7844 * LaTeXFeatures.C (useFloat):
7845 (getFloatDefinitions):
7847 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7849 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7850 floatlist_, with accessor floats().
7852 * FloatList.h: remove global FloatList
7854 2002-08-26 André Pönitz <poenitz@gmx.net>
7856 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7860 * BufferView_pimpl.C:
7861 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7863 2002-08-25 John Levon <levon@movementarian.org>
7865 * LyXAction.C: fix margin note description
7867 2002-08-24 John Levon <levon@movementarian.org>
7871 * bufferview_funcs.C:
7873 * undo_funcs.C: cleanups
7875 * lyxfunc.C: disable CUT/COPY when no selection
7877 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7879 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7880 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7882 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7883 Add backward compatibility to "mono", "gray" and "no".
7885 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7887 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7888 (and file_format >= 200).
7890 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7892 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7894 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7896 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7898 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7900 * BufferView_pimpl.C:
7907 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7908 inset and code to make it work with the paragraph code. The inset
7909 can be anywhere in the paragraph, but will only do the expected
7910 thing in LaTeX if the layout file contains the parameter line
7912 (or more generally, a nonzero value) for that layout.
7914 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * paragraph.h: remove the declaration of undefined counters class
7919 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7921 * text2.C (setCounter): fixed enumeration mis-count as reported by
7922 Dr. Richard Hawkins.
7924 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7926 * paragraph_funcs.h: remove some unneeded includes
7928 * text.C (backspace): pasteParagraph now in global scipe
7930 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7931 (pasteSelection): ditto
7933 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7934 * paragraph_funcs.C (pasteParagraph): ... here
7936 2002-08-20 André Pönitz <poenitz@gmx.net>
7938 * commandtags.h: new LFUNs for swapping/copying table row/colums
7941 * lyxfunc.C: support for new lfuns
7943 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * buffer.[Ch]: remove NO_COMPABILITY stuff
7948 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * boost.C (throw_exception): new file, with helper function for
7951 boost compiled without exceptions.
7956 * ParameterStruct.h:
7957 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7959 * bufferlist.C (emergencyWriteAll): use boost bind
7961 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7963 * text.C: include paragraph_funcs.h
7964 (breakParagraph): breakParagraph is now in global scope
7966 * paragraph_funcs.[Ch]: new files
7968 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7971 * buffer.C: include paragraph_funcs.h
7972 (insertStringAsLines): breakParagraph is now in global scope
7974 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7977 * CutAndPaste.C: include paragraph_funcs.h
7978 (cutSelection): breakParagraphConservative is now in global scope
7979 (pasteSelection): ditto
7981 * buffer.h: declare oprator== and operator!= for
7982 Buffer::inset_iterator
7984 * bufferlist.C (emergencyWrite): don't use fmt(...)
7986 * text3.C: add using std::endl
7988 * BufferView.C (moveCursorUpdate): remove default arg
7990 2002-08-20 André Pönitz <poenitz@gmx.net>
7992 * buffer.[Ch]: move inline functions to .C
7995 * BufferView_pimpl.C:
7997 * buffer.[Ch]: use improved inset_iterator
8000 * paragraph.[Ch]: write one paragraph at a time
8002 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8004 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8005 style if style is not specified.
8007 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8009 * text2.C (setCounter): when searching for right label for a
8010 caption, make sure to recurse to parent insets (so that a caption
8011 in a minipage in a figure float works) (bug #568)
8013 2002-08-20 André Pönitz <poenitz@gmx.net>
8015 * text3.C: new file for LyXText::dispatch() and helpers
8017 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8019 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8021 2002-08-19 André Pönitz <poenitz@gmx.net>
8024 * text.C: new LyXText::dispatch()
8026 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8028 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8030 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8032 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8035 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * Makefile.am: use $(variables) instead of @substitutions@
8039 2002-08-15 André Pönitz <poenitz@gmx.net>
8042 * BufferView_pimpl.C: streamlining mathed <-> outer world
8046 * LyXAction.C: remove unused LFUN_MATH
8048 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8052 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8054 * paragraph.C (Paragraph): reformat a bit
8055 (cutIntoMinibuffer): use builtin InsetList function instad of
8059 * buffer.C: include boost/bind.hpp, add using std::for_each
8060 (writeFileAscii): use ParagraphList iterators
8061 (validate): use for_each for validate traversal of paragraphs
8062 (getBibkeyList): use ParagraphList iterators
8063 (resizeInsets): use for_each to resizeInsetsLyXText for all
8065 (getParFromID): use ParagraphList iterators
8067 * BufferView2.C (lockInset): use paragraph list and iterators
8069 2002-08-14 John Levon <levon@movementarian.org>
8071 * lyxserver.C: remove spurious xforms include
8073 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8075 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8077 2002-08-13 André Pönitz <poenitz@gmx.net>
8080 * lyxfunc.C: further cleaning
8082 2002-08-13 André Pönitz <poenitz@gmx.net>
8084 * funcrequest.h: new constructor
8086 * funcrequest.C: move stuff here from .h
8089 * BufferView_pimpl.C:
8092 * lyxfunc.C: subsequent changes
8094 * lyxfunc.h: new view() member function
8096 * lyxfunc.C: subsequent changes
8098 2002-08-13 Angus Leeming <leeming@lyx.org>
8101 * BufferView_pimpl.C:
8109 changes due to the changed LyXView interface that now returns references
8110 to member variables not pointers.
8112 2002-08-13 Angus Leeming <leeming@lyx.org>
8114 * WordLangTuple (word, lang_code): return references to strings,
8119 * lyxtext.h: forward-declare WordLangTuple.
8124 * text.C: #include "WordLangTuple.h".
8127 * text.C: (selectNextWordToSpellcheck): constify return type.
8129 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8135 * paragraph_pimpl.h:
8138 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8140 Made updateCounter always count from start of buffer, and removed
8141 second argument (par).
8142 Reverted floats number display to '#'. Perhaps I'll try again when the
8143 code base is sanitized a bit.
8145 2002-08-12 Angus Leeming <leeming@lyx.org>
8147 * buffer.[Ch] (getLabelList): constify.
8149 2002-08-07 André Pönitz <poenitz@gmx.net>
8151 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8153 * funcrequest.h: extension to keep mouse (x,y) position
8155 2002-08-12 Juergen Vigna <jug@sad.it>
8157 * BufferView2.C (insertErrors): forbid undo when inserting error
8160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8162 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * ParagraphList.[Ch]: new files
8166 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8168 * BufferView2.C (lockInset): ParagraphList changes
8171 * bufferlist.C: ditto
8175 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8178 unused class variable counter_,
8180 * paragraph.[Ch] (getFirstCounter): delete unused function
8182 * counters.C: include LAssert.h
8183 (reset): add a new function with no arg, change other version to
8184 not have def. arg and to not allow empty arg.
8186 * text2.C (setCounter): remove empty arg from call to Counters::reset
8188 2002-08-11 John Levon <levon@movementarian.org>
8190 * Makefile.am: add WordLangTuple.h
8192 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8195 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8197 * insets/insettext.C: InsetList changes
8199 * graphics/GraphicsSupport.C (operator()): InsetList changes
8201 * toc.C (getTocList): InsetList changes
8203 * paragraph_pimpl.[Ch]: InsetList changes
8205 * paragraph.[Ch]: InsetList changes
8207 * buffer.C (inset_iterator): InsetList changes
8208 (setParagraph): ditto
8209 * buffer.h (inset_iterator): ditto
8210 * iterators.C (operator++): ditto
8211 * iterators.h: ditto
8213 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8215 * InsetList.[Ch]: new files, most InsetList handling moved out of
8218 * BufferView2.C (removeAutoInsets): InsetList changes
8220 (ChangeInsets): ditto
8222 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * paragraph_pimpl.h (empty): new function
8226 * paragraph.[Ch] (empty): new function
8228 * other files: use the new Paragraph::empty function
8230 2002-08-09 John Levon <levon@movementarian.org>
8232 * lyxtext.h: remove unused refresh_height
8234 2002-08-09 John Levon <levon@movementarian.org>
8241 * paragraph.C: move sgml char escaping out of paragraph
8244 * paragraph.C: remove id setter
8248 * paragraph_pimpl.C: remove dead tex_code_break_column
8250 * bufferview_funcs.C: small cleanup
8252 * lyxfunc.C: remove dead proto
8254 * lyxtext.h: make some stuff private. Remove some dead stuff.
8256 * lyxgluelength.C: make as[LyX]String() readable
8258 2002-08-08 John Levon <levon@movementarian.org>
8263 * ToolbarDefaults.C:
8266 * toc.C: lyxaction cleanup
8268 2002-08-08 John Levon <levon@movementarian.org>
8270 * BufferView2.C: small cleanup
8273 * lyxfind.C: move unnecessary header into the .C
8275 2002-08-08 John Levon <levon@movementarian.org>
8277 * funcrequest.h: just tedious nonsense
8280 * lyx_main.C: cleanups
8283 * vspace.C: remove dead header lyx_main.h
8285 2002-08-07 Angus Leeming <leeming@lyx.org>
8288 * paragraph_pimpl.h:
8289 Forward declare class Counters in paragraph.h by moving the ctrs member
8290 variable into Paragraph::Pimpl.
8291 (counters): new method, returning a reference to pimpl_->ctrs.
8293 * text2.C: ensuing changes.
8295 2002-08-07 John Levon <levon@movementarian.org>
8297 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8299 * BufferView_pimpl.C: announce X selection on double/triple
8302 * lyx_main.C: use correct bool in batch dispatch
8304 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8306 2002-08-07 André Pönitz <poenitz@gmx.net>
8308 * funcrequest.h: new class to wrap a kb_action and its argument
8311 * BufferView_pimpl[Ch]:
8315 * lyxrc.C: subsequent changes
8318 2002-08-07 John Levon <levon@movementarian.org>
8320 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8321 document options change.
8323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8328 * makefile.am: move counters functionality over from
8329 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8331 2002-08-06 John Levon <levon@movementarian.org>
8333 * WordLangTuple.h: new file for word + language code tuple
8344 * BufferView2.C: use WordLangTuple
8347 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8349 2002-08-06 John Levon <levon@movementarian.org>
8351 * lyx_main.C: fix cmdline batch handling
8353 2002-08-06 André Pönitz <poenitz@gmx.net>
8355 * lyxrc.C: set default for show_banner to true
8357 2002-08-06 John Levon <levon@movementarian.org>
8359 * pspell.C: fix a crash, and allow new aspell to work
8361 2002-08-06 John Levon <levon@movementarian.org>
8364 * kbmap.C: small cleanup
8367 * vspace.C: add const
8369 2002-08-05 John Levon <levon@movementarian.org>
8371 * LyXAction.C: back to tabular-insert
8373 2002-08-04 John Levon <levon@movementarian.org>
8376 * BufferView.C: cosmetic change
8378 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8388 * BufferView2.C: purge all "Lyx" not "LyX" strings
8391 * lyxcursor.C: attempt to add some documentation
8396 * ToolbarDefaults.C:
8397 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8398 merge with LFUN_TABULAR_INSERT
8405 * pspell.C: split up i/pspell implementations into separate
8406 files, many cleanups
8408 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8410 * text2.C: some cleanup
8412 * lyxfunc.C: don't check for isp_command == "none" any more, it
8413 didn't make any sense
8415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8420 * makefile.am: move counters functionality over
8421 from text2.C/paragraph.[Ch] to counters.[Ch], and
8423 2002-08-02 John Levon <levon@movementarian.org>
8425 * buffer.C: s/lyxconvert/lyx2lyx/
8427 2002-08-02 Angus Leeming <leeming@lyx.org>
8429 * lyxlex.C: revert John's change as it breaks reading of the user
8432 2002-08-02 Angus Leeming <leeming@lyx.org>
8434 * importer.C (Import):
8435 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8436 changes due to LyXView::view() now returning a boost::shared_ptr.
8438 2002-08-02 John Levon <levon@movementarian.org>
8440 * lyxlex.C: small cleanup
8442 2002-08-02 John Levon <levon@movementarian.org>
8444 * text2.C (status): small cleanup, no logic change
8446 2002-08-01 John Levon <levon@movementarian.org>
8449 * buffer.C (writeFile): don't output alerts, caller
8453 * lyx_cb.C: from above
8455 * lyxfunc.C: allow to open non-existent files
8457 2002-07-31 John Levon <levon@movementarian.org>
8459 * lyxserver.C: don't let incidental errors get
8462 2002-07-30 John Levon <levon@movementarian.org>
8464 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8466 2002-07-30 John Levon <levon@movementarian.org>
8469 * lyxserver.C: remove I/O callback too
8471 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8473 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8476 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * many files: strip,frontStrip -> trim,ltrim,rtrim
8480 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * PrinterParams.h: remove extern containsOnly, and include
8483 support/lstrings.h instead.
8485 * LaTeX.C (scanAuxFile): modify because of strip changes
8487 * buffer.C (makeLaTeXFile): ditto
8488 * bufferparams.C (writeFile): ditt
8489 * lyxfont.C (stateText): ditto
8490 * lyxserver.C (read_ready): ditto
8491 * vc-backend.C (scanMaster): ditto
8493 * BufferView_pimpl.h: ws changes
8495 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8497 2002-07-26 André Pönitz <poenitz@gmx.net>
8499 * kb_sequence.C: remove unnedred usings
8501 2002-07-26 Juergen Vigna <jug@sad.it>
8503 * lyxfind.C (LyXReplace): we have to check better if the returned
8504 text is not of theLockingInset()->getLockingInset().
8506 2002-07-25 Juergen Vigna <jug@sad.it>
8508 * lyxfind.C (LyXReplace): don't replace if we don't get the
8511 * undo_funcs.C (createUndo): remove debugging code.
8513 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8515 * buffer.C (parseSingleLyXformat2Token): Use default placement
8516 when reading old floats.
8518 * FloatList.C (FloatList): Change the default placement of figure
8519 and tables to "tbp".
8521 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8523 * MenuBackend.C: using std::max
8525 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * MenuBackend.C (expandToc):
8528 (expandToc2): code moved from xforms menu frontend. It is now
8529 generic and TOCs are transparent to menu frontends.
8531 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8533 * toc.C (getTocList): protect against buf=0
8535 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8536 Menu as first parameter. Now, this calls itself recursively to
8537 expand a whole tree (this will be useful for TOC handling)
8538 (expandFloatInsert): remove 'wide' version of floats
8540 * MenuBackend.h (submenuname): returns the name of the submenu.
8541 (submenu): returns the submenu itself, provided it has been
8542 created by MenuBackend::expand
8544 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8547 insets which have noFontChange == true. (bug #172)
8549 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * BufferView_pimpl.C: add connection objects and use them...
8554 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8556 * MenuBackend.C (expandLastfiles):
8559 (expandFloatListInsert):
8560 (expandFloatInsert):
8561 (expand): split expand in parts
8563 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8565 * lyx_gui.C: use lyx_gui::exit()
8567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8569 * LyXAction.C: show the failing pseudo action
8571 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8573 * buffer.C (readFile): Run the lyxconvert script in order to read
8576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8580 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8586 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8588 2002-07-22 Herbert Voss <voss@lyx.org>
8591 * lyxlength.[Ch]: add support for the vertical lengths
8593 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8595 * toc.[Ch]: std:: fixes
8597 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8599 * lyxrc.C: do not include lyx_main.h
8601 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8607 * BufferView2.C: include "lyxlex.h"
8610 * bufferparams.h: do not #include "lyxlex.h"
8612 * lyxtextclasslist.C (Add): remove method
8613 (classlist): renamed to classlist_
8615 * paragraph_pimpl.C:
8619 * bufferview_funcs.C:
8624 * toc.C (getTocList): use BufferParams::getLyXTextClass
8626 * toc.C (getTocList): use InsetFloat::addToToc
8628 * toc.[Ch]: new files, containing helper functions to handle table
8631 * lyxfunc.C (dispatch): no need to remove spaces around command
8633 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8634 first command of the sequence; it is not very clever, but I do not
8635 have a better idea, actually
8637 * LyXAction.C (LookupFunc): make sure to remove space at the
8638 beginning and end of the command
8640 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8642 * MenuBackend.C (getMenubar): new method: return the menubar of
8644 (read): treat differently reading of menu and menubar (in
8645 particular, the menubar has no name now)
8646 (Menu::menubar): remove
8648 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8651 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8653 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8654 a bibitem inset in a RTL paragraph.
8656 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8658 * paragraph_pimpl.C: constify
8660 * BufferView_pimpl.C:
8662 * lyxfunc.C: fix dispatch in a nicer way
8664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * lyxfunc.C (dispatch):
8667 * BufferView_pimpl.C:
8668 * BufferView_pimpl.h:
8670 * BufferView.h: rename Dispatch() to dispatch()
8672 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8674 * lyxlayout.C (Read): honor DependsOn tag
8676 * lyxlayout.[Ch] (depends_on): new method
8678 * version.C.in: update lyx_docversion
8680 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8682 * paragraph.C (validate): remove from here...
8683 * paragraph_pimpl.C (validate): ... and move here
8684 (isTextAt): make it const
8686 * buffer.C (getLists): ws cleanup
8688 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8690 * language.C (read): Use iso8859-1 encoding in latex_lang
8691 (this prevents LyX from crashing when using iso10646-1 encoding).
8693 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * text2.C (toggleInset): if cursor is inside an inset, close the
8696 inset and leave cursor _after_ it
8698 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8700 * lyxfunc.C: move minibuffer completion handling out of here
8702 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C:
8705 * LaTeX.C: fix dispatch calls
8707 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8709 * text.C (drawChars): Fix Arabic text rendering.
8711 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8715 * lyxfunc.C: remove message-push/pop
8719 * lyxfunc.C: rationalise some code by removing verboseDispatch
8720 in favour of a bool argument to dispatch()
8722 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8724 * lyx_main.C (init): make sure to read symlinks as absolute paths
8726 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8729 * lyxfunc.C: no need for commandshortcut to be a member
8731 2002-07-15 André Pönitz <poenitz@gmx.net>
8733 * converter.C: add support for $$s (scripts from lib/scripts dir)
8734 * lyx_main.C: white space
8736 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8740 * lyxrc.C: remove second exit confirmation
8742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8747 * BufferView_pimpl.h:
8748 * BufferView_pimpl.C:
8749 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8751 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * MenuBackend.C (expand): add numeric shortcuts to document menu
8755 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8757 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8759 * lyxfont.C (setLyXFamily):
8766 * buffer.C (asciiParagraph): use ascii_lowercase
8768 2002-07-15 Mike Fabian <mfabian@suse.de>
8770 * lyxlex_pimpl.C (search_kw):
8771 * lyxlex.C (getLongString):
8772 * converter.h (operator<):
8773 * converter.C (operator<):
8774 * buffer.C (parseSingleLyXformat2Token):
8776 * ToolbarDefaults.C (read):
8777 * MenuBackend.C (checkShortcuts):
8779 * LColor.C (getFromGUIName):
8780 (getFromLyXName): use the compare_ascii_no_case instead of
8781 compare_no_case, because in turkish, 'i' is not the lowercase
8782 version of 'I', and thus turkish locale breaks parsing of tags.
8784 2002-07-16 Angus Leeming <leeming@lyx.org>
8786 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8787 now takes a Buffer const & argument.
8789 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8791 * BufferView.C (resize): check there's a buffer to resize
8793 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8795 * lyxfunc.C: remove dead code
8798 * lyxserver.C: use lyx_guii::set_read_callback
8800 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8802 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8803 an inset in a RTL paragraph.
8805 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8807 * lyxfunc.C: repaint after a font size update
8809 2002-07-15 André Pönitz <poenitz@gmx.net>
8811 * lyxlength.C: inBP should be able to return negative values
8813 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8815 * lyxfunc.C: use lyx_gui::update_fonts()
8817 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8819 * lyxfunc.C: use lyx_gui::update_color()
8821 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8827 * lyxrc.C: remove file->new asks for name option, and let
8828 buffer-new take an argument
8830 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8832 * BufferView_pimpl.C: remove unneeded extra repaint()
8834 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8836 * LyXAction.C: allow command-sequence with NoBuffer
8838 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8840 2002-07-10 Angus Leeming <leeming@lyx.org>
8842 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8844 2002-07-09 Angus Leeming <leeming@lyx.org>
8846 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8848 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8850 * lengthcommon.h: whitespace
8852 * lyxfunc.C: update scrollbar after goto paragraph
8854 * lyxtext.h: factor out page break drawing, and fix it so
8855 page break/added space paints as selected nicely
8857 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8859 * BufferView_pimpl.C: add FIXMEs, clean up a little
8861 2002-07-09 André Pönitz <poenitz@gmx.net>
8863 * lyxfont.[Ch]: support for wasy symbols
8865 2002-07-08 André Pönitz <poenitz@gmx.net>
8867 * BufferView_pimpl.C: apply John's patch for #93.
8869 2002-07-05 Angus Leeming <leeming@lyx.org>
8871 * BufferView_pimpl.C (buffer): generate previews if desired.
8873 * LColor.h: add "preview" to the color enum.
8875 * LColor.C (LColor): add a corresponding entry to the items array.
8877 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8880 2002-07-05 Angus Leeming <leeming@lyx.org>
8882 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8883 The body of the code is now in the method that is passed an ostream &
8884 rather than a file name.
8885 Pass an additional only_preamble parameter, useful for the forthcoming
8888 2002-07-03 André Pönitz <poenitz@gmx.net>
8890 * lyxfunc.C: simplify getStatus() a bit for math stuff
8892 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8896 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * text.C (changeRegionCase): do not change case of all the
8899 document when region ends at paragraph end (bug #461)
8901 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8903 * paragraph.C (startTeXParParams):
8904 (endTeXParParams): add \protect when necessary
8906 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * BufferView_pimpl.C (workAreaExpose): remove warning
8910 2002-06-27 Angus Leeming <leeming@lyx.org>
8912 * Makefile.am: add lyxlayout_ptr_fwd.h.
8914 2002-06-26 André Pönitz <poenitz@gmx.net>
8916 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8918 2002-06-25 Angus Leeming <leeming@lyx.org>
8920 * lyxfunc.C (dispatch): Comment out the call to
8921 grfx::GCache::changeDisplay. The method no longer exists now that the
8922 pixmap generation part of the graphics loader has been moved into
8925 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8927 * text2.C: layout as layout
8929 * text.C: layout as layout
8931 * tabular.C (OldFormatRead): layout as layout
8933 * paragraph_pimpl.C (TeXDeeper): layout as layout
8934 (realizeFont): layout as layout
8936 * paragraph.C (writeFile): layout as layout
8937 (validate): layout as layout
8938 (getFont): layout as layout
8939 (getLabelFont): layout as layout
8940 (getLayoutFont): layout as layout
8941 (breakParagraph): layout as layout
8942 (stripLeadingSpaces): layout as layout
8943 (getEndLabel): layout as layout
8944 (getMaxDepthAfter): layout as layout
8945 (applyLayout): layout as layout
8946 (TeXOnePar): layout as layout
8947 (simpleTeXOnePar): layout as layout
8948 (TeXEnvironment): layout as layout
8949 (layout): layout as layout
8950 (layout): layout as layout
8952 * lyxtextclass.C (compare_name): new functor to work with
8953 shared_ptr, layout as layout
8954 (Read): layout as layout
8955 (hasLayout): layout as layout
8956 (operator): layout as layout
8957 (delete_layout): layout as layout
8958 (defaultLayout): layout as layout
8960 * lyxlayout_ptr_fwd.h: new file
8962 * lyxlayout.C (Read): layout as layout
8964 * lyx_cb.C (MenuInsertLabel): layout as layout
8966 * bufferlist.C (newFile): layout as layout
8968 * buffer.C (readLyXformat2): layout as layout
8969 (parseSingleLyXformat2Token): layout as layout
8970 (insertStringAsLines): layout as layout
8971 (asciiParagraph): layout as layout
8972 (latexParagraphs): layout as layout
8973 (makeLinuxDocFile): layout as layout
8974 (simpleLinuxDocOnePar): layout as layout
8975 (makeDocBookFile): layout as layout
8976 (simpleDocBookOnePar): layout as layout
8977 (getLists): layout as layout
8979 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8981 * CutAndPaste.C (cutSelection): layout as layout
8982 (pasteSelection): layout as layout
8983 (SwitchLayoutsBetweenClasses): layout as layout
8985 * BufferView_pimpl.C (Dispatch): layout as layout
8986 (smartQuote): layout as layout
8988 * BufferView2.C (unlockInset): layout as layout
8990 2002-06-24 André Pönitz <poenitz@gmx.net>
8992 * lyxfunc.C: fix #487
8994 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8998 * lyxfunc.C: remove display_shortcuts, show_banner
9000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9002 * Buffer_pimpl.C: oops, update on resize
9004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9011 * BufferView.C: use repaint()
9013 * BufferView_pimpl.h:
9014 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9015 as it's a clearer description. Remove superfluous
9018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9020 * text.C: fix bug 488. Not ideal, but getting
9021 getWord() to work properly for the insets that
9022 matter is more difficult ...
9024 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9026 * BufferView_pimpl.C:
9029 * lyxfunc.C: remove the six million index lyxfuncs to just
9030 one, and DTRT (bug 458)
9032 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9036 * BufferView_pimpl.h:
9037 * BufferView_pimpl.C: clean up resize() stuff,
9038 and unnecessary updateScreen()s
9040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9044 * BufferView_pimpl.h:
9045 * BufferView_pimpl.C:
9048 * minibuffer.C: remove focus management of workarea,
9049 not needed. Use screen's greyOut()
9051 2002-06-17 Herbert Voss <voss@lyx.org>
9053 * converter.C: (convert) do not post a message, when converting
9054 fails, let the calling function decide what to do in this case
9056 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9058 * lyxfunc.C: tidy up a little
9060 2002-06-16 <alstrup@diku.dk>
9062 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9063 Got rid of FORMS_H_LOCATION include. Now we are
9066 2002-06-15 LyX Development team <lyx@rilke>
9068 * buffer.[Ch] (sgmlOpenTag):
9069 (sgmlCloseTag): Added support for avoiding pernicious mixed
9070 content. Return number of lines written.
9073 (makeDocBookFile): Fixed calls to sgml*Tag.
9074 Simple white space clean.
9076 (simpleDocBookOnePar): Simple white space clean.
9078 * tabular.[Ch] (docBook): Renamed to docbook and got another
9079 argument to related with the pernicious mixed content.
9081 (docbookRow): Fixed calls for docbook inset method.
9083 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9085 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9086 so it's X11 independent.
9090 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9092 2002-06-15 Lyx Development team <lyx@electronia>
9094 * intl.h: Renamed getTrans to getTransManager.
9096 2002-06-14 Angus Leeming <leeming@lyx.org>
9098 * Makefile.am: nuke forgotten stl_string_fwd.h.
9100 2002-06-12 Angus Leeming <leeming@lyx.org>
9102 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9104 2002-06-13 Angus Leeming <leeming@lyx.org>
9107 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9109 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9111 * kbmap.C (getiso): add support for cyrillic and greek
9113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9117 * BufferView_pimpl.h:
9118 * BufferView_pimpl.C: move bogus scrolling logic
9121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9124 * BufferView_pimpl.C: view->resize() change
9126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9128 * BufferView_pimpl.C: topCursorVisible
9131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9135 * lyx_gui.C: move to frontends/
9139 * lyx_main.C: changes from above
9141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9148 * lyx_main.C: minor tidy
9150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9152 * BufferView_pimpl.h:
9153 * BufferView_pimpl.C:
9155 * BufferView.C: make painter() const,
9158 * BufferView2.C: use screen() accessor
9161 * lyx_main.C: some minor cleanup
9163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9165 * BufferView_pimpl.h:
9166 * BufferView_pimpl.C: remove enter/leaveView,
9169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9174 * BufferView_pimpl.h:
9175 * BufferView_pimpl.C: only construct screen once,
9178 * lyxrc.C: remove pointless comment
9180 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9183 * BufferView.C: remove active() and belowMouse()
9185 * BufferView_pimpl.h:
9186 * BufferView_pimpl.C: use workarea() not workarea_,
9187 and make it use a scoped_ptr instead
9189 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9191 * lyx_gui.C: add debug message on BadWindow
9193 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * sp_spell.C: fdopen is not part of the C++ standard.
9197 * paragraph.C (InsetIterator): use >= instead of ==
9199 2002-06-07 Angus Leeming <leeming@lyx.org>
9201 Fixes needed to compile with Compaq cxx 6.5.
9202 * BufferView_pimpl.C:
9209 * lyxtextclasslist.C:
9214 all c-library variables have been moved into namespace std. Wrap
9215 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9220 Add a using std::abs declaration.
9222 * kbmap.h (modifier_pair):
9223 * paragraph.h (InsetTable, InsetList):
9224 * lyxfont.h (FontBits):
9225 type definition made public.
9227 * bufferlist.C (emergencyWriteAll): the compiler complains that
9228 there is more than one possible lyx::class_fun template to choose from.
9229 I re-named the void specialisation as lyx::void_class_fun.
9231 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9233 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9234 the compiler is is unable to find tostr in write_attribute.
9236 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9238 * buffer.C (sgmlError): hide #warning
9240 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * xtl/*: get rid of xtl, which is not in use anyway
9244 * LyXAction.C (init):
9245 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9246 were unimplemented xtl experimentation
9248 2002-06-04 André Pönitz <poenitz@gmx.net>
9250 * lyxfunc.C: disable array operation on simple formulae
9252 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9254 * converter.C: constify a bit
9256 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9258 * lyx_gui.C: check xforms version correctly
9260 2002-04-30 Herbert Voss <voss@lyx.org>
9262 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9265 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9267 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9268 attempt to register it with a VCS)
9270 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * lyx_main.C (init): honor variables LYX_DIR_13x and
9275 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9279 * lyx_main.C: fix a crash on bad command line,
9280 and give a useful exit status on error
9282 * lyxfunc.C (doImport): allow -i lyx to work
9284 2002-03-30 André Pönitz <poenitz@gmx.net>
9286 * lyxfunc.C: mathed font changes
9288 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9303 * trans_mgr.h: srcdocs, and some minor cleanups
9305 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9308 call getFont all the time)
9310 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * switch from SigC signals to boost::signals
9314 2002-05-29 André Pönitz <poenitz@gmx.net>
9316 * paragraph_pimpl.C (getChar): don't call size() too often...
9318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * paragraph_pimpl.C (insertChar): do not try to update tables when
9321 appending (pos == size())
9323 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9324 in order to reduce drastically the number of comparisons needed to
9325 parse a large document
9327 2002-05-29 André Pönitz <poenitz@gmx.net>
9333 * textclasslist.[Ch]:
9334 * sp_ispell.h: whitespace change
9336 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9338 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9339 lyxaction directly now.
9341 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9345 * lyxvc.C: remove unused headers
9347 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9354 * undo_funcs.C: some cleanups. Use shared_ptr
9355 and a template for the undo stacks.
9357 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9359 * BufferView_pimpl.h:
9360 * BufferView_pimpl.C:
9367 * text2.C: use key_state/mouse_state
9369 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9374 * chset.C: change include order
9375 (loadFile): use boost regex and get rid of LRegex and LSubstring
9377 * Makefile.am (BOOST_LIBS): new variable
9380 * LaTeX.C: change include order.
9381 (scanAuxFile): use boost regex and get rid of LRegex and
9385 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9390 * FontInfo.C: moved to frontends/xforms/
9393 * FontLoader.C: moved into frontends for GUIIzation
9398 * lyxfunc.C: changes from above
9400 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9402 * LColor.C: remove spurious X include
9404 * BufferView_pimpl.C:
9409 * text2.C: move font metrics to frontends/
9411 2002-05-24 Juergen Vigna <jug@sad.it>
9413 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9414 setting the undo_cursor.
9416 * ParagraphParameters.h: include local includes first.
9418 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9420 * BufferView_pimpl.C:
9421 * BufferView_pimpl.h:
9425 * screen.C: move WorkArea into frontends/
9431 * BufferView2.C: move LyXScreen into frontends/
9435 * lyx_gui.C: move lyxlookup into frontends/xforms/
9437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9440 * BufferView_pimpl.C:
9450 * bufferview_funcs.C:
9463 * vc-backend.C: move LyX/XFormsView into frontends/
9465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9477 * text2.C: move Painter to frontends/
9479 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9481 * buffer.C: comment out some some code that depend upon lyx_format
9484 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9485 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9487 * buffer.h (NO_COMPABILITY): turn off compability
9489 * ColorHandler.C: include scoped_array.hpp
9491 * font.C: Use more specific smart_ptr header.
9494 * ShareContainer.h: ditto
9498 * BufferView_pimpl.h: ditto
9499 * ColorHandler.h: ditto
9501 * kbmap.C (defkey): change call to shared_ptr::reset
9503 2002-05-21 Juergen Vigna <jug@sad.it>
9505 * buffer.C (insertErtContents): fix to insert ert asis if it is
9506 non empty. Skip it completely if it contains only whitespaces.
9508 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9510 * BufferView_pimpl.C:
9511 * BufferView2.C: clear selection on paste (bug 393)
9513 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * DepTable.C: include ctime
9517 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9519 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9521 2002-05-14 Juergen Vigna <jug@sad.it>
9523 * text.C (breakParagraph): fixed function to honor the keepempty
9524 layout in the right maner and also to permit the right breaking
9525 algorithm on empty or non empyt keepempty paragraphs.
9527 * paragraph.C (breakParagraph): we have to check also if the par
9528 is really empty (!size()) for isempty otherwise we do the wrong
9531 2002-05-10 Juergen Vigna <jug@sad.it>
9533 * buffer.[Ch] : The following are only changes to the ert
9534 compatibility read reading old LaTeX layout and font stuff and
9535 convert it to ERTInsets.
9537 * buffer.h: added isErtInset().
9539 * buffer.C (struct ErtComp): add a fromlayout bool to check
9540 if we're inside a LaTeX layout.
9541 (isErtInset): new helper function.
9542 (insertErtContents): look for other ert insets before this one
9543 and insert the contents there, so that we don't have subsequent
9544 ERT insets with nothing between them. This way we create only one
9545 inset with multiple paragraphs. Also check if we don't insert only
9546 spaces ' ' as they are ignored anyway afterwards in the .tex file
9547 so if we have only spaces we will ignore this latex part in the
9549 (parseSingleLyXformat2Token \\layout): better compatibility when
9550 reading layout-latex stuff.
9551 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9553 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9554 stuff after reading the inset only get the information back from
9557 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9559 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9561 * LaTeXFeatures.C (getBabelOptions): New method.
9563 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * BufferView_pimpl.C (Dispatch): work around missing argument for
9568 2002-05-08 Juergen Vigna <jug@sad.it>
9570 * text.C (leftMargin): handle paragraph leftindent.
9572 * paragraph.C (writeFile): write the new \\leftindent tag.
9573 (validate): handle leftindent code.
9574 (TeXEnvironment): handle paragraphleftindent code again.
9576 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9578 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9579 for paragrap_extra indent code and new token \\leftindent.
9580 (latexParagraphs): handle the leftindent as environment.
9582 * ParameterStruct.h: added leftindent support.
9584 * ParagraphParameters.C (leftIndent): added support functions for
9585 the paragraph left indent.
9587 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9590 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9592 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9595 * text.C (computeBidiTables): No bidi in insetERT.
9597 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9600 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9602 * version.C.in: pre 5
9604 2002-05-02 José Matos <jamatos@fep.up.pt>
9605 * buffer.C (makeDocBookFile): white space changes, add newline to
9607 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9609 * tabular.C (docBook): fix typo.
9611 2002-05-03 Juergen Vigna <jug@sad.it>
9613 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9614 change in LyXText as we can not be sure it was not freed.
9615 (drawOneRow): remove unused code.
9617 * text.C (drawInset): redo the calculation of the need_break_row as
9618 it could have a row which was already freed.
9619 (draw): look at the return value of drawInset and return false if
9620 it also returned false.
9621 (paintRowText): look at the return value of draw and return false if
9622 it also returned false.
9624 * lyxtext.h: added bool return type to drawInset() and draw() so that
9625 if we have a change in the row so that the rowbreak has to be redone
9626 we abort drawing as it will be called again.
9628 2002-05-02 Juergen Vigna <jug@sad.it>
9630 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9631 a change in the maintext also if we're inside an inset.
9632 (Dispatch): set the cursor again after a break line and after the
9633 screen has been updated as it could be we're in a different row.
9635 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9636 to set the cursor behind the pargraph with > size().
9637 (setCursor): check also for the same paragraph when checking where
9638 to put the cursor if we have a NFR inset.
9640 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9641 parts of layout read further up as it still was in the wrong
9644 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9646 * screen.C (drawFromTo): change sine fullRebreak always return
9649 * buffer.C (parseSingleLyXformat2Token): reindent some
9651 * BufferView_pimpl.C (update): change since fullRebreak always
9653 (Dispatch): git rid of the last hardcoded "Standard"s.
9655 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * text2.[Ch] (fullRebreak): make it return void now that we always
9660 2002-04-30 Juergen Vigna <jug@sad.it>
9662 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9663 ert compatibility check for "latex" layout.
9665 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9667 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9668 minipages: use col% instead of p%, and also use the current font.
9669 (makeLaTeXFile): Fix use babel condition.
9670 (parseSingleLyXformat2Token): Correct font when reading old floats.
9672 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9674 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9675 inserting list of floats.
9677 2002-04-25 Herbert Voss <voss@lyx.org>
9679 * MenuBackend.C (expand): don't add the graphics extensions to the
9682 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9685 non-existing layout, do not complain if it was the default layout
9686 of the original class (bug #342)
9688 2002-04-24 Juergen Vigna <jug@sad.it>
9690 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9691 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9693 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9695 * buffer.C (getBibkeyList): If using \bibliography, return the
9696 option field with the reference itself. Enables us to provide natbib
9697 support when using \bibliography.
9699 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9701 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9703 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9704 natbib is provided by the LaTeX class.
9706 2002-04-23 Juergen Vigna <jug@sad.it>
9708 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9711 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9713 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9717 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9718 ensuremath around textordmasculine, textordfeminine and
9721 2002-04-19 Juergen Vigna <jug@sad.it>
9723 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9724 reinitializing the buffer otherwise row-dimensions may be wrong.
9725 (update): reset also the selection cursors if they do exits otherwise
9726 their x/y positions may be wrong.
9728 * text2.C (cursorDown): don't enter the inset if we came from a row
9729 above and are one row over the inset.
9731 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9732 really leaving an inset.
9734 2002-04-18 Juergen Vigna <jug@sad.it>
9736 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9737 of the selected paragraph does not have the selected layout also if
9740 * text2.C (setLayout): fixed bug which did not change last selected
9743 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9744 changed the read and substituted \\end_float with \\end_inset!
9746 * BufferView_pimpl.C (cursorPrevious):
9747 (cursorNext): fixed to make it work with rows heigher than the work
9748 area without moving the cursor only the draw of the row.
9749 (workAreaMotionNotify): fix jumping over high rows.
9751 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9756 2002-04-16 Juergen Vigna <jug@sad.it>
9758 * text2.C (setCursor): set also the irow().
9759 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9761 (cursorDown): support for locking an inset if the x_fix value goes
9762 inside it. That way I can transverse insets too with cursor up/down.
9764 * lyxrow.h: added irow helper function same as other (i) functions.
9766 * BufferView_pimpl.C (cursorPrevious):
9767 (cursorNext): fixed for insets!
9769 2002-04-15 Juergen Vigna <jug@sad.it>
9771 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9772 position otherwise it is wrong in some cases.
9774 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9775 inside the inset before the call.
9777 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9779 * buffer.[Ch] (getBibkeyList): make it const.
9781 2002-04-12 Juergen Vigna <jug@sad.it>
9783 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9785 * text2.C (getCursorX): new helper function
9786 (setCursor): compute also ix_
9787 (setCursorFromCoordinates): set also ix.
9789 * lyxcursor.h: added ix_ and helper functions.
9791 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9793 * buffer.C (insertStringAsLines): dont break paragraph if the this
9794 paragraph is inside an inset which does not permit it!
9796 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9797 also with no chars on this paragraph.
9798 (paintRowText): only paint stuff if it's inside the workarea!
9800 * paragraph.C (breakParagraph): honor keepempty flag and break the
9801 paragraph always below not above.
9803 * BufferView2.C (unlockInset): update the paragraph layout on inset
9804 unlock as we changed paragraph in such a case.
9806 * lyxfind.C (LyXFind): clear the former selection if not found!
9808 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9809 again called in insertChar().
9811 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9812 an inset which uses the whole row!
9813 (rightMargin): ditto.
9814 (insertChar): force a rebreak if we inserted an inset!
9816 2002-03-28 Herbert Voss <voss@lyx.org>
9818 * lyxlength.[Ch]: add inBP() to get the right PS-point
9819 units (BigPoint). With inPixels we have rounding errors
9821 2002-04-11 Juergen Vigna <jug@sad.it>
9823 * text2.C (setCursorFromCoordinates): set iy to the right value.
9824 (setCursor): add check if row->previous exists!
9826 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9827 an old float_type as this was the case in the old code!
9829 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9831 * BufferView2.C (showLockedInsetCursor): use iy
9832 (fitLockedInsetCursor): ditto
9834 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9835 locked insets as there we have the right value now.
9837 * lyxcursor.C: added iy_ variable and iy functions to set to the
9838 baseline of cursor-y of the locked inset.
9840 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9841 (setCursor): fixed for insets which need a full row.
9843 * text.C (rowLastPrintable): don't ignore the last space when before
9844 an inset which needs a full row.
9845 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9846 as last character of a row when before a inset which needs a full row.
9848 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * version.C.in: update date
9852 * text2.C (fullRebreak): try to always return true and see what
9855 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * MenuBackend.C (expand): use Floating::listName
9859 * FloatList.C (FloatList): add listName argument to the built-in
9862 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9863 text associated with the float.
9865 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9867 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9869 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9871 * ShareContainer.h: add a couple of missing typenames.
9873 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9875 * lyxrc.C (getDescription): use _() correctly rather than N_().
9877 2002-03-28 Herbert Voss <voss@lyx.org>
9879 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9880 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9882 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9885 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9887 2002-03-29 Juergen Vigna <jug@sad.it>
9889 * lyxfunc.C (dispatch): add a missing fitCursor call.
9891 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9892 it was scrolled by a cursor move, so return the bool status.
9894 * BufferView.C (fitCursor): return the bool flag also to the outside
9895 world as this is needed.
9897 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9899 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9900 call the edit() as it is not needed (and wrong) IMO.
9901 (workAreaButtonPress): set the screen_first variable before evt.
9902 unlock the inset as this may change screen_first and then we have
9903 a wrong y position for the click!
9905 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9907 * MenuBackend.C (expand): another translation that I missed
9909 2002-03-28 Juergen Vigna <jug@sad.it>
9911 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9913 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9917 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9919 * MenuBackend.C (expand): fix export/view/update when there is no
9922 2002-03-27 Herbert Voss <voss@lyx.org>
9924 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9927 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9929 * bufferview_funcs.C (currentState): only show paragraph number
9930 for is DEVEL_VERSION is set.
9932 * lyxfunc.C (dispatch): put warning in INFO channel
9934 * MenuBackend.C (expand): translate the name of floats
9936 * FloatList.C (FloatList): mark the float names for translation
9938 * converter.C (convert): use LibScriptSearch
9940 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * MenuBackend.C (defaults): fix default menu (we might as well get
9945 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9947 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9950 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * lyxvc.C: reorder includes.
9954 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9956 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9959 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9961 * CutAndPaste.C: change layouts earlier on paste
9962 to avoid crashing when calling getFont()
9964 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9966 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9969 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * WorkArea.C: remove 'Pending' debug message.
9973 * most files: ws cleanup
9975 * buffer.[Ch]: ws changes
9977 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9979 2002-03-21 Juergen Vigna <jug@sad.it>
9981 * tabular.C (SetMultiColumn): collapse also the contents of the
9982 cells and set the last border right. Added a Buffer const * param.
9984 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9989 2002-03-19 Juergen Vigna <jug@sad.it>
9991 * text2.C (clearSelection): reset also xsel_cache.
9993 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9994 where it needs to be called (John tells us to do so too :)
9995 (selectionLost): reset sel_cache.
9997 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9999 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * text2.C (setCursorIntern): put debuging code in INSETS channel
10003 2002-03-19 André Pönitz <poenitz@gmx.net>
10005 * lyxfunc.C: tiny whitespace change
10007 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10009 * ToolbarDefaults.C (init):
10010 * LyXAction.C (init):
10012 * BufferView_pimpl.C (Dispatch):
10013 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10015 2002-03-19 Allan Rae <rae@lyx.org>
10017 * exporter.C (Export): removeAutoInsets before doing anything else.
10018 While I've just introduced a dependency on BufferView this really is
10019 the best place to clean the buffer otherwise you need to cleanup in
10020 a dozen places before calling export or cleanup in a dozen functions
10023 * converter.C (runLaTeX):
10024 (scanLog): Better handling of removeAutoInsets and screen updates.
10026 * lyxfunc.C (dispatch): small whitespace changes
10028 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10030 * WorkArea.C (C_WorkAreaEvent): return a value.
10031 (event_cb): return 1 if we handled the event, 0 otherwise.
10033 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10035 2002-03-18 Juergen Vigna <jug@sad.it>
10037 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10038 (GetAdditionalWidth): ditto.
10039 (RightLine): ditto.
10042 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10043 inset if we're there actually (probably not used right now but this
10044 is the direction to go for unifying code).
10045 (paste): disable code to clear the selection.
10047 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10048 inside an InsetText and move the check further up as it is in the
10051 * text2.C (pasteSelection): set a selection over the pasted text.
10053 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10055 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10056 and libgraphics to build on Cygwin.
10058 2002-03-15 Juergen Vigna <jug@sad.it>
10060 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10061 inserting an Inset into the paragraph. I know this is not the best
10062 fix but we already use current_view in CutAndPaste so we will remove
10063 all of it's using at the same time.
10065 * buffer.C (sgmlError): deactivated function till it is rewritten in
10066 the right mode, now it can create problems.
10068 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10069 before accessing it.
10071 2002-03-14 Juergen Vigna <jug@sad.it>
10073 * undo_funcs.C (textHandleUndo): do the right thing when updating
10074 the inset after the undo/redo.
10076 * text2.C (setCursor): just some testcode for #44 not ready yet.
10078 * undo_funcs.C (textHandleUndo): set the next() and previous()
10079 pointers of the paragraph to 0 before deleting otherwise we have
10080 problems with the Paragraph::[destructor].
10082 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10083 on a paragraph insertion.
10085 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10087 * buffer.C (asciiParagraph): use += operator for char append to
10090 * paragraph.C (getFontSettings): compare >= not just >
10091 (highestFontInRange): ditto
10094 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * paragraph.C: change several algorithm to be more appripriate for
10097 the problem domain. This is lookip in FontList and in the InsetList.
10099 2002-03-13 André Pönitz <poenitz@gmx.net>
10102 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10104 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10109 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10111 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * Painter.C (display): anon helper function, adjust code for this
10115 (pixmap): remove function.
10117 * Painter.h: remove private display variable.
10119 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10121 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10123 * WorkArea.[Ch]: remove figinset_canvas cruft.
10125 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * lyxtextclass.C (operator): add one item cache optimization.
10129 * bufferlist.h: doxy changes
10131 * bufferlist.C: ws changes
10133 * DepTable.[Ch] (ext_exist): place const in the right spot.
10135 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10137 (workAreaExpose): call resizeInsets when the with BufferView changes.
10138 (Dispatch): adjust for protectedBlank removal
10139 (specialChar): call updateInset if the insert went ok.
10141 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10142 specialChar instead.
10144 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10146 * BufferView.h: doxy change
10148 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10150 * lyxtextclass.C (operator[]): remove non-const version
10151 (defaultLayout): remove non-const version
10153 2002-03-12 Juergen Vigna <jug@sad.it>
10155 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10156 did resize the LyXText too.
10158 * buffer.C (readLyXformat2): set layout information on newly allocated
10161 * tabular.C (OldFormatRead): set layout information on the paragraph.
10163 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10165 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10167 2002-03-11 Juergen Vigna <jug@sad.it>
10169 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10171 (resizeCurrentBuffer): force also the insets to resize themselfes.
10172 (moveCursorUpdate): fixed up for InsetText.
10174 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10177 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10178 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10179 value of Dialogs::tooltipsEnabled().
10180 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10182 2002-03-08 Juergen Vigna <jug@sad.it>
10184 * BufferView_pimpl.C (updateInset): update inset inside inset also
10185 if it isn't inside theLockingInset().
10187 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * buffer.C (asciiParagraph): redo some of the word and line length
10191 (getLists): look for Caption instead of caption.
10193 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10195 * buffer.C (Buffer): initialize niceFile to true
10197 (makeLinuxDocFile):
10198 (makeDocBookFile): make sure niceFile is true on exit
10200 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10202 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10204 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10206 * LyXSendto.C: remove.
10207 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10208 * lyx_gui.C: remove now-redundant comment.
10209 * ColorHandler.h: remove forward declaration of class WorkArea.
10210 * lyxfunc.C: remove #include "WorkArea.h".
10212 2002-03-07 Juergen Vigna <jug@sad.it>
10214 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10215 got moved away with the DEPM and also set the inset_owner always
10216 right which before could have been omitted.
10218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10221 wanted layout is not found.
10223 2002-03-07 Juergen Vigna <jug@sad.it>
10225 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * paragraph.C (breakParagraph): use default layout not layout of
10231 (Paragraph): clear ParagraphParameters.
10233 2002-03-06 Juergen Vigna <jug@sad.it>
10235 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10236 otherwise it would not be a valid lenght. Fixed a special case in
10237 the minipage compatibility read where we end the document with a
10240 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10241 was set as it could be 0 for InsetTexts first entry.
10243 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10245 * paragraph.C (writeFile): if layout is empty write out
10246 defaultLayoutName().
10248 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10249 file without named layout we set layout to defaultLayoutName().
10251 2002-03-06 Juergen Vigna <jug@sad.it>
10253 * CutAndPaste.C (copySelection): set layout for new paragraph.
10255 * text.C (prepareToPrint): leave ERT inset left aligned
10256 (leftMargin): don't indent paragraphs inside ERT insets
10258 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10260 * paragraph.C (breakParagraph): dont call clear do the work manually
10262 * paragraph.[Ch] (clear): remove function
10264 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10266 * paragraph.C (Paragraph): dont call clear, the work has already
10269 * lyxtextclass.C (operator): assert if n is empty
10271 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10272 work manually instead.
10274 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10276 * BufferView_pimpl.C: protect selectionLost against text == 0
10278 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10280 * text.C (breakParagraph): fix a setting layout to '0' problem.
10282 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10284 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10285 final location of file, for the included files, and graphics.
10287 2002-03-05 Juergen Vigna <jug@sad.it>
10289 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10291 2002-03-04 Juergen Vigna <jug@sad.it>
10293 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10295 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10296 last column of multicolumn cells.
10297 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10299 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10301 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10302 file if it doesn't go to a temporary file.
10304 * buffer.C (sgmlOpenTag):
10305 (sgmlCloseTag): remove extra newline insertion.
10307 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10309 * text.C (getRowNearY): comment out debug msg
10311 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10313 * text2.C: first -> first_y
10315 * text.C (getRowNearY): add some attemts at a possible
10316 optimization, not working.
10318 * tabular.[Ch]: add BufferParams to several function so that newly
10319 created paragraph can be initialized to he default layotu for the
10322 * tabular-old.C (ReadOld): add buf->params to call of Init
10324 * screen.C: rename text->first to text->first_y
10326 * paragraph.C (breakParagraph): always set layout in the broken
10329 * lyxtextclass.C (Read): remove lowercase
10332 (delete_layout): ditto
10334 * lyxtext.h: rename first -> first_y
10336 * lyxlayout.C (Read): remove lowercase
10339 (obsoleted_by): ditto
10341 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10343 * buffer.C (insertErtContents): add params are to InsetERT
10344 (parseSingleLyXformat2Token): add code to check if a paragraphs
10345 layout really exist.
10346 (parseSingleLyXformat2Token): add params to several inset
10348 (asciiParagraph): remove lowercase, do the layout comparisons with
10351 * BufferView_pimpl.C (cursorNext): first -> first_y
10352 (resizeCurrentBuffer): first -> first_y
10353 (updateScrollbar): first -> first_y
10354 (scrollCB): first -> first_y
10355 (workAreaMotionNotify): first -> first_y
10356 (workAreaButtonPress): first -> first_y
10357 (checkInsetHit): first -> first_y
10358 (cursorPrevious): first -> first_y
10359 (cursorNext): first -> first_y
10360 (Dispatch): add buffer_->params to severl inset contructors
10362 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10364 * lyxlayout.C (Read): remove some debug info that I forgot.
10366 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10367 clean up the code slightly.
10368 (makeLinuxDocFile): ditto
10369 (makeDocBookFile): ditto
10371 * text2.C: layout as string
10373 * text.C: layout as string
10375 * paragraph_pimpl.C: layout as string
10377 * paragraph.[Ch]: layout as string
10379 * lyxtextclasslist.[Ch]: layout as string
10381 * lyxtextclass.[Ch]: layout as string
10383 * lyxtext.h: layout as string
10385 * lyxlayout.[Ch]: layout as string
10387 * lyx_cb.C: layout as string
10389 * bufferview_funcs.C: layout as string
10391 * bufferparams.C: layout as string
10393 * buffer.C: layout as string
10395 * LyXView.[Ch]: layout as string
10397 * LaTeXFeatures.[Ch]: layout as string
10399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10401 * BufferView_pimpl.C: change current_layout to string, remove
10406 (workAreaButtonRelease): layout as string
10408 * BufferView2.C (unlockInset): adjust
10410 * vspace.C (asLatexCommand): use an explict temp variable.
10412 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10414 * Makefile.am: use FRONTEND_*
10416 2002-03-01 Juergen Vigna <jug@sad.it>
10418 * tabular.C (SetWidthOfMulticolCell): changed to something better
10419 I hope but still work in progress.
10420 (recalculateMulticolumnsOfColumn): renamed function from
10421 recalculateMulticolCells as it is more appropriate now.
10422 (SetWidthOfCell): calculate multicols better.
10424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10428 * lyxfunc.C (processKeySym): print sequence also if it is
10429 `deleted' (complete)
10431 * kbsequence.C (print): print sequence even if it is deleted
10432 (complete would be a better word, actually).
10434 * lyxfunc.C (dispatch): print complete options after a prefix key
10436 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10438 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10440 * text2.C (setCharFont): eliminate setCharFont code duplication.
10442 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10445 LFUN_TABULAR_FEATURE (bug #177)
10447 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10449 * Makefile.am: remove figure.h
10451 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10453 * Bufferview_pimpl.C:
10465 * text2.C: remove #include "lyx_gui_misc.h".
10467 * LaTeX.C: added #include <cstdio>
10469 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10472 that the paragraph following this one can have.
10474 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10476 * vspace.C (asLatexCommand): fix bogus gcc warning
10478 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10480 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10482 * text2.C (setLayout): get rid of redundant code
10484 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10486 * text2.C (incDepth): make sure depth cannot be increased beyond
10489 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10491 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10492 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10494 * PainterBase.h (image):
10495 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10496 a LyXImage const *.
10498 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10502 * BufferView_pimpl.C:
10503 * BufferView_pimpl.h:
10523 * sp_spell.C: remove fig inset, and the crap house of
10524 cards that follows it
10526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10531 * os2_errortable.h:
10532 * nt_defines.h: move .h into support/
10534 * vms_defines.h: remove
10536 * WorkArea.C: add space in debug output
10540 * buffer.C: add WITH_WARNINGS
10544 * bufferlist.C: s/retrive/retrieve/, add docs
10553 * chset.C: add docs
10555 * lyxgui.C: add ID to X error handler
10557 * lyxtestclass.c: fix typo
10559 2002-02-26 Juergen Vigna <jug@sad.it>
10561 * tabular_funcs.C (write_attribute): changed so that some default
10562 attributes are not written at all.
10563 (getTokenValue): set default values before trying to read the
10564 value so we have the return value always set as default if we don't
10565 find the token we search for.
10567 * tabular.C (Write): write bools as bools not as strings!
10569 2002-02-22 Juergen Vigna <jug@sad.it>
10571 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10572 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10574 * text.C (leftMargin): don't add an indent for paragraphs inside
10575 tabular cells (fix #208).
10577 2002-02-21 José Matos <jamatos@fep.up.pt>
10579 * tabular.C (docBook): fixed support for long tables.
10581 2002-02-20 Juergen Vigna <jug@sad.it>
10583 * text2.C (getFont): get the drawing font of the Inset if this
10584 paragraph is inside an inset (only important for InsetERT for now).
10586 * buffer.C (insertErtContents): use new lanugage params in ERT
10589 * CutAndPaste.C: commenting out seemingly uneeded code.
10591 2002-02-19 Allan Rae <rae@lyx.org>
10593 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10594 Iterators might be simple to use but they also get invalidated.
10595 (removeAutoInsets): renamed saved cursor tracking variables and added
10596 some comments to clarify what everything does.
10598 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10605 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10606 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10609 * vc-backend.h: remove #include "support/syscall.h"
10613 * converter.C: rearrange #includes in Lars' approved fashion.
10615 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10616 forward declare class Timeout in the header file.
10618 * XFormsView.C: changes due to the above.
10620 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10621 similar to LyXView.
10623 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10624 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10626 2002-02-18 José Matos <jamatos@fep.up.pt>
10628 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10631 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10633 * a lot of small ws changes
10634 * add a lot of using std::XXX
10635 * use std construcs some places where approp.
10636 * use some exisint stuff from lyxfunctional where approp.
10637 * Make file changes to use partial linking (lets test this now...)
10639 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10643 remove #include "support/syscontr.h" as it's redundant. Always has been.
10651 change Systemcalls::System to Systemcalls::Wait and
10652 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10653 No change of functionality, just reflects the stripped down Systemcalls
10656 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10658 * debug.[Ch]: add a GRAPHICS type to the enum.
10660 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10664 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10667 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10669 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10670 match the changes below.
10672 * text2.C (toggleInset): if there is not editable inset at cursor
10673 position, try to see if cursor is _inside_ a collapsable inset
10676 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10678 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10679 document menu has a nice checkbox
10681 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10683 * lyxlength.C (asLatexString): change PW to output as percent of
10686 * lengthcommon.C: change '%' to 't%'
10688 * lyxfunc.C (dispatch): a few comments from Martin
10690 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView_pimpl.h:
10695 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10698 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10700 * vspace.C (inPixels): fix compiler warning
10702 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * lyxfunc.C (getStatus): fix status message for disabled commands.
10706 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.C: fix crash on close buffer
10709 during selection (#227)
10711 2002-01-27 Herbert Voss <voss@lyx.org>
10713 * buffer.C: link old Figure to new graphic inset
10715 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10717 * FontLoader.C (getFontinfo): Change the latex font names in order
10718 to match the names of type1inst.
10720 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10724 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10725 (extchanged): ditto
10727 (remove_files_with_extension): ditto
10728 (remove_file): ditto
10731 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10732 document is smaller than the work area height. Do not initialize
10733 static variables to 0.
10735 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10737 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10739 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10740 LFUN_LAYOUT_PARAGRAPHS.
10742 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10743 tabular. It is possible to provide a possible cell, which will
10744 typically be the actcell from the corresponding insettabular
10746 * lyxfunc.C (getStatus): small cleanup; disable
10747 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10750 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10752 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10754 * paragraph.C (startTeXParParams):
10755 (endTeXParParams): new methods. The LaTeX code to
10756 start/end paragraph formatting
10757 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10758 empty (fixes bug #200)
10760 * vspace.C (inPixels): adapt to the change below
10761 (inPixels): [later] more cleanups (remove unused variables)
10763 * lyxlength.C (inPixels): change to use a width and a height as
10766 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10768 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10769 Replaced with \paperwidth
10771 * DepTable.C (insert): add std:: qualifier
10773 2002-01-18 Allan Rae <rae@lyx.org>
10775 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10778 * text.C (drawInset): Turned out I didn't know enough about how
10779 rebreaking worked. This fixes most of the redraw problems. I see
10780 an occasional cursor trail when a line is broken now and the cursor
10781 placement can seem out by a few pixels also after a rebreak.
10783 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10785 * buffer.C (parseSingleLyXformat2Token): update because minipage
10786 width is now a LyXLength
10788 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10790 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10793 2002-01-17 Juergen Vigna <jug@sad.it>
10795 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10797 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10798 is set correctly and the inset is updated correctly.
10800 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10803 the beginning of the loop.
10805 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10807 * lyxrc.C: improve help for use_scalable_fonts
10809 2002-01-17 Allan Rae <rae@lyx.org>
10811 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10816 make sure to set their inset_owner to the right value (bug #171)
10818 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10821 * DepTable.C: Implement mtime checking to reduce time spent doing
10824 2002-01-16 Juergen Vigna <jug@sad.it>
10826 * tabular.C (GetAdditionalHeight): one of error fixed.
10828 * lyxrc.C (output): small fix in writing use_pspell.
10830 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10832 * sp_base.h: #include LString.h
10834 2002-01-16 Allan Rae <rae@lyx.org>
10836 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10837 Can someone check this please?
10839 * text.C (drawInset): It was possible that p.row would be removed by
10840 breakAgainOneRow upsetting a few other settings. There may be another
10841 small tweak possible by setting need_break_row = 0 when p.row has been
10842 removed but I don't know enough about the logic here.
10844 2002-01-15 Allan Rae <rae@lyx.org>
10846 * text.C (insertChar): removed conditional truism.
10848 * BufferView2.C (removeAutoInsets): More tweaks.
10849 cur_par_prev could be a stray pointer. Check for trailing empty line
10850 in case last line was cur_par and only had an error inset on it.
10852 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10854 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10857 * vc-backend.C (most methods):
10858 * exporter.C (Export):
10859 * converter.C (convert):
10861 * LyXSendto.C (SendtoApplyCB):
10862 * lyxfunc.C (dispatch):
10866 * lyx_cb.C (AutoSave):
10868 * BufferView_pimpl.C (MenuInsertLyXFile):
10869 * buffer.C (runChktex): use Buffer::filePath().
10871 * buffer.h: rename filename to filename_; rename filepath to
10872 filepath_ and make it private
10873 (filePath): new method
10875 * buffer.C (writeFile): use fileName()
10878 * lyx_main.C (init): fix starting of LyX when the binary is a
10879 link from so,ewhere else.
10881 * minibuffer.C: include <cctype> for isprint
10883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10885 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10886 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10887 name clash with InsetCollapsable's width function.
10889 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * lastfiles.C: include <iterator>
10893 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10895 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10898 * buffer.C (makeLaTeXFile): ditto.
10899 Also make loop operation more transparent.
10901 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10903 * ToolbarDefaults.C: remove trailing comma closing namespace.
10905 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10907 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10910 * trans.C (Load): comment out unused variable, allowed.
10912 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10914 * minibuffer.[Ch] (append_char): new method to recieve input from the
10915 drop-down completion browser. If a key was pressed, then recieve this
10916 char and append it to the existing string.
10917 (peek_event): modify the positioning data passed to the completion
10918 browser so that it can be placed above the minibuffer rather than below.
10919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * LyXAction.C (init): alloe error-next for readonly documents.
10923 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10926 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10928 * bufferlist.C (readFile): create the buffer _after_ checking that
10931 * lyxfunc.C (verboseDispatch): fix handling of arguments
10933 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10935 * lyxrc.C: use string::erase() instead of initializing to "".
10938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10940 * BufferView_pimpl.h:
10941 * BufferView_pimpl.C:
10944 * text2.C: tell X when we have made a selection for copying
10946 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10948 * BufferView_pimpl.C (MenuInsertLyXFile):
10949 * lyxfunc.C (menuNew):
10951 (doImport): add shortcuts to directory buttons
10953 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10956 * lyxfunc.C (setStatusMessage):
10957 (getStatusMessage): new methods
10958 (getStatus):use setStatusMessage instead of setErrorMessage
10959 (dispatch): when function is disabled, set error message here
10960 [instead of in getStatus previously]
10962 * BufferView_pimpl.C (workAreaButtonRelease): update
10963 toolbar/menubar here too.
10965 2002-01-13 Allan Rae <rae@lyx.org>
10967 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10968 Now seems indestructible. Remaining task is to audit all other
10969 code affected by deleteEmptyParagraphMechanism. One small quirk
10970 left is that an empty document with an error in the preamble can
10971 be made to report an error but no error box appears. I don't know
10973 (removeAutoInsets): Improved comments.
10975 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10978 * Thesaurus.C: update for Aiksaurus 0.14
10980 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * text2.C (firstParagraph): removed member function, all uses
10983 replaces with ownerParagraph
10984 (redoParagraphs): here
10985 (updateInset): here
10986 (toggleAppendix): here
10987 * BufferView2.C (insertErrors): here
10988 (setCursorFromRow): here
10990 2002-01-13 Allan Rae <rae@lyx.org>
10992 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10993 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10994 There is still a way to segfault this although you may have to do this
10995 multiple times: Have an InsetERT with an unknown command in it.
10996 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10997 <down-arrow>, <Enter> again, View->DVI, BANG!
10999 * text2.C (setCursor):
11000 (deleteEmptyParagraphMechanism):
11001 * lyxtext.h (setCursor):
11002 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11003 Making use of the return value may help fix other bugs.
11005 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11007 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11009 * LyXView.C (updateMenubar): call MenuBar::update here
11010 (updateToolbar): but not here
11011 (showState): do not update toolbar/menubar
11013 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11014 should need to care about that.
11016 * lyxfunc.C (verboseDispatch): simplify a bit
11017 (getStatus): have a version which takes a pseudoaction, and
11018 another which requires a (kb_action,string).
11020 * LyXAction.C (retrieveActionArg): make it work also when action
11021 is not a pseudo-action.
11022 (getActionName): simplify a bit
11025 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11027 * lyxfunc.C (verboseDispatch): new families of methods with
11028 several ways to specify a command and a bool to indicate whether
11029 the command name and shortcut should be displayed in minibuffer
11030 (eventually, we could extend that to a finer bitmask like
11031 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11032 (dispatch): the pristine dispatch command which just, well,
11033 dispatchs! Note it still sets its result to minibuffer; I'm not
11036 * lyxfunc.h: remove setHintMessage
11038 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11042 * BufferView_pimpl.C (specialChar): delete new inset if we have
11043 not been able to insert it.
11045 * kbmap.C: revert to using int instead of kb_action, since all we
11046 are dealing with is pseudo-actions.
11048 * LyXAction.C (searchActionArg): change to return int instead of
11049 kb_action, since the result is a pseudoaction.
11051 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11053 * buffer.C (insertErtContents): Fix (partially) the font bug.
11055 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11057 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11058 as the other one is broken on my machine!
11060 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11063 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11065 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11067 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11068 reflect their actual use. Provide compatibility code for older lyxrc
11071 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11073 change names of popup font variables in line with the changes to lyxrc.C
11075 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11077 * buffer.C (asciiParagraph): avoid outputing a word twice after
11080 * lyxrc.C (getDescription): document that document_path and
11081 template_path can be empty.
11083 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * LaTeXFeatures.C (getMacros):
11086 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11088 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11090 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11092 (getPackages): rename feature "floats" to "float". Use an array to
11093 iterate over 'simple' features (i.e. just a \usepackage). Add
11094 handling of "amsmath" (renamed from "amsstyle").
11096 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11098 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11101 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11103 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11104 FuncStaus::FuncStatus & FuncStaus::some_method().
11106 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11108 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11109 of the func_satus stuff. Edited and massaged in various ways by
11112 * lyxfunc.C (getStatus): use FuncStatus
11114 2002-01-08 Juergen Vigna <jug@sad.it>
11116 * text.C (nextBreakPoint): use function Inset::isChar().
11118 * paragraph.C (TeXOnePar): use function
11119 Inset::forceDefaultParagraphs.
11121 * buffer.C (latexParagraphs): use function
11122 Inset::forceDefaultParagraphs.
11124 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11126 * lyx_gui.C (init): set the style of the menu popups to
11127 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11129 2002-01-07 Juergen Vigna <jug@sad.it>
11131 * text.C (setHeightOfRow): small fix
11132 (prepareToPrint): don't look at alignment if we don't have the place
11135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11137 * box.C: New file. Move the Box methods and functions out of box.h,
11138 following Lars' suggestion.
11140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11142 * box.h: #include "support/LOstream.h", needed for inlined function.
11145 * lyxtextclasslist.C: added some using std declarations.
11147 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11149 * box.h: make signed dimensions to allow insets wider than
11150 the screen (bug #162)
11152 * BufferView_pimpl.C: add some insetHit debug
11154 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11156 * vc-backend.C: add FIXME
11158 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyxfunc.C (getStatus): enable code for showing math font status
11163 2002-01-07 Juergen Vigna <jug@sad.it>
11165 * text.C (nextBreakPoint): removed debug output not needed anymore.
11167 2002-01-06 Juergen Vigna <jug@sad.it>
11169 * text.C (nextBreakPoint): fixed up this function we had this bug
11170 since ever but now hopefully we break row better.
11171 (insertChar): we have to check if an inset is the next char as it
11172 could now happen that a large inset is causing a break.
11174 2002-01-05 Juergen Vigna <jug@sad.it>
11176 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11177 if it doesn't like to be drawed.
11179 2002-01-04 Juergen Vigna <jug@sad.it>
11181 * BufferView2.C (lockInset): forgot to set a cursor.
11183 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11185 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11187 * FormMathsPanel.C:
11190 * form_maths_panel.C:
11191 * form_maths_panel.h:
11192 * form_maths_panel.fd: implemented sub- and super- buttons in math
11195 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11196 (or ^ space) to be used as in TeX (req'd by André).
11198 * lyxfunc.C: Allow ^ and _ again to be used both as
11199 super/subscript (mathed) and as themselves (in text).
11201 2002-01-03 Allan Rae <rae@lyx.org>
11203 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11204 "LyX" or the filename of the current buffer if it has one. This is a
11205 modified form of John Levon's patch.
11207 * XFormsView.C (setWindowTitle): also set icon title.
11209 * LyXView.h (setWindowTitle): signature changed.
11210 * XFormsView.h (setWindowTitle): ditto.
11212 2002-01-02 Juergen Vigna <jug@sad.it>
11214 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11216 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11218 * screen.C (topCursorVisible): introduce a temp var for
11219 text->cursor.row(), handle the case where this row is null. (kindo
11222 * text2.C (setCursor): add a couple of asserts.
11224 * paragraph.h (inset_iterator): add -> operator
11226 * paragraph.[Ch] (autoDeleteInsets): remove member function
11228 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11229 cursor pos correctly and handle inset deletion by itself.
11230 (insertErrors): move iterator declaration out of for expression
11232 * lyxtextclass.C: add <algorithm>
11234 * Makefile.am: added the new files to sources, removed layout.C
11236 * layout.C: removed file
11238 * layout.h: remove LYX_DUMMY_LAYOUT
11240 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11244 * lyxtextclass.[Ch]:
11245 * lyxtextclasslist.[Ch]: new files
11247 * include order changes to a lot of files, also changes because of
11250 2001-12-27 Juergen Vigna <jug@sad.it>
11252 * buffer.C (asciiParagraph): more fixes.
11254 * tabular.C (ascii): make ascii export support export of only the
11255 data separated by a column-delimiter.
11256 (ascii): better support for ascii export.
11258 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11260 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * tabular_funcs.C: use a "using std::getline" instead of the
11263 previous fix from Angus (necessary for cxx + lyxstring)
11265 2001-12-24 Juergen Vigna <jug@sad.it>
11267 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11269 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11270 problems. First check a minipage also if we have some ert-contents
11271 (not only on par->size(), second set the right depth of the paragraph
11272 on the relink to the root-paragraph-list!
11274 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11275 which then did not anymore update the main paragraphs on undo/redo!
11277 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11279 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11280 code. Support all font-changing funcs (even those which are not in
11281 menu currently). Support for reporting font settings in
11282 mathed (disabled until Andre provides a function on mathed's side).
11284 * func_status.h (toggle): small helper function to set toggle
11287 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11289 * tabular_funcs.C: getline -> std::getline
11291 2001-12-21 Juergen Vigna <jug@sad.it>
11293 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11294 accessed and could be 0 (I couldn't generate this but it seems
11297 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11300 * tabular_funcs.h: here and include iosfwd
11302 2001-12-20 Juergen Vigna <jug@sad.it>
11304 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11305 inside inset but undo_par was.
11307 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * Thesaurus.C: always include <config.h> in sources.
11313 * box.h: do not include <config.h> in header files
11315 * text.C (paintLastRow): remove unused variable
11317 * text.C (transformChar):
11319 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11321 * Painter.C (text):
11322 * font.C (width): rewrite to use uppercase() instead of
11325 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11327 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11329 * lyxfind.C: clean up of find failure position change
11331 2001-12-20 Juergen Vigna <jug@sad.it>
11333 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11335 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11336 (TeXRow): added to LaTeX a single tabular row.
11337 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11338 (Latex): simplified and finally good LT-h/f support.
11339 (various_functions): just small adaptions for LT-h/f support.
11341 * tabular_funcs.[hC]: added and moved here all not classfunctions
11344 2001-12-19 Juergen Vigna <jug@sad.it>
11346 * tabular.[Ch]: better support for longtabular options (not finished
11349 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * text.C (paintLastRow): use the label font instead of the font of
11352 the last character to compute the size of *_BOX. This makes more
11353 sense and avoids a crash with empty paragraphs.
11354 Use Painter::rectangle to draw EMPTY_BOX.
11356 2001-12-19 Juergen Vigna <jug@sad.it>
11358 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11359 the paragraphs if the replaced paragraph is not the first one!
11360 Tried to delete not used paragraphs but does not work yet so for
11361 now it's inside #ifdef's and by default off!
11363 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11365 * MenuBackend.C: include "lyx_main.h" instead of declaring
11366 lastfiles (actually was declared as LastFiles* instead of a
11369 2001-12-17 Juergen Vigna <jug@sad.it>
11371 * tabular.C (AppendColumn): applied John's fix
11373 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11377 * BufferView_pimpl.h:
11378 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11381 * box.h: new start of class for above
11383 * lyxfunc.C: ignore space-only minibuffer dispatches.
11384 Show the command name when it doesn't exist
11386 * minibuffer.C: don't add empty lines to the history
11388 * minibuffer.C: add a space on dropdown completion
11390 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11392 * text.C: fix line above/below drawing in insets
11394 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * lyxlength.C (LyXLength): Initialize private variables.
11398 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11400 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11401 when inserting error insets.
11403 2001-12-13 Juergen Vigna <jug@sad.it>
11405 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11406 actually sometimes the before-paragraph.
11407 (setUndo): don't clear the redostack if we're not actually undoing!
11409 2001-12-06 Juergen Vigna <jug@sad.it>
11411 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11412 and fixed redoing of main paragraph, so we can use it now ;)
11414 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11416 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11418 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11421 2001-12-13 André Pönitz <poenitz@gmx.net>
11424 * undo_func.C: minor cleanup
11426 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11428 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11429 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11430 font in urw-fonts package which is marked as -urw-fontspecific and
11431 does not work (incidentally, changing the encoding in the
11432 fonts.dir of this package to -adobe-fontspecific fixes the
11435 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11436 is a crash when undoing first paragraph (Juergen, please take a
11437 look). THis does not mean the undo fix is wrong, just that it
11440 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11441 the (Paragraph*) version when needed instead of duplicating the
11444 * text.C (workWidth): use Inset::parOwner to find out where the
11445 inset has been inserted. This is a huge performance gain for large
11446 documents with lots of insets. If Inset::parOwner is not set, fall
11447 back on the brute force method
11449 * paragraph_pimpl.C (insertInset):
11450 * paragraph.C (Paragraph):
11451 (cutIntoMinibuffer): set parOwner of insets when
11452 inserting/removing them
11454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11456 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11462 * mathed/formulabase.C:
11463 * mathed/math_cursor.[Ch]:
11464 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11467 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * lyxlength.[Ch] (operator!=): new function
11471 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * text.C (workWidth): use Inset::parOwner to find out where the
11474 inset has been inserted. This is a huge performance gain for large
11475 documents with lots of insets. If Inset::parOwner is not set, fall
11476 back on the brute force method
11478 * paragraph_pimpl.C (insertInset):
11479 * paragraph.C (Paragraph):
11480 (cutIntoMinibuffer): set parOwner of insets when
11481 inserting/removing them
11483 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11485 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11487 * tabular-old.C (getTokenValue):
11488 * tabular.C (getTokenValue):
11489 (write_attribute): new versions for LyXLength
11490 (everywhere): adjust the use of widths
11492 * tabular.h: change the type of widths from string to LyXLength
11494 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11496 * paragraph.C: fixed missing line number count when exporting
11497 Environments to LaTeX file
11499 * buffer.C: added informational message for checking line numbers.
11501 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11503 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11504 paragraph, do the 'double space' part, but not the 'empty
11507 * text.C (workWidth): small optimization
11508 (getLengthMarkerHeight): use minimal size for negative lengths.
11510 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11512 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11514 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11516 2001-12-11 André Pönitz <poenitz@gmx.net>
11519 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11521 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11523 * text2.C: keep selection on a setFont()
11525 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11527 * lyx_cb.C: another bv->text misuse, from insert label
11529 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11532 * kbsequence.C: re-instate nmodifier mask
11534 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11536 * lyx_main.h: make lyxGUI private.
11538 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11540 * lyxfind.C: place the cursor correctly on failed search
11542 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11544 * text.C (getLengthMarkerHeight): for small heights, the arrows
11545 are not always on top/bottom of the text
11546 (drawLengthMarker): smaller arrows; take the left margin in
11547 account; draw also vfills.
11549 (paintLastRow): remove special code for vfill and standard spaces,
11550 since everything is handled in drawLengthMarker now.
11552 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11554 * buffer.C (insertErtContents): try to handle font and language
11555 interaction a bit better.g
11557 * ColorHandler.C (updateColor): change the hash to cover the whole
11558 LColor enum, ws cleanup
11559 (getGCLinepars): ditto
11560 (getGCLinepars): only lookup in the linecache once.
11562 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11564 * iterators.C (operator++): Make the iterator more robust
11566 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11573 * text.C: better added space drawing
11575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11578 * BufferView2.C: fix layout combo update on inset unlock
11580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11582 * Makefile.am: don't compile unused files
11584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11588 * LyXAction.C: remove old LFUN_LAYOUTNO
11590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11592 * paragraph_pimpl.h:
11593 * paragraph_pimpl.C: isTextAt() doesn't need font param
11595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11598 * lyxlex.C: little cleanup
11600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C: fix insertAscii for insets
11604 2001-12-05 Juergen Vigna <jug@sad.it>
11606 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11607 set the right font on the "multi" paragraph paste!
11609 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * lyxlength.C: remove out-commented code.
11617 * BufferView_pimpl:
11631 * vc-backend.C: change "while(" to "while ("
11633 * lyxlength.[Ch]: add zero function to check if length is zero or
11635 * lyxgluelength.C: use it
11637 2001-12-05 Allan Rae <rae@lyx.org>
11639 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11640 Works for 2.95.3, from what I understand of Garst's reports this should
11641 work for other g++ versions. We're screwed if the abs(int) definition
11642 changed between bugfix releases of gcc.
11644 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11646 * text.C: fix chapter label offset !
11648 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11651 * text.C: fix hfill at end of line, clean up
11653 2001-12-04 Juergen Vigna <jug@sad.it>
11655 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11656 that we force an update of the inset and it's owners if neccessary.
11658 2001-12-03 Juergen Vigna <jug@sad.it>
11660 * text.C (rowLast): simplified code
11662 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11664 * lyxfunc.C: fix show options on timeout
11666 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11668 * screen.C (topCursorVisible): scroll half a page when the cursor
11669 reached top of bottom of screen
11671 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11673 * minibuffer.C: deactivate on loss of focus
11675 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11677 * vspace.[Ch] (operator!=): add operator.
11679 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11681 * BufferView_pimpl.C: refuse to open an inset when
11682 there's a selection.
11684 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11686 * BufferView_pimpl.C: allow to click on RHS of full row insets
11688 2001-11-30 Juergen Vigna <jug@sad.it>
11690 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11691 insets for undo reasons.
11693 2001-11-28 André Pönitz <poenitz@gmx.net>
11695 * vspace.[Ch]: cosmetical changes
11697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11707 * kbsequence.C: part re-write of old kb code
11710 * WorkArea.C: remove Lgb_bug_find_hack
11712 2001-11-30 José Matos <jamatos@fep.up.pt>
11714 * buffer.C (makeDocBookFile): add a comment to point a hack.
11715 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11716 Fixed a double write of labels.
11718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11721 * LaTeX.h Fixed bug in LaTeX class where it would not
11722 re-run latex if no depfiles were changed, but the .dvi was removed.
11724 2001-11-28 André Pönitz <poenitz@gmx.net>
11726 * all the files from the change on 2001/11/26:
11727 use lyx::layout_type instead of LyXTextClass::size_type
11728 use lyx::textclass_type instead of LyXTextClassList::size_type
11730 2001-11-29 Juergen Vigna <jug@sad.it>
11732 * text.C: added support for paragraph::isFreeSpacing()
11734 * buffer.C: same as above
11736 * paragraph.h: inserted isFreeSpacing() function to enable
11737 FreeSpacing inside InsetERT.
11739 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11740 of the paragraph's in the cut/copy buffer to 0!
11742 * text2.C (removeRow): remove the assert as it can!
11744 * lyxtext.h: added helper function firstRow returning firstrow and
11745 made firstrow private again.
11747 * BufferView2.C (lockInset): don't relock if we're already locked!
11749 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11750 the only paragraph.
11751 (removeRow): added Assert::(firstrow)
11753 * debug.C: forgot to add INSETTEXT here.
11755 2001-11-28 Juergen Vigna <jug@sad.it>
11757 * sp_spell.C (initialize): changed error text to more general
11758 spellchecker command use (not only ispell!)
11760 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11762 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11764 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11766 * vspace.C: initialise lyxgluelength on failure
11768 2001-11-28 Allan Rae <rae@lyx.org>
11770 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11771 declaration & definition that looks like a function declaration.
11773 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11775 * BufferView2.C (copy):
11776 (copyEnvironment): do not clear the selection when doing a copy.
11778 * text.C (paintFirstRow): compilation fix
11780 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11782 * tabular.C (Latex): correct line count when writing latex.
11784 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11786 * paragraph_pimpl.h:
11787 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11790 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11794 * LColor.C: change vfillline->added_space
11796 * text.C: add markers and text for added space
11798 * vspace.C: fix comment
11800 2001-11-28 André Pönitz <poenitz@gmx.net>
11802 * paragraph.C: whitespace changes
11803 * all the other files from the change on 2001/11/26:
11804 change *::pos_type into lyx::pos_type
11806 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11808 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11809 language of the document when inserting error insets.
11811 2001-11-26 André Pönitz <poenitz@gmx.net>
11813 * BufferView_pimpl.[Ch]:
11821 * paragraph_pimpl.[Ch]:
11824 * text2.C: reduce header dependencies, introduce type for positions
11826 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11828 * <various>: change to use Alert.h
11830 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11832 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11833 when encountering an unknown token.
11834 (readLyXformat2): Show an error message if there were unknown tokens.
11836 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11839 * BufferView_pimpl.C:
11843 * text2.C: use par->isInset()
11845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11847 * paragraph_pimpl.h:
11848 * paragraph_pimpl.C: cleanup
11850 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * text2.C (removeRow):
11853 * text.C (setHeightOfRow): remove useless (and costly) call to
11856 2001-11-20 Allan Rae <rae@lyx.org>
11858 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11859 Now need Inset*::checkInsertChar() to return true for appropriate
11860 cases so that the characters in the minibuffer will actually be
11863 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11865 * text.C: change the order of the includes.
11866 (workWidth): initialize it at once.
11867 (workWidth): make maxw unsigned
11868 (setHeightOfRow): remove unused variable (inset)
11869 (selectSelectedWord): remove unused variable (inset)
11870 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11872 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11875 server is not running.
11877 (closeConnection): add debug info when server is disabled.
11879 * ColorHandler.C (getGCForeground): send debug message to GUI
11882 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11884 * kbmap.C (bind): modify because return conventions of
11885 kb_sequence::parse have changed.
11887 * kbsequence.C (parse): only ignore spaces and not any stupid
11888 control character. This avoids tests like s[i] <= ' ', which are
11889 guaranteed to fail with 8bit characters and signed chars.
11890 Change return code to string::npos when there have been no error
11891 (0 was a bad idea when error is at first character)
11893 2001-11-14 José Matos <jamatos@fep.up.pt>
11896 * buffer.C (simpleDocBookOnePar): removed unused argument.
11898 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11901 insets which are part of a word. Paragraph::isLetter takes care of
11902 that now. Use Paragraph::isInset to identify insets.
11903 (selectSelectedWord): do not test for hyphenation break.
11905 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11906 that protected spaces are considered as spaces.
11908 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11911 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11914 * lyxserver.C: fix it. and small cleanup.
11916 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11918 * BufferView_pimpl.C: use inline helpers
11921 * LaTeXFeatures.C: fix typos
11924 * Spacing.C: move spacing_string into class
11926 * ToolbarDefaults.C: move stuff into namespace anon
11928 * layout.h: update enum
11930 * lyxfunc.C: use better debug
11932 * minibuffer.h: fix typo
11936 * WorkArea.C: add and use Debug::WORKAREA
11940 * text2.C: code re-organisation, inline helpers
11942 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11944 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11945 std::vector.empty().
11947 2001-11-09 Allan Rae <rae@lyx.org>
11949 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11950 '\n's after tables. Tabular and ERT inset work now makes this no
11953 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11956 * minibuffer.C: fix crash, improve drop-down completion
11958 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11961 * lyxserver.C: invalidate fd's when doing endPipe()
11963 2001-11-08 José Matos <jamatos@fep.up.pt>
11965 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11966 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11969 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11971 2001-11-07 José Matos <jamatos@fep.up.pt>
11974 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11977 * buffer.C (sgmlOpenTag):
11978 * buffer.C (sgmlCloseTag): removed debug info.
11980 * buffer.h (sgmlOpenTag):
11981 * buffer.h (sgmlCloseTag): made public.
11983 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * buffer.C (saveParamsAsDefaults):
11986 * lyx_cb.C (MenuLayoutSave): remove
11988 * LyXAction.C (init):
11990 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11992 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11994 * buffer.C (setPaperStuff): removed from here...
11996 * bufferparams.C (setPaperStuff): ... and moved there.
11998 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12002 * XFormsView.C: add support for drop-down completion
12004 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12006 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12009 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12011 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12014 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12016 * lyx_main.C: change ref to known bugs
12018 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12020 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12021 to work around older babel problems.
12023 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12025 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12027 2001-10-24 Juergen Vigna <jug@sad.it>
12029 * tabular-old.C (ReadOld): below variable changes reflected.
12031 * tabular.[Ch]: added ltType struct for longtable header/footer
12032 defines and changed all instances where they are used. Added
12033 future support for double top/bottom rows.
12035 2001-10-24 José Matos <jamatos@fep.up.pt>
12037 * buffer.h (docbookHandleCaption):
12038 * buffer.C (docbookHandleCaption): removed unused function.
12039 (makeDocBookFile): moved docbook supported version to v4.1.
12041 2001-10-24 José Matos <jamatos@fep.up.pt>
12044 * tabular.C (docbookRow): new function to export docbook code of a row.
12045 (DocBook): now honors the longtable flags.
12047 2001-10-23 José Matos <jamatos@fep.up.pt>
12050 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12051 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12053 * buffer.C (makeLinuxDocFile):
12054 (makeDocBookFile): reworked the preamble, more clean, and with
12055 support for lyx defined entities. Changed the document declaration
12056 to be more XML friendly.
12058 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12059 if we need to output XML that should be done with a filter.
12061 2001-10-22 Juergen Vigna <jug@sad.it>
12063 * sp_pspell.h (class PSpell): add alive function needed in the
12064 controller to see if the spellchecker could be started.
12066 2001-10-22 Juergen Vigna <jug@sad.it>
12068 * buffer.C (insertStringAsLines): modify the font for inserting
12069 chars in certain conditions by calling checkInsertChar(font).
12071 2001-10-19 Juergen Vigna <jug@sad.it>
12073 * text.C (workWidth): use getRow instead of wrong algorithm.
12074 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12076 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12081 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12083 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12085 * text.C (workWidth): do not search for the exact row when
12086 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12087 optimization for big documents.
12089 2001-10-18 Juergen Vigna <jug@sad.it>
12091 * text.C (workWidth): new function with added Inset * parameter.
12093 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12097 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12098 change return type of getColumnNearX.
12101 * text.C (changeRegionCase): use uppercase/lowercase instead of
12104 (rightMargin): simplify code by factoring out the uses of
12109 (appendParagraph): use Paragraph::size_type
12111 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12113 * vspace.C (asLatexString): add a missing break
12115 2001-10-15 Herbert Voss <voss@perce.de>
12117 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12119 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12121 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12124 2001-10-10 André Pönitz <poenitz@gmx.net>
12126 * lyxfunc.C: removed greek_kb_flag.
12128 2001-10-10 Herbert Voss <voss@perce.de>
12130 * lyx_main.C: delete global string help_lyxdir.
12132 2001-10-09 Herbert Voss <voss@perce.de>
12134 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12136 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12138 * lyx_main.C: added global string help_lyxdir.
12140 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12142 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12144 * lyxrc.C (set_font_norm_type): support iso8859-4
12146 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12148 * LaTeX.C (deplog): add another regex for MikTeX
12150 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12152 * lyxrc.C (set_font_norm_type): support iso8859-3
12154 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12156 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12158 * LaTeXFeatures.C: remove special case of french and index
12160 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12161 before \begin{document}). This solves several incompatibilities.
12163 2001-10-03 Garst Reese <reese@isn.net>
12165 * lyx_cb.C: change CheckTex error msg.
12167 2001-10-03 José Matos <jamatos@fep.up.pt>
12169 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12171 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12173 * .cvsignore: update
12175 * lyx_main.C (commandLineVersionInfo): use new style version info.
12177 * buffer.C (writeFile):
12179 (makeLinuxDocFile):
12180 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12182 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12184 * version.h: update to use stuff in version.C
12186 * version.C.in: new file. Contains version information determined
12187 at compile time. This is a merging of version.h and
12190 2001-10-03 Juergen Vigna <jug@sad.it>
12192 * BufferView_pimpl.C (update): don't change "dirty" status in
12195 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12197 * WorkArea.C (c-tor): re-position version string slightly.
12199 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12201 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12202 revert to previous code.
12204 WorkArea.[Ch]: (show, destroySplash): methods removed.
12206 WorkArea.C: rework code so that it's an amalgam of the codes before and
12207 after the splash screen was moved to WorkArea.
12209 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * vspace.C (inPixels):
12215 * buffer.C (insertStringAsLines):
12216 (asciiParagraph): fix types to be large enough
12218 * lyxlex_pimpl.h: change member status from short to int
12220 * layout.h: fix type of endlabeltype
12223 * kbsequence.C (parse): change return type to string::size_type
12225 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12228 * Bullet.C (bulletSize):
12229 (bulletEntry): do not use short ints as parameters
12231 * BufferView2.C (insertLyXFile): change a char to an int.
12233 * WorkArea.C (WorkArea): remove unneeded floats in computation
12235 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12237 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12239 * paragraph.C (asString): Do not ignore newline/hfill chars when
12240 copying to the clipboard.
12242 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12244 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12245 after a multi-line inset.
12247 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12249 * paragraph.C (validate): Set NeedLyXFootnoteCode
12251 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12253 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12254 and decrease-error to decrease.
12256 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12258 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12259 it more readable (should be equivalent)
12261 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12263 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12265 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12268 of a cursor (row, etc.) after a character has been deleted
12269 (deleteEmptyParagraphMechanism): call the method above on _all_
12270 cursors held by the LyXText when a double space has been
12273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12275 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12277 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12279 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12280 background. Use greyOut() and the new show() methods to toggle between
12281 the foreground and background. Add code to remove the splash after
12282 its initial showing.
12284 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12285 (create_forms): no longer call Dialogs::showSplash.
12287 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * .cvsignore: add version_info.h
12291 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * version_info.h.in: new file
12295 * Makefile.am: add version_info.h.in
12297 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12298 version_info.h instead of VERSION_INFO
12300 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12302 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12303 The ERT inset now returns string().
12305 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12307 * lyxtext.h, text.C (selectNextWord): renamed as
12308 selectNextWordToSpellcheck.
12310 * text.C (selectNextWordToSpellcheck): Modified to not select
12311 words inside an ERT inset.
12313 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * lyx_cb.C (MenuLayoutSave): change a bit the question
12317 * sp_base.h: include <sys/types.h>
12319 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12321 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12323 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12325 * several files: fix typos in user-visible strings
12327 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12329 * text2.C (pasteSelection): do not set the selection, since it
12330 will be cleared later. Actually, the intent was to fix the way the
12331 selection was set, but I figured rmoving the code was just as good.
12333 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12335 * FontLoader.C (available): Check if font is available without
12338 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12340 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12342 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12344 * lyxrc.[Ch]: added display_graphics variable and associated code.
12346 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * bufferparams.C (hasClassDefaults): new method. Returns true if
12349 the buffer parameters correspond to known class defaults
12351 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12353 * XFormsView.C (show): set minimum size to the main window.
12355 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * text2.C (copySelection):
12359 * lyxfind.C (LyXReplace):
12360 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12361 LyXText::selectionAsString.
12363 * paragraph.C (asString): add "label" argument to the second form
12365 * text2.C (selectionAsString): add "label" argument and pass it to
12366 Paragraph::asString.
12368 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12370 * lyx_main.C (commandLineHelp): remove version information
12372 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12374 * lyx_main.C: add -version commandline option
12376 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * paragraph.h: make the optional constructor arg required instead.
12379 some modifications to other files because of this.
12381 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12383 * lyxserver.C (C_LyXComm_callback): make it static
12385 * lyx_main.C (error_handler): make it static
12387 * lyx_gui.C (LyX_XErrHandler): make it static
12389 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12391 * WorkArea.C: make the extern "C" methods static.
12393 * Makefile.am (lyx_LDADD): simplify
12395 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12397 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12398 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12400 * LyXAction.C (init):
12401 * lyxfunc.C (dispatch): associated code removal.
12403 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12405 * lyxfont.h (isSymbolFont): shut off warning
12407 * text.C (setHeightOfRow):
12408 (getVisibleRow): fix crash with empty paragraphs which have a
12411 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12413 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12416 2001-09-04 José Matos <jamatos@fep.up.pt>
12419 * tabular.C (docbook): rename docBook method to docbook.
12421 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12423 * Makefile.am: add dependencies to main.o.
12425 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12427 * FontLoader.C (available): Return false if !lyxrc.use_gui
12429 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12431 * FontInfo.C (query):
12432 * converter.C (view):
12433 * importer.C (Import):
12434 * exporter.C (Export): Can not -> cannot.
12436 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12438 * BufferView_pimpl.C: allow to create index inset even if
12441 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12443 * buffer.C (getLists): replace boost::tie code with an explicit pair
12444 as boost::tie can break some compilers.
12446 * iterators.h: Added a std:: declaration to the return type of
12449 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12451 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12454 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12456 * iterators.[Ch]: New files. Provide paragraph iterators.
12458 * buffer.C (changeLanguage): Use paragraph iterators.
12459 (isMultiLingual): ditto
12461 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12463 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12465 * FontLoader.C: Support for cmr font.
12467 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12469 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12470 (available): New method.
12472 * FontInfo.C (getFontname): Use scalable fonts even when
12473 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12476 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12478 * converter.C (Formats::view): reverted! Incorrect fix.
12480 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12482 * converter.C (Formats::view): only output the -paper option
12483 if the dvi viewer is xdvi, thereby fixing bug #233429.
12485 2001-08-23 Herbert Voss <voss@perce>
12487 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12489 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12491 * Spacing.h (Spacing): Set space to Default on in the default
12494 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * vc-backend.h (RCS::versionString): add RCS to version
12497 (CVS::versionString): add CVS to version
12499 * vc-backend.C (scanMaster): do not add CVS to version.
12500 (scanMaster): do not add RCS to version
12502 * lyxvc.C (versionString): new method
12504 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12506 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * Spacing.C (set): initialize fval
12510 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12512 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12515 2001-08-16 Juergen Vigna <jug@sad.it>
12517 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12519 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12521 * BufferView_pimpl.C:
12524 * text2.C: setParagraph takes linespacing now
12526 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12528 * LyxAction.C: add internal LFUN_CITATION_INSERT
12530 * LyXView.C: actually apply fix
12532 * bufferlist.C: fix open non-existent file
12534 * lyxfind.C: fix indentation
12536 * lyxfunc.C: remove unneeded assert, fix typo
12538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12540 * MenuBackend.C: use "Floatname List"
12542 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12544 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12545 when converting LaTeX layout to insetERT.
12546 Generate a non-collapsed float when reading old float
12548 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12550 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12553 2001-08-13 Juergen Vigna <jug@sad.it>
12555 * text.C (fill): return 0 instead of 20 as this seems to be the more
12558 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12560 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12563 2001-08-13 Juergen Vigna <jug@sad.it>
12565 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12567 (SearchBackward): comment out the unlocking of the inset_owner this
12568 should not be needed!
12570 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12572 * Many files: Remove inherit_language, and add latex_language
12574 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12575 collapsible insets.
12577 2001-08-10 Juergen Vigna <jug@sad.it>
12579 * text.C (prepareToPrint): fixed hfill-width in draw!
12581 * BufferView2.C (selectLastWord): save the selection cursor as this
12582 now is cleared in the function LyXText::clearSelection!
12584 2001-08-08 Juergen Vigna <jug@sad.it>
12586 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12587 BACKSPACE type functions.
12589 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12590 is only cutted from the document but not put in the cut-buffer, where
12591 still the old stuff should be.
12593 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12595 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12597 * tabular.C (SetWidthOfCell): fixed special case where the width
12599 (LeftLine): handle '|' in align_special.
12601 (LeftAlreadyDrawed): ditto
12602 (SetWidthOfCell): ditto
12604 2001-08-07 Juergen Vigna <jug@sad.it>
12606 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12608 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12611 * lyxlex.[hC]: ditto
12613 2001-08-06 Juergen Vigna <jug@sad.it>
12615 * text.C (getVisibleRow): fix up row clearing a bit.
12617 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * minibuffer.C: make sure the X server sees the changes in the input.
12621 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * paragraph.C (getFont): split into...
12624 (getLabelFont): this
12625 (getLayoutFont): and this
12626 * paragraph_pimpl.C (realizeFont): calling this
12628 * text2.C (getFont): split into...
12629 (getLayoutFont): this
12630 (getLabelFont): and this
12631 (realizeFont): all three calling this
12633 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12636 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12638 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12640 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12642 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12643 layouts from the Quote inset insertion.
12645 2001-08-03 Juergen Vigna <jug@sad.it>
12647 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12649 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12650 only if status not is already CHANGED_IN_DRAW (second level).
12652 * text.C (draw): don't set the need_break_row when inside an
12655 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * buffer.C (parseSingleLyXformat2Token): handle more latex
12660 * bufferview_funcs.[hC]: change function names to
12661 begin with small char, adjust other files.
12663 2001-08-02 André Pönitz <poenitz@gmx.net>
12666 BufferView_pimpl.C: remove broken special code for math-greek
12668 2001-08-02 Juergen Vigna <jug@sad.it>
12670 * BufferView_pimpl.C (update): redone this function so that we
12671 update the text again if there was a CHANGE_IN_DRAW.
12673 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12674 (drawFromTo): added a new internal bool which is used by draw() and
12676 (general): some cursor drawing problems fixed.
12678 2001-08-01 Juergen Vigna <jug@sad.it>
12680 * lyxfind.C (LyXFind): fixed
12681 (SearchForward): ditto
12682 (SearchBackward): ditto
12684 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12685 spurius drawing of the cursor in the main area.
12687 * text2.C (status): small fix which could lead to a segfault!
12688 (clearSelection): remove unneeded BufferView param.
12690 2001-08-01 André Pönitz <poenitz@gmx.net>
12692 * lyxfunc.C: small change due to changed mathed interface
12694 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12698 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12700 * lyxfunc.c: fail gracefully if file doesn't exist
12705 * BufferView_pimpl.C: IsDirWriteable() proto changed
12707 * LyXView.C: fix updateWindowTitle() to store the last title
12709 2001-07-31 Juergen Vigna <jug@sad.it>
12711 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12712 the font (wrong since using of Paragraph::highestFontInRange).
12714 * paragraph.C (highestFontInRange): added a default_size parameter.
12716 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12717 (setHeightOfRow): reformat
12719 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * converter.[hC] + affected files: move to (inital-char)lowercase
12724 * ParagraphParameters.C (ParagraphParameters): remove commented code
12726 * PainterBase.[Ch]: remove commented code
12728 * LaTeXFeatures.h: add "bool floats" for float.sty
12730 * LaTeXFeatures.C (LaTeXFeatures): init floats
12731 (require): handle float
12732 (getPackages): do it with floats
12734 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12736 * BufferView_pimpl.C (Dispatch): improve handling of
12737 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12739 * commandtags.h: #include lyxfont.h here temporarily to avoid
12742 * bufferlist.h: include LString.h here.
12744 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * text2.C (getStringToIndex): new method.
12748 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12750 * *: Reduced header file dependencies all over.
12752 2001-07-30 Baruch Even <baruch@lyx.org>
12754 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12756 2001-07-29 Baruch Even <baruch@lyx.org>
12758 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12760 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * ParameterStruct.h (endif): add a default constructor to make
12763 sure that all variables is initialized.
12765 * ParagraphParameters.C (ParagraphParameters): adjust
12767 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12769 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12770 index; also, check that there is something to index, and that it
12771 does not span over several paragraphs.
12772 (doubleClick): use WHOLE_WORD_STRICT for double click.
12774 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12776 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12779 2001-07-26 Baruch Even <baruch@lyx.org>
12781 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12782 an InsetFig figure, backwards compatible reading of old figure code.
12784 2001-07-27 Juergen Vigna <jug@sad.it>
12786 * text2.C: font.realize function adaption.
12788 * text.C (draw): add a warnings lyxerr text if needed.
12790 * layout.C: font.realize function adaption.
12792 * language.C: add inherit_language and implement it's handlings
12794 * bufferview_funcs.C (StyleReset): remove language parameter from
12795 font creation (should be language_inherit now).
12797 * bufferparams.C (writeFile): handle ignore_language.
12799 * paragraph.C (getFontSettings): the language has to be resolved
12800 otherwise we have problems in LyXFont!
12802 * lyxfont.C (lyxWriteChanges): added document_language parameter
12803 (update): removed unneeded language parameter
12805 * paragraph.C (validate): fixed wrong output of color-package when
12806 using interface colors for certain fonts in certain environments,
12807 which should not seen as that on the final output.
12809 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12811 * BufferView_pimpl.C:
12816 * LyXAction.C: add thesaurus support
12819 * lyxfind.C: add "once" parameter, for thesaurus, to not
12820 move to the next match
12822 2001-07-26 Juergen Vigna <jug@sad.it>
12824 * lyxfont.C (realize): honor ignore_language too!
12827 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12829 * text.C (draw): one place more for ignore_language to not draw
12832 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12834 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12839 the minipage conversion problem.
12841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12846 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * BufferView.h: don't forward declare WorkArea
12850 * BufferView.C: don't include WorkArea.h
12852 2001-07-25 André Pönitz <poenitz@gmx.net>
12856 * lyxfunc.C: new LFUN 'math-space'
12858 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12860 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * text2.C (toggleInset): call open/close
12864 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * lyxfunc.C (dispatch): add debug for the disabled case
12868 * font.C (buttonText): make similar to rectText
12870 * buffer.C (readInset): comment out parsing of insetlist and
12873 * PainterBase.C (rectText): small correction
12875 * BufferView_pimpl.C: comment out insettheorem and insetlist
12876 * LyXAction.C: ditto
12877 * commandtags.h: ditto
12879 2001-07-24 Juergen Vigna <jug@sad.it>
12881 * text.C (draw): honor the ignore_language.
12883 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12885 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12887 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12890 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12892 * lyxtext.h: remove unused (and unimplemented) methods
12894 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12896 * text.C (getVisibleRow): honor background color
12899 * Painter.h: remove default color argument for fillRectangle
12901 * text.C (backgroundColor): new method
12903 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * text.C (getVisibleRow): adjust
12907 * font.[Ch] (rectText): new method, metrics
12908 (buttonText): new method, metrics
12910 * PainterBase.[hC]: make rectText and buttonText always draw and take
12913 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12915 * ToolbarDefaults.C (read):
12916 * MenuBackend.C (read): allow escaping in all strings
12918 * BufferView_pimpl.C (insertAndEditInset): new method.
12919 (Dispatch): use insertAndEditInset whenever appropriate.
12921 * BufferView_pimpl.C (insertNote): removed
12923 * BufferView_pimpl.C (smartQuote): new method, moved from
12924 BufferView; if an insetquote cannot be inserted, insert a '"'
12927 * BufferView2.C: remove insertCorrectQuote();
12929 * lyxfunc.C (getStatus): Add support for all remaingin
12930 inset-insert lfuns.
12932 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12934 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12935 command (necessary to pass " as parameter of self-insert.
12937 * text.C (selectWordWhenUnderCursor):
12938 (selectWord): add word_location parameter
12939 (selectWordWhenUnderCursor): same + remove special code for word
12941 (selectNextWord): use kind() to guess type of insetspecialchar,
12944 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12945 (insertErtContents): create ert insets as collapsed.
12946 (readInset): better compatibility code for Info inset.
12948 2001-07-20 Juergen Vigna <jug@sad.it>
12950 * lyxfunc.C (dispatch): use always LyXFind now!
12952 * text2.C (init): add a reinit flag so that the LyXText can be
12953 reinited instead of deleted and reallocated (used in InsetText).
12955 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12961 2001-07-18 Juergen Vigna <jug@sad.it>
12963 * text.C (selectNextWord): handle insets inside inset by calling
12964 always the bv->text functions so that we can go up the_locking_inset!
12966 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12967 in strange locations when inside an inset!
12969 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12970 handling to include insets.
12972 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12974 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * LyXAction.C (init):
12978 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12979 LIGATURE_BREAK, since the name is so stupid.
12981 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12983 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12986 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12988 * sp_form.[Ch]: remove.
12990 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12992 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12995 * src/buffer.C (readInset): ditto.
12997 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12999 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13000 menuSeparator(), endOfSentenceDot(), ldots() and
13001 hyphenationPoint(), which are therefore removed.
13002 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13004 * LyXAction.C (init):
13005 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13007 * paragraph.C (getWord): removed.
13009 * BufferView_pimpl.C (Dispatch): use last word or selection for
13010 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13012 * lyx_main.C (queryUserLyXDir): do not ask before creating
13013 user_dir, except if it has been named explicitely.
13015 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13017 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13018 a document of zero size.
13020 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13022 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13023 approriately in the c-tor and in require().
13024 (getPackages): output the appropriate LaTeX for natbib support.
13026 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13027 variables "use_natbib" and "use_numerical_citations" when reading the
13029 (readInset): read the various natbib cite commands.
13030 (validate): white-space change.
13032 * bufferparams.[Ch]: new variables "bool use_natbib" and
13033 "bool use_numerical_citations".
13034 (writeFile): output them in the LyX file.
13036 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13038 * lyxfunc.C (getStatus): add support for all the inset insertion
13041 * text2.C (insertInset):
13042 * paragraph.C (insetAllowed):
13043 * BufferView_pimpl.C (insertInset): update to take in account the
13044 renaming of insertInsetAllowed
13046 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13048 * text2.C (getInset): new method. returns inset at cursor position.
13050 * BufferView_pimpl.C (Dispatch): changes because of this.
13052 * LyXAction.C (init): rename open-stuff to inset-toggle.
13054 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13056 * text2.C (toggleInset): renamed from openStuff; use
13059 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13061 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13063 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13065 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13067 * buffer.C (readLyXformat2): Add filename to the error dialog
13069 2001-07-18 Juergen Vigna <jug@sad.it>
13071 * tabular.C (GetCellNumber): put an assert here instead of the check!
13073 2001-07-17 Juergen Vigna <jug@sad.it>
13075 * BufferView_pimpl.C (toggleSelection): adapted too.
13077 * text.C (selectNextWord): adapted for use with insets.
13078 (selectSelectedWord): ditto
13080 2001-07-17 Juergen Vigna <jug@sad.it>
13082 * sp_spell.C (PSpell): fix initialitation order.
13084 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * paragraph.C: spacing
13088 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13090 * sp_spell.C: repair language selection for pspell
13092 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13094 * lyxfunc.h: change more methods to begin with lower char.
13096 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13098 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13099 for unknown layouts.
13101 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13103 * buffer.C (readLyXformat2): Generate an error dialog if there are
13106 2001-07-16 Juergen Vigna <jug@sad.it>
13108 * sp_spell.C: always compile ISpell part.
13110 * lyxrc.C: added use_pspell entry and it's handling.
13112 2001-07-13 Juergen Vigna <jug@sad.it>
13114 * sp_spell.C: removed double includes.
13116 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13118 Consistent use of Lsstream.h:
13119 * Lsstream.h: added using std::stringstream for consistencies sake.
13121 * buffer.C: removed using std::stringstream
13123 * lyxfont.C (stateText):
13124 * paragraph.C (asString):
13125 * text.C (selectNextWord, selectSelectedWord):
13126 * text2.C (setCounter):
13127 * vspace.C (asString, asLatexString):
13128 std::ostringstream -> ostringstream.
13130 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13132 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13133 * commandtags.h: add LFUN_HELP_ABOUTLYX
13134 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13138 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13140 * lyx_gui_misc.C: remove spellchecker
13141 * lyxfunc.C: showSpellchecker
13143 * sp_ispell.h: added
13144 * sp_pspell.h: added
13145 * sp_spell.C: added
13146 * sp_form.[Ch]: removed
13147 * spellchecker.[Ch]: removed
13149 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13151 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13153 (simpleTeXSpecialChars): Simply print the input character without
13154 any special translation if pass_thru is set.
13156 * layout.h: Added bool pass_thru to layout class for being able to
13157 implement pass through of a paragraph for Literate Programming.
13159 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13160 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13161 * layout.C (Read): add "passthru" to list of layout tags and add
13162 code to set the pass_thru boolean when it is read.
13164 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * trans_decl.h: remove allowed from KmodInfo
13168 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13169 remove allowed code
13172 * paragraph_pimpl.C (erase): use boost::prior
13174 * Painter.C (text): use data() instead of c_str() when length is
13176 * WorkArea.C (putClipboard): ditto
13177 * font.h (width): ditto
13179 * BufferView2.C: use it-> instead of (*it). for iterators
13181 * paragraph_pimpl.C: ditto
13182 * paragraph.C: ditto
13183 * minibuffer.C: ditto
13184 * language.C: ditto
13186 * encoding.C: ditto
13187 * counters.C: ditto
13188 * converter.C: ditto
13190 * Variables.C: ditto
13191 * TextCache.C: ditto
13192 * MenuBackend.C: ditto
13193 * LyXAction.C: ditto
13195 * FloatList.C: ditto
13196 * DepTable.C: ditto
13197 * ColorHandler.C (LyXColorHandler): ditto
13199 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13203 * text2.C (openStuff): reintroduce this method (which had been
13204 nuked in NEW_INSETS frenzy).
13206 * lyxfunc.C (Dispatch): when an action has not been handled, use
13207 its name in the error message, not its number.
13209 * paragraph.C (inInset): change method name to begin with lowercase.
13212 * text2.C: updates because of this.
13214 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * ToolbarDefaults.C (add): add spaces in error message
13218 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13221 (readLyXformat2): rename return_par to first_par, use lyxlex's
13222 pushToken and remove the manual push handling.
13223 (parseSingleLyXformat2Token): add another ert comp. variable:
13224 in_tabular, rename return_par to first_par. handle newlines better
13226 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13228 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13230 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13232 * text2.C (getParFromID): removed
13234 * buffer.C (getParFromID): new method moved form lyxtext.
13235 * BufferView2.C (insertErrors): adjust
13236 (setCursorFromRow): adjust
13237 * BufferView_pimpl.C (restorePosition): adjust
13238 * lyxfunc.C (Dispatch): adjust
13239 * undo_funcs.C (textUndo): adjust
13241 (textHandleUndo): adjust
13242 (textHandleUndo): adjust
13244 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * buffer.C: up' the LYX_FORMAT
13248 * lyxfont.h: turn NO_LATEX on as default
13250 * buffer.C (insertErtContents): new methods of tex style compability.
13251 (parseSingleLyXformat2Token): use it several places.
13252 * tabular.C (OldFormatRead): and here
13254 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * text2.C: remove some commented code.
13259 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13260 * trans.C: changes because of the above.
13262 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13264 * text2.C (setCounter): Fix counters bug with bibliography layout.
13266 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13269 own member functions
13270 (simpleTeXSpecialChars): ditto
13272 2001-07-06 Juergen Vigna <jug@sad.it>
13274 * a lot of files: changed the access to LyXText::status and the
13275 call of undo-functions.
13277 * undo.[Ch]: added a inset_id to the undo informations.
13279 * undo_funcs.[Ch]: added and moved here all undo functions.
13281 * lyxtext.h: give the status enum a weight, made status_ a private
13282 variable and made accessor functions for it, removed the whole bunch
13283 of undo-functions as they are now in their own file, make some
13284 functions publically available. Added function ownerParagraph with
13287 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13288 made InInset() a const function, added getParFromID() function.
13290 * buffer.[Ch]: added const version for inset_iterator functions,
13291 added getInsetFromID() function.
13293 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13294 changed undo functions for new version.
13296 2001-07-05 Juergen Vigna <jug@sad.it>
13298 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13299 unknow mechanism does not call the proper constructor but only this
13300 one also if I request the other!?
13302 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13306 * text2.C (LyXText): use initialization lists.
13308 * lyxtext.h (Selection): initialize set_ and mark_
13309 (init): remove method
13311 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13313 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13315 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * screen.[Ch]: change method names to begin with lowercase
13319 * BufferView_pimpl.C (updateScrollbar): simplify further and
13320 hopefully make it a bit faster.
13322 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13325 calling directly xforms functions.
13327 * Painter.C (Painter):
13328 * lyx_cb.C (MenuWrite):
13329 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13332 * lyx_gui.C: remove bogus guiruntime extern declaration.
13334 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13338 (redoDrawingOfParagraph): ditto
13339 (redoParagraphs): ditto
13340 (cutSelection): don't create a object for CutAndPaste use the
13341 static method directly
13342 (pasteSelection): ditto
13344 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * modifications to some other files because of this.
13351 * Makefile.am (lyx_SOURCES): add XFormsView
13353 * XFormsView.[Ch]: new files
13355 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13356 the main window. Move the gui dependent stuff to XFormsView
13358 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * tabular.C (GetCellInset): update cur_cell also in the row/col
13361 version of this function.
13363 * lyxfunc.C: no need to include figure_form.h here.
13369 * lyxvc.C: no need to include forms.h here.
13371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13375 * lyxfunc.C (Dispatch):
13377 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13378 constructor argument.
13380 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * paragraph.C (Paragraph): dont't clear, and just set layout.
13383 (makeSameLayout): use params's copy contructor.
13385 * ParagraphParameters.[Ch] (makeSame): delete method
13387 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13389 * Variables.[Ch]: fix indentation, rename set to isSet
13391 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * lyxfunc.C (Dispatch): fix typo
13395 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13397 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13400 * bufferlist.C: include assert.h for emergencyWrite().
13402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13404 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13405 give up at last (bug #425202) !
13407 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13413 * spellchecker.C: strip spellchecker options and bring up
13414 preferences tab instead
13416 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13419 the istringstream constructor
13421 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * paragraph.C (getLayout): fix return value
13425 * paragraph.h: do not declare getLayout as inline.
13427 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13429 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * lyxcursor.h (operator<): new func
13432 (operator>): new func
13433 (operator>=): new func
13434 (operator<=): new func
13436 * text.C (changeCase): use selection.start and selection.end
13437 (changeRegionCase): require from to be <= to. Require par to be a
13440 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13442 2001-06-27 Juergen Vigna <jug@sad.it>
13444 * text.C (cursorLeftOneWord): changed to return the cursor and added
13445 overlay with BufferView * parameter which calls this one.
13447 (selectWord): use new getWord function.
13448 (changeCase): renamed from changeWordCase as and extended to work
13449 also on selections.
13451 * lyxtext.h: added enum word_location
13453 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13454 changeCase as this operates now also on selections.
13456 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13458 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13460 * many files: send debug output to Debug::INFO instead of
13463 * converter.C (View):
13465 (Move): send debug output to Debug::FILES instead of console.
13467 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13469 * lyxfunc.C (getStatus): use func_status
13471 * func_status.h: new header, describing the results of
13472 LyXFunc::getStatus;
13474 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13477 2001-06-25 The LyX Project <jug@sad.it>
13479 * buffer.C (sgmlOpenTag):
13481 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13483 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * text2.C: remove some dead code
13487 * tabular.C (GetCellInset): store the last cell checked (gotten)
13489 * tabular.h: add the helper for the speedup
13491 * lyxtext.h: remove some dead code
13493 2001-06-26 The LyX Project <Asger>
13495 * paragraph.C: Change export to LaTeX of alignment to
13496 \begin{center} and family for better roundtrip work with reLyX.
13498 * Tune the math drawing a bit.
13500 2001-06-25 The LyX Project <Asger>
13502 * LColor.C (LColor): New color for math background. New color
13505 2001-06-25 The LyX Project <jug@sad.it>
13507 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13509 * lyxfunc.C (Open):
13510 * bufferlist.C (newFile): do not restrict to files ending with
13513 * BufferView_pimpl.C (MenuInsertLyXFile):
13515 2001-06-24 The LyX Project <jug@sad.it>
13517 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13520 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * lyxtext.h: rename most methods to begin with a small char.
13523 Lots of changes because of this.
13525 * paragraph.C (Paragraph): do not call fitToSize
13526 (erase): call Pimpl::erase
13527 (insertChar): call Pimpl::insertChar
13528 (insertInset): call Pipl::insertInset
13529 (breakParagraph): do not call fitToSize
13530 (breakParagraphConservative): do not call fitToSize
13531 (fitToSize): remove method
13533 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13535 2001-06-24 The LyX Project <Asger>
13537 * Fix Qt compilation^2
13539 2001-06-24 The LyX Project <jug@sad.it>
13541 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13542 depthHook(getDepth()-1).
13545 * ParagraphParameters.h:
13546 * ParameterStruct.h: change type of depth to unsigned int ==
13547 depth_type. Many adaptations to other files before of that.
13549 2001-06-24 The LyX Project <Asger>
13551 * Fix Qt compilation.
13553 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13555 * paragraph.h: renamed several methods to begin with small letter.
13556 several changes to many parts of the code because of this.
13558 2001-06-23 The LyX Project <jug@sad.it>
13560 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13561 rewritten to discard all double spaces when KeepEmpty is off
13562 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13563 to only handle newlines but not fiddle with spaces and friends.
13565 * lyxfunc.C (MenuNew): when doing 'new from template', use
13566 template_path as default directory
13568 2001-06-23 The LyX Project <Asger>
13570 * Clean-up of header file includes all over
13571 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13573 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13575 * paragraph.h: renamed from lyxparagraph.h
13577 2001-06-23 Asger <lyx@violet.home.sad.it>
13579 * Buffer.h: Removed Buffer::resize
13580 * BufferList.h: Removed BufferList::resize
13581 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13582 the document lazily when we change the width, or the font settings.
13584 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13586 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13588 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13590 * buffer.h: remove out of date comment
13592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13595 * screen.C: fix "theoretical" GC leak
13597 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * LaTeX.C (scanAuxFile):
13600 (deplog): remove trailing \r when reading stream (useful under
13603 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13605 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13606 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13607 and BufferView::theLockingInset(Inset*), so should use them and not
13608 access bv_->text->the_locking_inset directly.
13610 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13612 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13615 * tex-defs.h: remove old unused file
13617 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13619 * BufferView_pimpl.C: fix typo, remove minibuffer message
13620 when buffer has loaded
13622 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * lyxfunc.C (Dispatch): use stringstream
13625 (MenuNew): use stringstream
13626 (Open): use stringstream
13628 * importer.C (Import): use stringstream
13630 * bufferview_funcs.C (CurrentState): use stringstream
13632 * LaTeX.C (run): use stringstream
13634 * BufferView_pimpl.C (savePosition): use stringstream
13635 (restorePosition): use stringstream
13636 (MenuInsertLyXFile): use stringstream
13638 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13651 * vspace.C: removed // -*- C++ -*- as first line.
13654 * version.h: added // -*- C++ -*- as first line.
13656 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13658 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13660 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13663 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13665 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13668 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13670 * gettext.C: include LString.h even when --disable-nls is on.
13672 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13674 * converter.h (Get): changed argument type from int to
13675 FormatList::size_type to avoid unnecessary conversion.
13677 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13680 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13682 * gettext.h: include LString.h even when --disable-nls is on.
13684 2001-06-07 Juergen Vigna <jug@sad.it>
13686 * text.C (BreakAgain): subst spaces with tabs.
13688 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13689 (resizeInsetsLyXText): set force on resizeLyXText.
13691 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * gettext.h (gettext_init):
13694 (locale_init): use a real definition instead of a macro
13696 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13698 * Bufferview_pimpl.C:
13700 * LColor.C: further lcolor tidies
13702 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * BufferView_pimpl.C (updateScrollbar): simplify.
13706 * BufferView2.C: don't include insets/insetinfo.h, change
13707 prototype for insertInset and call the Pimpl version. let
13708 updateInset call Pimpl version.
13710 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13711 gotoInset to BufferView::Pimpl
13713 2001-06-01 Juergen Vigna <jug@sad.it>
13715 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13716 inside a LockingInset (is the update needed at all?).
13718 2001-05-31 Juergen Vigna <jug@sad.it>
13720 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13721 here not the old one otherwise how should we compare it afterwards
13724 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13729 * FontInfo.C: bring C functions into global namespace when
13732 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13734 * LString.h: make sure config.h has been loaded before LString.h.
13736 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13737 (one for each char read by EatLine!).
13739 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13742 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13745 to the same as the par we break from
13747 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13751 * MenuBackend.C (expand): also create menu entries for wide
13752 versions of the floats.
13754 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13756 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13758 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13759 frontends/Makefile.am
13765 * tabular.C (getTokenValue): add std::
13767 * tabular-old.C (getTokenValue): add std::
13768 (getTokenValue): ditto
13769 (getTokenValue): ditto
13771 * screen.C (ToggleSelection): adjust
13773 * lyxtext.h: put selection cursors inside a Selection struct.
13775 * lyxfunc.C (moveCursorUpdate): adjust
13777 * lyxfont.C (latexWriteStartChanges): add std::
13779 * lyxfind.C: adjust
13781 * font.h: delete with(char const *, LyXFont const &)
13783 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13785 * FontInfo.C (getFontname): add std::
13787 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13788 (workAreaButtonPress): adjust
13789 (tripleClick): adjust
13791 (moveCursorUpdate): adjust
13794 * BufferView2.C (gotoInset): adjust
13796 2001-05-30 Juergen Vigna <jug@sad.it>
13798 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13799 to check pspell I add this as default as I now have new pspell
13800 libraries and they seem to use this.
13802 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * text2.C (CutSelection): make the cursor valid before the call to
13807 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13810 relied on 0 terminated strings and other horrors. Bug found due to
13811 the new assert in lyxstring!
13813 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13816 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13821 * lyxfunc.C (processKeySym): change method of getting to the
13824 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13825 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13826 * BufferView_pimpl.[Ch]: here as private methods.
13828 2001-05-28 Juergen Vigna <jug@sad.it>
13830 * text.C (SetHeightOfRow): added the update() call again as it is
13831 needed to initialize inset dimensions!
13833 2001-05-16 Juergen Vigna <jug@sad.it>
13835 * text2.C (SetCharFont): Add new function with BufferView * and
13836 bool toggleall parameters for setting insets internal fonts.
13837 (SetFont): Freeze the undo as we may change fonts in Insets and
13838 all this change should be inside only one Undo!
13840 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13841 setting font's in insets as for them we have the SetFont function!
13843 2001-05-15 Juergen Vigna <jug@sad.it>
13845 * text2.C (ClearSelection): to be sure we REALLY don't have any
13848 * tabular.C (TeXCellPreamble): fixed the left border problem for
13851 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13853 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13856 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13858 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13859 LFUN_BREAKPARAGRAPH.
13861 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13862 help test to "internal only", similar for LFUN_INSERT_URL
13864 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13865 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13866 auto_region_delete and deadkeys.
13868 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13871 * LColor.C: remove some dead entries, tidy a little
13873 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13875 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13877 (Dispatch): implement LFUN_ESCAPE
13879 * commandtags.h: add LFUN_ESCAPE
13881 * LyXAction.C (init): add entry for LFUN_ESCAPE
13883 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13884 Remove commented code.
13885 (insertNote): moved here
13886 (open_new_inset): moved here
13888 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13891 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13893 * kbmap.C (findbinding): clean it up and make it work correctly.
13895 * lyx_main.C (init): do not pass argc and argv as parameters
13897 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13899 * buffer.C: fix path for OS/2 & Win32
13903 * lyx_main.C: Added os:: class.
13905 * os2_defines.h: update
13907 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13909 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13910 better by trying again with reduced state.
13912 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * lyxrc.C (read): print error about invalid key sequence only when
13915 debugging (because not all latinX keysyms are known to some X
13918 * kbsequence.C (getiso): add a few std:: qualifiers
13919 (getiso): comment out extra return statement.
13921 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13925 (Dispatch): enhance the accent inset a bit. (not perfect)
13927 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13931 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * bufferlist.C (emergencyWrite): fix assert() call
13935 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13937 * text.C (InsertChar): Added trivial patch to only send the "you
13938 can not do multiple spaces this way" message once during a
13941 2001-05-08 Baruch Even <baruch@lyx.org>
13943 * Makefile.am: Changed order of libraries to get LyX to link properly
13944 with the gnome frontend.
13946 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * LaTeXFeatures.h: add a std:: qualifier
13950 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * paragraph.C (String): use stringstream
13954 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13956 * paragraph.C (writeFile): remove footflag arg
13958 * buffer.C (makeLaTeXFile): use stringstream
13959 (latexParagraphs): remove footnot gurba
13961 * LaTeXFeatures.C (getPackages): use stringstream
13962 (getMacros): likewise
13963 (getTClassPreamble): likewise
13964 (getFloatDefinitions): new method
13966 * paragraph.C (writeFile): reindent
13969 * WorkArea.h: revert the xpos + etc changes.
13971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13973 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13975 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13976 (pasteSelection): likewise
13977 * text2.C (CreateUndo): likewise
13979 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13981 * minibuffer.C (peek_event): temporarily reduce the functionality
13982 of the minibuffer (to allow args on lfuns)
13984 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13985 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13987 * buffer.C (readInset): add compability reading of old float
13988 lists, add reading of new style float list.
13989 (readInset): avoid reevaluation of inscmd.getCmdName()
13990 (getLists): reindent
13992 * MenuBackend.C (MenuItem): implement parsing of
13993 md_floatlistinsert and md_floatinsert.
13994 (expand::LastFiles): move initalizaton of iterators out of loop,
13995 avoid reevaluation.
13996 (expand::Documents): introduce typdedef vector<string> Strings,
13998 (expand::ExportFormats): introduce typedef vector<Format const *>
13999 Formats, and use it.
14000 (expand): implement FloatListInsert and FloatInsert.
14002 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14003 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14004 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14006 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14008 (Dispatch::LFUN_FLOAT_LIST): implement
14010 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14012 * LaTeX.C (run): Fix problem with --export code.
14014 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14016 * BufferView.[Ch] (workarea): removed.
14017 (getClipboard) new method; wrapper for workarea()->getClipboard()
14019 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14022 * WorkArea.h (width, height, xpos, ypos): These methods all
14023 returned the dimensions of the work_area sub-area of WorkArea,
14024 resulting in a position error if the WorkArea were resized. Now
14025 return the dimensions of the entire WorkArea.
14027 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14029 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14031 * LaTeX.C (deplog): correct the syntax of regex reg1
14033 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14035 * undo.C: remove !NEW_INSETS cruft
14037 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14039 * text2.C: remove !NEW_INSETS cruft
14041 * text.C: remove !NEW_INSETS cruft
14043 * tabular.C: remove !NEW_INSETS cruft
14045 * spellchecker.C: remove !NEW_INSETS cruft
14047 * lyxtext.h: remove !NEW_INSETS cruft
14049 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14051 * lyxfunc.C: remove !NEW_INSETS cruft
14053 * lyxfind.C: remove !NEW_INSETS cruft
14055 * lyx_cb.C: remove !NEW_INSETS cruft
14057 * figureForm.C: remove !NEW_INSETS cruft
14059 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14061 * buffer.[Ch]: remove !NEW_INSETS cruft
14063 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14065 * CutAndPaste.C: remove !NEW_INSETS cruft
14067 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14069 * BufferView2.C: remove !NEW_INSETS cruft
14071 * BufferView.h: remove !NEW_INSETS cruft
14073 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * Lsstream.h: include LString.h before the sstream headers to
14076 fix problem with gcc 2.95.3 and lyxstring
14078 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14080 * lyx_main.C: add using directives when needed for C functions
14081 declared in std:: namespace.
14083 2001-04-27 Juergen Vigna <jug@sad.it>
14085 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14086 (SetHeightOfRow): comment out the update call should not be needed!
14088 2001-04-13 Juergen Vigna <jug@sad.it>
14090 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14091 (LyXTabular): tried to minimize operator= operations (and realized
14092 hopfully Lars wish).
14094 2001-04-27 Juergen Vigna <jug@sad.it>
14096 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14098 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14100 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14102 * buffer.C (readInset): hack to make listof algorithm work
14104 * BufferView_pimpl.C: hack to make listof algorithm work
14106 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14108 * LyXAction.C: removed all !NEW_INSETS cruft
14109 (init): moved lfun_item in method
14111 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14113 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14115 * BufferView2.C (theLockingInset): white space.
14117 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14119 * minibuffer.C: include <iostream>
14121 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14123 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14125 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14127 * text.[Ch] (TransposeChars): new method
14129 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * call message directly through LyXView instead of through LyXFunc
14132 * BufferView2.C: adjust
14133 * BufferView_pimpl.C: adjust
14134 * FontLoader.C: adjust
14136 * bufferview_funcs.C: adjust
14137 * converter.C: adjust
14138 * figureForm.C: adjust
14139 * importer.C: adjust
14141 * lyx_gui_misc.C: adjust
14142 * lyxfunc.C: adjust
14145 + more files in subdirs
14147 * lyxparagraph.h (size): move up int file
14150 * adjust all uses of Assert to lyx::Assert.
14152 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14153 lyxfunctional in namespace lyx
14154 * layout.C (hasLayout): ditto
14157 (delete_layout): ditto
14158 (NumberOfClass): ditto
14159 * converter.C (GetFormat): ditto
14164 * bufferlist.C (getFileNames): ditto
14165 (emergencyWriteAll): ditto
14168 * MenuBackend.C (hasSubmenu): ditto
14171 * BufferView_pimpl.C (getInsetByCode): ditto
14173 2001-04-18 Juergen Vigna <jug@sad.it>
14175 * vspace.C (asLatexString): fixed the 100% problem.
14177 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * lyxfunc.C (Dispatch):
14181 * minibuffer.h: add a few std:: qualifiers
14183 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * minibuffer.[Ch]: reimplement so that commands is initiated and
14186 run from lyxfunc, simplified som handling, and made the completion
14187 and history code for complete. wip.
14189 * lyxfunc.C (processKeySym): call message
14190 (miniDispatch): new temporary method
14191 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14192 (LFUN_MESSAGE): implement
14193 (LFUN_MESSAGE_PUSH): implement
14194 (LFUN_MESSAGE_POP): implement
14195 (initMiniBuffer): the initial/defualt minibuffer message.
14197 * lyxfont.[Ch]: inline some more getters
14199 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14201 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14203 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14204 (AutoSave): use LFUN_MESSAGE
14205 (Reconfigure): ditto
14207 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14209 * figureForm.C: use LFUN_MESSAGE
14211 * converter.C (runLaTeX): use LFUN_MESSAGE
14213 * bufferview_funcs.C: use LFUN_MESSAGE
14215 (changeDepth): ditto
14217 * bufferparams.h: use boost::
14219 * bufferlist.h: inherit privately from noncopyable
14221 * bufferlist.C (loadLyXFile): remove some commented code.
14223 * buffer.C (runChktex): use LFUN_MESSAGE
14225 * ShareContainer.h: inherit privately from noncopyable
14227 * ParagraphParameters.[hC] (depth): inline it.
14229 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14231 (message): new method
14232 (messagePush): ditto
14233 (messagePop): ditto
14234 (show): init minibuffer
14235 (showState): direct call
14237 * LaTeX.[Ch]: inherit privately from noncopyable
14238 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14239 instead of WriteStatus.
14241 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14243 * BufferView_pimpl.C (buffer): don't init minibuffer
14244 (workAreaButtonPress): use LFUN_MESSAGE
14245 (workAreaButtonRelease): ditto
14246 (savePosition): ditto
14247 (restorePosition): ditto
14248 (MenuInsertLyXFile): ditto
14249 (workAreaExpose): don't init minibuffer
14250 (update): remove commented code, simplify
14252 * BufferView2.C (openStuff): use LFUN_MESSAGE
14253 (toggleFloat): ditto
14256 (copyEnvironment): ditto
14257 (pasteEnvironment): ditto
14262 (updateInset): remove some commented code
14264 * lastfiles.h: inherit privately from noncopyable
14267 * lyx_main.h: ditto
14269 * lyxlex_pimpl.h: ditto
14271 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14272 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14273 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14275 * LyXAction.h: inherit privately from noncopyable, add methods
14276 func_begin, func_end, returning iterators to the func map.
14278 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14279 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14280 (func_begin): new method
14281 (func_end): new method
14283 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14285 (copySelection): ditto
14286 (pasteSelection): ditto
14288 * BufferView.C: whitespace change
14289 * BufferView.h: inherit privately from noncopyable
14291 2001-04-16 Allan Rae <rae@lyx.org>
14293 * tabular-old.C (l_getline):
14294 * spellchecker.C (sc_check_word):
14295 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14296 an unrecognised preprocessor directive. So ensure they're wrapped.
14298 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14300 * src/exporter.C (Export): Give an error message when path to file
14303 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14305 * LaTeX.C (deplog): Always check that foundfile exists.
14307 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14312 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14314 * tabular.[Ch] (getLabelList): implement new method
14316 * minibuffer.h: comment ouf setTiimer
14318 * minibuffer.C (ExecutingCB): constify res
14319 (peek_event): constify s
14320 (Set): constify ntext
14321 (Init): constify nicename
14323 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14325 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14326 (savePosition): use two params to Minibuffer::Set
14327 (restorePosition): ditto
14329 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * lyx_main.C: include language.h
14333 * Makefile.am (lyx_main.o): add language.h
14335 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14341 * CutAndPaste.C: include gettext.h
14343 * lyxfont.h: remove old hack with ON and OFF.
14346 * lyxfont.h: do not include language.h...
14351 * bufferview_funcs.C:
14357 * paragraph.C: ... but do it here instead
14359 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14363 * tabular.C: small reformat
14365 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14368 (BreakParagraph): ditto
14369 (SetOnlyLayout): ditto
14372 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14375 * lastfiles.C: removed most using decl, add std:: where needed
14377 * buffer.C: ws changes
14379 * MenuBackend.C (class compare_format): put into anon namespace
14380 (expand): constify label, names, action, action2
14383 * text.C (SingleWidth): constify font
14384 (IsBoundary): constify rtl2
14385 (GetVisibleRow): constify ww
14387 * LaTeX.C (deplog): constify logfile
14389 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14391 (workAreaExpose): constify widthChange, heightChange
14393 * lyxrow.C (par): moved
14396 * lyxrow.h: as inlines here
14398 * lyxfont.h (shape): moved from lyxfont.C
14399 (emph): moved from lyxfont.C
14401 * lyxfont.C (LyXFont): use initialization list for all
14403 (shape): move to lyxfont.h as inline
14404 (emph): move to lyxfont.h as inline
14407 2001-04-04 Juergen Vigna <jug@sad.it>
14409 * vspace.C: had to include stdio.h for use of sscanf
14411 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14414 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14415 independent of xforms.
14417 2001-04-02 Juergen Vigna <jug@sad.it>
14419 * spellchecker.C: fixed namespace placing!
14421 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14423 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14424 the LyXParagraph * is 0.
14426 2001-03-29 Juergen Vigna <jug@sad.it>
14428 * vspace.C: added support for %, c%, p%, l%.
14429 (stringFromUnit): added helper function.
14430 (asLatexString): changed to give right results for the %-values.
14432 * buffer.C: convert the widthp in a width%.
14434 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14436 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14439 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14440 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14442 * lyx_cb.[Ch]: see above.
14444 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14448 * lyx.[Ch]: replaced by figure_form.[Ch].
14452 * lyxfunc.C: changed headers associated with above changes.
14454 2001-03-27 Juergen Vigna <jug@sad.it>
14456 * BufferView_pimpl.C: set the temporary cursor right!
14458 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14460 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14462 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14464 * LString.h: removed "using std::getline"!
14466 * BufferView_pimpl.C (Dispatch): changes due to changes in
14467 InsetInclude::Params.
14469 * buffer.C (tag_name): removed redundant break statements as they were
14470 producing lots of warnings with my compiler.
14472 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14474 * LString.h: add "using std::getline" when using the real <string>.
14476 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14478 * buffer.C: removed bitset usage.
14479 PAR_TAG moved to an anonymous name space.
14480 (tag_name): new funtion, also in the anonymous namespace.
14481 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14482 (makeDocBookFile): clean code. Completed transition from string arrays
14484 (SimpleDocBookOnePar): code clean.
14486 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14488 * tabular.C: add some comments.
14490 2001-03-22 Juergen Vigna <jug@sad.it>
14492 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14493 compatibility read a bit and fixed bug with minipage in different
14496 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14498 * buffer.C (pop_tag): removed.
14499 (push_tag): removed.
14500 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14501 array replaced with vector. Added support for CDATA sections.
14502 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14504 (makeDocBookFile): XML conformant declaration of CDATA section,
14505 fixed bug related to <emphasis> in the first paragraph char.
14506 (sgmlOpenTag): exclude empty tags.
14507 (sgmlCloseTag): ditto.
14509 * buffer.h (pop_tag): removed.
14510 (push_tag): removed.
14512 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14514 * language.h (Languages): added size_type and size().
14516 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14518 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14519 response on compability reading of minipages. One probliem is that
14520 the old usage of minipages was «flertydig»
14522 * several files here and in subdirs: don't use static at file
14523 scope use anon namespaces instead.
14525 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14527 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14528 LaTeX output. This is necessary for Literate document
14531 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14533 * buffer.C: insert hfill when needed.
14535 * tabular.C (l_getline): use string::erase, small whitespace change.
14537 * BufferView_pimpl.C: try the anon namespace.
14538 * WorkArea.C: ditto
14540 2001-03-16 Juergen Vigna <jug@sad.it>
14542 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14543 otherwise it won't open options-dialogs.
14545 * buffer.C: honor pextraWidth(p) on converting minipages.
14547 * tabular.C (l_getline): changed the functions to strip trailing \r.
14549 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14551 * BufferView_pimpl.C:
14552 * minibuffer..C: added "using SigC::slot" declaration.
14554 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14556 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14562 * paragraph.C: ditto
14564 * lyxtext.h: NO_PEXTRA
14566 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14568 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14569 * ParameterStruct.h: ditto
14570 * ParagraphParameters.h: ditto
14571 * lyxparagraph.h: ditto
14573 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14575 * buffer.C: add compability for minipage alignment.
14576 (latexParagraphs): remove unwanted pextra check.
14578 * several files: remove CXX_WORKING_NAMESPACES
14580 * buffer.C (pop_tag): tie is in namespace boost
14582 * BufferView.h: noncopyable is in namespace boost
14584 * lyx_main.h: ditto
14587 * lastfiles.h: ditto
14588 * bufferlist.h: ditto
14589 * ShareContainer.h: ditto
14591 * LyXAction.h: ditto
14594 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14596 * Merging changes from BRANCH_MVC back into HEAD.
14598 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14600 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14602 * BufferView_pimpl.C: change from intl.C
14606 * Makefile.am: move combox.*
14612 * intl.C: remove dialog (covered by prefs)
14614 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14616 * lyxfunc.C (Dispatch): removed redundant break statement.
14618 2001-03-14 Juergen Vigna <jug@sad.it>
14620 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14622 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14624 * buffer.C: add hack to fix compability reading of minipages.
14626 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14628 * buffer.C (getLists): Cleanup.
14630 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14632 * lyxfont.C (update): don't honor toggleall on font size.
14634 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14638 * Makefile.am: moved to frontends/xforms/
14642 * BufferView_pimpl.C: changes for moved mathpanel
14644 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14646 * gettext.h: fix gettext_init() in --disable-nls
14648 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14652 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14655 * lyx.h: strip external form
14657 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14659 * BufferView_pimpl.C: add comment, destroySplash()
14661 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14663 * BufferView_pimpl.C:
14667 * lyxfunc.C: use re-worked insetinclude
14669 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14671 * buffer.C: add using std::stringstream.
14673 * lyx_cb.C: readd using std::ios.
14675 * buffer.C: add using std::map.
14677 * BufferView_pimpl.C: add using std::vector.
14679 * ShareContainer.h: add std:: to swap.
14681 * buffer.h: add some typedefs
14682 * buffer.C (getLists): use them
14683 (getLists): renamed from getTocList.
14684 add a counter for the different float types and use it in the
14686 (getLists): use the same counter for the NEW_INSETS and the "non"
14689 * lyx_cb.h: remove unused items, includes, using etc.
14691 * ShareContainer.h: remove some commented code, add more comments
14692 and "documentation".
14694 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14696 * buffer.C (getTocList): make the list also when NEW_INSETS is
14699 * buffer.h: remove TocType
14701 * buffer.C (getTocList): change to return a map<string,
14702 vector<TocItem> >, implement for dynamic number of list.
14704 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14705 * text2.C (PasteSelection): adjust
14706 * CutAndPaste.C (pasteSelection): adjust
14708 * FloatList.C (FloatList): update from the new_insets branch.
14709 * Floating.[Ch]: ditto
14710 * LaTeXFeatures.C: ditto
14712 * lyxlex_pimpl.C: ditto
14714 * paragraph.C (Last): remove when NEW_INSETS is defined.
14716 * other file: changes because of the above.
14718 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14720 * lyxparagraph.h: rename next to next_, previous to previous_,
14721 make them private for NEW_INSETS. Rename Next() to next(),
14722 Previous() to previous().
14724 * other files: changes because of the above.
14726 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14729 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14732 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * main.C (main): pass lyx_localedir to gettext_init().
14736 * gettext.h: remove locale_init and gettext_init macros
14738 * gettext.C (locale_init): new function
14739 (gettext_init): new function
14741 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14744 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14746 * Moved credits to frontends:
14747 * credits.[Ch]: removed
14748 * credits_form.[Ch]: removed
14749 * lyx_gui_misc.C: remove credits stuff
14752 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14754 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14756 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14757 unneeded destructor.
14759 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14760 a standalone pointer again.
14762 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14764 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14770 * ToolbarDefaults.C:
14779 * BufferView_pimpl.C: use new file dialog in GUII
14782 * lyx_cb.C: remove LayoutsCB to Toolbar
14784 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * ShareContainer.h (get): add std:: qualifier
14788 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * ShareContainer.h: define a proper ShareContainer::value_type
14791 type (and use typename to please compaq cxx)
14793 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14795 * lyxparagraph.h: move serveral local vars to
14796 ParameterStruct/ParagraphParameters., use ShareContainer in
14797 FontTable., make vars in FontTable private and add getter and
14800 * paragraph.C: changes because of the above.
14802 * lyxfont.h: remove copy constructor and copy assignment. (the
14803 default ones is ok), move number inside FontBits. move inlines to
14806 * lyxfont.C: add number to initializaton of statics, move several
14807 inlines here. constify several local vars. some whitespace
14808 cleanup. Dont hide outerscope variables.
14810 * Spacing.h: add two new constructors to match the set methods.
14812 * ShareContainer.h: new file, will perhaps be moved to support
14814 * ParameterStruct.h: new file
14816 * ParagraphParameters.h: new file
14818 * ParagraphParameters.C: new file
14820 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14821 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14823 * BufferView_pimpl.C: ParagraphParameter changes.
14824 * buffer.C: Likewise.
14825 * bufferview_funcs.C: Likewise.
14826 * text.C: Likewise.
14827 * text2.C: Likewise.
14829 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * lyxfind.C (LyXReplace): do not redefine default argument in
14833 (IsStringInText): ditto
14834 (SearchForward): ditto
14835 (SearchBackward): ditto
14837 2001-03-06 Juergen Vigna <jug@sad.it>
14839 * lyxfind.C (IsStringInText): put parentes around expressions.
14841 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14843 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14845 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14847 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14849 * stl_string_fwd.h: add comment
14851 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14854 * tabular.C: remove unused DocBook methods
14860 killed DO_USE_DEFAULT_LANGUAGE
14862 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * lyx_gui.C: do not include language.h.
14866 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14867 arguments in function implementation.
14869 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14871 * BufferView_pimpl.C: add <ctime>
14873 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14875 * BufferView_pimpl.C: add using std::find_if
14877 2001-02-27 José Matos <jamatos@fep.up.pt>
14879 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14882 2001-02-11 José Matos <jamatos@fep.up.pt>
14884 * buffer.C (makeDocBookFile): command styles now have a parameter as
14885 "title" by default.
14887 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14889 * layout_forms.[Ch]: removed
14890 * lyx_cb.[Ch]: out character
14891 * lyx_gui.C: out character
14892 * lyx_gui_misc.C: out character
14893 * bufferview_funcs.C: : out character,
14894 added toggleall as parameter in ToggleAndShow
14896 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14898 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14900 * text2.C (SetCurrentFont): Disable number property at boundary.
14902 2001-02-26 Juergen Vigna <jug@sad.it>
14904 * lyxfunc.C (getStatus): added a string argument override function so
14905 that this is correctly called from LyXFunc::Dispatch if it contains a
14906 do_not_use_argument which is used!
14907 (Dispatch): added check for "custom" export and call appropriate func.
14909 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14911 * lyxrc.C: Add language_command_local, language_use_babel and
14912 language_global_options.
14914 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14916 * buffer.C (makeLaTeXFile): Use language_use_babel and
14917 language_global_options.
14919 2001-02-23 Juergen Vigna <jug@sad.it>
14921 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14922 which works with LyXText and putted it inside BufferView. Here now we
14923 only call for that part the BufferView::Dispatch() function.
14925 * BufferView.C (Dispatch): added.
14927 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14928 functions which needs to use a LyXText over from LyXFunc.
14929 (MenuInsertLyXFile): added
14930 (getInsetByCode): added
14931 (moveCursorUpdate): added
14932 (static TEXT): added
14934 2001-02-22 Juergen Vigna <jug@sad.it>
14936 * BufferView_pimpl.C (update): call a status update to see if LyXText
14939 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14941 * vc-backend.C (revert): implement for CVS
14942 (getLog): implement for CVS
14944 2001-02-20 Juergen Vigna <jug@sad.it>
14946 * text2.C (ClearSelection): added BufferView param for inset_owner call
14948 * lyxfunc.C (TEXT): added this function and use it instead of
14949 directly owner->view()-text of getLyXText().
14951 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14953 * src/layout_forms.C: out preamble
14954 * src/layout_forms.h: out preamble
14955 * src/lyx_cb.C: out preamble
14956 * src/lyx_cb.h: out preamble
14957 * src/lyx_gui.C: out preamble
14958 * src/lyx_gui_misc.C: out preamble
14959 * src/lyxfunc.C: connect with guii preamble
14961 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14963 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14965 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14967 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14968 whether to run bibtex.
14970 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14972 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14974 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14976 * Makefile.am (lyx_SOURCES): removed bibforms.h
14978 * vspace.h: doxygen
14980 * text.C (GetVisibleRow): make several local vars const
14982 * tabular.C: small cleanup.
14984 * lyxserver.C (callback): use compare instead of strncmp
14986 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14987 inlines to after class or to paragraph.C
14989 * lyxfont.h: remove friend operator!=
14991 * converter.h: move friend bool operator< to non friend and after
14994 * combox.h: small cleanup
14996 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14997 to inlines after class def.
14999 * buffer.C (pop_tag): use string operations instead of strcmp
15001 * bmtable.c: doxygen, small cleanup
15003 * LaTeX.h: remove friend operator==
15005 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15017 * BufferView_pimpl.C:
15018 * BufferView.[Ch]: remove cruft
15020 2001-02-14 Juergen Vigna <jug@sad.it>
15022 * lyxfunc.C: removed #if 0 unused code
15024 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15026 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15028 * text2.C (SetSelection): added a BufferView * parameter
15030 2001-02-13 Juergen Vigna <jug@sad.it>
15032 * lyxfunc.C (Dispatch): fixed protected blank problem.
15033 * BufferView2.C (protectedBlank): added LyxText * parameter.
15035 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15036 (AppendColumn): same as above for column_info.
15038 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15039 (moveCursorUpdate): use a LyXText param for support of InsetText.
15041 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15042 (tripleClick): ditto
15044 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15046 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15048 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15050 * text2.C (SetSelection): set correct update status if inset_owner
15051 (ToggleFree): ditto
15053 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15055 * tabular.C: remove some commented code.
15057 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15059 * BufferView_pimpl.C: call hideSplash()
15061 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15064 * bibforms.h: remove
15067 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15068 add LFUN_CHILD_CREATE
15070 * counters.h: fix tiny typo
15075 * lyx.C: move splash to frontends/xforms/
15077 * lyx_gui_misc.C: move Include and Bibform to frontends
15079 * lyxvc.h: clarify comment
15081 * vspace.C: tiny housekeeping
15083 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15085 * text.C (PrepareToPrint): RTL Fix.
15087 * paragraph.C (GetUChar): New method.
15088 (String): Use GetUChar.
15090 * buffer.C (asciiParagraph): Use GetUChar.
15092 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15094 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15096 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15099 * buffer.C: rename to getLogName(), handle
15100 build log / latex log nicely
15102 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * MenuBackend.h: remove support for reference menuitem type.
15107 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15109 * BufferView_pimpl.C: housekeeping
15110 * BufferView_pimpl.h:
15115 * minibuffer.h: move Timeout GUI-I
15117 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15119 * lyxrc.C (read): Update converters data-structures.
15121 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15123 * LaTeX.h (operator!=): add operator != for Aux_Info
15125 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15127 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15129 * LaTeXLog.C: deleted, useful code moved to Buffer
15132 * buffer.C: new function getLatexLogName()
15138 * lyxfunc.C: use frontends for LaTeX and VC logs
15140 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15142 * LaTeX.h: yet another std:: that Allan forgot.
15144 * Variables.C (set): renamed from isset(), because this clashes
15145 with some HP-UX macros (grr).
15147 2001-02-06 Allan Rae <rae@lyx.org>
15149 * LaTeX.h: Another bug fix. Missing std:: this time.
15151 2001-02-04 Allan Rae <rae@lyx.org>
15153 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15154 floats problem. I've left it commented out because it's not quite
15155 correct. It should also test that the current object is a table or
15156 figure inset. But I haven't gotten around to figuring out how to do
15157 that. I *think* it'll be something like: "table" == inset.type()
15159 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15162 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15164 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15165 all the citation/databases/styles in the auxilary file.
15166 (run): Rerun latex if there was a babel language error.
15168 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15170 * text.C (Backspace): Preserve the font when changing newline char
15172 (BreakParagraph): If the cursor is before a space, delete the space.
15174 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15176 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15178 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15179 new argument (code).
15180 (ChangeCitationsIfUnique): New method.
15182 * paragraph.C (GetPositionOfInset): Handle bibkey.
15184 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15186 * BufferView_pimpl.h: change type of Position::par_pos to
15187 LyXParagraph::size_type.
15189 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15191 * BufferView_pimpl.C (savePosition, restorePosition): Write
15192 messages to minibuffer.
15194 2001-01-28 José Matos <jamatos@fep.up.pt>
15196 * buffer.C (makeDocBookFile): adds support for document language.
15197 A silly restriction on the name of LatexCommand types where removed.
15198 Added support for CDATA sections, allows to chars unescaped, used
15199 among others in code, to avoid escape < and >.
15201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15203 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15204 saved positions instrad of a stack. Furthermore, a position is
15205 stored using paragraph id/paragraph position.
15207 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15208 Remove LFUN_REF_BACK.
15210 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15212 * converter.C (dvipdfm_options): New method.
15214 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15216 * vspace.C (isValidLength): Fix for empty input string.
15218 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * LyXAction.C (init): change description of LFUN_FIGURE to
15223 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * LaTeX.C: add using directive
15227 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15229 * MenuBackend.C (expand): Fix the sorting of the formats.
15231 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15233 * lyx_main.C: tiny error message fix
15235 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15238 calling fl_initialize(). This fixes the problem with ',' as
15239 decimal separator in text files.
15241 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15243 * trans.C (process): Fix the keymap bug.
15245 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15247 * LaTeX.C (scanAuxFiles): New method. Provides support for
15248 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15249 (scanLogFile) Scan for "run BibTeX" messages.
15251 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15252 OT1 font encoding. Also, load the aecompl package if the ae
15255 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15257 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15259 * texrow.C (increasePos): turn two error messages into debug
15262 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15264 * LaTeX.C (scanAux): Handle the \@input macro.
15265 (runBibTeX): Use scanAux().
15267 * language.C (latex_options_): New field.
15269 * LaTeXFeatures.C (getMacros): Add language macros.
15271 * buffer.C (makeLaTeXFile): Small fix.
15273 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15277 * text2.C: add a using directive.
15279 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15284 * lyxfunc.C: kill LyXBell.
15286 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15288 * text.C (IsBoundary): Remove the error message
15290 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15292 * lyxrc.C (setDefaults): Correct initialization value for
15295 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15297 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15300 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15301 and GotoNextNote().
15303 * src/LyXAction.C: Added reference-next.
15305 * text.C (InsertChar): Use contains instead of strchr.
15307 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15309 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15311 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15312 alignment commands (when needed).
15314 * text.C (InsertChar): Add ':' to number separator chars.