1 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * bufferparams.C (readGraphicsDriver): prevent crash
5 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * text2.C (setCounter): check for inInset() == 0
9 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
12 but use update() to get correct screen display; use convert
13 instead of istringstream.
14 (getStatus): handle LFUN_GOTO_PARAGRAPH
16 * lyxfunc.C (dispatch, getStatus): do not handle
17 LFUN_GOTO_PARAGRAPH here.
19 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
21 * text3.C (dispatch): size() -> depth()
23 * text2.C: remove some debug output
25 * paragraph.C: ws changes only
27 * lyxfunc.C (getStatus): size() -> depth()
29 * dociterator.h (clear, push_back, pop_back, internalData,
30 operator[], resize, empty): new functions
31 Make StableDocIterator and operator== be friends. Don't inherit
32 from std::vector use a privat class variable slices_ instead.
35 * dociterator.C: update because of not inheriting from std::vector
36 anymore. Call explictly to slices_ instead. Use depth() instead of
37 size() and top() instead of back()
39 * cursor.C: chagne size() -> depth and back() -> top(). Also
40 remove some direct operator[](i) calls in favour of foo[i]
41 (getFont): remove some dead code
43 * bufferview_funcs.C (coordOffset): size() -> depth()
45 * buffer.C: ws changes only
47 * CutAndPaste.C (eraseSelection): back() -> top()
49 * BufferView_pimpl.C (selectionRequested): back() -> top()
51 * BufferView.C (setCursor): size() -> depth()
53 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
55 * text3.C (cursorPrevious): return true if depm changed something
57 (dispatch): rename sl to oldTopSlice, remove moving use the new
58 NoUpdate func attrib instead. Make sure that needsUpdate is set
59 for function that have NoUpdate, but where depm might have changed
62 * text2.C (cursorLeft): make us return true if depm changed
65 (cursorUpParagraph): ditto
66 (curosrDownParagraph): ditto
67 (cursorUp, cursorDown): ditto, make sure to read comments in code
68 (deleteEmptyParagraphMechanism): remove an assert, also return
69 true if just a single char was deleted.
71 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
72 cursor that we modify, to avoid modifying an active cursor before
73 we call setCursor. This allows depm to run. Also return true if
74 depm deleted something.
76 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
77 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
78 cursorDownParagraph, cursorPrevious and cursorNext, return true if
79 something was changed in the buffer because of them (ie. depm run)
81 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
82 debug messages. Make update by default be false. Make sure that
83 the result of update is retained throught several calls down to
86 * LyXAction.h: add a new func_attrib: NoUpdate
88 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
89 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
90 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
92 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
94 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
97 bv_->owner(), bv_->buffer() by direct references to the private
99 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
100 (getStatus): isSavedPosition() is in BufferView::Pimpl.
101 (fitCursor): center() is in BufferView::Pimpl.
102 (getStatus, trackChanges, dispatch): no need for a temporary buf
104 (fitCursor, workAreaDispatch): use workarea().workheight()
106 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * CutAndPaste.C (pasteSelectionHelper): fix a crash
110 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * buffer.C: format up to 241.
113 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
114 break if pasting into ERT
115 * lyxfunc.C (getStatus): suppress mathpanel and
116 LFUN_DIALOG_SHOW_NEW_INSET in ERT
118 2005-02-01 Angus Leeming <leeming@lyx.org>
120 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
122 2005-02-01 Angus Leeming <leeming@lyx.org>
124 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
125 calling fs::is_directory().
127 2005-01-31 Angus Leeming <leeming@lyx.org>
129 * lyx_main.C (priv_exec): specify explicitly the relative location
130 of the top level build directory when run in-place.
132 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
135 LyXText containing the cursor, not the top-level one.
137 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
139 (insertStringAsLines): rename par to pit; use temporary variable
140 par to hold a Paragraph; do not store par.layout() in a variable,
141 since the pointer may die when breaking paragraphs; pass pars to
142 breakParagraph() instead of Buffer::paragraphs().
144 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
146 * lyxlex_pimpl.h: #include <fstream>.
148 * BufferView.[Ch] (getLyXText): add a const version.
150 * BufferView_pimpl.C: add debug aids.
155 * paragraph_funcs.h: add commentary explaining what the class does.
158 * coordcache.[Ch]: add lots of commentary.
159 (startUpdating, doneUpdating): debug aids.
160 (arrays, insets, parPos, getParPos): accessors to private data.
162 * cursor_slice.[Ch] (text): add a const version.
163 * dociterator.[Ch] (text, innerText): add const versions.
165 * lyxtext.h (breakParagraph): change the keep_layout arg to a
168 * paragraph.C (getRow, pos2ros): add asserts.
170 * paragraph.h: add commentary. Lots of.
172 * paragraph.[Ch] (metrucs, draw): removed.
175 * rowpainter.[Ch]: const-correct changes.
177 * text.C: various obvious clean-ups. Removal of ancient cruft.
180 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
182 * vc-backend.C (find_file): rewrite to use boost.filesystem
185 * main.C (main): set default name check for boost.filesystem to
188 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
191 (actOnUpdatedPrefs): ditto
193 * lyx_main.C (init): rewrite to use boost.filesystem
194 (queryUserLyXDir): ditto
196 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
197 (getContentsOfAsciiFile): ditto
199 * lastfiles.C (readFile): rewrite to use boost.filesystem
201 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
203 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
206 * buffer.C (Buffer): adjust for destroydir
207 (getLogName): rewrite to use boost.filesystem
209 (save): use fs::copy_file (from fs_extras)
211 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
213 * LaTeX.C (run): rewrite to use boost.filesystem
214 (scanAuxFiles): ditto
215 (handleFoundFile): ditto
217 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
221 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
223 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * lyxlayout.[Ch]: change some vars from float to double
227 * buffer.C (readFile): make a local var const
229 * Several files: use convert<> instead of atoi,strToXXX and friends
231 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
233 * LaTeXFeatures.[Ch]: Add a static list packages_ that
234 holds the contents of packages.lst. New functions getAvailable
235 and isAvailable to parse and check that list, resp.
239 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
241 * bufferparams.[Ch]: new param output_changes.
243 * Buffer.C: increase file format to 240.
244 Use output_changes and isVailable.
248 * paragraph_pimpl.C: Use output_changes and isVailable.
250 2005-01-23 Angus Leeming <leeming@lyx.org>
252 * output_latex.C: #include "insetbibitem.h", rather than
253 forward declare function bibitemWidest.
255 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
257 * lyx_main.C (init): make it compile on the Mac.
259 2005-01-20 Angus Leeming <leeming@lyx.org>
261 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
262 (setLyXMisc): (char string literal) != (char string literal) is
263 performing a comparison on the addresses. Convert one operand
264 explicitly to string to guarantee expected behaviour.
267 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
270 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
272 * output_plaintext.C: remove unneeded #include gzstream.h.
274 2005-01-20 Angus Leeming <leeming@lyx.org>
276 * SpellBase.h: rename some of the elements of the Result enum.
283 * pspell.C (check): ditto
285 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
287 * buffer.C: add #include <fstream>.
289 * lyx_main.C (init): Compile fix.
291 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
293 2005-01-20 Angus Leeming <leeming@lyx.org>
295 * mover.h: change commentary to reflect the changed meaning of
298 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * output_linuxdoc.C (linuxdocParagraphs): silence warning
302 * lyxfind.C (MatchString::operator()): remove bogus semicolon
304 2005-01-20 Angus Leeming <leeming@lyx.org>
306 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
307 printing diagnostic data by not dereferecing an iterator past the
310 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
312 * buffer.C (readHeader): use "&&" rather than "and".
314 * lyxserver.h (inPipeName, outPipeName): make these const.
316 2005-01-19 Angus Leeming <leeming@lyx.org>
318 * lyx_main.C (error_handler, init): protect SIGHUP with
319 #ifdef SIGHUP guards.
321 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
325 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * text.C (setHeightOfRow): add a margin at the top and bottom of
328 the document (bug 1761)
330 2005-01-17 Angus Leeming <leeming@lyx.org>
332 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
333 with "python ". Workaround for a brain-dead Windows.
335 2005-01-16 Angus Leeming <leeming@lyx.org>
337 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
338 for MacOSX and Windows to use prependEnvPath.
339 Strip out the hard-coded block to add elements to the PATH for
340 MacOSX and replace it with a call to prependEnvPath using the
341 contents of LyXRC::path_prefix.
342 (queryUserLyXDir): strip out the code to run reconfigure, instead
343 returning a boolean indicating the necessity to do so.
344 (reconfigureUserLyXDir): contains the code to reconfigure the
345 user support directory. Is now called after the various LyXRC data
346 files have been read.
348 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
350 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * converter.[Ch] (convert): take a new parameter try_default. Use
353 a default converter (imagemagick) if try_default is true.
355 2005-01-13 Angus Leeming <leeming@lyx.org>
357 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
359 (write): output LyXRC::cygwin_path_fix as necessary.
361 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
364 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
366 2005-01-12 Angus Leeming <leeming@lyx.org>
368 * lyx_main.C (init): set the PATH variable to include the
369 directory containing the LyX binary when running on Mac or Windows.
371 2005-01-12 Angus Leeming <leeming@lyx.org>
373 * lyx_main.C (init): remove cruft that purports to set the locale
374 dir. It doesn't and is not needed anyway.
376 2005-01-10 Angus Leeming <leeming@lyx.org>
378 * Makefile.am: remove the lyx_main.C special casing.
380 * BufferView_pimpl.C:
386 * messages.C: use support/package.h to provide the paths to the
387 various directories used by LyX.
389 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
391 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
392 layout if pasting into an empty paragraph)
394 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
396 * tex-accent.C: add <string>
398 2005-01-06 José Matos <jamatos@lyx.org>
400 * ParagraphParameters.C (write): put every parameter in its own line.
401 * paragraph.C (write): reduce number of consecutive empty lines exported.
402 * buffer.C (LYX_FORMAT): increase file format to 239.
404 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * everywhere: change support/tostr.h -> support/convert.h
408 * tabular.C: make all write_attributes templates, tostr -> convert
410 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
411 (emptyTag): and -> &&, and fix type for ret from getChar
412 (getFirstWord): fix type for ret from getChar
413 (onlyText): and -> &&
414 (simpleDocBookOnePar): and not -> && !, fix type for ret from
417 * toc.C (goTo, action):
418 * text3.C (dispatch):
419 * text.C (currentState):
420 * tex-accent.C (DoAccent):
423 * lyxfunc.C (menuNew):
424 * lyxfinc.C (replace):
425 * counters.C (laberItem):
426 * bufferview_funcs.C (font2string):
427 * bufferparams.C (writeFile):
428 * buffer.C (readFile):
430 * MenuBackend.C: tostr -> convert
432 * LaTeX.C (runMessage): fix format
433 (scanAuxFiles): tostr -> convert
435 * BufferView_pimpl.C (savePosition): fix format
436 (restorePosition): ditto
439 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
441 * Spacing.[Ch]: New method getValueAsString().
445 * ParagraphParameters.C:
448 * text3.C: store/read spacing value as string.
450 * rowpainter.C: change float value (spacing_val) to double.
452 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
453 broken custom document spacing).
455 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
457 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
458 namespace, also more use of temp references and const
460 * cursor.[Ch] (getStatus): move to lyxfunc.C
462 * bufferparams.C: reformat slightly
464 * bufferview_funcs.C (font2string): constify arg
470 * buffer_funcs.C: (many funcs): constify arg on function
471 definitions, also make more local vars const, also add ASSERTS on
474 * buffer.C (LYX_FORMAT): put const in correct place
475 (many funcs): constify arg on function definitions, also make
476 more local vars const
478 * aspell_local.h: remove "struct" from typdef setup
480 * aspell.C (check): make word_ok const
481 (nextMiss): simplify slightly
484 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * lyxrc.[Ch]: store all float values as strings.
487 use int (not float) for lyxrc.dpi.
489 2005-01-04 Angus Leeming <leeming@lyx.org>
491 * lyx_cb.C (Reconfigure):
492 * lyx_main.C (queryUserLyXDir):
493 to run the <system_lyxdir>/configure correctly on Windows, prefix
494 the path to the script with "sh " when generating the string that
495 is passed to system().
497 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
501 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * lyxlength.C (asLatexString): get rid of setprecision
505 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * text2.C (setLayout): remove unused variable endpit.
508 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
510 * paragraph.C (onlyText): remove unused variable style.
512 * cursor.C (bruteFind): remove unused variables beg and end.
514 * Makefile.am (dist_noinset_DATA): not needed anymore
516 * cheaders/*: remove.
518 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * text3.C: fix LFUN_MATH_MODE.
522 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * buffer_funcs.C (countWords): new function. Counts words between
527 * BufferView_pimpl.C (getStatus, dispatch): handle
530 * LyXAction.C (init):
531 * lfuns.h: add LFUN_WORDS_COUNT.
533 2004-12-19 Angus Leeming <leeming@lyx.org>
535 * buffer.C (save): s/slashify_path/internal_path/.
537 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * lyxfind.C (findChange): do not search for end of pars, because
540 the change tracker cannot handle this (fixes bug 1719).
542 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
544 * paragraph.[Ch] (autoBreakRows): remove
546 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
548 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
549 avoid using the paragraph one
551 * text2.C (LyXText, insertStringAsLines): adjust
553 2004-12-16 Angus Leeming <leeming@lyx.org>
557 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
559 2004-12-14 Angus Leeming <leeming@lyx.org>
561 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
563 * bufferlist.C (emergencyWrite):
564 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
567 2004-12-14 Angus Leeming <leeming@lyx.org>
569 * main.C: (main): no longer pass pointers to os::init.
571 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
573 * undo.C (textUndoOrRedo): simplify logic, fix a crash
574 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
576 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
579 * text3.C: remove selection_possible global flag
581 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
583 * text2.C (getSelectionSpan): remove
584 (changeDepth, changeDepthAllowed): adjust
586 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
588 * Makefile.am (BOOST_LIBS): use boost variables
590 2004-12-03 José Matos <jamatos@lyx.org>
592 * buffer.C: format up to 238.
594 2004-12-03 José Matos <jamatos@lyx.org>
596 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
598 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
600 * cursor.C (goUpDown): remove call to idxUpDown2
602 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
604 * tabular.[Ch]: use size_t-like types for cell, row and column
607 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * lyxfunc.C (getStatus): do not lose previous information when
610 calling BufferView::getStatus; do not set a default "Command
611 disabled" message at the beginning, but just before returning.
613 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * cursor.h (getStatus): add better comment from src/cursor.C
617 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * text3.C (getStatus): return false when the lfun is not handled
621 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * broken_headers.h: remove
625 * Makefile.am (lyx_SOURCES): remove broken_headers.h
627 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
629 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
632 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
633 top_y_, merge fitcursor with update
634 (updateScrollbar, scrollDocView, fitCursor, center, update): new
637 (workAreaDispatch): adapt to new coord scheme
638 (redoCurrentBuffer): remove
640 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
642 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
645 * coordcache.[Ch]: add paragraph cache and helpers
647 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
650 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
651 (targetX, setTargetX): introduce
653 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
654 baseline -> ascent, as the rest of lyx
656 * lyxtext.h: remove redoParagraphs, updateParPositions,
657 fullRebreak, redoParagraphInternal. move dist to anon namespace in
658 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
659 have ascent/descent (ascent is ascent of first par)
661 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
664 * paragraph.[Ch]: unify dimension handling with the rest of lyx
666 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
668 * pariterator.C: fix infinite loop introduced in par->pit renaming
670 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
671 in insets and LyXText, draw two off-screen paragraphs using
672 NullPainter, and adapt to new coord scheme
676 * text3.C: adapt lfun handlers to the new coord scheme, which
677 means: there's only guaranteed coord information for onscreen pars
678 plus one above and one below. This implies that one can do search
679 from y coordinates in the range [-1,workHeight]
681 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
683 * rename a lot of InsetOld to InsetBase
685 2004-11-25 Angus Leeming <leeming@lyx.org>
687 * BufferView_pimpl.C:
689 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
691 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
694 call BufferView::getStatus if LCursor::getStatus did nothing
695 (setStatusMessage, getStatusMessage): removed.
697 * FuncStatus.C (message): new methods. Used to provide an error
698 message indicating why a command is disabled.
699 (clear, |=, FuncStatus): update for message.
701 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * lyxfunc.C (dispatch): always call sendDispatchMessage
705 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
708 * BufferView_pimpl.C:
722 * undo.C: par->pit renaming
724 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
726 * tabular.C (cellstruct): use initialization, store a shared_ptr
727 to insettext instead of the insettext directly, adjust to fit.
728 (operator=): new function
730 (rowstruct): use initialization
731 (columnstruct): use initialization
732 (ltType): use initialization
735 * lyxlength.h (swap): new function
737 * LColor.[Ch] (operator=): use the common semantics
739 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * lyxfind.C (findNextChange): update the bufferview after setting
744 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
747 number of InsetOptArgs has already been inserted.
749 * output_latex.C (latexOptArgInsets): new method. This outputs all
750 the optarg insets, up to the limit defined in the layout file.
751 (optArgInset): removed
752 (TeXOnePar): call latexOptArgInsets; correctly update texrow
754 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
756 * paragraph.C (isLetter): remove special spellchecker-related
757 code; return true also for digits
758 (isWord, isKomma): remove
760 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
761 * lyxfind.C (MatchString()): use isLetter instead of isWord
763 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
765 * pariterator.h (operatir=): comment out un-implemented member
768 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
771 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * lyxfont.h: include LColor.h to satisfy concept checks.
775 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * pariterator.h: add typdefs for value_type, difference_type,
778 pointer and reference to satisfy concept checks. Also add default
779 constructor for same reason.
781 * pariterator.C (operator++): add post-increment operator to
782 satisfy concept checks.
784 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
787 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
789 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
790 checks. Also rename base_type to BaseType to follow naming
793 * FloatList.h: include Floating.h to satisfy concept checks.
795 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * lyxfunc.C (getStatus): when the origin of the request is menu or
798 toolbar, and the LyXView does not have focus, do as if there was
801 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
802 FuncRequest to individual entries of LFUN_SEQUENCE
804 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * output_latex.C (TeXOnePar): override runparams.moving_arg
807 according to the needprotect value of the current paragraph (bug
810 * paragraph.C (simpleTeXOnePar): no need to override
811 runparams.moving_args here
813 2004-11-14 John Spray <spray_john@users.sourceforge.net>
815 * vspace.C: fix off-by-one-error, related to fix #1682
817 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
819 * lengthcommon.C: a more general fix for bug 1682
821 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
823 * text.C (backspace): fix crash
825 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * format.[Ch] (getFormatFromFile): new method
828 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
830 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
834 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
836 * lyxfunc.C (dispatch): remove the verbose argument
837 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
840 * kbmap.C (defkey): set the origin of func to KEYBOARD
842 * MenuBackend.C (MenuItem):
843 * ToolbarBackend.C (add): set the origin of func to UI
845 * funcrequest.[Ch]: add origin member, which indicates which part
846 of LyX requests an action
848 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
850 * converter.C (move): don't lie in the error message
851 * converter.h (isReachable, move): document
853 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
855 * buffer.C: remove unused using lyx::support::atoi
856 * paragraph_funcs.C: ditto
858 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
860 * bufferlist.C (exists): use bind and equal_to instead of
863 * lyxtextclasslist.C (NumberOfClass): ditto
865 * cursor.C (insert): use for_each instead of explicit for loop
867 * bufferlist.C (getFileNames): use std::transform and
868 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
870 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
873 * buffer.C (changeLanguage): use for_each instead of explicit for
875 (hasParWithID): implement using getParFromID
877 * LaTeXFeatures.C: ws change only
879 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
882 * BufferView_pimpl.C (trackChanges): use for_each instead of
885 2004-11-04 André Pönitz <poenitz@gmx.net>
888 * undo.C (textUndoOrRedo): fix crash when creating undo information.
890 * dociterator.C (asDocIterator): use hard assert again.
892 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
894 * lyxlength.C (asLatexString): rewrite so that it does not use
897 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * text3.C (specialChar, dispatch): make sure cursor moves to the
900 right after inserting an inset
902 2004-11-02 José Matos <jamatos@lyx.org>
904 * output_docbook.C (docbook):
905 * paragraph.C (getID):
906 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
907 garantee that the output is always legal.
909 * tabular.C (docbook):
910 * outputprams.[Ch]: remove mixed contents.
912 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
914 * text2.C (setCounter): prevent endless loop
916 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
918 * exporter.C (copyFile): use the mover instead of support::copy()
919 * exporter.C (Export): pass format and latex name to copyFile()
920 * exporter.h (addExternalFile): document
921 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
923 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
925 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
927 2004-10-30 José Matos <jamatos@lyx.org>
929 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
930 text and no inset or font change. This allows to use CDATA
931 sections just for the whole paragraph.
933 2004-10-30 José Matos <jamatos@lyx.org>
935 * paragraph.C (getFirstWord): remove unused variable.
937 2004-10-30 José Matos <jamatos@lyx.org>
939 * paragraph.C (getFirstWord): the content should always be escaped
941 (simpleDocBookOnePar):
942 * output_docbook.C (makeEnvironment): replace reference to CDATA
945 2004-10-30 José Matos <jamatos@lyx.org>
947 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
949 2004-10-30 José Matos <jamatos@lyx.org>
951 * output_docbook.C (makeParagraphs):
952 * paragraph.[Ch] (emptyTag): for docbook and company, if the
953 standard paragraph has only a given type of content drop the wrapper.
955 2004-10-29 José Matos <jamatos@lyx.org>
957 * output_docbook.C (makeEnvironment):
959 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
961 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
963 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
964 (cleanID): sanitize any id.
966 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
968 * buffer.C, lyxlex_pimpl.C:
969 * lyxlex_pimpl.C (setFile):
970 s/getExtFromContents/getFormatFromContents/
972 2004-10-28 José Matos <jamatos@lyx.org>
974 * output_docbook.C (makeEnvironment): move id to broadest possible
977 * sgml.C (openTag): apply substitution of <> for all attributes.
979 2004-10-28 José Matos <jamatos@lyx.org>
981 * buffer.C (makeLinuxDocFile, makeDocBookFile):
982 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
983 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
985 * sgml.[Ch]: new version for open and closeTag for paragraph and
986 for strings. Now they handle the ids of paragraphs.
988 2004-10-26 Angus Leeming <leeming@lyx.org>
990 * Makefile.am: add mover.[Ch].
992 * converter.C (convert, move): use the new Movers to move external
993 files to the temp directory.
995 * lyx_main.C (init): ensure that the global system_movers data
998 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1001 * mover.[Ch]: new files, defining a Mover as a utility to move an
1002 external file between directories and, if necessary, manipulate this
1003 file using a helper script.
1005 2004-10-25 José Matos <jamatos@lyx.org>
1007 * output_docbook.C (makeCommand): merge two if's that tested the
1010 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1012 * sgml.C (escapeString): fix warning in a better way
1014 2004-10-25 José Matos <jamatos@lyx.org>
1016 * sgml.C (escapeString): import the require boosts header file for
1017 tie, and avoid a signed unsigned comparison.
1019 2004-10-25 José Matos <jamatos@lyx.org>
1021 * sgml.h: add #include <string>
1023 2004-10-25 José Matos <jamatos@lyx.org>
1025 * sgml.[Ch] (escapeString): new function to escape all the string.
1027 2004-10-24 José Matos <jamatos@lyx.org>
1029 * paragraph.[Ch] (getFirstWord): new function to get the first
1030 word. Useful for description.
1031 (simpleDocBookOnePar): remove depth argument, add another that
1032 says where to start the paragraph.
1034 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1035 use the new functions to fix cleanly the support for descriptions.
1037 2004-10-24 José Matos <jamatos@lyx.org>
1039 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1040 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1041 * output_linuxdoc.C (linuxdocParagraphs):
1042 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1043 add buffer as argument.
1045 2004-10-24 José Matos <jamatos@lyx.org>
1047 * output_docbook.C (makeEnvironment, searchEnvironment): place
1048 CDATA inside paragraphs and fix scope for listitems.
1050 2004-10-24 José Matos <jamatos@lyx.org>
1052 * output_docbook.C: remove using statement for stack.
1054 2004-10-23 José Matos <jamatos@lyx.org>
1056 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1057 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1058 docbook. The new scheme is recursive and makes use of iterators, the
1059 same as latex export works.
1060 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1061 directly with the paragraph contents. This code was moved up to
1062 output_docbook.C (docbookParagraphs).
1063 * sgml.C (openTag, closeTag): removed unneeded newlines.
1064 (closeEnvTags) removed.
1066 2004-10-23 André Pönitz <poenitz@gmx.net>
1068 * undo.C (textUndoOrRedo):
1069 * dociterator.C (asDocIterator): work around crash
1071 * cursor.C (getStatus): replace ASSERT by more verbose error message
1072 and manual correction of the problem. Should increase stability
1073 while providing more sensible information.
1075 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1079 * bufferlist.C (previous, next): new methods
1082 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1084 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1086 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1087 entities to preamble.
1089 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1091 * messages.C (Pimpl): strip off translation context information
1093 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1095 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1096 the cursor is correct (bug 1694)
1098 2004-10-13 José Matos <jamatos@lyx.org>
1100 * output_docbook.C (docbookParagraphs): fix closing tags in the
1101 end of the document.
1103 2004-10-09 José Matos <jamatos@lyx.org>
1105 * buffer.C: format up to 237.
1106 * bufferparams.C (write): use tostr to convert booleans to strings.
1108 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1110 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1112 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1114 * LaTeX.C: implement use of babel language in xindy.
1116 2004-10-05 José Matos <jamatos@lyx.org>
1118 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1119 Add new translators to help reading and writing the lyx file.
1121 2004-10-05 José Matos <jamatos@lyx.org>
1123 * ParagraphParameters.C (read):
1124 * text.C (readParToken): replace nexToken by more appropriate lex
1127 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1129 * LaTeX.C (runMakeIndex):
1130 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1131 (usually 'makeindex') configurable.
1133 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1134 with a variable rather than with a number.
1136 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * output_latex.C (TeXOnePar): make sure font setting is the first
1139 thing that gets output (and the last at the end). Should fix bug
1142 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1144 * pch.h: use proper signal include
1146 * LaTeX.h: Use preferred calling of Boost.Signal
1149 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1151 * pch.h: dont include <boost/function/function0.hpp>
1153 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1155 * paragraph_pimpl.h: remove usage of ShareContainer
1157 * paragraph_pimpl.C: remove initialization of ShareContainer.
1159 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * BufferView.C (putSelectionAt): change the semantics when
1164 backwards == true: now, this just swaps cursor and anchor wrt the
1167 * BufferView.h (putSelectionAt): add some documentation
1169 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1170 make sure backwardChar is done at least once (to avoid getting
1172 (findNextChange): use putSelectionAt in the forward direction
1173 (operator()): use Paragraph::isWord
1175 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1177 * Spacing.C (set): c_str fix
1179 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * lyx_cb.C (Reconfigure): quote the name of configure script in
1182 case it contains spaces
1184 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1188 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1189 (BOOST_LIBS): use top_buildir when looking for the file
1191 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1193 * pch.h: do not use include boost/format.hpp, multiple symbols
1194 will result (gcc bug)
1197 2004-08-23 José Matos <jamatos@lyx.org>
1199 * bufferparams.C (readToken): fix reading of the author field.
1201 2004-08-20 José Matos <jamatos@lyx.org>
1203 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1205 2004-08-20 José Matos <jamatos@lyx.org>
1207 * lyxlex.[Ch] (findToken): remove function.
1209 * ParagraphParameters.C (findToken):
1210 * bufferparams.C (findToken): replace call for previous function
1211 with local copy. This local function has one more argument, the
1212 read string argument.
1214 2004-08-16 José Matos <jamatos@lyx.org>
1216 * ParagraphParameters.C (write):
1217 * Spacing.C (writeFile):
1218 * bufferparams.C (writeLaTeX):
1219 * lyx_cb.C (Reconfigure):
1220 * paragraph.C (write):
1221 * tabular.C (write): remove unnecessary space at end of line.
1224 2004-08-16 José Matos <jamatos@lyx.org>
1226 * text.C (readParagraph): remove debug message.
1228 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1233 * output_plaintext.C (asciiParagraph): set depth correctly
1235 * outputparams.h: add member depth
1237 * paragraph_funcs.C (ownerPar): remove.
1239 * text2.C (setCounter): remove first_pit; comment out some
1240 non-working code that uses ownerPar
1242 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1245 2004-08-16 José Matos <jamatos@lyx.org>
1247 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1248 For the same level of importance use the same chanel to report problems.
1249 (read): add code to deal with \begin_body and \end_body.
1252 2004-08-15 José Matos <jamatos@lyx.org>
1254 * lyxlex.C (getString): fix comment, buffer::readBody is now
1255 buffer:readDocument.
1257 * tex-strings.C (string_papersize): Default -> default,
1258 Custom -> custom, for consistency with other options.
1260 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1264 * Makefile.am: support pch
1266 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * text.C (readParToken): remove the static LyXFont variable and
1269 pass it as a parameter instead. This fixes a nasty bug where an
1270 inset will be inserted with a bad font in some situations
1271 (readParagraph): adapt
1273 * text2.C (setCounter): reduce number of calls to pars_[pit]
1275 * text.C (singleWidth): add an assert, fix a test
1277 * rowpainter.C (paintText): reduce number of calls to singleWidth
1279 * paragraph.C (isHfill):
1280 (isNewline): ws only
1282 2004-08-14 André Pönitz <poenitz@gmx.net>
1287 * lyxtext.h (several functions): use a Paragraph & argument
1290 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1294 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1296 * text.C (singleWidth): remove useless test
1298 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * tabular.h: remove bogus comments
1302 * tabular.C (getDescentOfRow):
1303 (isPartOfMultiColumn): add assertions
1305 * lyxlength.C (inPixels): remove #warning
1307 2004-08-14 André Pönitz <poenitz@gmx.net>
1309 * paragraph.h: inline getChar()
1311 * BufferView.h: remove unused declarations
1313 2004-08-14 José Matos <jamatos@lyx.org>
1315 * Buffer.[Ch] (readDocument): new name for old readBody.
1316 * Buffer.C: new file format, new keywords: \begin_document,
1317 \begin_header, \begin_body, \end_body.
1319 * bufferparams.C (readToken): replace all calls to lex.nextToken
1320 by lex.next(). Do the same to eatLine except where really needed.
1322 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1323 line when writing to the lyx file.
1325 * output_plaintext.C (asciiParagraph): fix Bibliography style
1328 * text.C (read): fix end of file handling.
1330 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * MenuBackend.C (Menu::operator[]): new method to access
1333 individual menu items
1334 (Menu::hasFunc): new method. search for an item that corresponds
1336 (MenuBackend::specialMenu): new method
1337 (MenuBackend::expand): if a special menu has been set, skip
1338 entries whose func() appears in this menu
1340 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1342 * text3.C: use Debug::DEBUG a bit more
1344 * text.C (leftMargin): try to simplify a tiny bit change var x to
1345 l_margin. Dont output the wide margins always.
1346 (rightMargin): no margin in inner texts
1348 * rowpainter.h (nestMargin): new func
1349 (changebarMargin): new func
1350 (rightMargin): new func
1352 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1356 * factory.C (createInset): modify setDrawFrame
1358 * cursor.C: use Debug::DEBUG a bit more
1360 2004-08-14 André Pönitz <poenitz@gmx.net>
1363 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1364 cache for all insets in (at least partially) visible (top-level)
1367 * BufferView_pimpl.C: reset external coord cache before every update.
1368 This means the coord cache only contains valid entries.
1370 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1373 * BufferView_pimpl.C (getInsetByCode): move function out of class
1374 and change in to a template in anon namespace. Also fix to do what
1377 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1380 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1382 (breakParagraph): rename par to par_offset and use a local
1383 reference. Add code to keep the language over a rebreak.
1384 (breakParagraphConservative): rename par to par_offset, use a
1386 (mergeParagraph): ditto
1388 (isFirstInSequence): ditto
1389 (outerFont): rename pit to par_offset
1391 * paragraph.C: ws change
1392 * paragraph.h: ditto
1396 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1401 * paragraph.C (simpleTeXOnePar): when we have a \item with
1402 optional argument, enclose the argument with curly brackets (in
1403 case it contains a closing square bracket)
1407 * text3.C (checkInsetHit): constify
1409 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1412 documents (bug 1629)
1414 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 Fix toggling of collapsable insets with the mouse (bug 1558)
1418 * lyxfunc.C (dispatch): adapt to LCursor changes
1420 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1421 make sure that dispatch is not invoked twice
1423 * cursor.C (needsUpdate): new method
1424 (dispatch): return void
1425 (result): new method, to access the DispatchResult of the cursor.
1427 2004-08-13 José Matos <jamatos@lyx.org>
1429 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1431 2004-08-13 André Pönitz <poenitz@gmx.net>
1433 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1435 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1438 2004-08-12 André Pönitz <poenitz@gmx.net>
1440 * text3.C: take out the 'cursor right' form insertInset and only
1441 do it in those places when it is really needed. Fixes crash on
1444 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1446 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1448 * BufferView_pimpl.C (setBuffer): initialize the current font of
1449 the underlying LyXText
1451 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * kbsequence.C (print): use UI native formatting for menu
1456 * text.C (insertChar): call Paragraph::insertChar with a font
1459 * paragraph.C (insertInset, insertChar): the version that takes a
1460 LyXFont argument is now a wrapper around the other one (the
1461 opposite used to be true).
1463 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1464 argument. Font setting is done in Paragraph now.
1466 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * outputparams.h: add new members intitle and lang.
1470 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1471 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1473 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1475 * text3.C (dispatch): remove special handling of button 4 and 5,
1476 it is now taken care of in the frontend code.
1478 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1480 * Spacing.h: add <string> (STLPort compile fix)
1482 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1484 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1486 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1488 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1491 * converter.C (showMessage): inherit from unary_function, make
1494 * buffer.C (writeFile): initialize retval
1496 * InsetList.h: rename private variable list to list_
1497 * InsetList.[Ch]: adjust accordingly.
1499 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1501 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1502 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1503 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1504 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1505 * ParagraphParameters.C, LaTeXFeatures.C: replace
1506 "support/std_sstream.h" with <sstream>
1508 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1510 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1511 * lyxsocket.C (LyXServerSocket): ditto
1512 (serverCallback): ditto
1514 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1516 * LaTeXFeatures.C: check release date when loading jurabib.
1518 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1520 * lyxserver.C (startPipe): call register_socket_callback
1521 (endPipe): call unregister_socket_callback
1523 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1525 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1526 (LyXServerSocket): register the callback
1527 (LyXServerSocket): unregister the callback
1528 (fd): delete function
1529 (serverCallback): improve error checking and setup the callbacks.
1530 (dataCallback): change arg to fd.
1531 (writeln): new func (copied fro the client socket) used for server
1533 (LyXDataSocket): simplify
1534 (~LyXDataSocket): close ann unregiser callback
1535 (server): delete function
1536 (fd): delete function
1537 (readln): small changes, improve some std::string usage
1538 (writeln): constify a bit
1540 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1542 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1545 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1548 after it has been populated
1550 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * text2.C (insertInset): move cursor when inserting inset.
1554 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * kbmap.C (findbindings): a couple of new methods. returns a
1557 container of kb_sequence objects. The real work is done by the
1558 private recursive version
1559 (printbindings): uses findbindings to print out a bracketed list
1560 of bindings (renamed from findbinding).
1562 * MenuBackend.C (binding): use kb_keymap::findbindings
1564 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1566 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1568 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1570 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * paragraph.C (isWord): return true on insets that report
1575 * text.C (getWord): use Paragraph::isWord to decide what is in a
1576 word and what is not; fix bug 1609.
1578 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1580 * tex-strings.C: add "none" to string_paperpackages[], fixes
1581 off-by-one-error in the paperpackage selection.
1584 * tex-strings.[Ch]: char const * string[n]
1585 -> char const * const string[]
1587 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1589 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1590 command, return early.
1592 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1594 * debug.h: add DEBUG to enum and fix size of ANY.
1596 * debug.C: add support for Debug::DEBUG
1597 (showTags): cast errorTags.level to unsigned int
1599 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1600 (redoCurrentBuffer): ditto
1601 (updateScrollbar): ditto
1602 * cursor.C (dispatch): ditto
1603 * text2.C (setLayout): ditto
1605 (updateCounters): ditto
1607 (deleteEmptyParagraphMechanism): ditto
1609 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1611 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1612 annotations to cleanup the Makefile slightly.
1614 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1616 * lyxrc.C: do not set user_email to a default value but use empty
1617 instead. The entry used to be translated, which does not work
1618 since at the point where lyxrc is constructed there is no
1619 translation service available
1621 * messages.C (getLocaleDir): remove and use directly
1622 lyx_localedir() instead
1624 2004-06-02 Angus Leeming <leeming@lyx.org>
1626 Fix crash caused by dereferencing null pointer 'exportdata' in
1627 OutputParams by creating a new ExportData variable on the heap,
1628 storing it in a boost::shared_ptr.
1629 The crash was triggered when generating an Instant Preview
1630 of an external inset.
1632 * Makefile.am: add outputparams.C
1634 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1635 (c-tor): allocate memory to it.
1637 * exporter.C (c-tor): associated changes.
1639 2004-06-01 Angus Leeming <leeming@lyx.org>
1641 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1642 contains data before calling isInset(0). (Bug 1513.)
1644 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1646 * exporter.C (checkOverwrite): new method
1647 * exporter.C (copyFile): new method
1648 * exporter.C (Export): copy referenced files to the document dir
1649 * exporter.[Ch]: new class ExportedFile
1650 * exporter.[Ch]: new class ExportData. Contains currently the
1651 names of referenced external files
1652 * outputparams.h: add exportdata member.
1654 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1656 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1659 2004-05-19 Angus Leeming <leeming@lyx.org>
1664 * lyxfunc.C: small changes due to the introduction of namespace
1665 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1667 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1669 * text3.C (dispatch): supress update when only moving the cursor
1670 * cursor.C (selHandle): remove commented code
1672 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1674 * paragraph.C (startTeXParParams): correct column count
1675 * CutAndPaste.C (pasteSelection): remove const_cast
1676 * output_docbook.C (docbookParagraphs): remove const_cast
1677 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1678 const_cast and return ParagraphList::const_iterator
1679 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1680 * output_plaintext.C (writeFileAscii): remove const_cast
1681 * paragraph.[Ch] (simpleTeXOnePar): make const
1682 * paragraph_funcs.C (outerPar): use const iterators
1683 * paragraph_pimpl.C (validate): use const iterators
1684 * text.C (setHeightOfRow): use const iterators
1686 2004-05-17 Angus Leeming <leeming@lyx.org>
1689 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1691 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1692 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1693 if the citation engine has changed.
1695 2004-05-14 José Matos <jamatos@lyx.org>
1697 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1698 if the textclass does not provide it. Have it different for sgml and
1700 support the language of document.
1701 * output_docbook.C (docbookParagraphs):
1702 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1703 first anchor as the id of the paragraph, remove special case code.
1704 * sgml.C (escapeChar): escape only < & >.
1706 2004-05-14 Angus Leeming <leeming@lyx.org>
1708 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1709 dependencies on src/frontends/controllers/biblio.h. Define a
1710 CiteEngine_enum wrapper class to enable the enum to be forward
1713 2004-05-12 Angus Leeming <leeming@lyx.org>
1715 * buffer.C: up LYX_FORMAT to 234.
1716 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1717 use_numerical_citations with a single biblio::CiteEngine cite_engine
1719 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1721 2004-05-13 José Matos <jamatos@lyx.org>
1724 * converter.C (Converter, readFlags): add xml member.
1725 * outputparams.h: add XML flavor.
1726 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1728 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1730 * lyxfunc.C (dispatch):
1731 (getStatus): fix handling of LFUN_SEQUENCE
1733 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * debug.C (showLevel): do not forget the end-of-line marker
1737 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1739 * kbmap.C (read): do not stop parsing a bind file when an error
1742 2004-04-29 Angus Leeming <leeming@lyx.org>
1747 * text2.C: wrap a bunch of #warning statements
1748 inside #ifdef WITH_WARNINGS blocks.
1750 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1752 * buffer.C: increment format to 233.
1754 2004-04-28 Angus Leeming <leeming@lyx.org>
1756 * BufferView_pimpl.C:
1759 s/updateToolbar()/updateToolbars()/
1760 s/Toolbar.h/Toolbars.h/
1762 2004-04-28 Angus Leeming <leeming@lyx.org>
1764 * BufferView.[Ch] (c-tor):
1765 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1766 No longer passes these data to the WorkArea generator.
1768 2004-04-28 Angus Leeming <leeming@lyx.org>
1770 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1772 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1774 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1776 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1778 * output_latex.C (TeXEnvironment): make sure that there is a line
1779 break before \end{foo} for the last paragraph of a document
1780 (TeXOnePar): if the paragraph is at the end of the document (or
1781 inset) and the language has to be reset, then make sure that the
1782 line break is _before_ the language command, not after (fixes bug
1783 1225); also make sure that the language reset command is the first
1784 thing after the paragraph (to ensure proper nesting of
1785 environments and thus fix bug 1404)
1787 2004-04-21 John Levon <levon@movementarian.org>
1790 * ToolbarBackend.C: make "name" be a programmatic name
1791 and a gui_name field.
1793 * lyxfunc.C: display the minibuffer on M-x
1795 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1800 2004-04-19 Angus Leeming <leeming@lyx.org>
1802 * BufferView_pimpl.C (setBuffer): changed preview interface.
1804 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1807 2004-04-19 John Levon <levon@movementarian.org>
1809 * BufferView_pimpl.C:
1810 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1812 2004-04-05 Angus Leeming <leeming@lyx.org>
1814 * text.C (redoParagraphs): add call to updateCounters(), thereby
1815 fixing the missing "Figure #:" label from the caption of a
1818 2004-04-13 Angus Leeming <leeming@lyx.org>
1820 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1821 cursor is clicked out of an inset.
1823 2004-04-13 Angus Leeming <leeming@lyx.org>
1825 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1826 than an InsetOld one.
1828 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1830 * format.[Ch]: add editor to Format
1831 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1832 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1834 2004-04-08 André Pönitz <poenitz@gmx.net>
1836 * metricsinfo.h: remove PainterInfo::width member
1838 2004-04-08 Angus Leeming <leeming@lyx.org>
1840 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1841 "\providecommand" rather than "\newcommand", thereby preventing
1842 clashes with packages that define "\boldsymbol" themselves.
1845 2004-04-08 Angus Leeming <leeming@lyx.org>
1847 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1848 thereby squashing an unnecessary warning.
1850 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1852 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1855 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1857 * BufferView.C (setCursor): call redoParagraph (some insets could
1859 (putSelectionAt): remove the 'double update' trick
1861 * BufferView_pimpl.C (fitCursor): call refreshPar
1862 (workAreaDispatch): remove an uneeded update call
1863 (dispatch): remove some manual update calls
1865 * cursor.[Ch]: remove cached_y_, updatePos
1866 (selHandle): set noUpdate when appropriate
1868 * lyxfunc.C (dispatch): track if we need an update
1870 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1872 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1873 (paintSelection): cheap optimization, do not call cursorX when not
1875 (paintPars): change signature
1878 (paintTextInset): adjust
1882 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * lengthcommon.C: compilation fix: remove explicit array size from
1885 unit_name[] and friends
1887 2004-04-05 Angus Leeming <leeming@lyx.org>
1889 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1891 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1892 present only for the preferences dialog.
1893 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1895 2004-04-05 Angus Leeming <leeming@lyx.org>
1897 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1898 to enable the frontends to export changes to lyxrc correctly.
1900 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1902 2004-04-07 André Pönitz <poenitz@gmx.net>
1904 * cursor.[Ch] (selClear, adjust): remove math
1906 * cursor_slice.C: more agressive assert
1909 * BufferView_pimpl.C: rework mouse event dispatch
1916 2004-04-05 André Pönitz <poenitz@gmx.net>
1918 * cursor.[Ch] (valign, halign...): remove unneeded functions
1920 2004-04-05 Angus Leeming <leeming@lyx.org>
1922 * lyxlength.[Ch] (unit_name et al.): const-correct.
1924 2004-04-05 Angus Leeming <leeming@lyx.org>
1926 * BufferView_pimpl.C:
1935 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1937 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1939 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1941 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1943 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1944 * BufferView_pimpl.[Ch] (getStatus)
1945 * BufferView.[Ch] (getStatus): add
1946 * lyxfunc.C (getStatus): move lfuns handled in
1947 BufferView::dispatch to te function above
1948 * Cursor.C (setSelection): set selection() = true
1950 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1952 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1954 2004-03-31 Angus Leeming <leeming@lyx.org>
1956 * lyxfunc.C (dispatch): Fall through to the generic
1957 Dialogs::show("preamble").
1959 2004-03-31 Angus Leeming <leeming@lyx.org>
1961 * lyxfunc.C (dispatch): Fall through to the generic
1962 Dialogs::show("spellchecker").
1964 2004-03-31 Angus Leeming <leeming@lyx.org>
1966 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1969 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1974 * insetiterator.[Ch]:
1979 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1981 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1983 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1984 insets where we are putting the cursor.
1986 2004-03-31 Angus Leeming <leeming@lyx.org>
1989 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1991 * lyxrc.[Ch] (read, write): overloaded member functions taking
1992 a std::[io]stream arguments.
1994 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1996 2004-03-31 Angus Leeming <leeming@lyx.org>
1998 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1999 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2001 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2002 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2004 2004-03-31 Angus Leeming <leeming@lyx.org>
2006 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2007 the LFUN_ALL_INSETS_TOGGLE code.
2009 2004-03-30 Angus Leeming <leeming@lyx.org>
2011 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2012 has died. Fall through to the generic Dialogs::show("document").
2014 2004-03-30 Angus Leeming <leeming@lyx.org>
2017 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2018 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2020 * lyxfunc.C (getStatus, dispatch): define the actions for these
2021 lfuns. Little more than a cut and pste job from ControlDocument.C
2023 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2025 2004-03-30 Angus Leeming <leeming@lyx.org>
2028 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2029 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2031 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2032 open/closed state of ollapsable insets. Usage:
2034 all-inset-toggle <state> <name>, where
2035 <state> == "open" || "closed" || "toggle" and
2036 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2038 * lyxtext.h, text2.C (toggleInset): removed.
2040 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2041 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2042 now passes LFUN_INSET_TOGGLE to the found inset.
2044 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2045 is now invoked as "all-insets-toggle toggle branch".
2047 2004-03-30 Angus Leeming <leeming@lyx.org>
2051 * pariterator.[Ch]: added/corrected header blurb.
2053 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2055 * dociterator.[Ch]: add an inset_ member
2056 (backwardPos): implemented
2057 (backwardPos, forwardPos): use inset_ when the stack is empty.
2058 (doc_iterator_begin, doc_iterator_end): implemented
2059 * pariterator.[Ch]: adjust, add begin, end
2060 * insetiterator.[Ch]: adjust, add begin, end
2064 * BufferView_pimpl.C:
2065 * CutAndPaste.C: adjust
2067 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2069 * buffer.C: increment file format to 232.
2070 * LaTeXFeatures.C: add bibtopic package.
2071 * bufferparams.[Ch]: param \use_bibtopic.
2073 * lyxrc.[Ch]: add lyxrc bibtex_command
2074 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2076 * buffer.C: increment file format to 231.
2078 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2080 * dociterator.C: implement forwardPar
2081 * iterators.[Ch]: remove, replaced by
2082 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2084 * BufferView_pimpl.C:
2087 * bufferview_funcs.C:
2093 * Makefile.am: adjust
2095 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2097 * CutAndPaste.C (pasteSelection): fix 2 crashes
2098 (eraseSelection): fix a crash
2099 * paragraph_funcs.C: remove a warning
2101 2004-03-28 Angus Leeming <leeming@lyx.org>
2104 * LyXAction.C (init): new LFUN_PRINT.
2106 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2108 2004-03-27 Angus Leeming <leeming@lyx.org>
2111 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2113 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2115 2004-03-27 Angus Leeming <leeming@lyx.org>
2117 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2118 insetlist always contains non-null pointers to insets.
2120 2004-03-26 Angus Leeming <leeming@lyx.org>
2122 * src/BufferView_pimpl.C:
2123 * src/CutAndPaste.C:
2126 * src/output_plaintext.C:
2127 * src/outputparams.h:
2128 * src/paragraph_funcs.C:
2132 * src/frontends/controllers/ControlErrorList.C:
2133 * src/frontends/gtk/FileDialogPrivate.C:
2134 * src/frontends/gtk/GPainter.C:
2135 * src/frontends/gtk/GToolbar.C:
2136 * src/frontends/qt2/QRef.C:
2137 * src/mathed/math_scriptinset.C: squash compiler warnings.
2139 2004-03-26 Angus Leeming <leeming@lyx.org>
2141 * ispell.C (LaunchIspell::start):
2142 * lyx_cb.C (AutoSaveBuffer::start):
2143 invoke run(DontWait) rather than runNonBlocking().
2145 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2147 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2149 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 * kbsequence.C (print): adjust
2153 * kbmap.C (printKeySym): rename and change signature
2154 (printKey): use LyXKeySym::print()
2156 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2158 * undo.C: add using std::advance to compile for stlport
2160 2004-03-24 Angus Leeming <leeming@lyx.org>
2162 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2163 it leads to a crash when no buffer is present.
2165 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 Martin Vermeer <martin.vermeer@hut.fi>
2168 * lyxfunc.C (dispatch):
2169 * bufferparams.C (readToken): use the new LColor::setColor
2171 * LColor.[Ch] (setColor): new version that takes two strings as
2172 argument and creates a new color entry if necessary
2174 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2176 * buffer.C (makeLaTeXFile): if the main latex file that is
2177 processed is usually a subdocument of some master, then pretend
2178 for a while that it is actually the master
2180 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2182 * buffer.C (getLabelList):
2183 (getBibkeyList): use getMasterBuffer()
2184 (getMasterBuffer): new method. Returns the main document in the
2185 case where one is using included documents.
2187 2004-03-25 André Pönitz <poenitz@gmx.net>
2191 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2193 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2195 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2196 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2198 * ParameterStruct.h: merge with ParagraphParameters
2200 * lyxtext.h: remove LyXText::parOffset() and getPar()
2202 * text3.C: Remove all 'manual' update calls. We do now one per user
2203 interaction which is completely sufficient.
2207 * BufferView_pimpl.C:
2208 * FontIterator.[Ch]:
2210 * ParagraphParameters.[Ch]:
2215 * cursor_slice.[Ch]:
2222 * output_docbook.[Ch]:
2223 * output_latex.[Ch]:
2224 * output_linuxdoc.[Ch]:
2225 * output_plaintext.[Ch]:
2227 * paragraph_funcs.[Ch]:
2228 * paragraph_pimpl.[Ch]:
2236 * frontends/controllers/ControlDocument.C:
2237 * frontends/controllers/ControlErrorList.C:
2238 * frontends/controllers/ControlSpellchecker.C:
2241 * insets/insetbase.h:
2242 * insets/insetbibitem.C:
2243 * insets/insetbox.C:
2244 * insets/insetbranch.C:
2245 * insets/insetcaption.C:
2246 * insets/insetcharstyle.C:
2247 * insets/insetcharstyle.h:
2248 * insets/insetcollapsable.C:
2249 * insets/insetcollapsable.h:
2250 * insets/insetert.C:
2251 * insets/insetfloat.C:
2252 * insets/insetfoot.C:
2253 * insets/insetmarginal.C:
2254 * insets/insetnote.C:
2255 * insets/insetoptarg.C:
2256 * insets/insettabular.C:
2257 * insets/insettext.C:
2258 * insets/insettext.h:
2259 * insets/insetwrap.C:
2260 * mathed/math_mboxinset.C:
2261 * mathed/math_nestinset.C:
2262 * mathed/math_scriptinset.C:
2263 * mathed/math_scriptinset.h:
2266 2004-03-24 Angus Leeming <leeming@lyx.org>
2268 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2269 deal with any child processes that have finished but are waiting to
2270 communicate this fact to the rest of LyX.
2272 2004-03-24 Angus Leeming <leeming@lyx.org>
2274 64-bit compile fixes.
2276 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2277 (c-tor): pass lyx::pos_types rather than ints.
2279 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2282 * text.C (Delete): compile fix.
2283 (getPar): ensure that function declaration is the same as that in
2286 2004-03-23 Angus Leeming <leeming@lyx.org>
2288 * ispell.C (LaunchIspell):
2289 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2290 a boost::shred_ptr rather than a std::auto_ptr.
2292 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2295 handle LFUN_FILE_INSERT_*
2297 * lyxrc.C (setDefaults, getDescription, output, read):
2298 * lyxrc.h: remove ps_command
2300 2004-03-22 Angus Leeming <leeming@lyx.org>
2302 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2303 Ensure that error_handler is processed once only and that all data
2304 is saved before attempting to output any warning messages.
2306 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2308 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2310 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2312 2004-03-19 André Pönitz <poenitz@gmx.net>
2314 * cursor.[Ch] (reset): take main text inset as argument
2316 * BufferView: adjust
2317 * BufferView_pimpl.C: adjust
2319 * paragraph.[Ch]: fix completely broken operator=()
2321 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2323 * LColor.C (getFromLyXName): make sure that the color name is used
2326 2004-03-17 Angus Leeming <leeming@lyx.org>
2329 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2331 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2332 dialog and to kill a forked process.
2334 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2336 * text2.C (setCursorFromCoordinates): fix font problem
2338 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2340 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2341 bogus "rebuild cursor" code
2343 2004-03-11 André Pönitz <poenitz@gmx.net>
2345 * buffer.[Ch]: use InsetText instead of LyXText as container for
2348 * dociterator.[Ch]: drop the BufferView * member which is not needed
2349 anymore after the change to buffer.C
2351 * paragraph_funcs.C:
2355 * BufferView_pimpl.[Ch]:
2357 * cursor_slice.[Ch]: adjust
2359 * text3.C: fix bug in mathDispatch
2361 2004-03-08 André Pönitz <poenitz@gmx.net>
2363 * undo.[Ch]: use 'StableDocumentIterator' as base for
2366 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2369 * bufferparams.[Ch]: add jurabib support and param.
2371 * LaTeX.C: add FIXME/comment.
2373 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2375 * buffer.C: increment file format to 230.
2377 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2379 * cursor.C (dispatch): avoid infinite loops
2381 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2383 * rowpainter.C (paintSelection): fix x coordinates
2385 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2387 * text.C (rowBreakPoint): fix breaking before displayed insets
2389 2004-03-01 André Pönitz <poenitz@gmx.net>
2391 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2393 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2397 * BufferView_pimpl.C:
2405 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2411 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2412 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2414 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2416 * Bidi.[Ch] (computeTables): const correctness
2417 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2418 fill_hfill, fill_label_hfill and x from Row
2419 * lyxtext.h: prepareToPrint returns a RowMetrics
2420 * rowPainter.C: adjust
2421 * text.C (prepareToPrint): use width, not textWidth. adjust
2422 (redoParagraphInternal, cursorX): adjust
2423 * text2.C (getColumnNearX): adjust
2424 (init): put a default value to the top LyXText::width
2426 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2428 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2430 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2432 * lyxtext.h: add FontIterator class
2434 * text.C (FontIterator, operator*, operator->, operator++): add
2435 (rowBreakPoint, setRowWidth): adjust (fixing a
2438 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * BufferView_pimpl.C (workAreaDispatch): allow also
2441 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2443 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2445 * text.C (rowBreakPoint): fix a bug showing with very large insets
2447 2004-02-25 André Pönitz <poenitz@gmx.net>
2450 * cursor.[Ch]: move some mathed specific code to mathed
2452 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2454 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2455 use_tempdir in preferences
2456 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2458 * lyx_main.C: ensure that tempdir is valid
2459 * lyxlex.h: correct typo
2460 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2461 * paragraph.[Ch] (isMultiLingual): make const
2462 * cursor.[Ch] (openable): make const
2464 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2466 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2468 2004-02-20 André Pönitz <poenitz@gmx.net>
2470 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2472 * cursor.[Ch]: prepare for localized getStatus()
2478 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2480 2004-02-20 André Pönitz <poenitz@gmx.net>
2482 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2484 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2486 * text2.C (setCursorFromCoordinates): switch to absolute coords
2488 (cursorDown): adjust
2489 * text3.C (dispatch): adjust
2491 2004-02-16 André Pönitz <poenitz@gmx.net>
2493 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2496 * cursor_slice.[Ch]: remove unneeded acessor function
2498 * lyxtext.h: rename rtl() to isRTL()
2506 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2508 * rowpainter.C (paintSelection): coord fix
2510 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2512 * Spacing.C: compile fix
2514 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2516 * cursor.C (dispatch): restore current_ before returning
2518 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2520 * text2.C (cursorUp, cursorDown): fix coords
2523 2004-02-12 André Pönitz <poenitz@gmx.net>
2528 * text3.C: add LCursor & parameter to most cursor movement functions
2529 remove usage of LyXText::cursorRow() and cursorPar()
2531 * cursor.[Ch]: add textRow() needed members
2534 * BufferView_pimpl.C:
2537 * BufferView_pimpl.C: adjust
2539 2004-02-11 André Pönitz <poenitz@gmx.net>
2543 * BufferView_pimpl.C: shift undo/redo handling
2545 * cursor.[Ch]: fix mathed crash
2548 * lyxtext.h: move selectionAsText to LCursor
2556 * rowpainter.C: fix excessive drawing
2558 2004-02-06 André Pönitz <poenitz@gmx.net>
2561 * BufferView_pimpl.[Ch]:
2562 * text3.C: move some text specific LFUN handling
2564 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2566 * text3.C (checkInsetHit): adjust coords
2567 * text2.C (getColumnNearX): adjust coords
2568 (edit): adjust coords
2569 * text.C (getRowNearY): add two asserts
2571 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2574 * format.C: add using std::distance to compile on gcc 2.95/stlport
2576 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2578 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2580 2004-02-04 André Pönitz <poenitz@gmx.net>
2582 * BufferView.[Ch] (insertInset):
2583 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2588 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2590 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2591 on the default clause of the switch
2592 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2593 wasn't catched by LCursor::dispatch
2595 2004-02-03 André Pönitz <poenitz@gmx.net>
2598 * cursor.[Ch]: some additional asserts
2600 * undo.[Ch]: remove LyXText dependency in interface
2604 * lyxtext.h (firstPar, lastPar): remove dead functions
2609 * paragraph.[Ch]: adjust
2611 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2613 * lyxfind.C (find): fix argument order in call to ::find
2615 2004-02-02 André Pönitz <poenitz@gmx.net>
2617 * cursor.[Ch]: remove direct access to anchor
2619 * text.C: remove findText() hack
2621 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2623 * iterators.[Ch] (lockPath): remove in favour of...
2624 * BufferView.[Ch] (setCursor): this addition
2625 * BufferView.C (putSelectionAt): adjust
2626 * undo.C (performUndoOrRedo): adjust
2627 * lyxfunc.C (dispatch): adjust
2629 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2631 * iterators.C (lockPath): add a missing slice
2632 * undo.C (performUndoOrRedo): remove redundant positioning code
2634 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2636 * vc-backend.C (scanMaster): ";" -> ';'
2638 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2640 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2641 std::binary_function
2643 * lyxtextclass.C (compare_name): rename to...
2644 (LayoutNamesEqual): ...this
2646 * lyxlex_pimpl.C (compare_tags): inherit from
2647 std::binary_function, put back into anon namespace
2649 * lyxfind.C (MatchString): inherig from std::binary_function
2650 (findChange): use empty() istead of !size()
2652 * format.C (FormatNamesEqual): new functor
2659 * converter.C (compare_Converter): rename to...
2660 (ConverterEqual): ...this, and fixup a bit.
2661 (getConverter): use it, and make function const
2662 (getNumber): use it, and make function const
2666 * bufferlist.C: add using boost::bind
2668 * MenuBackend.C (MenuNamesEqual): new functor
2669 (hasMenu): use it, and make function const
2670 (hasSubmenu): use nested bind to get rid of compare_memfun.
2672 2004-01-30 André Pönitz <poenitz@gmx.net>
2674 * BufferView_pimpl.C:
2677 * cursor_slice.[Ch]:
2680 * paragraph_funcs.C:
2681 * paragraph_funcs.h:
2685 * text3.C: move some of the edit(x,y) handling to the insets
2686 some coordinate changes.
2688 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2690 * text.C: add using statements for std::advance and std::distance
2692 * paragraph.C: add using statement for std::distance
2694 * lyxfind.C: add using statement for std::advance
2696 * cursor.C (region): remove std:: from swap
2697 (openable): use nucleus in stead of operator->
2699 * BufferView.C: add using statements for std::distance and std::swap
2701 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2703 * iterators.C: Remove the pimple, move the needed structures to
2704 the header file. Create accessor for the positions stack.
2705 (asPosIterator): remove function
2707 * PosIterator.C (PosIterator): move constructors to top of file
2708 (PosIterator): reimplement the constructor taking a ParIterator in
2710 (setFrom): new function
2711 (operator!=): inline it
2713 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2715 * lyxfind.C (replaceAll): use std::advance
2717 * iterators.h: inherit from std::iterator.
2719 * PosIterator.C (advance, distance): remove
2720 * PosIterator.h: interit from std::iterator.
2722 2004-01-26 André Pönitz <poenitz@gmx.net>
2725 * BufferView_pimpl.[Ch]:
2729 * bufferview_funcs.C:
2739 * output_linuxdoc.C:
2740 * output_plaintext.C:
2742 * paragraph_funcs.[Ch]:
2743 * paragraph_pimpl.[Ch]:
2749 * text3.C: more IU: dumps most of the rest of the mathcursor
2750 implementation into cursor.[Ch]; "globalize" a bit of it.
2752 2004-01-25 Angus Leeming <leeming@lyx.org>
2754 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2756 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2758 * LaTeXFeatures.h: add nice_ and nice() const
2759 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2761 2004-01-20 André Pönitz <poenitz@gmx.net>
2764 * BufferView_pimpl.C:
2766 * bufferview_funcs.C:
2768 * cursor_slice.[Ch]:
2779 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2780 LCursor and mathcursor parts to LCursor and InsetBase.
2782 2004-01-15 André Pönitz <poenitz@gmx.net>
2784 * cursor_slice.[Ch]: add a few covienience functions
2786 * funcrequest.[Ch]: remove BufferView * member
2788 * BufferView_pimpl.C:
2795 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2797 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2799 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2800 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2802 2004-01-13 André Pönitz <poenitz@gmx.net>
2805 * lyxtext.h: hide cursor and selection anchor behind accessor function
2808 * BufferView_pimpl.[Ch]:
2810 * bufferview_funcs.C:
2820 * cursor_slice.[Ch]: some integer type changes for inset unification
2822 * lyxcursor.[hC]: remove, it's CursorSlice now.
2825 * BufferView_pimpl.[Ch]:
2826 * bufferview_funcs.C:
2832 * textcursor.[Ch]: adjust
2834 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2836 * text2.C (undoSpan): add and use
2837 * text.C (breakParagraph): use undoSpan (fix bug 578)
2840 2004-01-08 Angus Leeming <leeming@lyx.org>
2842 * BufferView_pimpl.C (MenuInsertLyXFile):
2843 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2844 * lyxfunc.C (menuNew, open, doImport):
2845 FileFilterList change to the FileDialog open and save functions.
2847 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2849 * ShareContainer.h: make isEqual and isUnique adaptable
2851 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2853 2004-01-07 Angus Leeming <leeming@lyx.org>
2856 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2858 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2860 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2861 functions replacing find, replace and replaceAll.
2863 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2864 LFUN_WORDFIND(FORWARD|BACKWARD).
2866 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2868 * text.C (breakParagraph): remove an outdated #warning
2870 2004-01-07 André Pönitz <poenitz@gmx.net>
2872 * lyxfind.C: somewhat clearer logic
2874 * text.C: prevent crash in cursorX on unitialized row cache
2876 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2878 * lyxcursor.[Ch] (operator>): add
2879 * textcursor.C (selStart, selEnd): use std::min and std::max
2881 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2883 * Chktex.C: include boost/format.hpp
2885 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2887 * InsetList.C: replace functor MathcIt with adaptable functor
2889 (insetIterator): modify accordingly
2891 * BranchList.h: move the BranchNamesEqual functor here from...
2892 * BranchList.C: ... to here
2894 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2896 (add): replace a finding loop with std::find_if.
2898 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2900 * output_docbook.C: moving LatexParam functionality into
2903 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2905 * buffer.C: increment format to 229.
2907 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2910 * lyx_sty.[Ch]: remove minipageindent_def
2916 * text3.C: remove LFUN_INSET_MINIPAGE
2918 2003-12-28 Angus Leeming <leeming@lyx.org>
2920 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2922 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2924 * text2.C (setParagraph): fix off-by-one crash
2926 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2928 * output_docbook.C: header stuff for AGU
2930 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2932 * text2.C (redoCursor): remove
2935 * BufferView_pimpl.C: remove calls to redoCursor and
2936 setCursor(cursor.par(), cursor.pos()) all around
2938 2003-12-15 Angus Leeming <leeming@lyx.org>
2940 * buffer.C: up the format to 228.
2942 2003-12-15 André Pönitz <poenitz@gmx.net>
2944 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2949 * BufferView_pimpl.C:
2958 2003-12-15 Angus Leeming <leeming@lyx.org>
2960 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2961 than getFromGUIName to manipulate the color.
2963 2003-12-14 Angus Leeming <leeming@lyx.org>
2965 * BranchList.[Ch]: minimize the API.
2966 (Branch::getBranch, getColor): now return a 'const &'.
2967 (Branch::setSelected) now returns a bool set to true if the
2968 selection status changes.
2969 (BranchList::clear, size, getColor, setColor, setSelected,
2970 allBranches, allSelected, separator): removed.
2971 (BranchList::find): new functions, returning the Branch with
2973 (BranchList::add, remove): return a bool indicating that
2974 the operation was successful.
2976 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2977 new InsetBranch::isBranchSlected member function.
2979 * LColor.[Ch]: mimimize the API.
2980 (fill): renamed as addColor and made private.
2981 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2982 versions of these functions taking a string arg have been removed.
2984 * bufferparams.C (readToken):
2985 * lyxfunc.C (dispatch):
2986 * lyxrc.C (read): changes due to the altered BranchList and
2989 * factory.C (createInset, readInset): changes due to altered
2992 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2995 * lyxfunc.C: remove insetminipage. "minipage-insert"
2996 now produces a frameless minipage box inset.
2998 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3000 * textcursor.[Ch] (selStart,selEnd): add new methods
3001 remove selection::start, end, use LyXCursor::operator<
3002 * lyxcursor.[Ch] (operator<): add
3003 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3004 * BufferView.[Ch] (unsetXSel): add
3005 * text2.C (clearSelection): use unsetXSel,adjust
3008 * rowpainter.C: adjust
3009 * bufferview_funcs.C (put_selection_at): adjust
3011 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3013 * BufferView_pimpl.C: small coord. correction
3015 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3017 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3018 dragging over the splash screen.
3020 2003-12-11 Angus Leeming <leeming@lyx.org>
3022 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3023 as it is now handled in LyXText::dispatch.
3025 * text3.C (doInsertInset): remove a level of nesting.
3027 2003-12-11 Angus Leeming <leeming@lyx.org>
3029 * factory.C (createInset): changes due to the changed interface to
3030 InsetCommandMailer::string2params.
3032 2003-12-10 Angus Leeming <leeming@lyx.org>
3034 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3035 'dialog-show-new-inset <inset name>'
3037 2003-12-10 Angus Leeming <leeming@lyx.org>
3039 * buffer.C: up the format to 227.
3041 * factory.C: the box inset is now identified simply by 'Box'.
3043 2003-12-10 Angus Leeming <leeming@lyx.org>
3045 * buffer.C: up the format to 226.
3047 * factory.C: the note inset is now identified simply by 'Note'.
3049 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3051 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3052 when a pit is enough. Standarize a couple of loops.
3054 2003-12-05 Angus Leeming <leeming@lyx.org>
3056 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3057 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3058 data to the re-worked "log" dialog.
3060 2003-12-03 André Pönitz <poenitz@gmx.net>
3066 * paragraph_funcs.C:
3068 * text2.C: use Inset::getText instead of Inset::getParagraph
3070 2003-12-03 André Pönitz <poenitz@gmx.net>
3074 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3075 InsetText::read() as LyXText::read()
3077 2003-12-02 Angus Leeming <leeming@lyx.org>
3079 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3080 type. Add a comment in the implementation that the function uses
3081 the stream's bad() function rather than fail() as the std::streams
3084 2003-12-02 André Pönitz <poenitz@gmx.net>
3086 * lyxlex.[Ch]: make interface more similar to std::stream
3088 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3090 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3092 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3094 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3096 * vspace.[Ch]: remove VSpace::NONE
3098 2003-12-01 André Pönitz <poenitz@gmx.net>
3101 * lyxtext.h: move ParagraphList member to LyXText
3102 rename LyXText::ownerParagraphs to LyXText::paragraph
3105 * bufferview_funcs.C:
3115 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3117 * undo.C: fix cursor positioning
3119 2003-12-01 John Levon <levon@movementarian.org>
3121 * BufferView_pimpl.C: fix a crash on exit with
3124 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3126 * BranchList.C: fix setSelected() method.
3128 2003-11-28 André Pönitz <poenitz@gmx.net>
3130 * ParagraphParameters.[Ch]:
3131 * ParameterStruct.h: remove space above/below from Paragraph to
3134 * BufferView_pimpl.C:
3140 * paragraph_funcs.C:
3146 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3148 * factory.C: Syntax change for CharStyles
3150 2003-11-28 André Pönitz <poenitz@gmx.net>
3155 * buffer.[Ch]: move LyXText member
3157 2003-11-28 André Pönitz <poenitz@gmx.net>
3159 * BufferView.[Ch]: make LyXText * text a private member
3161 * BufferView_pimpl.C:
3172 * output_plaintext.C: cleanup
3174 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3177 * lyxtextclass.[Ch]: parametrize SGML document header
3179 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3182 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3185 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3187 * text2.C (setFont): rework using PosIterator (no more recursive)
3188 (setCharFont): no more needed
3189 (setLayout): no more selection cursors fiddling (done by redoCursor)
3190 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3191 destroy remaining ones)
3193 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3195 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3197 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3200 * text3.C: adjust + re-allow multi par depth changes
3201 * textcursor.C: simplify a bit
3203 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3209 * src/output_docbook.C:
3210 * src/output_latex.C:
3215 * src/text2.C: Introducing a number of tags parametrizing various
3216 XML formats that we may want to support
3218 2003-11-25 André Pönitz <poenitz@gmx.net>
3220 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3222 * lyxtext.h (leftMargin/rightMargin): simplify interface
3229 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3231 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3232 master file to any child files. Fixes bug 546.
3234 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3236 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3238 2003-11-24 André Pönitz <poenitz@gmx.net>
3240 * rowpainter.C: simplification
3242 * text2.C (updateCounters): remove call to redoParagraph on
3243 changed labels as this is far too expensive.
3245 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3247 * converter.C (convert): fix a crash: this function gets
3248 called with buffer == 0 from importer code.
3250 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3252 * text3.C (cursorPrevious): make sure that we do not compare
3253 iterators form different containers.
3256 * rowpainter.C (paintSelection): make sure that we do not compare
3257 iterators from different containers.
3259 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3260 iterators from different ParagraphList containers.
3263 * text2.C (LyXText): change order of initialization slightly
3264 (operator=): new function. copy all variables except cache_par_
3265 (moveUp): make sure that we do not compare iterators from
3266 different ParagraphList constainers.
3269 * text.C (firstPar): new function
3270 (lastPar): new function
3271 (endPar): new function
3273 * lyxtext.h: move things around and group public functions, public
3274 variables, private functions, private variables
3276 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3278 * factory.C: change call to InsetERT constructor to avoid
3279 additional invocation of method status
3280 * text2.C (toggleInset): remove redundant update() call
3281 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3282 instead of a Bufferview pointer
3284 2003-11-21 André Pönitz <poenitz@gmx.net>
3286 * rowpainter.C: simplification
3288 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3290 * text3.C (dispatch): make possible to extend a word/row selection
3293 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3295 * lyxtext.h: x0_,y0_ -> xo_,yo_
3296 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3297 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3298 * rowpainter.C (paintRows): paint full paragraphs
3300 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3302 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3305 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3307 * lyxtext.h: add x0_, y0_
3308 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3309 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3311 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3313 * text2.C (setCursorIntern): move the x_target update here *
3314 * text3.C: change some bv() to true/false in calls to
3315 cursorUp/Down/Right/Left
3316 * cursor.C: use helper function.
3318 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3320 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3321 * paragraph_funcs.[Ch]: correct comment
3322 * rowpainter.C: do not paint selections away from bv->cursor()
3323 Fix a long standing selection painting bug.
3324 * text3.C: generalize mouse-selection code to LyXTexts other that
3326 * textcursor.C: do not use y coords if we can use par offsets
3328 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3330 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3331 cursor position after e.g. inset insert)
3333 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3335 * lyxfind.C (replace): adjust to locking removal + some
3338 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3340 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3343 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3346 * output_docbook.C: XML sanitation: new layout
3347 parameters InnerTag and CommandDepth
3349 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3351 * BufferView_pimpl.C:
3353 * text3.C: Fix the insertion and modification of button-style
3356 2003-11-13 André Pönitz <poenitz@gmx.net>
3358 * InsetList.[Ch]: remove deleteLyXText
3360 * paragraph.[Ch]: cache beginOfBody position
3365 * text3.C: remove superfluous update() calls
3369 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3371 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3372 * BufferView.C (fitLockedInsetCursor): remove
3373 * cursor.[Ch] (getDim): add
3374 * text.C (getRowNearY): add faster version
3375 * text3.C: remove some update calls
3377 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3389 * text3.C: The Character Style /XML short element patch.
3391 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3394 * factory.C: Small step to solving 'unable to insert some insets'
3397 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3399 * cursor.[Ch] (updatePos): new function for updating the y
3400 position of the tip inset
3401 * bufferview_funcs.C (put_selection_at):
3402 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3404 2003-11-11 André Pönitz <poenitz@gmx.net>
3406 * text.C: remove big comment on invalid Paragraph pointers as it is
3409 2003-11-11 André Pönitz <poenitz@gmx.net>
3411 * text_funcs.[Ch]: merge with ...
3419 * Makefile.am: remove text_funcs.[Ch]
3421 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3423 * cursor.C (getPos): return absolute cached y coord
3425 * BufferView_pimpl.C (fitCursor): new simplistic code
3426 (workAreaDispatch): add a fitCursor call
3428 2003-11-10 André Pönitz <poenitz@gmx.net>
3431 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3433 2003-11-10 André Pönitz <poenitz@gmx.net>
3435 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3436 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3437 indicate that the cursor needs to leave an inset
3439 * lyxtext.h: remove inset locking
3441 * cursor.[Ch]: re-implement functionality provided by inset locking
3444 * BufferView_pimpl.[Ch]:
3446 * bufferview_funcs.[Ch]:
3458 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3460 * PosIterator.[Ch]: replace the stack with a vector, add inset
3462 * iterators.[C]: adjust
3464 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3466 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3468 * paragraph_funcs.C (readParToken): put the correct id in the
3469 error item, not the id of the top paragraph
3471 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3473 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3474 * bufferview_funcs.C (put_selection_at): use the above
3476 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3478 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3480 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3482 * output_linuxdoc.h:
3483 * output_plaintext.h:
3485 * output_docbook.h: add #include statements
3487 2003-11-05 José Matos <jamatos@lyx.org>
3489 * output_docbook.[Ch]:
3490 * output_latex.[Ch]:
3491 * output_linuxdoc.[Ch]:
3492 * output_plaintext.[Ch]: New files for output formats.
3493 * output.[Ch]: New file for helper functions.
3496 * paragraph_funcs.[Ch]: output functions moved to new files.
3498 * outputparams.h: rename of latexrunparams.h
3506 * paragraph_funcs.[Ch]:
3507 * paragraph_pimpl.[Ch]:
3508 * tabular.[Ch]: rename ascii to plaintext
3509 and LatexRunParams to OutputParams.
3511 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3513 * iterators.[Ch] (text): require bv argument
3514 * undo.C (recordUndo):
3515 * lyxfunc.C (dispatch):
3516 * bufferview_funcs.C (put_selection_at): adjust
3518 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3520 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3522 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3524 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3527 2003-11-04 André Pönitz <poenitz@gmx.net>
3529 * cursor.[Ch]: restructure
3532 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3534 * iterators.[Ch] (asCursor): remove
3536 * lfuns.h: remove LFUN_INSET_EDIT
3542 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3544 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3546 * lyxfind.[Ch]: complete overhaul
3547 * BufferView_pimpl.C:
3549 * paragraph.[Ch] (insert): add
3551 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3555 * text.C: remove dead spellcheck code
3557 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * dispatchresult.h: add a val setter
3561 * cursor.C (dispatch): use a tempvar for data_[i]
3563 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3565 * PosIterator.[Ch]: compile fix
3567 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3569 * text.C (cursorPar): deactivate the cursor cache
3571 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3573 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3575 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * text3.C (dispatch): adjust for new DisptchResult semantics.
3579 * lyxfunc.C (dispatch): handle update when return from
3580 Cursor::dispatch, adjust for new DispatchResult semantics.
3582 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3583 DispatchResult(true) mean to not update. Add class functions for
3584 setting dispatched and update, as well as reading.
3586 * cursor.C (dispatch): don't handle update here
3588 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3591 * trans_mgr.C: adjust
3593 * paragraph_funcs.C (readParToken): exception safety
3595 * lyxvc.h: store the vcs pointer in a scoped_ptr
3598 * lyxsocket.C (serverCallback): exception safety
3600 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3602 * ispell.C (clone): make it return a auto_ptr
3604 * factory.C (createInset): exception safety
3605 (readInset): exception safety
3607 * bufferlist.C (newBuffer): exception safety
3609 * Thesaurus.C (Thesaurus): use initialization for aik_
3611 * MenuBackend.C (expandToc): exception safety.
3613 2003-11-03 André Pönitz <poenitz@gmx.net>
3617 * bufferview_funcs.C: remove getInsetFromId()
3620 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3626 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3628 * PosIterator.C (distance, advance): new
3629 * bufferview_funcs.[Ch] (put_selection_at): new
3630 * iterators.[Ch] (lockPath): new
3632 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3634 * iterators.[Ch] (asPosIterator): added
3635 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3636 * PosIterator.[Ch]: added
3638 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * cursor.C (dispatch):
3643 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3645 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3646 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3647 contructor, add a class function dispatched. Remove operator>=
3649 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * debug.C: only use the default constructor for debugstream
3654 * main.C (main): include debug.h and setup the lyxerr streambuf
3657 2003-10-31 José Matos <jamatos@lyx.org>
3659 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3661 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3662 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3663 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3664 * paragraph_pimpl.C (simpleTeXSpecialC):
3665 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3666 add LatexRunParams argument.
3668 * exporter.C (Export): change call accordingly.
3670 * latexrunparams.h: add new member to take care of the other backends.
3671 2003-10-30 José Matos <jamatos@lyx.org>
3673 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3674 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3675 factorise code for paragraph output.
3677 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3680 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * text3.C (dispatch):
3683 * lyxfunc.C (dispatch):
3684 * cursor.C (dispatch):
3685 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3687 * dispatchresult.h: make the dispatch_result_t ctor explicit
3689 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3692 * buffer.C: small refactoring of docbook stuff
3694 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3699 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3702 operator dispatch_result_t, and operators for == != and >=
3704 * cursor.C (dispatch): adjust for operator dispatch_result_t
3705 removal. comment out call to update
3707 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3709 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3720 * dispatchresult.h: new file, DispatchResult broken out of
3723 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3725 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3727 * text.C (rowBreakPoint): put a hack inside #if 0
3729 2003-10-28 André Pönitz <poenitz@gmx.net>
3733 * paragraph_funcs.C:
3736 * text2.C: general cleanup (lots of small stuff)
3738 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3740 * text2.C (cursorEnd): simple fix to the "end key goes to one
3741 before the end on last row" bug
3743 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3745 * text.C (backspace): fix the "zombie characters"
3747 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3749 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3751 2003-10-27 André Pönitz <poenitz@gmx.net>
3753 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3755 * factory.C: handle new InsetPagebreak, InsetLine
3757 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3758 and move handling into new InsetPagebreak, InsetLine
3760 * BufferView_pimpl.C:
3762 * ParagraphParameters.C:
3763 * ParameterStruct.h:
3768 * paragraph_funcs.C:
3769 * paragraph_pimpl.C:
3775 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3778 * lyxrow_funcs.[Ch]:
3784 * text3.C: remove lastPos uses in favour of Row::endpos
3786 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3788 * undo.C (performUndoOrRedo): fix two crashes by setting a
3789 cursor by hand and reordering some calls. Use bv->lockInset instead
3790 of inset->edit because the latter loses cursor information
3792 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3794 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3796 (rowBreakPoint): fix width. change point to point + 1.
3797 Add a missing check.
3799 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3802 * lyxfunc.C: fix (at least partly) the problems
3803 with the Nav menu and headers inside branch insets
3806 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3808 * paragraph.C (getChar): add strong asserts
3810 * lyxrow_funcs.C (lastPos): remove hideous hack
3812 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3813 (fill): adjust to that (avoid an infinite loop)
3815 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3817 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3819 2003-10-23 André Pönitz <poenitz@gmx.net>
3821 * RowList_fwd.h: change list<> to vector<> to gain speed
3822 after suggestion from Alfredo
3824 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3826 * lyxtext.h: move the bidi stuff from here...
3829 * Bidi.[Ch]: ... to here
3831 2003-10-23 André Pönitz <poenitz@gmx.net>
3834 * text.C (isLastRow, isFirstRow): new functions
3836 * paragraph.h: new width cache member
3838 * rowpainter.C: replace RowList::iterator with Row & where possible
3840 * lyxfunc.C: replace several view()->text with a single call
3842 * toc.C: fix 'unused' warning
3844 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3847 when woring with stream::pos_type
3848 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3850 2003-10-22 André Pönitz <poenitz@gmx.net>
3853 * text.C: use Row & instead of RowList::iterator
3855 * lyxrow.h: rename end() to endpos()
3861 2003-10-22 Angus Leeming <leeming@lyx.org>
3863 * buffer.[Ch] (fully_loaded): new member function, returning true
3864 only when the file has been loaded fully.
3865 Used to prevent the premature generation of previews and by the
3866 citation inset to prevent computation of the natbib-style label.
3868 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3869 templates are all set up.
3871 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3873 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3875 * text.C: fixed an "oops" in the "is a bit silly"
3878 2003-10-21 André Pönitz <poenitz@gmx.net>
3880 * FuncStatus.[Ch]: small stuff, whitespace
3882 * lyxfont.[Ch]: operator<<() for debug reasons
3886 * lyxtext.h: whitespace, spelling
3888 * paragraph.C: naming of variables
3891 * text2.C: small stuff
3894 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3896 * text.C: (1) finish off the inset display() work;
3897 (2) fix the "is a bit silly" bug (accessing char
3900 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3902 * text.C: re-introduce display() for insets, fixing the
3903 various bugs (stretch of line above, math inset
3906 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3908 * text.C (rightMargin): remove spurious semicolon
3910 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3913 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3915 * text3.C: fix one crash due to wrong cursor def
3917 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * vc-backend.C (scanMaster): make the regex static
3921 * LaTeX.C (scanAuxFile): make the regexs static
3923 * text3.C (doInsertInset, dispatch, dispatch):
3924 * text2.C (cursorUp, cursorDown):
3925 * text.C (selectNextWordToSpellcheck):
3926 * BufferView_pimpl.C (dispatch):
3927 * lyxfunc.C (dispatch): localDispatch -> dispatch
3929 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3931 * lyxsocket.C: include <cerrno>
3933 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * lyxfunc.C (dispatch): remove textcache stuff
3937 * bufferlist.C (release): remove textcache stuff
3940 * TextCache.C: delete file
3941 * TextCache.h: delete file
3943 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3945 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3946 delete of the bv_->text.
3947 (resizeCurrentBuffer): remove texcache stuff
3948 (workAreaResize): ditto
3950 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3955 2003-10-16 André Pönitz <poenitz@gmx.net>
3962 * text3.C: speed up by storing y positions per paragraph plus per-row
3963 offset instead of having a 'full' y position in the row.
3965 2003-10-15 André Pönitz <poenitz@gmx.net>
3969 * undo.[Ch]: make undo aware of inner insets
3971 2003-10-14 Angus Leeming <leeming@lyx.org>
3973 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3974 static member functions LyX::ref() and LyX::cref.
3975 (lastfiles): new accessor functions for the new lastfiles_ member var.
3976 (addLyXView, views_): add a new LyXView to the list of views_.
3977 (updateInset): loop over all LyXViews to call their own updateInset
3978 member function, returning a pointer to the Buffer owning the inset.
3980 * BufferView_pimpl.C (loadLyXFile):
3981 * MenuBackend.C (expandLastfiles):
3982 * bufferlist.C (MenuWrite, QuitLyX):
3983 lastfiles is no longer a global variable.
3984 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3986 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3987 static function. Access through LyX::cref().emergencyCleanup().
3989 2003-10-14 André Pönitz <poenitz@gmx.net>
3991 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3993 * undo.[Ch]: restoring part of 'undo in insets'
3996 * undo_funcs.[Ch]: merge with undo.[Ch]
3998 * tabular.C: small cleansing stuff
4000 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4002 * paragraph_funcs.C (readParToken): report unknown insets as error
4003 boxes. Use the outer paragraph as location (also for unknown
4006 * factory.C (readInset): do not abort on reading an unknown inset.
4007 Eat it and return 0.
4009 2003-10-13 Angus Leeming <leeming@lyx.org>
4011 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4013 * lyxrc.C: displayTranslator is now a function,
4014 declared in GraphicsTypes.h.
4016 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4018 * format.C: new placeholder $$a to pass the socket address.
4020 * bufferlist.[Ch]: new function getBufferFromTmp.
4022 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4023 files in the temporary dir.
4025 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4027 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4029 * Makefile.am: add lyxsocket.[Ch].
4031 * lyx_main.C (error_handler): handle SIGPIPE.
4033 2003-10-13 André Pönitz <poenitz@gmx.net>
4035 * BufferView_pimpl.C:
4040 * undo_funcs.[Ch]: use paroffset_type instead of
4041 ParagraphList::iterators to prevent multiple conversion
4042 (and get a more robust interface)
4044 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4048 * text3.C (dispatch): ditto
4050 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4053 move the onlyfile, use onlyfile instead of foundfile in a couple
4056 * DepTable.C (update): flush the error stream a bit more
4058 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * lyxserver.C (callback): adjust
4062 * lyxfunc.C (getStatus): add a missing brace in commented code
4063 (ensureBufferClean): reindent
4064 (dispatch): delete version taking a string
4066 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * LaTeX.C (deplog): move found file handlig from here...
4069 (handleFoundFile): .. to new function here.
4070 (deplog): make sure to discover several files mentioned on the
4073 2003-10-10 André Pönitz <poenitz@gmx.net>
4080 * text3.C: fix some of the tabular crashes
4082 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4084 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4086 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4088 2003-10-09 André Pönitz <poenitz@gmx.net>
4090 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4093 * BufferView_pimpl.C:
4094 * bufferview_funcs.C:
4105 * undo_funcs.C: adjust
4107 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * text2.C (incrementItemDepth): new function, use a backtracking
4110 algorithm to discover the correct item depth.
4111 (resetEnumCounterIfNeeded): new function, use a backtracking
4112 algorithm to discover if counter reset is needed.
4113 (setCounter): use them. Simplify a bit. Add different labels for
4114 different item depths for itemize.
4116 * paragraph.C (Paragraph): remove initialization of enumdepth
4119 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4120 enumerate and itemize. Change the type of itemdepth to signed char.
4122 2003-10-08 André Pönitz <poenitz@gmx.net>
4124 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4129 * tabular.[Ch]: fix crash after 'row-insert'
4131 2003-10-08 Angus Leeming <leeming@lyx.org>
4133 Fix doxygen warnings.
4135 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4136 Remove CutAndPaste:: prefix from header file declaration.
4138 * LColor.h (fill): remove LColor:: prefix from declaration.
4140 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4141 use lyx::depth_type rather than Paragraph::depth_type so that
4142 header file and .C file match.
4144 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4146 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4147 * aspell.C: \file aspell_local.C -> \file aspell.C
4148 * gettext.C: \file gettext.C -> \file src/gettext.C
4149 * gettext.h: \file gettext.h -> \file src/gettext.h
4150 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4151 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4152 * text.C: \file text.C -> \file src/text.C
4154 * toc.C: move comment so that doxygen is not confused.
4156 2003-10-07 Angus Leeming <leeming@lyx.org>
4158 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4160 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4163 * aspell_local.h: add forgotten std::string's.
4165 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4172 * text3.C: The Box patch. Fancybox support, minipage, parbox
4174 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4180 * ParagraphParameters.h:
4190 * lyxtextclasslist.h:
4193 * paragraph_pimpl.C:
4194 * textcursor.h: add <string> and other small fixes to make Lars'
4195 std::string patch compile with STLport.
4197 2003-10-06 Angus Leeming <leeming@lyx.org>
4199 * LColor.h: Add missing #include <string>.
4201 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * All most all file in all subdirs: Make <string> be the prefered
4204 way of getting to std::string, add using declarations.
4206 2003-10-06 André Pönitz <poenitz@gmx.net>
4208 * metricsinfo.C: initialize LyXFont before changing attribute.
4209 (fixes the 'math in \emph is upright' bug)
4211 2003-10-06 André Pönitz <poenitz@gmx.net>
4213 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4215 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4218 * paragraph_pimpl.C: Small fixes to build using STLport
4220 2003-10-02 André Pönitz <poenitz@gmx.net>
4223 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4225 2003-10-01 André Pönitz <poenitz@gmx.net>
4227 * factory.C: assert early
4229 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * lyx_main.C: remove the global debug object
4233 * debug.h: adjust for new debugstream
4235 * debug.C: adjust for new debugstream and keep the global debug
4238 2003-09-22 Angus Leeming <leeming@lyx.org>
4240 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4241 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4242 an incomplete class LyXFont.
4244 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4246 * factory.C: bug fix in branches
4248 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * lyxfunc.C (processKeySym): adjust
4252 (dispatch): change arg name from ev to func, adjust
4253 (sendDispatchMessage): ditto
4255 * lyx_main.C (defaultKeyBindings): adjust keybindings
4256 (deadKeyBindings): ditto
4258 * kbsequence.C (addkey): return a FuncRequest
4260 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4262 * kbmap.C (bind): take a FuncRequest as arg, adjust
4265 (defkey): change to take a FuncRequest as arg, adjust
4266 (findbinding): take a FuncRequest as arg, adjust.
4268 * funcrequest.h (operator=): added
4270 * funcrequest.C (FuncRequest): default kb_action changed from
4271 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4273 * buffer.C (dispatch): simplify
4274 (dispatch): adjust to take a FuncRequest as arg, adjust
4276 * boost.C (assertion_failed): change assertion message slightly
4278 * ToolbarBackend.C (read): simplify
4280 * MenuBackend.C (binding): adjust call to findbinding, add a
4281 message if no binding is found.
4283 (expandToc): correct by adding a empty FuncRequest
4285 * LyXAction.C: include <boost/assert.hpp>
4286 (isPseudoAction): delete function
4287 (LookupFunc): change name to...
4288 (lookupFunc): this. change return type to FuncRequest.
4289 (getActionName): take kb_action as arg, simplify
4290 (funcHasFlag): add an assert, simplify.
4292 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * toc.C (action): return a FuncRequest, simplify
4296 * lyxfunc.C (processKeySym): adjust
4297 (getStatus): delete version that takes an int.
4299 (dispatch): delete version that takes action as int
4301 (sendDispatchMessage): simplify and adjust
4303 * funcrequest.C (getArg): take unsigned int as arg
4305 * ToolbarBackend.C (read): adjust
4306 (add): delete version that takes func as a string.
4307 (getIton): take a FuncRequest as arg
4309 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4312 * MenuBackend.C (MenuItem): add a new construct that only takes a
4313 Kind, simplify the constructor use for submenus.
4315 (expandLastfiles): adjust
4316 (expandDocuments): adjust
4317 (expandFormats): adjust
4318 (expandFloatListInsert): adjust
4319 (expandFloatInsert): adjust
4320 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4322 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4323 Remove class variables lyx_pseudo_map and lyx_arg_map
4325 * LyXAction.C (searchActionArg): delete function
4326 (getPseudoAction): delete function
4327 (retrieveActionArg): delete function
4328 (LookupFunc): make it return kb_action, simplify.
4329 (getActionName): simplify
4331 * factory.C (createInset): fix new bug
4333 2003-09-19 Angus Leeming <leeming@lyx.org>
4335 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4336 masterFilename_ parameter in the include inset.
4338 * factory.C (createInset): changes due to the changes to InsetInclude.
4340 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4342 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4344 2003-09-18 Angus Leeming <leeming@lyx.org>
4347 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4348 Inset::fillWithBibKeys.
4349 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4351 2003-09-18 Angus Leeming <leeming@lyx.org>
4353 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4355 (ctor): pass and store a 'Buffer const &'
4356 (buffer): new member function.
4358 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4359 '*this' to the LaTeXFeatures ctor.
4361 2003-09-18 Angus Leeming <leeming@lyx.org>
4367 * text.C: rename EnumLColor as LColor_color.
4369 2003-09-18 Angus Leeming <leeming@lyx.org>
4371 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4372 remove #include "insets/insetbase.h" from cursor.h.
4374 2003-09-18 Angus Leeming <leeming@lyx.org>
4376 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4377 InsetOld_code to remove #include "inset.h".
4379 * iterators.C: add #include "insets/inset.h"
4381 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4383 * BufferView.C: remove more locking stuff that apparently doesn't
4384 do anything sensible.
4386 2003-09-16 André Pönitz <poenitz@gmx.net>
4389 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4392 2003-09-16 Angus Leeming <leeming@lyx.org>
4394 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4396 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4399 * paragraph.h: remove #include "lyxfont.h". Forward declare
4402 2003-09-16 Angus Leeming <leeming@lyx.org>
4404 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4405 of support/textutils.h.
4406 (isWord): move the contents of support/textutils.h's IsWordChar here.
4412 * text2.C: add #include "paragraph.h".
4415 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4417 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * LaTeX.C: use namespace alias for lyx::support::os
4425 2003-09-16 Angus Leeming <leeming@lyx.org>
4428 * bufferview_funcs.C:
4431 * paragraph_pimpl.C:
4433 * text.C: add #include "LColor.h".
4435 2003-09-16 Angus Leeming <leeming@lyx.org>
4437 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4438 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4440 Store the FontBits::color variable as an int rather than as an
4441 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4444 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4445 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4446 string calls together.
4448 * lyxrc.C: add #include "LColor.h".
4450 2003-09-15 Angus Leeming <leeming@lyx.org>
4452 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4455 2003-09-15 Angus Leeming <leeming@lyx.org>
4457 * LColor.h: add an EnumLColor wrapper for LColor::color.
4459 * lyxfont.[Ch] (color, setColor, realColor):
4460 * lyxtext.h, text.C (backgroundColor):
4461 pass EnumLColor args to/from the functions, rather than LColor::color
4465 * lyxtext.h: forward declare EnumLColor.
4467 * lyx_main.C: add #include "LColor.h".
4469 2003-09-15 Angus Leeming <leeming@lyx.org>
4471 * .cvsignore: add lyx-gtk.
4473 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * ParagraphParameters.C
4482 * bufferview_funcs.C
4492 * vc-backend.C: remove usage of STRCONV
4494 2003-09-15 Angus Leeming <leeming@lyx.org>
4496 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4497 explicitly define the color passed to the painter.
4499 2003-09-15 Angus Leeming <leeming@lyx.org>
4501 * bufferparams.C (BufferParams): reorder member initializers to avoid
4504 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4506 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4507 * text.C (updateRowPositions): remove an unusual nop
4509 2003-09-12 André Pönitz <poenitz@gmx.net>
4511 * BufferView_pimpl.C:
4520 * Counters.[Ch]: finish the 'automatic counters' job
4522 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4524 * aspell.C: include <boost/assert.cpp> (compile fix)
4526 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4528 * boost.C (assertion_failed): use lyx::support::abort instead of
4531 2003-09-10 Angus Leeming <leeming@lyx.org>
4533 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4534 with their _fwd progeny.
4536 2003-09-09 Angus Leeming <leeming@lyx.org>
4538 134 files throughtout the source tree: replace 'using namespace abc;'
4539 directives with the appropriate 'using abc::xyz;' declarations.
4541 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4543 * boost.C (emergencyCleanup): moved here from LAssert.c
4544 (assertion_failed): new function, called by BOOST_ASSERT
4546 * several files: change Assert to BOOST_ASSERT
4548 2003-09-09 Angus Leeming <leeming@lyx.org>
4550 * buffer.[Ch]: Add an Impl class and move Buffer's member
4551 variables into it. As a result move several header files out of
4554 Add header files to lots of .C files all over the tree as a result.
4556 2003-09-09 Angus Leeming <leeming@lyx.org>
4558 * buffer.[Ch]: make Buffer's member variables private. Add
4561 Lots of changes all over the tree as a result.
4563 2003-09-08 Angus Leeming <leeming@lyx.org>
4565 * graph.C: #include <config.h>.
4567 2003-09-08 Angus Leeming <leeming@lyx.org>
4571 * BufferView_pimpl.C:
4600 * toc.C: remove redundant using directives.
4602 2003-09-07 Angus Leeming <leeming@lyx.org>
4604 * LaTeXFeatures.h: remove #include "support/types.h".
4605 * ToolbarBackend.h: remove #include <algorithm>.
4606 * changes.h: remove #include <ctime>.
4607 * debug.h: remove #include <iosfwd>.
4608 * graph.h: remove #include "support/std_string.h".
4609 * lyx_main.h: remove #include <csignal>.
4610 * lyxlex_pimpl.h: remove #include <fstream>.
4611 * sgml.h: remove #include <algorithm>, <utility>.
4612 * toc.h: remove #include "support/std_ostream.h".
4613 Add #include <iosfwd>.
4615 2003-09-07 Angus Leeming <leeming@lyx.org>
4617 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4619 * converter.h: forward declare LatexRunParams.
4620 * encoding.h: remove #include "lyxrc.h".
4621 * lyxtext.h: remove #include "LColor.h".
4622 * lyxtextclass.h: remove #include "support/types.h".
4623 * trans.h: remove #include "tex-accent.h".
4624 * trans_mgr.h: remove #include "tex-accent.h".
4625 * insets/inset.h: remove #include "support/types.h", <vector>.
4626 * insets/insetcollapsable.h: remove #include "LColor.h".
4627 * insets/insetinclude.h: remove #include "dimension.h".
4628 * insets/insetlatexaccent.h: remove #include "dimension.h".
4629 * insets/insetoptarg.h:: remove #include "insettext.h".
4630 * insets/insettext.h: remove #include "dimension.h",
4631 <boost/shared_ptr.hpp>
4633 * insets/renderers.h: add #include "dimension.h".
4634 * insets/updatableinset.h: add #include "support/types.h".
4636 * many .C files: Associated changes.
4638 2003-09-06 Angus Leeming <leeming@lyx.org>
4640 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4641 one, inside testInvariant.
4643 * PrinterParams.C: new file.
4644 * PrinterParams.[Ch]: move the function bodies out of line.
4646 2003-09-06 Angus Leeming <leeming@lyx.org>
4648 * ParagraphParameters.h: forward declare ParameterStruct rather than
4649 including its header file.
4650 (depth): moved out-of-line.
4652 2003-09-06 Angus Leeming <leeming@lyx.org>
4654 * BufferView_pimpl.h:
4657 * lyxfunc.h: forward declare LyXKeySym rather than
4658 #include "frontends/LyXKeySym.h".
4660 * BufferView_pimpl.C:
4663 * lyxfunc.C: associated changes.
4665 2003-09-06 Angus Leeming <leeming@lyx.org>
4667 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4668 As a result, can remove the #include "insets/inset.h" from BufferView.h
4670 2003-09-06 Angus Leeming <leeming@lyx.org>
4672 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4673 As a result, can remove the #include "insets/inset.h" from BufferView.h
4675 2003-09-06 Angus Leeming <leeming@lyx.org>
4681 * bufferview_funcs.C:
4682 * BufferView_pimpl.C:
4687 * ParagraphParameters.C:
4692 * frontends/controllers/ControlDocument.C:
4693 * insets/insetcaption.C: rearrange the #includes into some sort of
4696 * buffer.h: remove #includes ErrorList.h, undo.h
4698 2003-09-06 Angus Leeming <leeming@lyx.org>
4700 * support/types.h: add a 'depth_type' typedef, used to store the
4701 nesting depth of a paragraph.
4704 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4705 defining explicitly.
4708 * paragraph_funcs.h:
4709 * ParagraphParameters.h:
4710 * sgml.h: use lyx::depth_type rather than Paragraph or
4711 ParameterStruct's depth_type.
4714 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4717 * BufferView_pimpl.C:
4719 * ParagraphParameters.C:
4722 * bufferview_funcs.C:
4729 * frontends/LyXView.C:
4730 * frontends/controllers/ControlDocument.C:
4731 * frontends/controllers/ControlErrorList.C:
4732 * insets/insetbibitem.C:
4733 * insets/insetbranch.C:
4734 * insets/insetcaption.C:
4735 * insets/insetcollapsable.C:
4736 * insets/insetenv.C:
4737 * insets/insetert.C:
4738 * insets/insetfloat.C:
4739 * insets/insetfoot.C:
4740 * insets/insetfootlike.C:
4741 * insets/insetnewline.C:
4742 * insets/insetquotes.C:
4743 * insets/insettabular.C:
4744 * insets/insettext.C:
4745 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4747 * frontends/controllers/ControlChanges.C: #include "changes.h".
4749 2003-09-06 Angus Leeming <leeming@lyx.org>
4751 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4752 than #including paragraph.h.
4755 * RowList.h: deleted. Superfluous.
4765 * insets/insettext.h: use ParagraphList_fwd.h rather than
4768 * paragraph.h: don't forward declare ParagraphList.
4771 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4772 rather than ParagraphList.h. paragraph.h is still needed for the
4773 Paragraph::depth_type parameters.
4775 * textcursor.h: enable it to compile stand-alone in light of the
4778 * bufferview_funcs.C:
4790 * frontends/controllers/ControlParagraph.C:
4791 * frontends/controllers/ControlTabular.C:
4792 * insets/insetmarginal.C:
4793 * insets/insetminipage.C:
4794 * insets/insetnote.C:
4795 * insets/insetoptarg.C: add header files needed to compile again.
4797 2003-09-06 Angus Leeming <leeming@lyx.org>
4799 * RowList_fwd.h: new file, forward-declaring Row rather than
4800 #including lyxrow.h.
4805 * insets/insettext.h: use it instead of RowList.h
4807 * bufferview_funcs.C:
4814 * text3.C: #include "RowList.h".
4816 2003-09-05 Angus Leeming <leeming@lyx.org>
4818 * factory.C (createInset):
4819 * vspace.C (c-tor): replace sscanf call with an istringstream.
4820 * ispell.C: re-add missing HP/UX headers.
4821 * lyxserver.C: re-add missing os2 headers.
4823 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4832 * text3.C: re-add missing system headers, needed for 2.95.2.
4834 2003-09-05 Angus Leeming <leeming@lyx.org>
4836 Changes most place everywhere due to the removal of using directives
4837 from support/std_sstream.h.
4839 2003-09-05 Angus Leeming <leeming@lyx.org>
4841 Replace LString.h with support/std_string.h,
4842 Lsstream.h with support/std_sstream.h,
4843 support/LIstream.h with support/std_istream.h,
4844 support/LOstream.h with support/std_ostream.h.
4846 Changes resulting throughout the tree.
4848 2003-09-05 Angus Leeming <leeming@lyx.org>
4850 * sgml.h: ensure that the header file can be compiled stand-alone.
4851 * *.C: strip out redundant #includes. (320 in total.)
4853 2003-09-04 Angus Leeming <leeming@lyx.org>
4855 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4856 here (from getPackages).
4858 * debug.[Ch]: add a new EXTERNAL tag.
4860 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4862 * text2.C (cursorEnd): simplify
4864 (getColumnNearX): adjust
4866 * text.C (computeBidiTables): adjust
4869 * rowpainter.C (paintChars): adjust
4870 (paintSelection): adjust
4871 (paintChangeBar): adjust
4874 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4876 (numberOfSeparators): adjust
4878 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4884 * text3.C: Restricts the mouse click functionality
4885 of insets like bibtex, include, toc and floatlist to the visible
4886 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4887 up the dialogs. Cursor has to be in front of the inset (i.e.
4888 start of row) for this to function.
4890 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4892 * bufferview_funcs.C (currentState): output row information
4894 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4896 * bufferview_funcs.C (currentState): output paragraph position
4898 2003-09-04 Angus Leeming <leeming@lyx.org>
4900 * FloatList.h: move out #include "Floating.h".
4901 * LaTeX.h: move out #include "DepTable.h".
4902 * LyXAction.h: move out #include "funcrequest.h".
4903 * buffer.h: move out #include "author.h", "iterators.h".
4904 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4905 * lyx_main.h: move out #include "errorlist.h".
4906 * lyxfunc.h: move out #include "FuncStatus.h".
4907 * lyxtext: move out #include "lyxcursor.h".
4908 * paragraph_pimpl.h: move out #include "counters.h".
4910 2003-09-03 Angus Leeming <leeming@lyx.org>
4912 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4913 preamble_snippets list, enabling us to add snippets to the preamble
4914 only if the snippet was not there already.
4916 2003-09-04 Angus Leeming <leeming@lyx.org>
4918 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4920 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4925 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4927 * BranchList.C: point fix, earlier forgotten
4929 2003-09-02 Angus Leeming <leeming@lyx.org>
4931 * box.C (contains): renamed from 'contained' after a fantastic
4934 2003-09-02 John Levon <levon@movementarian.org>
4940 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4942 2003-09-02 John Levon <levon@movementarian.org>
4944 * text2.C: simplification of cursorEnd(), including partial
4947 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * buffer.C (readFile): add a space
4951 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4953 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4955 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * buffer.C (readFile): new function, take a filename and a
4958 ParagraphList::iterator
4960 (readFile): adjust, make it private. don't use setStream, make
4961 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4962 always contain the filename.
4964 * BufferView.C (insertLyXFile): simplify and make it work for
4967 2003-08-30 John Levon <levon@movementarian.org>
4969 * Makefile.am: fix dist (from Kayvan)
4971 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * most files: change to use const Buffer refs
4975 2003-08-27 André Pönitz <poenitz@gmx.net>
4977 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4978 on top of ownerPar().
4980 2003-08-27 John Levon <levon@movementarian.org>
4982 * funcrequest.C: properly initialise POD members
4984 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4986 * lyxtext.h (top_y): move top_y from here
4991 * BufferView_pimpl.[Ch]: to here
4992 * frontends/screen.C:
4993 * insets/insettabular.C:
4994 * insets/insettext.C: adjust
4995 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4997 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5000 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5002 2003-08-26 André Pönitz <poenitz@gmx.net>
5004 * paragraph_func.[Ch] (outerPar): new function
5007 * paragraph_funcs.C:
5008 * paragraph_funcs.h:
5009 * paragraph_pimpl.C:
5010 * text2.C: remove Inset::par_owner
5012 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5017 * text2.C: eliminates the needFullRow/display() stuff
5018 altogether, putting the logic in metrics/draw in the insets.
5020 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5022 * text2.C (redoParagraphInternal, redoParagraphs):
5023 * text.C (redoParagraph): add a call to updateRowPositions at the
5024 end of each 'metrics-like' call. Remove all others.
5025 (getRow): remove the 'y-computing' version.
5026 (getRowNearY): do not compute nor return the real y. Solve the
5027 'y < 0' problem and simplify.
5029 2003-08-22 Angus Leeming <leeming@lyx.org>
5031 * *.[Ch]: clean-up of licence and author blurbs.
5032 Also move config.h out of a few .h files and into a few .C files.
5034 2003-08-22 André Pönitz <poenitz@gmx.net>
5036 * lyxrow.[Ch]: add x_ and *fill_ members
5041 * text2.C: adjust/remove prepareToPrint() calls
5043 2003-08-22 André Pönitz <poenitz@gmx.net>
5045 * lyxrow.[Ch]: add end_ member
5047 * lyxrow_funcs.C: use LyXRow::end_
5049 * lyxtext.h (singleWidth): add LyXFont parameter
5052 * text2.C: adjust LyXText::singleWidth() calls
5054 * text.C (redoParagraph): simplify row breaking logic
5057 2003-08-19 André Pönitz <poenitz@gmx.net>
5059 * funcrequest.C: initialize button_ member
5062 * rowpainter.[Ch]: interface consolidation
5064 2003-08-18 André Pönitz <poenitz@gmx.net>
5067 * BufferView_pimpl.C:
5069 * paragraph_funcs.C:
5071 * text3.C: remove LyXScreen::draw() and fitCursor calls
5073 * BranchList.h: remove spurious semicolons
5075 * MenuBackend.C: fix branchlist related crash
5077 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5085 * bufferparams.[Ch]:
5089 * text3.C: implements the 'branch inset'
5090 idea. This allows the output of various versions of a document
5091 from a single source version, selectively outputing or suppressing
5092 output of parts of the text.
5093 This implementation contains a 'branch list editor' in a separate
5094 tab of the document settings dialog. Branches are user definable
5095 and have a "display colour" to distinguish them on-screen.
5097 ColorHandler was somewhat cleaned up.
5098 (1) make possible a dynamically growing LColor list by allowing
5099 the graphic context cache to grow along (vector);
5100 (2) eliminate an IMHO unnecessary step in colour allocation.
5102 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5104 * BufferView_pimpl.C: compile fix
5106 2003-08-15 André Pönitz <poenitz@gmx.net>
5108 * rowpainter.C: remove extra metrics calls
5110 * lyxtext.h: merge the two constructors into a single one,
5111 pass reference to owner's par list
5113 * BufferView_pimpl.C:
5117 2003-08-15 André Pönitz <poenitz@gmx.net>
5119 * lyxrow_funcs.[Ch]:
5122 * paragraph_funcs.C:
5127 * text_funcs.C: split LyXText::rowlist_ into individual
5128 Paragraph::rows_ chunks
5131 * BufferView_pimpl.[Ch]:
5134 * text3.C: remove toggleSelection()
5136 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5138 * bufferlist.C: beautify two alerts (shorter text of buttons)
5139 * buffer.C: Remove redundant ' ' from message
5141 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5142 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5143 rename VALIGN_CENTER to VALIGN_MIDDLE
5145 2003-08-11 André Pönitz <poenitz@gmx.net>
5147 * lyxtext.h (getPar):
5148 * text.C: new function
5150 2003-08-11 André Pönitz <poenitz@gmx.net>
5153 * tracer.[Ch]: remove unneeded files
5155 * InsetList.[Ch]: remove resizeInsetsLyXText()
5160 * text3.C: merge insertParagraphs() and appendParagraph()
5161 remove breakAgain(), update()
5163 * BufferView_pimpl.[Ch]:
5164 * bufferview_funcs.[Ch]:
5168 * tabular.C: adjust after text & InsetList changes.
5170 2003-08-08 André Pönitz <poenitz@gmx.net>
5172 * text.C (insertChar, backspace): replace rowlist fiddling
5173 with rebreak of full par
5176 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5177 checkParagraph, updateInset): removed
5179 2003-08-07 André Pönitz <poenitz@gmx.net>
5182 * text3.C: merge some LFUN handlers, remove dead code
5184 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5186 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5188 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5190 * text2.C (DEPM): fix part of bug 1255 and 1256
5192 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5194 * BufferView_pimpl.C (workAreaDispatch): change to use
5195 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5196 that are no mouse related.
5198 2003-08-05 André Pönitz <poenitz@gmx.net>
5201 * BufferView_pimpl.[Ch]:
5202 * bufferview_funcs.C:
5204 * text3.C: rip out "deep update"
5206 * textcursor.[Ch] (last_sel_cursor): remove unused member
5208 2003-08-04 André Pönitz <poenitz@gmx.net>
5211 * BufferView_pimpl.[Ch]:
5212 * ParagraphParameters.C:
5213 * bufferview_funcs.C:
5219 * text3.C: replace "complicated" BufferView::update(...) calls with
5222 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5224 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5226 * Makefile.am (lyx_SOURCES): add paper.h
5228 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5230 * Makefile.am: move things around so that both lyx-qt and
5231 lyx-xforms can be built (according to --with-frontend). Then lyx
5232 is a symbolic link to lyx-[firstfrontend]
5234 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5236 * Always use std::endl with lyxerr
5238 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5240 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5242 2003-08-01 André Pönitz <poenitz@gmx.net>
5245 * BufferView_pimpl.[Ch]:
5247 * text3.C: merge BufferView::repaint() and BufferView::update()
5249 2003-08-01 José Matos <jamatos@lyx.org>
5251 * buffer.[Ch]: file_format is no longer a buffer data element.
5253 2003-08-01 André Pönitz <poenitz@gmx.net>
5258 * text2.C: make redoParagraph more independent of current cursor
5260 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5262 * text2.C: remove unneeded members
5264 2003-07-30 André Pönitz <poenitz@gmx.net>
5266 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5268 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5269 create a single function...
5271 * paragraph_funcs.C (moveItem): ... here.
5274 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5276 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5278 * LColor.[Ch]: Add comment and greyedout logical colors.
5280 2003-07-30 André Pönitz <poenitz@gmx.net>
5282 * tabular.C: don't use Assert too heavily. This crashes where it
5285 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5287 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5288 is disabled (bug 1232)
5290 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5292 * factory.C: limited 'arg' scope
5294 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5296 * factory.C: fixed Note submenu issues
5298 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5300 * factory.C: submenu for Note/Comment/Greyedout
5302 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5305 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5307 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5310 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5311 greyedout. Patch provided by Jürgen Spitzmüller.
5313 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5315 * kbmap.C (read): fix error message when reading bind files
5317 2003-07-29 Angus Leeming <leeming@lyx.org>
5319 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5320 certainly does not do what it purports to do. I am doing it, and
5321 us, a favour by killing it.
5323 2003-07-28 José Matos <jamatos@lyx.org>
5325 * buffer.C (readBody, do_writeFile):
5326 * paragraph.C(readParagraph): \end_document replaces \the_end.
5328 2003-07-29 André Pönitz <poenitz@gmx.net>
5331 * BufferView_pimpl.[Ch]:
5335 * textcursor.[Ch]: remove toggleToggle & Co
5337 2003-07-28 José Matos <jamatos@fep.up.pt>
5339 * buffer.C (readParagraph):
5340 * params_func (readParToken, readParagraph):
5341 * paragraph.C (write): \layout -> \begin_layout.
5343 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * lyxlex_pimpl.C (setFile): clean up slightly.
5347 * bufferparams.h: add compressed var
5349 * buffer_funcs.C (readFile): adjust for LyXLex change
5350 (newFile): ditto + simplify
5352 * buffer.C (writeFile): handle writing of compressed files
5354 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5355 Check if the file is compressed and set a bufferparm if so.
5357 * Makefile.am (lyx_LDADD): remove explicit -lz
5359 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5361 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5362 makeDocBookFile): put the real LyX version in the first line of
5366 * version.C.in: remove lyx_docversion
5368 * tabular.C (write_attribute): add a template-based version to
5369 write enums properly
5371 2003-07-28 André Pönitz <poenitz@gmx.net>
5376 * text3.C: use doubles again for x-coordinates. They are needed.
5378 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * messages.C (getLocaleDir): use lyx_localedir()
5382 * lyxlex_pimpl.C (setFile): compress stuff
5384 * buffer.C (writeFile): add some compression stuff
5385 (do_writeFile): new func, dont call expliti close... will this
5388 * Makefile.am (lyx_LDADD): add -lz
5390 2003-07-28 José Matos <jamatos@fep.up.pt>
5392 * buffer.C: increment file format.
5393 * paragraph_funcs (readParagraph, readParToken):
5394 * paragraph.C (readParagraph): add \end_layout.
5396 2003-07-27 Angus Leeming <leeming@lyx.org>
5398 * Makefile.am: remove special casing for configure-time setting of
5399 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5401 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5402 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5404 2003-07-26 André Pönitz <poenitz@gmx.net>
5406 * paragraph_func.[Ch]:
5407 * paragraph.C (realizeFont): inline it whereever it is used
5412 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5415 2003-07-26 André Pönitz <poenitz@gmx.net>
5419 * text2.C: get rid of LyXText::need_break_row
5421 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * toc.[Ch]: put namespace toc inside namespace lyx
5425 * MenuBackend.C (expandToc2): adjust for lyx::toc
5428 * lyxfunc.C (dispatch): adjust for lyx::find
5430 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5431 lyx::find instead. Reorganize a bit.
5432 (LyXReplace): rename to replace
5433 (LyXFind): rename to find
5435 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5438 2003-07-26 André Pönitz <poenitz@gmx.net>
5440 * text.C (setHeightOfRow): restrict scope of temporary variable
5442 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5443 code (never has been used?)
5445 2003-07-27 Asger Alstrup <alstrup@local>
5447 * text.C (fill): Optimise algorithm to exploit that we can reuse
5448 the LyXFont for many characters.
5449 (setHeightOfRow): Same thing.
5450 (rowBreakPoint): Same thing.
5452 2003-07-26 Asger Alstrup <alstrup@local>
5454 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5456 * text.C (singleWidth): Spurious font copying in hot-spot
5457 singleWidth avoided. Reorder tests for arabic for efficiency.
5459 * text.C (fill): handle empty paragraphs better.
5461 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5464 * encoding.h: add includes
5466 * lyxrc.C: remove reading of bind files
5468 * lyx_main.C (init): setup bindings and menus only if we have a
5471 * kbmap.C (read): new method. Do the actual reading of bind
5474 * converter.C (dvipdfm_options):
5477 (output): adapt PAPER_* enums.
5479 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5481 * bufferparams.h: remove paper-related enums from there
5483 * paper.h: New file. A trivial header file to hold paper-related
5484 enums. It should later expand to contain many paper-related
5487 * lyxrc.C: declare extern displayTranslator
5489 2003-07-27 José Matos <jamatos@fep.up.pt>
5491 * tabular.[Ch] (linuxdoc): add support for tables and figures
5494 2003-07-27 José Matos <jamatos@fep.up.pt>
5496 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5497 consistency in both functions.
5498 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5500 2003-07-26 Asger Alstrup <alstrup@local>
5502 * rowpainter.C (paintRows): Change algorithm to work directly on
5503 the insets rather than asking every character in the document
5504 whether its an inset.
5506 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5508 * buffer.C (openFileWrite): factorize some code
5510 2003-07-26 Angus Leeming <leeming@lyx.org>
5513 * lyx_main.[Ch]: replace occurances of system_tempdir with
5516 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * rename Inset to InsetOld
5520 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5522 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5523 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5524 which I think is a bit clearer. EDIT is gone, since it was
5525 premature optimisation, and broken for mathed anyway.
5526 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5527 with cursor positioning in insets as well (math insets still do not
5528 work, but that's a different story anyway.) It mysteriously
5529 crashes sometimes with undo in the first paragraph, but I'm fairly
5530 confident that this is a compiler bug.
5532 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * paragraph.C (Paragraph): adjust for new clone return type
5536 (copyIntoMinibuffer): ditto
5538 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5540 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5541 by not having a special case, and always doing a full rebreak of
5542 the document after undo.
5544 2003-07-23 Angus Leeming <leeming@lyx.org>
5546 * factory.C (createInset): InsetExternal::setParams now takes a
5549 2003-07-23 Angus Leeming <leeming@lyx.org>
5551 * factory.C (createInset): changed interface to the external and
5552 graphics mailers' string2params functions.
5554 2003-07-23 Angus Leeming <leeming@lyx.org>
5556 * factory.C (createInset): pass a
5557 Buffer const * parameter to InsetExternalMailer's string2params.
5559 2003-07-22 John Levon <levon@movementarian.org>
5561 * Thesaurus.h: include the right aiksaurus header
5563 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5565 * MenuBackend.C (expand): check menu shortcuts unconditionally
5567 2003-07-21 Angus Leeming <leeming@lyx.org>
5569 * factory.C (createInset): pass a
5570 buffer_path parameter to InsetGraphicsMailer's string2params.
5572 2003-07-21 Angus Leeming <leeming@lyx.org>
5574 * BufferView_pimpl.C (buffer):
5577 * lyxfunc.C (dispatch):
5578 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5579 rather than the grfx shortcut.
5581 2003-07-21 André Pönitz <poenitz@gmx.net>
5583 * rowpainter.C: remove unused variables
5586 * tabular_funcs.h: move to tabular.C
5587 * Makefile.am: adjust
5589 * tabular.[Ch]: basic optical cleaning
5591 * author.h: pass references, not values
5593 2003-07-18 André Pönitz <poenitz@gmx.net>
5601 * text3.C: two-phase drawing for InsetText and InsetTabular
5602 some float -> int changes.
5604 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5606 * lyx_main.C: fix the fix
5608 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5610 * lyx_main.C: fix a crash in batch mode if no files specified
5613 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5615 * format.[Ch] (papersize): moved to BufferParams
5616 * converter.[Ch] (dvips_options): moved to BufferParams
5617 (dvipdfm_options): moved to anon namespace
5618 * bufferparams.[Ch]: added above functions.
5620 2003-07-17 André Pönitz <poenitz@gmx.net>
5624 * text2.C: don't call inset->update() anymore
5626 * metricsinfo.[Ch]: add convenience constructor
5628 2003-07-16 André Pönitz <poenitz@gmx.net>
5633 * text2.C: replace the LyXCursor::irow_ member with
5634 on-demand computation of the value
5636 2003-07-16 John Levon <levon@movementarian.org>
5638 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5640 2003-07-15 André Pönitz <poenitz@gmx.net>
5643 * text2.C: remove no more needed refresh_row
5645 2003-07-15 André Pönitz <poenitz@gmx.net>
5650 * text3.C: refresh_status tristate -> need_update bool
5652 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5654 * lyxtext.h (init): remove reinit argument (act as if always true)
5655 * text2.C: adjust to that
5657 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5659 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5660 * text3.C: use it to delete selections in some cases
5661 (bugs 441, 673, 702, 954).
5663 2003-07-14 André Pönitz <poenitz@gmx.net>
5665 * rowpainter.[Ch]: reduce interface
5667 2003-07-14 André Pönitz <poenitz@gmx.net>
5669 * BufferView_pimpl.C:
5670 * text2.C: adjust after removing unused BufferView * argument
5672 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5674 * text2.C (init): fix a crash fired on resize
5676 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5678 * buffer.[Ch]: added new closing signal
5679 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5680 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5681 BufferView::Pimpl via the closing the signal
5683 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5685 * buffer.[Ch]: take out all bv-related from buffer
5687 * BufferView_pimpl.[Ch]: connect to new signals
5688 * CutAndPaste.C: removed useless asserts
5689 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5692 * lyxfunc.C: moved view-related funciontality from vc here
5693 * paragraph.C: removed outdated comments
5696 2003-07-10 André Pönitz <poenitz@gmx.net>
5698 * BufferView_pimpl.C:
5702 * text2.C: remove InsetText::InnerCache, clean up consequences
5704 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5706 * ispell.C: fix two typos in error messages
5708 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5710 * Extend Note inset to other forms of annotation like Comment
5711 and Greyedout. Right button click gives dialog.
5713 Files modified or added (+):
5717 * ControlNote.[Ch] +
5719 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5720 frontends/controllers
5724 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5726 * aspell.C: add missing namespace lyx::support
5728 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5730 * BufferView.[Ch] (newFile): Add
5731 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5732 * LaTeX.[Ch] (message): added this signal and use it
5733 * buffer.[Ch] (busy, message): added these signals and use them
5734 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5738 * importer.C: use buffer signals instead of direct bv calling
5739 * lyx_cb.[Ch] (ShowMessage): removed
5742 * paragraph_funcs.C:
5743 * text2.C: use buffer signals
5745 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * introduce namespace lyx::graphics
5749 2003-07-02 André Pönitz <poenitz@gmx.net>
5751 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5753 2003-07-01 André Pönitz <poenitz@gmx.net>
5760 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5761 text*.C to text_func.C
5763 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * introduce namespace lyx::support
5767 2003-06-30 André Pönitz <poenitz@gmx.net>
5772 * text.C: re-enable --with-included-string
5774 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * textcursor.C: add <config.h>
5778 * text.C (getWord): remove const from word_location arg
5780 * lyxvc.C (getLogFile): fix const type order
5782 * lyxtext.h: remove const from word_location arg, add arg name
5784 * lyxlayout.h: currect type on labeltype.
5786 * importer.C: correct \file
5788 * converter.C (intToFormat): use std:: on ret val, ws changes
5790 * bufferlist.h: correct \file
5792 * buffer.C (makeLinuxDocFile): fix const type order
5793 (makeDocBookFile): ditto
5794 (fillWithBibKeys): use std:: on stdlib args.
5796 * CutAndPaste.C: fix authors.
5797 (availableSelections): use std:: on return vector
5799 2003-06-27 André Pönitz <poenitz@gmx.net>
5801 * BufferView_pimpl.C:
5802 * bufferview_funcs.C:
5810 * text3.C: remove LyXCursor::row_ member
5813 * text.C: rename fullRebreak() to partialRebreak() and implement
5814 a fullRebreak() that really bereks fully
5816 * textcursor.h: new struct for cursor-related data
5818 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5820 * lyx_main.C (LyX): get full path of document loaded on the
5823 2003-06-26 André Pönitz <poenitz@gmx.net>
5825 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5826 remove unused/broken operator>,<,>=.
5828 * text.C: remove only use of broken operator<= in an Assert().
5830 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5832 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5833 moved errorlist_.clear to showErrorList
5835 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5837 * converter.C (scanLog, runLaTeX):
5838 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5839 move the bv->showErrorList call to the callers
5840 * lyxfunc.C: i.e. here...
5842 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5843 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5844 namespace, the second to...
5845 * buffer_funcs (BufferFormat, parseErrors): added
5846 * errorlist.C (ErrorList(TeXErrors const &)): removed
5848 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5850 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5852 2003-06-24 "Garst R. Reese" <reese@isn.net>
5856 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5858 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5860 * version.C.in: change docversion to 1.4
5862 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5864 * buffer.C: fix a bug just introduced
5866 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5868 * buffer.[Ch]: added the parseError signal and use it, removed
5870 * BufferView.[Ch] (addError): moved to ...
5871 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5872 to the Buffer::parseError signal to catch (guess what) parse errors
5873 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5875 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5877 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5878 ability to create a buffer and to return an existing one from
5879 the list. Moved these functions to...
5880 * buffer_funcs.[Ch]: added
5881 * BufferView.[Ch] (loadLyXFile): added
5882 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5883 job removed from bufferlist::loadLyXFile.
5884 * buffer.C (setReadOnly): make it work without view
5885 (i.e added an if (users))
5887 2003-06-19 Angus Leeming <leeming@lyx.org>
5890 * LyXAction.C (init):
5891 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5892 with LFUN_DIALOG_SHOW <name> <data>.
5894 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5896 * CutAndPaste.C (availableSelections): small compilation fix for
5897 ancient (gcc 2.9x) compilers
5899 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * text3.C (cursorNext): add tmp var
5903 * text2.C (updateCounters): for function calling out of for clause
5904 (replaceSelectionWithString): ditto
5905 (insertStringAsParagraphs): ditto
5906 (getColumnNearX): add tmp var
5907 (setCursorFromCoordinates): add tmp var
5908 (cursorDownParagraph): add tmp var
5909 (deleteEmptyParagraphMechanism): add tmp var
5911 * text.C (insertChar): add tmp var
5913 * rowpainter.C (paintDepthBar): add tmp var
5915 * CutAndPaste.C (availableSelections): potentially check all
5916 paragraphs in a cut to fill the shown strings.
5918 2003-06-18 André Pönitz <poenitz@gmx.net>
5920 * kbmap.[Ch]: use vector<> instead of list<>
5922 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5924 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5925 pasteSelection with index
5927 * text2.C (pasteSelection): modify, call pasteSelection with index
5929 * paragraph.C (asString): reimplement version with no interval to
5930 call the one with interval.
5932 * lyxtext.h: add index arg to pasteSelection
5934 * MenuBackend.C (MenuItem): handle PasteRecent
5935 (Menu::read::Menutags): add md_pasterecent
5937 (expandPasteRecent): new function
5940 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5942 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5944 (availableSelections): new function
5946 2003-06-17 Angus Leeming <leeming@lyx.org>
5948 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5950 2003-06-17 Angus Leeming <leeming@lyx.org>
5953 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5955 * lyxfunc.C (dispatch): invoke it.
5957 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5959 * iterators.C (operator++, ParPosition): reintroduce some
5960 const_cast for the benefit of older compilers.
5962 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5964 * text3.C (dispatch): do not modify clipboard when doing
5965 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5966 LFUN_DELETE_SKIP on a selection selection
5968 2003-06-16 André Pönitz <poenitz@gmx.net>
5974 * tabular.[Ch]: IU of clone() and getLabelList();
5976 2003-06-13 André Pönitz <poenitz@gmx.net>
5978 * tabular.h: compactification
5980 2003-06-12 André Pönitz <poenitz@gmx.net>
5984 * tabular_funcs.h: some renaming plus whitespace
5986 2003-06-12 André Pönitz <poenitz@gmx.net>
5989 * BufferView_pimpl.C:
5995 * toc.C: Return a Paragraph & for ParIterator::operator*()
5997 2003-06-11 John Levon <levon@movementarian.org>
6001 * ToolbarBackend.C: add "Toolbars" section and
6004 2003-06-10 Angus Leeming <leeming@lyx.org>
6007 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6009 * lyxfunc.C (dispatch): invoke it.
6011 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * main.C: protect <ios> with HAVE_IOS
6014 (main): protect sync_with_stdio with HAVE_IOS
6016 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6018 * text2.C (cutSelection): adjust
6019 (pasteSelection): adjust
6021 * messages.C: handle get of empty string
6023 * main.C (main): use sync_with_stdio(false)
6025 * lyxfunc.C (dispatch): adjust
6027 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6028 (WriteAs): remove unneeded BufferView arg.
6030 * bufferparams.h: use correct types on papersize, papersize2 and
6033 * bufferparams.C (readToken): adjust for type
6034 (writeLaTeX): add missing cases to switch.
6036 * bufferlist.C (quitWriteBuffer): adjust
6039 * buffer.C (asciiParagraph): remove some commented code.
6041 * CutAndPaste.C: remove current_view extern variable.
6042 (cutSelection): add BufferParams arg.
6043 (eraseSelection): add BufferParams arg.
6044 (pasteSelection): add Buffer const & arg
6046 2003-06-07 John Levon <levon@movementarian.org>
6049 * paragraph_funcs.C:
6050 * paragraph_pimpl.C:
6054 * paragraph.C: allow InsetERT to freely space lines,
6055 and some consolidation of code
6057 2003-06-06 José Matos <jamatos@fep.up.pt>
6059 * buffer.C (makeDocBookFile): fix bug #821
6061 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6063 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6065 2003-06-04 Angus Leeming <leeming@lyx.org>
6067 * buffer.C: bump format to 224.
6069 2003-06-05 André Pönitz <poenitz@gmx.net>
6071 * text2.C (redoParagraphs): remove two const_cast<>
6073 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6075 * ParagraphList.h: remove last remnants of NO_STD_LIST
6077 2003-06-03 Angus Leeming <leeming@lyx.org>
6079 * factory.C (createInset): small change to the way InsetExternal's params
6082 2003-06-04 André Pönitz <poenitz@gmx.net>
6084 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6086 * paragraph_pimpl.h:
6087 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6089 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6091 * undo_funcs.C: make some simple cases of undo work again
6093 2003-06-03 John Levon <levon@movementarian.org>
6095 * ispell.C: HPUX doesn't have sys/select.h
6098 2003-06-03 John Levon <levon@movementarian.org>
6100 * CutAndPaste.C: update tabular and include inset
6105 * paragraph.C: remove owningBuffer(), don't pass Buffer
6108 * factory.C: insetGraphicsParams changed
6110 2003-06-02 John Levon <levon@movementarian.org>
6116 * text3.C: remove insetparent
6118 2003-06-02 John Levon <levon@movementarian.org>
6121 * buffer.C: fix inset_iterator.end(), move out of line
6124 2003-06-01 John Levon <levon@movementarian.org>
6126 * text3.C: use a proper cut/paste when doing inset
6127 insert (from Jürgen Spitzmüller)
6129 2003-06-01 John Levon <levon@movementarian.org>
6131 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6133 2003-05-30 André Pönitz <poenitz@gmx.net>
6135 * rowpainter.C: unify second drawing phase
6137 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * trans_mgr.C: remove one case of current_view
6141 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6143 * paragraph_funcs.h: remove paragraph.h include
6145 * paragraph.h: delete NO_STD_LIST stuff
6147 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6149 * buffer.h: remove paragraph.h include
6151 * ParagraphList.C: delete file
6153 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6155 * toc.C (getTocList): adjust
6157 * paragraph_pimpl.C (validate): adjust
6159 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6161 * paragraph.C (Paragraph): adjust
6162 (getPositionOfInset): use const_iterator, adjust
6163 (bibitem): use const_iterator, adjust
6164 (setInsetOwner): adjust
6166 * iterators.C (operator++): adjust
6168 * InsetList.[Ch]: Replace selfmade iterator with standard
6169 vector::iterator also introduce const_iterator. Remove getPos,
6170 getInset and setInset from InsetTable. Adjust accordingly.
6172 * BufferView.C (lockInset): adjust
6173 (ChangeInsets): adjust
6175 * tabular.[Ch]: delete commented same_id functions
6177 2003-05-28 John Levon <levon@movementarian.org>
6179 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6181 2003-05-28 André Pönitz <poenitz@gmx.net>
6183 * metricsinfo.[Ch]: remove 'fullredraw' member
6185 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6187 * lyxtextclass.C (operator): remove caching.
6189 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * text2.C (cursorBottom): adjust
6194 (setCounter): use ParagraphList::find, adjust
6196 * text.C (workWidth): use ParagraphList::find, adjust
6198 * lyxcursor.C (LyXCursor): adjust
6200 * buffer.C (inset_iterator): adjust
6202 * ParagraphList.h: make iterator(value_type) private, make
6203 ParagraphList a friend of iterator.
6205 * ParagraphList.C (find): new function
6207 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6209 2003-05-27 André Pönitz <poenitz@gmx.net>
6211 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6213 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6215 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6217 2003-05-26 John Levon <levon@movementarian.org>
6219 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6221 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6223 * remove same_id from function signatures, adjust.
6225 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6227 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6229 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6231 * paragraph.C (Paragraph): get rid of same_ids parameter
6233 * ParagraphList.C (insert): adjust
6236 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * paragraph_funcs.C (breakParagraph): adjust
6239 (breakParagraphConservative): adjust
6241 * buffer.C (readParagraph): adjust
6243 * ParagraphList.C (insert): take a reference instead of a pointer
6246 * paragraph.[Ch] (id): new function
6248 * bufferlist.C (newFile): adjust
6250 * ParagraphList.C (ParagraphList): adjust
6252 (push_back): take a reference instead of a pointer.
6254 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6256 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6259 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6260 set else use old code.
6262 * ParagraphList.C: remove all NO_NEXT code and only compile this
6263 code of NO_STD_LIST is set.
6265 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6267 * BufferView_pimpl.C:
6277 * graphics/GraphicsConverter.C:
6278 * graphics/PreviewLoader.C: header adjustment
6280 2003-05-23 Angus Leeming <leeming@lyx.org>
6282 * LaTeXFeatures.[Ch] (useBabel): new method.
6283 * bufferparams.C (writeLaTeX): use it.
6285 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * ParagraphList.h (set): remove unused function.
6289 2003-05-23 André Pönitz <poenitz@gmx.net>
6292 * BufferView_pimpl.C:
6296 * undo_funcs.C: setUndo reworked
6298 * iterators.[Ch]: add access to topmost ParagraphList
6300 * lyxtext.[Ch] (workWidth): add a const
6302 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6304 * texrow.[Ch] (increasePos): remove function
6305 * exporter.C (export): removed unused var and outdated comment
6307 2003-05-23 Angus Leeming <leeming@lyx.org>
6309 * latexrunparams.h: rename fragile as moving_arg.
6310 * paragraph.C (simpleTeXOnePar): ditto.
6311 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6313 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6317 (textUndoOrRedo): comment out a currently unused var.
6319 * paragraph.h (NO_NEXT): enable NO_NEXT
6321 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6323 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6325 * exporter.C (Export): adjust for removeAutoInsets removal.
6327 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6329 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6331 * BufferView.[Ch] (removeAutoInsets): delete function
6333 2003-05-22 Angus Leeming <leeming@lyx.org>
6335 * latexrunparams.h: add a free_spacing variable.
6337 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6338 to pass moving_arg, as the data is stored in runparams.fragile.
6340 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6341 to Inset::latexOptional or to simpleTeXOnePar.
6343 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6344 free_spacing arg to Inset::latexOptional.
6346 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6349 2003-05-22 Angus Leeming <leeming@lyx.org>
6351 * latexrunparams.h: add fragile and use_babel variables.
6353 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6354 * buffer.C (makeLaTeXFile): store this returned value in
6355 runparams.use_babel, thus passing it to the inset::latex methods.
6357 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6358 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6360 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6361 longer has a fragile arg, as it is stored in runparams.fragile.
6363 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6364 moving_arg parameter as the data is stored in runparams.fragile.
6366 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6367 a fragile parameter as the data is stored in runparams.fragile.
6369 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6373 2003-05-22 Angus Leeming <leeming@lyx.org>
6375 * latexrunparams.h: add a 'bool nice' which defaults to false.
6377 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6378 now encapsulated within runparams.
6380 * bufferlist.C (updateIncludedTeXfiles):
6381 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6383 2003-05-22 Angus Leeming <leeming@lyx.org>
6385 * latexrunparams.h: new file containing struct LatexRunParams.
6386 * Makefile.am: add new file.
6388 * LaTeX.[Ch] (c-tor, run):
6389 * buffer.[Ch] (makeLaTeXFile):
6390 * bufferlist.[Ch] (updateIncludedTeXfiles):
6391 * converter.C (convert, scanLog):
6392 * converter.[Ch] (runLaTeX):
6393 * exporter.C (Export):
6394 * paragraph.[Ch] (simpleTeXOnePar):
6395 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6396 * paragraph_funcs.[Ch] (latexParagraphs):
6397 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6398 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6399 pass around a LatexRunParams parameter.
6401 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * paragraph.[Ch]: remove unused constructor
6405 * ParagraphList.C (erase): new function, taking two iterators
6407 2003-05-22 André Pönitz <poenitz@gmx.net>
6409 * undo_funcs.C: remove duplicated code
6411 * iterator.[Ch]: operator=
6413 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * tabular.C (SetMultiColumn): ws changes
6417 * rowpainter.C (paintFirst): get rid of a ->previous
6419 * lyx_cb.C (getPossibleLabel): parlist simplification
6421 * BufferView.C (ChangeInsets): simplify slightly.
6423 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6425 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6426 * lfuns.h: new LFUN_SPACE
6427 * lyxfunc.C: protected space has a new lfun
6428 * paragraph_funcs.C: read new space insets
6430 * factory.C: handle new space insets
6432 2003-05-22 André Pönitz <poenitz@gmx.net>
6435 * BufferView_pimpl.C:
6438 * undo_funcs.C: return a ParIterator from getParFromID.
6440 * iterators.[Ch]: add two const's
6442 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * toc.C (getTocList): adjust
6446 * iterators.[Ch]: rework for parlist
6448 * buffer.C (par_iterator_begin): adjust
6449 (par_iterator_end): adjust
6451 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6453 * BufferView.C (removeAutoInsets): adjust
6454 (ChangeInsets): adjust
6456 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6458 * text.C (top_y): fix bug 1110
6460 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6462 * errorlist.[Ch]: added
6465 * BufferView_pimpl.C:
6466 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6469 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * Makefile.am: ensure that lyx is relinked upon changes to the
6472 various "convenience" libs.
6474 2003-05-20 Angus Leeming <leeming@lyx.org>
6476 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6477 files are compiled in alphabetical order again.
6479 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6481 2003-05-19 Angus Leeming <leeming@lyx.org>
6483 * gettext.[Ch]: remove "char const * _(char const *)".
6485 2003-05-19 André Pönitz <poenitz@gmx.net>
6487 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6496 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6498 2003-05-19 André Pönitz <poenitz@gmx.net>
6502 * lyxtextclass.[Ch]:
6504 * paragraph_funcs.[Ch]:
6506 * text3.C: more insetenv work
6508 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6510 * ParagraphParameters.C (params2string): small bug fixed
6512 2003-05-16 André Pönitz <poenitz@gmx.net>
6515 * bufferview_funcs.C: patch from Kornel Benko to prevent
6516 crash when _(...) is called twice in a statement
6518 2003-05-16 André Pönitz <poenitz@gmx.net>
6525 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6527 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6529 * lyx_main.C (init): remove spurious static_cast
6531 2003-05-14 André Pönitz <poenitz@gmx.net>
6533 * BufferView.C: fix format string
6535 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6537 * BufferView.[Ch] (insertErrors): removed
6538 * BufferView.[Ch] (showErrorList): added
6539 * buffer.C (runChkTeX):
6540 * converter.C (scanLog): call showErrorList instead of inserterrors
6542 2003-05-13 André Pönitz <poenitz@gmx.net>
6544 * BufferView_pimpl.C:
6546 * bufferview_func.C:
6553 * tabular_funcs.h: tostr() from its own header
6555 * ParagraphParameters.C:
6560 * text3.C: STRCONV()
6562 2003-05-12 André Pönitz <poenitz@gmx.net>
6565 * BufferView_pimpl.C:
6569 * ParagraphParameters.C:
6573 * bufferview_funcs.C:
6586 * paragraph_funcs.C:
6590 * text3.C: boost::format -> bformat all over the place
6593 2003-05-09 André Pönitz <poenitz@gmx.net>
6595 * LColor.[Ch]: Pimpl the #include <map> away
6597 2003-05-09 John Levon <levon@movementarian.org>
6599 * bufferlist.C: never remove emergency saves
6601 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * Makefile.am: better lib building
6605 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6609 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6610 (simpleTeXSpecialChars): adjust
6611 (simpleTeXSpecialChars): adjust
6612 * paragraph.C (simpleTeXOnePar): adjust
6613 * buffer.C (makeLaTeXFile): adjust
6615 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6617 * text2.C (changeDepth): parlist cleanup
6618 (getColumnNearX): ditto
6620 * rowpainter.C (getLabelFont): parlist cleanup
6622 * bufferlist.C (newFile): parlist cleanup
6624 * CutAndPaste.C (eraseSelection): parlist cleanup
6626 * BufferView_pimpl.C (trackChanges): parlist cleanup
6629 * BufferView.C (lockInset): parlist cleanup.
6630 (ChangeInsets): ditto
6632 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * CutAndPaste.h: Update file header.
6636 * CutAndPaste.C: Update file header.
6637 Store the parts cut out of the Document in a limited_stack.
6638 (copySelection): adjust
6639 (pasteSelection): new function, takes the index in the limited stack.
6640 (nrOfParagraphs): adjust
6641 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6642 simplify error inset insertion.
6643 (checkPastePossible): adjust
6645 2003-05-06 John Levon <levon@movementarian.org>
6647 * text2.C: don't cast wrap inset to float
6649 2003-05-05 André Pönitz <poenitz@gmx.net>
6652 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6654 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6655 few naked Paragraph *.
6657 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6659 * bufferparams.C: Output warning if a document with missing
6660 TeX document class is loaded
6661 * exporter.C: Disable TeX exports if the document class is missing
6664 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6665 isTeXClassAvailable()
6667 2003-05-03 John Levon <levon@movementarian.org>
6670 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6671 explicit cursor show/hide
6673 * BufferView_pimpl.h:
6674 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6675 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6677 * lyxfunc.C: hide cursor before dispatching.
6682 * text3.C: remove explicit cursor hides
6684 2003-05-02 André Pönitz <poenitz@gmx.net>
6686 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6689 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6692 * text2.C: tiny whitespace
6694 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * undo_funcs.C: almost only ws changes.
6698 * ParagraphList.C (splice): just return if pl is empty.
6700 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * ParagraphList.C (splice): new function.
6704 * CutAndPaste.C (pasteSelection): use it
6706 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * CutAndPaste.C (pasteSelection): remove the last next and
6709 previous from this file.
6711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * CutAndPaste.C (pasteSelection): more clean up, user proper
6714 ParagraphList functions for pasteing.
6716 * ParagraphList.C (insert): new function, three arg insert
6718 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6720 * ParagraphList.C (insert): new function, three arg insert
6722 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6725 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6729 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6733 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6736 (copySelection): clean up a bit.
6737 (pasteSelection): use make_pair
6739 * ParagraphList.C (ParagraphList): implement copy constructor
6740 (operator=): implement, base on copy constructor.
6743 * paragraph.C (erase): return a bool
6745 * paragraph_pimpl.C (erasePos): remove function, move contents...
6746 (erase): ... here. Return a bool.
6747 (erase): call erase instead of erasePos.
6749 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6751 * ParagraphList.h: define PitPosPair
6752 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6753 ParagraphList, fix a bug on pasting multiple pars
6754 * text2.C: change interface to C&P
6756 2003-04-30 André Pönitz <poenitz@gmx.net>
6758 * undo_func.C: revert part of yesterday's patch 2
6760 2003-04-30 John Levon <levon@movementarian.org>
6762 * LColor.C: s/tabular/table/
6764 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * text3.C (dispatch): do not convert iterator -> pointer
6767 * undo_funcs.C (setCursorParUndo): ditto
6768 * text_funcs.C (transposeChars): ditto
6770 * text2.C (setLayout): ws changes only
6772 * text.C (breakParagraph): do not convert iterator -> pointer
6774 (acceptChange): ditto
6775 (rejectChange): ditto
6780 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6783 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6785 * text3.C (gotoInset): YABG (yet another bad getChar)
6787 2003-04-29 André Pönitz <poenitz@gmx.net>
6789 * paragraph.h: make operator= private unimplemented as long as
6792 * ParagraphList.C: whitespace
6795 * paragraph_pimpl.[Ch]:
6796 * paragraph_funcs.C:
6798 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6801 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6803 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6805 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6806 * paragraph.[Ch] (erase):
6807 * paragraph_pimpl.[Ch] (erase): change return type and value
6808 * text2.C (cutSelection): some rework
6810 2003-04-28 John Levon <levon@movementarian.org>
6812 * bufferlist.C: changes for unsaved changes dialog
6814 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * bufferlist.C (newFile): set language (messages_) for new
6819 * buffer.C (readFile): ws changes only.
6821 2003-04-28 André Pönitz <poenitz@gmx.net>
6826 * BufferView_pimpl.C:
6827 * BufferView.C: getParFromID related ParagraphList::iterator changes
6829 2003-04-28 André Pönitz <poenitz@gmx.net>
6831 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6834 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * messages.C: remove one more localedir class variable.
6838 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * messages.C (getLocaleDir): singleton generation function
6842 (Messages): add a default constructor.
6844 * main.C (main): do not setup localedir here, do not call
6847 * gettext.C (_): use it.
6848 (gettext_init): delete funciton
6850 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * gettext.C (getLyXMessages): new singleton generating function.
6854 * buffer.C (updateDocLang): adjust
6856 * Makefile.am (messages.o): add target
6857 (main.o): remove target
6859 2003-04-27 John Levon <levon@movementarian.org>
6864 * lyxvc.C: specify cancel button in Alert::prompt
6866 2003-04-26 John Levon <levon@movementarian.org>
6871 * LyXAction.C: add LFUN_INSET_SETTINGS
6873 * lyxfunc.C: don't enable tabular-feature when there's
6874 just any locking inset
6876 2003-04-26 John Levon <levon@movementarian.org>
6878 * bufferlist.C: re-add Cancel to buffer close question
6880 * lyxfunc.C: fix import UI a bit
6882 2003-04-25 John Levon <levon@movementarian.org>
6884 * gettext.C: remove the broken asserts for now
6886 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * messages.C: make case where setlocale cannot comply work better.
6890 * buffer.C (updateDocLang): new function
6891 (changeLanguage): use it
6894 * text2.C (setCounter): use B_ a bit.
6896 * lyxlayout.C (Read): be sure to trim the label strings.
6898 * messages.C (Messages): fix typo in comment
6900 * buffer.C (readFile): set message_ after file is loaded.
6901 (makeDocBookFile): remove double return
6902 (changeLanguage): reset message_ upon language change.
6903 (B_): new func, use this to get translated buffer strings.
6905 * main.C: add myself and Jean Marc as authors.
6907 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6909 * messages.[hC]: pimplify Messages, and three different pimpls to be
6910 used in different circumstances.
6912 * gettext.[Ch]: change for use with new message code.
6914 2003-04-24 André Pönitz <poenitz@gmx.net>
6916 * factory.C: support for eqref
6918 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6920 * messages.[Ch]: add missing char
6922 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6924 * messages.[Ch]: New files
6926 2003-04-18 John Levon <levon@movementarian.org>
6930 * BufferView_pimpl.C:
6934 * text2.C: remove layout-copy/paste (bug 778)
6936 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6938 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6940 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6942 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6943 if they succeed. Act accordingly.
6945 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * text2.C (setCharFont): adjust
6948 (setCounter): adjust
6949 (insertStringAsLines): adjust
6951 * text.C (leftMargin): adjust
6952 (setHeightOfRow): adjust
6954 * rowpainter.C (paintFirst): adjust
6957 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6959 (isFirstInSequence): ditto
6960 (getEndLabel): ditto
6963 * paragraph.C (getParLanguage): comment out some hard stuff.
6965 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6967 (simpleDocBookOnePar): ditto
6968 (makeDocBookFile): use ParagraphList::iterator
6970 * CutAndPaste.C (pasteSelection): adjust
6972 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * text2.C (getFont): adjust
6975 (getLayoutFont): adjust
6976 (getLabelFont): adjust
6978 * paragraph_funcs.C (TeXOnePar): adjust
6980 * buffer.C (simpleLinuxDocOnePar): adjust
6981 (simpleDocBookOnePar): adjust
6983 * CutAndPaste.C (pasteSelection): adjust
6985 * BufferView.C (getEncoding): adjust
6987 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6989 2003-04-16 John Levon <levon@movementarian.org>
6991 * lyxfind.C: use parlist stuff for search/changes
6993 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6997 * text2.C (deleteEmptyParagraphMechanism): adjust
6999 * text2.[Ch] (ownerParagraph): delete func (both of them
7001 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7005 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * ParagraphList.C: prepare for NO_NEXT
7009 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * text2.C (getFont): adjust
7012 (getLayoutFont): adjust
7013 (getLabelFont): adjust
7015 * paragraph.C (getFont): adjust
7016 (getLabelFont): adjust
7017 (getLayoutFont): adjust
7019 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7021 2003-04-15 John Levon <levon@movementarian.org>
7025 * lyx_main.C: handle Include in .ui files
7027 2003-04-15 John Levon <levon@movementarian.org>
7029 * MenuBackend.C: make the doc files length shorter
7032 * ToolbarBackend.C: handle toolbar placement flags,
7035 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7040 * paragraph_funcs.C (TeXOnePar): adjust
7042 * paragraph.C (getLabelFont): add outerfont arg, adjust
7043 (getLayoutFont): ditto
7044 (simpleTeXOnePar): adjust
7046 * paragraph_pimpl.C (realizeFont): delete func
7048 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7050 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7051 row argument, constify cur argument.
7053 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * text2.C (getFont): adjust
7056 (getLayoutFont): adjust
7057 (getLabelFont): adjust
7059 * paragraph_funcs.C (TeXOnePar): adjust
7060 (outerFont): new func...
7061 (realizeFont): ...moved out from here, changed this to facilitate
7064 * paragraph.C (getFont): take outerfont as arg, adjust
7065 (simpleTeXOnePar): add outerfont arg, adjust
7067 * buffer.C (simpleLinuxDocOnePar): adjust
7068 (simpleDocBookOnePar): adjust
7070 * CutAndPaste.C (pasteSelection): adjust
7072 * BufferView.C (getEncoding): adjust
7074 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * text2.C (setCharFont): adjust
7077 (setCounter): adjust
7079 * text.C (leftMargin): adjust
7080 (setHeightOfRow): adjust
7082 * rowpainter.C (paintFirst): adjust
7085 * paragraph_pimpl.C (realizeFont): adjust
7087 * paragraph.C (isFirstInSequence): move from here...
7088 * paragraph_funcs.C (isFirstInSequence): ...to here
7090 * paragraph.C (outerHook): move from here...
7091 * paragraph_funcs.C (outerHook): ...to here
7093 * paragraph.C (depthHook): move from here...
7094 * paragraph_funcs.C (depthHook): ...to here
7096 * paragraph.C (getEndLabel): move from here...
7097 * paragraph_funcs.C (getEndLabel): ...to here
7099 * text2.C (realizeFont): move from here...
7100 * paragraph_funcs.C (realizeFont): ...to here
7102 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7106 2003-04-14 Angus Leeming <leeming@lyx.org>
7108 * LColor.[Ch]: scrap LColor mathcursor.
7110 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * lyxlex.[Ch] (text): delete function
7113 * trans.C (Load): adjust
7114 * paragraph_funcs.C (readParToken): adjust
7116 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7119 vector<char> instead of a char[].
7121 * lyxlex_pimpl.C (getString): adjust
7123 (lex): use getString
7127 * lyxlex.C (text): use pimpl_->getString()
7131 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7134 (makeFontEntriesLayoutSpecific): temp var for par.size()
7135 (setLayout): temp var for ownerParagraphs().end()
7136 (fullRebreak): temp var for rows().end()
7137 (selectionAsString): temp var for boost::next(startpit), realize
7138 that the while really is a regular for loop.
7139 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7140 setCursor in one place.
7141 (setParagraph): temp vr for ownerParagraphs().end()
7142 (updateCounters): make the while loop a for loop
7143 (cutSelection): temp var for ownerParagraphs().end()
7144 (updateInset): make the do {} while() a regular for loop
7145 (getCursorX): use temp vars
7146 (setCurrentFont): use temp vars
7147 (getColumnNearX): use temp vars
7149 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * text.C (transformChar): use temp var for getChar
7152 (computeBidiTables): use temp var for row->par()
7153 (fill): move temp vars for row->par() and pit->layout() earlier in
7155 (labelFill): use temp var for row->par()
7156 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7157 asc and desc, realize that pit never changes and that firstpit is
7158 just a duplicate and not needed. Exchange rit->par() with pit in a
7160 (breakAgain): use a temp var for boost::next(rit)
7161 (breakAgainOneRow): ditto
7162 (breakParagraph): use a temp var for rows().begin()
7163 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7164 (cursorRightOneWord): use temp var for cursor.par() and
7165 cursor.pos(), remove usage of tmpcursor.
7166 (cursorLeftOneWord): use temp var for cursor.par() and
7167 cursor.pos() only set cur at end of function.
7169 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * text.C, text2.C: exchange all usage of Paragraph::next with
7172 boost::next(ParagraphList::iterator)
7174 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7176 * text2.C (cursorTop): simplify implementation
7177 (cursorBottom): ditto
7178 (setParagraph): use ParagraphList::iterator
7179 (setCurrentFont): adjust
7180 (getColumnNearX): adjust
7181 (cursorRight): adjust
7182 (cursorLeft): remove usage of Paragraph::previous
7183 (cursorUpParagraph): ditto
7184 (deleteEmptyParagraphMechanism): slight cleanup
7186 * text.C (isBoundary): take a Paragraph const & instead of a
7188 (addressBreakPoint): ditto
7189 (leftMargin): remove usage of Paragraph::previous.
7190 (setHeightOfRow): ditto
7191 (cursorLeftOneWord): ditto
7192 (selectNextWordToSpellcheck): ditto
7195 (breakParagraph): remove one usage of Paragraph::next
7196 (redoParagraph): ditto
7197 (acceptChange): ditto
7198 (insertChar): adjust
7199 (rowBreakPoint): adjust
7201 * bufferview_funcs.C (toggleAndShow): adjust
7203 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7205 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7206 methods to access it.
7208 * text.C: Added updateRowPositions to compute all row positions.
7209 Make top_y and getRowNearY() to use the cached y position
7211 2003-04-11 John Levon <levon@movementarian.org>
7213 * text.C (rowBreakPoint): reintroduce the labelEnd
7214 checks, code copied from the row fill stuff. Deep voodoo.
7216 * text.C (fill): add a comment and debugging for the
7219 2003-04-11 John Levon <levon@movementarian.org>
7221 * text.C: make sure fullrow insets get wrapped to the next line,
7222 even when they're in a manual label
7224 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * text2.C (insertParagraph): make it take ParagraphList::iterator
7228 (setLayout): make it return ParagraphList::iterator
7229 (redoParagraphs): ditto
7231 (checkParagraph): ditto
7233 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7235 * text2.C: adjust several funcs.
7236 (realizeFont): take a ParagraphList::iterator as arg.
7237 (getLayoutFont): ditto
7238 (getLabelFont): ditto
7239 (setCharFont): ditto
7241 * text.C: adjust several funcs.
7243 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7245 * text.C (selectNextWordToSpellcheck): don't accidentally
7248 2003-04-10 John Levon <levon@movementarian.org>
7250 * ToolbarBackend.C (getIcon): special handling for
7253 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7255 * text2.C (cursorRight): a getChar assert fixed
7257 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * text2.C (getFont): change to take a ParagraphList::iterator
7260 instead of Paragraph*
7261 Adjust several functions.
7263 * text.C (transformChar): change to take a ParagraphList::iterator
7264 instead of Paragraph*
7265 (singleWidth): ditto
7266 Adjust several functions.
7268 * rowpainter.C: adjust several functions
7269 * rowpainter.h:store a ParagraphList::iterator and not a
7273 2003-04-09 John Levon <levon@movementarian.org>
7278 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7279 and the "help" bits as well
7281 2003-04-09 John Levon <levon@movementarian.org>
7284 * ToolbarBackend.C: allow multiple toolbars
7286 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * undo_funcs.C (setCursorParUndo): adjust
7290 * text_funcs.C (transposeChars): adjust
7292 * text3.C (gotoNextInset): adjust
7295 * text2.C (setLayout): adjust
7296 (changeDepth): adjust
7298 (redoParagraphs): adjust
7299 (selectionAsString): adjust
7300 (setParagraph): adjust
7301 (insertInset): adjust
7302 (cutSelection): adjust
7303 (copySelection): adjust
7304 (pasteSelection): adjust
7305 (insertStringAsLines): adjust
7306 (updateInset): adjust
7307 (setCursor): change to take a ParagraphList::iterator parameter
7308 (setCursorIntern): change to take a ParagraphList::iterator parameter
7309 (setCurrentFont): adjust
7310 (cursorLeft): adjust
7311 (cursorRight): adjust
7312 (deleteEmptyParagraphMechanism): adjust
7314 * text.C (breakParagraph): adjust
7315 (insertChar): adjust
7316 (acceptChange): adjust
7317 (rejectChange): adjust
7318 (selectNextWordToSpellcheck): adjust
7319 (changeCase): adjust
7323 * lyxfind.C (SearchForward): adjust
7324 (SearchBackward): adjust
7325 (nextChange): adjust
7327 * lyxcursor.C (par): adjust
7329 * lyxcursor.h: store a ParagraphList::iterator instead of a
7332 * lyx_cb.C (getPossibleLabel): adjust
7334 * bufferview_funcs.C (toggleAndShow): adjust
7336 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7339 * BufferView.C (removeAutoInsets): adjust
7340 (lockedInsetStoreUndo): adjust
7342 2003-04-09 John Levon <levon@movementarian.org>
7344 * ToolbarBackend.C: try icon without argument
7345 if with argument fails
7347 2003-04-08 John Levon <levon@movementarian.org>
7350 * ToolbarBackend.C: add getIcon(), handle tooltip,
7351 and change from "Icon" to "Item".
7353 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7355 * BufferView.C (lockInset): another bad getchar crunched
7357 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7359 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7362 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7364 * lyxfind.C (searchForward, searchBackwards): bug 782
7366 2003-04-07 John Levon <levon@movementarian.org>
7368 * paragraph.C: remove dead comment
7370 * text.C: remove troublesome depth-fiddling code
7371 in leftMargin() and rightMargin() (bug 1017)
7373 * text.C: fix breaking of rows in nested lists
7376 * text2.C (updateCounters): fix up depth values
7379 2003-04-07 John Levon <levon@movementarian.org>
7381 * BufferView_pimpl.C: clear message when doc finishes resizing,
7382 and after a mouse event
7384 * lyxfunc.C: clear message after exiting inset
7386 2003-04-07 John Levon <levon@movementarian.org>
7388 * bufferview_funcs.C: show math status not outside
7389 status in the statusbar
7391 2003-04-07 John Levon <levon@movementarian.org>
7393 * lyxfunc.C: note status changed after a depth change
7395 2003-04-04 Angus Leeming <leeming@lyx.org>
7397 * LaTeX.h: move AuxInfo operator==, != out of line.
7398 Remove LaTeX virtual destructor; nothing derives from it.
7399 Move operator()() out of public area and rename it startscript().
7400 Change protected for private.
7402 2003-04-04 Angus Leeming <leeming@lyx.org>
7405 * text2.C: remove unneeded #includes.
7407 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7409 * text2.C (dEPM): fix the heigth of the next row
7411 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7413 * text.C: squashed an invalid getChar requester + some ws changes
7415 2003-04-03 John Levon <levon@movementarian.org>
7417 * bufferview_funcs.h:
7418 * bufferview_funcs.C:
7421 * text2.C: make getStatus work for the env depth lfuns
7423 2003-04-03 John Levon <levon@movementarian.org>
7425 * bufferview_funcs.h:
7426 * bufferview_funcs.C:
7429 * text2.C: parlistize decDepth(), by merging it with incDepth()
7431 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * lyxrow.h: store a ParagraphList::iterator instead of a
7434 Paragraph* and adjust other class functions to suit.
7436 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7439 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7441 * text2.C (setCursor): do not anchor to cursor row for the time being
7443 2003-04-02 John Levon <levon@movementarian.org>
7450 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7452 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * paragraph.h: make ParagraphList and ParagraphList::iterator
7455 friends of Paragraph.
7457 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7459 * ParagraphList.C: Use the private next_ and previous_ from
7462 2003-04-01 John Levon <levon@movementarian.org>
7466 * Makefile.am: rename, remove defaults gunk
7469 * MenuBackend.C: remove defaults gunk
7472 * Languages.C: remove defaults gunk
7475 * lyx_main.C: error out if files couldn't be found.
7477 2003-04-02 John Levon <levon@movementarian.org>
7479 * text2.C: make incDepth() use parlist
7481 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * undo_funcs.C (firstUndoParagraph): adjust
7485 * text3.C (gotoInset): adjust
7486 (dispatch): adjust, and rewrite loop.
7488 * text2.C (init): adjust, and rewrite loop.
7489 (redoParagraphs): adjust
7490 (updateInset): adjust, and rewrite loop.
7491 (deleteEmptyParagraphMechanism): adjust
7493 * tabular.C (LyXTabular): adjust
7494 (SetMultiColumn): adjust
7497 * lyxtext.[Ch] (ownerParagraph): delete function
7498 (ownerParagraphs): new function returns a ParagraphList.
7500 * BufferView.C (removeAutoInsets): adjust
7501 (insertErrors): adjust
7502 (setCursorFromRow): adjust
7504 2003-04-01 Angus Leeming <leeming@lyx.org>
7506 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7509 2003-04-02 John Levon <levon@movementarian.org>
7515 * text_funcs.C: make transposeChars a free function
7517 * lyxrow_funcs.C: remove wrong comment
7519 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * rowpainter.C: adjust
7527 * lyxrow_funcs. [Ch]: new files
7529 * lyxrow.[Ch]: remove next and previous pointers
7530 (next,previous): remove accessor functions
7531 (isParEnd): move to lyxrow_funcs
7532 (lastPos): move to lyxrow_funcs
7533 (nextRowIsAllInset): move to lyxrow_funcs
7534 (lastPrintablePos): move to lyxrow_funcs
7535 (numberOfSeparators): move to lyxrow_funcs
7536 (numberOfHfills): move to lyxrow_funcs
7537 (numberOfLabelHfills): move to lyxrow_funcs
7538 (hfillExpansion): move to lyxrow_funcs
7542 * bufferview_funcs.C (toggleAndShow): adjust
7544 * RowList.h: Remove class RowList from file leave just a
7547 * RowList.C: delete file
7549 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7552 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7554 * text3.C (cursorPrevious): adjust
7555 (cursorNext): adjust
7558 * text2.C (redoHeightOfParagraph): adjust
7559 (redoDrawingOfParagraph): adjust
7562 * text.C (breakParagraph): adjust
7563 (insertChar): adjust
7566 * rowpainter.C (RowPainter): adjust
7567 (leftMargin): simplify and adjust
7568 (most rowpainter functions): adjust.
7570 * rowpainter.h: store the row as RowList::iterator not as Row*
7572 * lyxcursor.C (row): taka RowList::iterator as arg
7575 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7578 2003-04-01 Angus Leeming <leeming@lyx.org>
7580 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7581 stuff like bool Bool.
7583 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7585 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7588 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7593 * lyxtext.h (rows): drop one version and leve a const variant that
7594 returns a RowList::iterator.
7596 2003-03-31 Angus Leeming <leeming@lyx.org>
7598 * text.C (fill): ensure that the signature is the same as that in the
7601 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7603 * text2.C (redoParagraphs): adjust
7604 (updateCounters): adjust
7605 (checkParagraph): adjust
7606 (getColumnNearX): adjust and reformat a bit.
7608 * text.C (top_y): adjust
7610 (leftMargin): adjust
7611 (prepareToPrint): adjust
7613 (getRowNearY): adjust
7615 * lyxtext.h: make rowlist_ mutable.
7617 * RowList.h: add const_iterator
7618 * RowList.C: adjust for RowList::const_iterator.
7620 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7623 2003-03-31 John Levon <levon@movementarian.org>
7626 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7628 * lyx_main.C: set default fonts from using lyx_gui funcs
7630 * exporter.C: pdf_mode moved from lyxrc
7633 * lyxfunc.C: changes from above
7635 2003-03-31 John Levon <levon@movementarian.org>
7637 * lyx_main.C: fix to the last fix
7639 2003-03-31 John Levon <levon@movementarian.org>
7641 * bufferlist.C: "Load original" -> "Load Original"
7647 * format.C: more Alert cleanups
7649 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * text2.C (removeParagraph): make it take a RowList::iterator as
7653 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7654 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7656 * text.C (anchor_row): make it take a RowList::iterator as arg,
7658 (computeBidiTables): make it take a const reference to Row instead
7659 of Row pointer, adjust.
7660 (leftMargin): make it take a RowList::iterator as arg, adjust.
7661 (rowBreakPoint): adjust
7662 (breakAgainOneRow): make it take a RowList::iterator as arg,
7664 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7666 * bufferview_funcs.C (toggleAndShow): adjust
7668 2003-03-30 John Levon <levon@movementarian.org>
7672 * boost-inst.C: moved to support
7674 * several files: changes as a result
7676 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * text2.C (LyXText): adjust.
7680 (removeRow): make it take a RowList::iterator as arg, adjust.
7681 (fullRebreak): adjust
7682 (deleteEmptyParagraphMechanism): adjust
7683 (clearPaint): adjust
7686 * text.C (top_y): adjust
7687 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7688 (breakAgain): make it take a RowList::iterator as arg, adjust.
7689 (breakParagraph): adjust
7690 (insertChar): adjust
7693 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7694 need_break_row, and refresh_row.
7696 * text3.C (dispatch): adjust
7698 * text2.C (checkParagraph): adjust
7700 (setCursorFromCoordinates): adjust
7702 * text.C (top_y): adjust
7704 (getRow): make it return a RowList::iterator, adjust
7705 (getRowNearY): make it return a RowList::iterator, adjust
7707 * text2.C (init): adjust
7708 (insertRow): remove function
7709 (insertParagraph): adjust
7710 (redoParagraphs): adjust
7711 (fullRebreak): adjust
7712 (updateCounters): adjust
7714 * text.C (top_y): rewrite to use RowList iterators.
7716 (setHeightOfRow): rewrite to sue RowList iterators.
7717 (appendParagraph): adjust
7718 (breakAgain): adjust
7719 (breakAgainOneRow): adjust
7720 (breakParagraph): adjust
7722 (getRowNearY): adjust, and remove commented code.
7724 * lyxtext.h (firstRow): delete function
7725 (lastRow): delete function
7726 (rows): new function (const and non-const versions.)
7727 (insertRow): delete function
7729 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7731 2003-03-29 John Levon <levon@movementarian.org>
7733 * BufferView_pimpl.C: always update scrollbar top
7734 because pasting text when we're anchored could mean we
7735 miss an update altogether
7737 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * text2.C (init): use rowlist_.end() and not 0.
7740 (insertRow): change to take a RowList::iterator as arg, adjust
7742 (insertParagraph): change to take a RowList::iterator as arg,
7744 (redoParagraphs): remove some debug msgs.
7746 * text.C (appendParagraph): change to take a RowList::iterator
7747 arg, adjust for this.
7748 (breakAgain): add an assert
7749 (breakAgainOneRow): ditto
7751 2003-03-29 John Levon <levon@movementarian.org>
7753 * text2.C: do not clear selection after inc/decDepth
7756 2003-03-29 John Levon <levon@movementarian.org>
7759 * buffer.C: fix broken strerrors according to Lars
7761 2003-03-29 John Levon <levon@movementarian.org>
7763 * converters.C: more Alert cleanups
7765 2003-03-29 John Levon <levon@movementarian.org>
7767 * bufferview_funcs.C: remove pointless Alert
7769 * buffer.C: fix confusing error message when
7770 a template is chmoded 000
7772 2003-03-29 John Levon <levon@movementarian.org>
7776 * BufferView_pimpl.C: Alert fixes
7780 * tabular-old.C: remove unused table compat reading
7782 2003-03-29 John Levon <levon@movementarian.org>
7787 * lyx_cb.C: more Alert cleanups
7789 * lyxfunc.C: don't allow chktex if not latex document
7791 2003-03-29 John Levon <levon@movementarian.org>
7795 * buffer.C: warnings pushed down from support/,
7798 2003-03-29 John Levon <levon@movementarian.org>
7800 * lyxfunc.C: safety check for C-r (revert)
7802 2003-03-29 John Levon <levon@movementarian.org>
7805 * bufferlist.C: several UI fixes using Alert::prompt.
7806 Fix the pointless looping quit code. Fix stupid revert
7811 * lyx_cb.C: use Alert::prompt
7813 * lyx_main.C: remove a silly question
7815 * lyxfunc.C: remove a couple of silly questions,
7818 2003-03-28 John Levon <levon@movementarian.org>
7820 * text2.C: fix bug 974 (End on empty par)
7822 2003-03-28 John Levon <levon@movementarian.org>
7824 * BufferView_pimpl.C:
7826 * lfuns.h: remove do-nothing math greek lfuns
7828 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * lyxgluelength.h (isValidGlueLength): add default arg on
7831 parameter 2. Remove default arg from friend in class.
7833 * lyxlength.h (isValidLength): add default arg on parameter 2.
7834 Remove default arg from friend in class.
7836 * text2.C (LyXText): adjust, initialize refresh_row.
7840 (insertParagraph): adjst
7841 (redoParagraphs): adjust
7842 (fullRebreak): adjust
7843 (updateCounters): adjust
7844 (deleteEmptyParagraphMechanism): first attempt at fixing a
7847 * text.C (top_y): adjust
7848 (setHeightOfRow): adjust
7850 (getRowNearY): adjust
7852 * lyxtext.h: include RowList.h
7853 (~LyXText): not needed anymore, deleted.
7854 (firstRow): modify for RowList
7855 (lastRow): new function
7856 Delete firstrow and lastrow class variables, add a Rowlist
7857 rowlist_ class variable.
7859 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7862 * RowList.C (insert): fix case where it == begin().
7864 2003-03-26 Angus Leeming <leeming@lyx.org>
7866 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7867 the thesaurus dialog.
7869 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7873 * RowList.[Ch]: new files
7875 * ParagraphList.C (erase): handle the case where it == begin
7878 2003-03-25 John Levon <levon@movementarian.org>
7882 * aspell.C: add new aspell support
7885 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7888 2003-03-25 Angus Leeming <leeming@lyx.org>
7891 * LyXAction.C (init): new LFUN_INSET_INSERT.
7893 * BufferView_pimpl.C (dispatch): split out part of the
7894 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7896 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7899 2003-03-25 Angus Leeming <leeming@lyx.org>
7901 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7903 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7906 * text3.C: remove useless row->height(0)
7908 2003-03-25 John Levon <levon@movementarian.org>
7912 * text3.C: rename the refreshing stuff to better names
7914 2003-03-24 John Levon <levon@movementarian.org>
7916 * BufferView_pimpl.h:
7917 * BufferView_pimpl.C: update layout choice on a mouse
7920 2003-03-23 John Levon <levon@movementarian.org>
7922 * Makefile.am: fix commandtags.h reference
7924 2003-03-22 John Levon <levon@movementarian.org>
7926 * BufferView_pimpl.C:
7931 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7933 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7936 * text.C: take the rtl methods out of line
7938 2003-03-21 André Pönitz <poenitz@gmx.net>
7940 * metricsinfo.[Ch]: new files containing structures to be passed around
7941 during the two-phase-drawing...
7943 2003-03-21 André Pönitz <poenitz@gmx.net>
7945 * lyxtextclass.C: read 'environment' tag.
7947 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7949 * text2.C (removeRow): fix bug 964
7951 2003-03-20 John Levon <levon@movementarian.org>
7955 * text2.C: paint cleanups. Inset::update() dropped font
7958 2003-03-19 John Levon <levon@movementarian.org>
7960 * lyxfunc.C: only fitcursor/markDirty if available()
7962 2003-03-19 John Levon <levon@movementarian.org>
7964 * commandtags.h: rename to ...
7966 * lfuns.h: ... this, and renumber / cleanup
7968 2003-03-19 John Levon <levon@movementarian.org>
7970 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7971 fit the cursor after an lfun
7975 * BufferView_pimpl.h:
7976 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7978 * LyXAction.C: layout-character should have ReadOnly
7980 * ParagraphParameters.C:
7982 * bufferview_funcs.C:
7989 * undo_funcs.C: changes from above
7991 2003-03-18 John Levon <levon@movementarian.org>
7993 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7994 remove it from update()
7996 * lyxfunc.C: update layout choice after an lfun
7998 * text3.C: remove extra updateLayoutChoice()s
8000 2003-03-18 John Levon <levon@movementarian.org>
8002 * text.C: top_y change means full repaint, fix
8003 a drawing bug with cursor movement
8005 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8009 * text2.C: anchor row on setCursor
8011 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8013 * lyxtext.h: remove almost all mutable keywords
8016 * text3.C: remove const keywords accordingly
8018 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8022 (TeXEnvironment): ditto
8025 2003-03-17 John Levon <levon@movementarian.org>
8027 * text.C (rowBreakPoint): remove attempt to fix displayed
8028 math insets inside a manual label
8030 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * lyxtext.h: remove BufferView* as first arg from almost all class
8034 * other files: adjust.
8036 2003-03-17 John Levon <levon@movementarian.org>
8040 * text2.C: more paint cleanups
8042 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8045 * rowpainter.C: remove "smart" background painting code
8047 2003-03-16 John Levon <levon@movementarian.org>
8052 * text3.C: add helper functions for setting refresh_row/y
8054 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8056 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8057 newline inset which *can* get inserted in the pass_thru layouts.
8058 This is primarily for literate documents.
8060 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8062 * buffer.C: increment LYX_FORMAT to 223
8064 2003-03-14 André Pönitz <poenitz@gmx.net>
8066 * textclass.h: prepare for environment handling, ws changes
8067 * lyxlayout.C: read latexheader and latexfooter tags
8069 2003-03-14 John Levon <levon@movementarian.org>
8071 * text2.C: rewrite ::status() a bit
8073 2003-03-13 John Levon <levon@movementarian.org>
8075 * lyxtext.h: add some docs
8077 2003-03-13 John Levon <levon@movementarian.org>
8082 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8084 2003-03-13 John Levon <levon@movementarian.org>
8086 * text3.C: fix appendix redrawing
8088 2003-03-13 John Levon <levon@movementarian.org>
8090 * text.C (setHeightOfRow):
8092 * rowpainter.C: make appendix mark have the text
8093 "Appendix" so the user knows what it is
8096 * LColor.C: s/appendixline/appendix/ from above
8098 2003-03-13 John Levon <levon@movementarian.org>
8100 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8102 * text.C: fix a getChar(pos) bug properly
8104 2003-03-13 Angus Leeming <leeming@lyx.org>
8107 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8108 Probably only temporary. Let's see how things pan out.
8110 * BufferView.C (unlockInset):
8111 * BufferView_pimpl.C (fitCursor):
8112 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8114 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8115 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8117 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8118 new functions that convert ParagraphParameters to and from a string.
8120 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8121 BufferView::Pimpl's dispatch.
8122 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8124 2003-03-13 André Pönitz <poenitz@gmx.net>
8128 * factory.C: make it aware of InsetEnv
8130 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * text2.C (setCursor): never ask for one past last
8133 (setCursor): add some debugging messages.
8135 * text.C (singleWidth): never ask for one past last
8136 (singleWidth): ditto
8138 (rightMargin): ditto
8139 (rowBreakPoint): ditto
8140 (setHeightOfRow): ditto
8141 (prepareToPrint): ditto
8143 * rowpainter.C (paintBackground): never ask for one past last
8144 (paintText): never ask for one past last
8146 * paragraph_pimpl.C (getChar): make the assert stricter, never
8147 allow the one past last pos to be taken
8149 * paragraph.C (getChar): ws changes only
8151 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8152 (numberOfSeparators): ditto
8153 (numberOfHfills): ditto
8155 2003-03-12 John Levon <levon@movementarian.org>
8161 * paragraph_funcs.C: fix per-buffer authorlists
8163 2003-03-12 John Levon <levon@movementarian.org>
8165 * text.C: fix newline in right address
8167 2003-03-12 Angus Leeming <leeming@lyx.org>
8169 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8170 duplicate those in LyXFunc::dispatch.
8174 * ToolbarDefaults.C:
8175 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8176 Add LFUN_FONTFREE_UPDATE.
8178 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8179 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8181 * bufferview_func.[Ch]: several new functions to facilliate
8182 transfer of data to and from the character dialog.
8184 2003-03-12 John Levon <levon@movementarian.org>
8189 * paragraph_funcs.C:
8190 * paragraph_pimpl.C:
8194 * text3.C: remove META_NEWLINE in favour of an inset
8197 * rowpainter.C: remove paintNewline (done by inset)
8199 2003-03-12 John Levon <levon@movementarian.org>
8201 * paragraph_pimpl.C: complain about bad getChar()s
8202 for a while at least
8204 2003-03-12 John Levon <levon@movementarian.org>
8207 * buffer.C: move paragraph read into a separate function,
8208 a little renaming to reflect that.
8211 * bufferparams.C: remove the author_ids map, not necessary now
8214 * factory.C: moved Buffer::readInset to here
8216 * paragraph_funcs.h:
8217 * paragraph_funcs.C: readParagraph free function moved from
8220 * tabular.C: name change
8222 2003-03-12 John Levon <levon@movementarian.org>
8225 * ParagraphParameters.C: move par params input to
8228 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8229 behave like a normal read from the stream wrt reading
8230 a line vs. a \\token
8232 2003-03-12 John Levon <levon@movementarian.org>
8235 * ParagraphParameters.h:
8236 * ParagraphParameters.C: move output code to a
8239 2003-03-12 John Levon <levon@movementarian.org>
8241 * BufferView.C (insertLyXFile):
8244 * tabular.C: use a parlist iterator for creating the
8247 2003-03-12 John Levon <levon@movementarian.org>
8249 * buffer.C: make current_change static local not
8252 2003-03-12 John Levon <levon@movementarian.org>
8254 * buffer.C: fix insertStringAsLines for change tracking
8256 2003-03-12 John Levon <levon@movementarian.org>
8263 * bufferparams.C: move author list into params. Rename some
8264 functions. Move the header reading into a separate token
8265 loop. Move the header token reading into BufferParams.
8267 2003-03-12 John Levon <levon@movementarian.org>
8269 * changes.C: put debug inside lyxerr.debugging() checks
8271 2003-03-11 André Pönitz <poenitz@gmx.net>
8273 * factory.C: make it aware of InsetHFill
8275 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8277 * buffer.C (latexParagraphs): move function from here...
8278 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8281 2003-03-10 Angus Leeming <leeming@lyx.org>
8283 * LyXAction.C (init): fix bug in poplating array with multiple entries
8284 with the same LFUN (spotted by JMarc).
8286 2003-03-10 John Levon <levon@movementarian.org>
8289 * text2.C: move getColumnNearX() near its
8292 2003-03-10 John Levon <levon@movementarian.org>
8294 * text.C: fix break before a minipage
8296 2003-03-10 John Levon <levon@movementarian.org>
8298 * text.C: fix the last commit
8300 2003-03-09 John Levon <levon@movementarian.org>
8304 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8305 bug 365 (don't break before insets unless needed). Don't
8306 return a value > last under any circumstances.
8308 2003-03-09 Angus Leeming <leeming@lyx.org>
8310 * BufferView_pimpl.C (trackChanges, dispatch): call
8311 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8313 2003-03-09 Angus Leeming <leeming@lyx.org>
8315 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8316 than Dialogs::showAboutlyx().
8318 2003-03-09 Angus Leeming <leeming@lyx.org>
8320 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8321 than Dialogs::showTabularCreate().
8323 2003-03-09 John Levon <levon@movementarian.org>
8327 * text2.C: 3rd arg to nextBreakPoint was always the same.
8330 2003-03-08 John Levon <levon@movementarian.org>
8337 * text2.C: Remove the "main" bit from the "main body"
8340 2003-03-08 John Levon <levon@movementarian.org>
8342 * text.C (leftMargin): The left margin of an empty
8343 manual label paragraph should not include the label width
8346 * text.C (prepareToPrint): don't attempt to measure hfills
8347 for empty manual label paragraphs - the answer should be 0
8349 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * CutAndPaste.C: remove commented code and reindent.
8353 2003-03-08 John Levon <levon@movementarian.org>
8356 * lyxfunc.C: move reloadBuffer()
8359 * BufferView.C: to here
8361 * lyxvc.C: add comment
8364 * vc-backend.C: call bv->reload() to avoid
8365 getStatus() check on MENURELOAD
8367 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8369 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8370 to an old format .dep file.
8372 2003-03-07 Angus Leeming <leeming@lyx.org>
8374 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8375 when the LFUN_MOUSE_RELEASE should have been handled by
8376 inset->localDispatch.
8378 2003-03-07 Angus Leeming <leeming@lyx.org>
8380 * BufferView_pimpl.C (dispatch):
8381 * LyXAction.C (init):
8382 * ToolbarDefaults.C (init):
8384 * lyxfunc.C (getStatus):
8385 remove LFUN_INSET_GRAPHICS.
8387 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8389 2003-03-07 Angus Leeming <leeming@lyx.org>
8392 * LyXAction.C (init):
8393 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8395 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8398 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8400 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8401 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8403 2003-03-07 Angus Leeming <leeming@lyx.org>
8405 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8408 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * ParagraphList.C (front): new function
8413 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8415 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8416 and top_row_offset_. removed var first_y.
8418 * text2.C (LyXText, removeRow):
8420 * BufferView_pimpl.C:
8421 use these methods instead of using first_y
8423 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8425 * text2.C (pasteSelection): adjust for checkPastePossible
8427 * CutAndPaste.C: remove Paragraph * buf and replace with
8428 ParagraphList paragraphs.
8429 (DeleteBuffer): delete
8430 (cutSelection): change the tc type to textclass_type
8431 (copySelection): change the tc type to textclass_type
8432 (copySelection): adjust for ParagraphList
8433 (pasteSelection): change the tc type to textclass_type
8434 (pasteSelection): adjust for Paragraphlist
8435 (nrOfParagraphs): simplify for ParagraphList
8436 (checkPastePossible): simplify for ParagraphList
8437 (checkPastePossible): remove unused arg
8439 * ParagraphList.C (insert): handle the case where there are no
8442 * CutAndPaste.h: make CutAndPaste a namespace.
8444 * text3.C (dispatch): adjust
8446 * text.C (breakParagraph): add a ParagraphList as arg
8448 * paragraph_funcs.C (breakParagraph): change to take a
8449 BufferParams and a ParagraphList as args.
8450 (breakParagraphConservative): ditto
8451 (mergeParagraph): ditto
8452 (TeXDeeper): add a ParagraphList arg
8453 (TeXEnvironment): ditto
8456 * buffer.C (readLyXformat2): adjust
8457 (insertStringAsLines): adjust
8458 (latexParagraphs): adjust
8460 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8461 (cutSelection): adjust
8462 (pasteSelection): adjust
8464 * BufferView_pimpl.C (insertInset): adjust
8466 2003-03-05 Angus Leeming <leeming@lyx.org>
8469 * LyXAction.C (init):
8470 * BufferView_pimpl.C (dispatch):
8471 * lyxfunc.C (getStatus):
8472 remove LFUN_CHILD_INSERT.
8474 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8476 2003-03-05 Angus Leeming <leeming@lyx.org>
8479 * LyXAction.C (init):
8480 * src/factory.C (createInset):
8481 * lyxfunc.C (getStatus):
8482 * text3.C (dispatch):
8483 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8485 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8487 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8489 * ParagraphList.C (insert): handle insert right before end()
8490 (erase): fix cases where it can be first or last paragraph.
8492 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8495 Paragraph::next and Paragraph::previous
8498 * text.C (breakParagraph): adjust
8500 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8501 BufferParams& as arg.
8502 (breakParagraph): use ParagraphList::insert
8503 (breakParagraphConservative): take a Buffer* instead of a
8504 BufferParams& as arg.
8505 (breakParagraphConservative): use ParagraphList::insert.
8507 * buffer.C (insertStringAsLines): un-const it
8508 (insertStringAsLines): adjust
8510 * ParagraphList.C (insert): new function
8512 * CutAndPaste.C (pasteSelection): adjust
8514 * text.C (backspace): adjust
8516 * tabular.C (SetMultiColumn): adjust
8518 * CutAndPaste.C (cutSelection): adjust
8519 (pasteSelection): adjust
8521 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8522 Buffer const * as arg
8524 * ParagraphList.C (erase): new function
8525 * paragraph_funcs.C (mergeParagraph): use it
8526 (mergeParagraph): make it take a Buffer* instead of a
8527 BufferParams* as arg
8529 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8531 (breakParagraphConservative): ditto
8533 * paragraph.h: remove the breakParagraph friend
8535 * paragraph.C (eraseIntern): new function
8536 (setChange): new function
8538 * paragraph_funcs.C (mergeParagraph): make it take a
8539 ParagraphList::iterator instead of a Paragraph *, adjust
8542 * paragraph.h: move an #endif so that the change tracking stuff
8543 also works in the NO_NEXT case.
8545 2003-03-04 Angus Leeming <leeming@lyx.org>
8548 * LyXAction.C: new LFUN_INSET_MODIFY.
8550 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8551 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8553 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * several files: ws changes only
8557 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8558 (TeXEnvironment): ditto
8561 * buffer.C (makeLaTeXFile): adjust
8562 (latexParagraphs): make it take ParagraphList::iterator as args
8564 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * buffer.C (latexParagraphs): adjust
8568 * paragraph.C (TeXOnePar): move function...
8569 (optArgInset): move function...
8570 (TeXEnvironment): move function...
8571 * paragraph_pimpl.C (TeXDeeper): move function...
8572 * paragraph_funcs.C: ...here
8574 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8576 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * buffer.C (readInset): remove compability code for old Figure and
8581 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * buffer.C: ws changes
8586 * BufferView_pimpl.C: ditto
8589 * bufferlist.h: ditto
8593 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8595 * converter.[Ch]: split into itself +
8598 * Makefile.am: += graph.[Ch] + format.[Ch]
8605 * lyxrc.C: added #include "format.h"
8607 2003-02-27 Angus Leeming <leeming@lyx.org>
8609 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8612 * factory.C (createInset): add "label" to the factory.
8614 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8615 string and do no more.
8617 2003-02-27 Angus Leeming <leeming@lyx.org>
8620 * LyXAction.C (init):
8621 * factory.C (createInset):
8622 * BufferView_pimpl.C (dispatch):
8623 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8625 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8627 * lyxfunc.C (dispatch):
8628 * text3.C (dispatch): pass name to params2string.
8630 2003-02-26 Angus Leeming <leeming@lyx.org>
8632 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8634 Rearrange the ~includes. Strip out the unnecessary ones.
8636 * factory.C (createInset): reformat.
8637 create new insets for the various LFUN_XYZ_APPLY lfuns.
8639 2003-02-26 John Levon <levon@movementarian.org>
8642 * lyxrow.C: add isParStart,isParEnd helpers
8644 * paragraph.h: make isInserted/DeletedText take refs
8646 * paragraph_funcs.h:
8647 * paragraph_funcs.C: remove #if 0'd code
8652 * text.C: use lyxrow helpers above.
8653 Move draw and paint routines to RowPainter.
8654 Make several methods use refs not pointers.
8655 Make backgroundColor() const.
8656 Add markChangeInDraw(), isInInset().
8657 Merge changeRegionCase into changeCase.
8658 Make workWidth() shouldn't-happen code into an Assert.
8661 * rowpainter.C: new class for painting a row.
8664 * vspace.C: make inPixels take a ref
8666 2003-02-26 Angus Leeming <leeming@lyx.org>
8668 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8671 2003-02-25 John Levon <levon@movementarian.org>
8673 * ispell.C: give the forked command a more accurate name
8675 2003-02-22 John Levon <levon@movementarian.org>
8678 * toc.C: make TocItem store an id not a Paragraph *
8681 2003-02-21 Angus Leeming <leeming@lyx.org>
8683 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8684 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8685 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8686 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8687 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8688 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8690 * BufferView_pimpl.C (dispatch):
8691 * LyXAction.C (init):
8692 * factory.C (createInset):
8693 * lyxfunc.C (getStatus, dispatch):
8694 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8696 2003-02-21 Angus Leeming <leeming@lyx.org>
8698 * BufferView_pimpl.C (MenuInsertLyXFile):
8699 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8700 * lyxfunc.C (menuNew, open, doImport):
8701 no longer pass a LyXView & to fileDlg.
8703 2003-02-21 Angus Leeming <leeming@lyx.org>
8705 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8706 * LyXAction.C: change, BIBKEY to BIBITEM.
8707 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8708 Change InsetBibKey to InsetBibitem.
8709 Change BIBKEY_CODE to BIBITEM_CODE.
8710 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8711 * factory.C: replace insetbib.h with insetbibitem.h.
8712 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8713 * paragraph.C: replace insetbib.h with insetbibitem.h.
8714 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8715 Change bibkey() to bibitem().
8716 * text.C: remove insetbib.h.
8717 * text2.C: replace insetbib.h with insetbibitem.h.
8718 change bibkey() to bibitem().
8719 * text3.C: remove insetbib.h.
8720 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8722 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * lyxrc.C (output): enclose user email in quotes (in case there are
8727 2003-02-18 John Levon <levon@movementarian.org>
8729 * buffer.h: add std::
8731 2003-02-17 John Levon <levon@movementarian.org>
8737 * pspell.C: reworking. Especially in ispell, a large
8738 number of clean ups and bug fixes.
8740 * lyxfunc.C: fix revert to behave sensibly
8742 2003-02-17 André Pönitz <poenitz@gmx.net>
8745 * commandtags.h: new LFUN_INSERT_BIBKEY
8755 * paragraph_func.C: remove special bibkey handling
8757 2003-02-17 John Levon <levon@movementarian.org>
8759 * text.C (Delete): fix case where delete at the end of
8760 the very first paragraph would not merge the pars
8762 2003-02-17 John Levon <levon@movementarian.org>
8764 * lyxrow.C: fix lastPrintablePos()
8766 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8768 * bufferparams.C (writeLaTeX): add a std:here
8770 * buffer.C: and remove a using directive there
8772 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * buffer.C (makeLaTeXFile): move the code that generates the
8777 * bufferparams.C (writeLaTeX): ... in this new method
8779 * LaTeXFeatures.C (getEncodingSet): make const
8780 (getLanguages): make const
8782 * MenuBackend.C (binding): returns the binding associated to this
8784 (add): sets the status of each item by calling getStatus. Adds
8786 (read): add support for OptSubMenu
8787 (expand): remove extra separator at the end of expanded menu
8789 2003-02-15 John Levon <levon@movementarian.org>
8792 * BufferView_pimpl.C:
8794 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8795 inset code that had no actual effect. Remove unneeded status
8798 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8800 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8803 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8805 * text.C (drawLengthMarker): also draw an arrow marker for
8806 symbolic lengths (medskip...)
8808 2003-02-14 John Levon <levon@movementarian.org>
8811 * tabular.C: better method names
8813 2003-02-14 John Levon <levon@movementarian.org>
8815 * BufferView_pimpl.C:
8820 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8821 it's a more accurate name. Remove some pointless uses.
8823 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8825 * text2.C (LyXText): change order of initilizers to shut off
8828 2003-02-14 John Levon <levon@movementarian.org>
8830 * buffer.C: use ParIterator for getParFromID()
8834 * paragraph_pimpl.h:
8835 * paragraph_pimpl.C: remove unused getParFromID()
8837 2003-02-14 John Levon <levon@movementarian.org>
8839 * buffer.C: remove some very old #if 0'd parse code
8841 2003-02-13 John Levon <levon@movementarian.org>
8845 * text2.C: move hfillExpansion(), numberOfSeparators(),
8846 rowLast(), rowLastPrintable(), numberofHfills(),
8847 numberOfLabelHfills() ...
8850 * lyxrow.C: ... to member functions here.
8855 * text.C: remove LyXText::beginningOfMainBody(), and call
8856 p->beginningOfMainBody() directly. Move the check for
8857 LABEL_MANUAL into the latter.
8864 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8870 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8871 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8873 2003-02-13 John Levon <levon@movementarian.org>
8875 * CutAndPaste.C: remove debug
8877 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8879 * paragraph.C (asString): remove two unused variables
8881 * lyxtextclass.C (readTitleType):
8883 (LyXTextClass): handle new members titletype_ and titlename_
8885 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8887 2003-02-09 John Levon <levon@movementarian.org>
8890 * buffer.C: replace hand-coded list with a map for the dep clean
8892 2003-02-08 John Levon <levon@movementarian.org>
8894 * LaTeX.C: consolidate code into showRunMessage() helper
8896 2003-02-08 John Levon <levon@movementarian.org>
8901 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8902 and pass the size in explicitly
8904 * BufferView_pimpl.h:
8905 * BufferView_pimpl.C:
8907 * BufferView.C: add getCurrentChange()
8909 * BufferView_pimpl.h:
8910 * BufferView_pimpl.C: handle change lfuns
8912 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8913 for changes. Mark pasted paragraphs as new.
8915 * support/lyxtime.h:
8916 * support/lyxtime.C:
8917 * DepTable.C: abstract time_t as lyx::time_type
8920 * LColor.C: add colours for new text, deleted text, changebars
8922 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8923 package use "usenames" option.
8927 * LyXAction.C: add change lfuns
8931 * author.C: author handling
8934 * buffer.C: add a per-buffer author list, with first entry as
8935 current author. Handle new .lyx tokens for change tracking. Output
8936 author list to .lyx file. Output dvipost stuff to .tex preamble.
8937 Bump lyx format to 222.
8940 * bufferlist.C: add setCurrentAuthor() to reset current author details
8944 * bufferparams.C: add param for tracking
8946 * bufferview_funcs.C: output change info in minibuffer
8950 * changes.C: add change-tracking structure
8953 * debug.C: add CHANGES debug flag
8956 * lyxfind.C: add code for finding the next change piece
8959 * lyxrc.C: add user_name and user_email
8962 * lyxrow.C: add a metric for the top of the text line
8965 * text.C: implement accept/rejectChange()
8968 * text.C: paint changebars. Paint new/deleted text in the chosen
8969 colours. Strike through deleted text.
8973 * paragraph_pimpl.h:
8974 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8975 in the current change to the insert functions. Rework erase to
8976 mark text as deleted, adding an eraseIntern() and a range-based
8977 erase(). Implement per-paragraph change lookup and
8980 * paragraph_funcs.C: Fixup paste for change tracking.
8982 * tabular.C: mark added row/columns as new.
8984 * text.C: fix rowLast() to never return -1. Don't allow
8985 spellchecking of deleted text. Track transpose changes. Don't
8986 allow paragraph break or merge where appropriate.
8988 * text2.C: leave cursor at end of selection after a cut.
8990 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * text.C (getLengthMarkerHeight):
8993 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8994 visible on screen too.
8996 2003-02-07 John Levon <levon@movementarian.org>
8998 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9000 2003-02-05 Angus Leeming <leeming@lyx.org>
9002 * lyxserver.C (read_ready): revert my patch of 11 September last year
9003 as it sends PC cpu through the roof. Presumably this means that
9004 the lyxserver will no longer run on an Alpha...
9006 2003-01-30 Angus Leeming <leeming@lyx.org>
9008 * factory.C (createInset): create an InsetCommandParam of type "index"
9009 and use it to 'do the right thing'.
9011 * text2.C (getStringToIndex): ensure that cursor position is always
9012 reset to the reset_cursor position.
9014 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9019 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9023 * lyxfunc.C: Output messages with identical spelling, punctuation,
9026 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9028 * MenuBackend.C (expandFormats): List only viewable export formats
9031 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9034 * lyxfunc.C (getStatus): Make sure that formats other than
9035 "fax" can also be disabled
9037 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9039 * text3.C (dispatch): put the lfuns that insert insets in 3
9040 groups, and call doInsertInset with appropriate arguments.
9041 (doInsertInset): new function, that creates an inset and inserts
9042 it according to some boolean parameters.
9044 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9046 * buffer.C (readFile): remember to pass on 'par' when calling
9047 readFile recursively.
9049 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9051 * MenuBackend.C (expandFormats): add "..." to import formats.
9053 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9055 * paragraph.C (asString): Remove XForms RTL hacks.
9057 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9058 * buffer.C: fix typo
9060 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9062 * Makefile.am (LIBS): delete var
9063 (lyx_LDADD): add @LIBS@ here instead.
9065 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9067 * Clarify the meaning of "wheel mouse jump"
9069 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9071 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9074 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * importer.C (Loaders): do not preallocate 3 elements in the
9077 vector, since one ends up with 6 elements otherwise
9079 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9081 * DepTable.C (write): write the file name as last element of the
9082 .dep file (because it may contain spaces)
9083 (read): read info in the right order
9085 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9087 * paragraph_pimpl.C (simpleTeXBlanks):
9088 (simpleTeXSpecialChars):
9089 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9091 * tabular.C (latex): add some missing case statements. Reindent.
9093 * MenuBackend.C (expandToc): remove unused variable.
9095 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9104 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9107 2003-01-05 John Levon <levon@movementarian.org>
9110 * BufferView.C: add getEncoding()
9113 * kbsequence.C: do not store last keypress
9116 * lyxfunc.C: store last keypress here instead. Pass encoding
9119 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * lyx_main.C (init): remove annoying error message when following
9122 symbolic links (bug #780)
9124 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * text.C (insertChar):
9127 * lyxrc.C (getDescription): remove extra spaces
9129 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * lyxrc.C (getDescription): remove extra spaces
9133 2002-12-20 John Levon <levon@movementarian.org>
9135 * text3.C: hack fix for page up/down across tall rows
9137 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9139 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9142 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9144 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9145 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9146 thesaurus is not compiled in
9148 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9150 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9152 2002-12-16 Angus Leeming <leeming@lyx.org>
9155 * lyx_main.C (init): remove override_x_deadkeys stuff.
9157 2002-12-12 John Levon <levon@movementarian.org>
9159 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9160 insert. Only remove shift modifier under strict
9163 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * MenuBackend.C (expandToc): fix crash.
9167 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9169 * MenuBackend.C (expandToc): gettext on float names.
9171 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9173 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9174 implement bool empty() [bug 490]
9176 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9180 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9182 * several files: ws changes
9184 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9186 * text2.C (setCounter): clean up a bit, use boost.format.
9187 (updateCounters): initialize par upon declaration.
9189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9190 if the layout exists. We do not just store the layout any more.
9191 (SwitchLayoutsBetweenClasses): use boost.format
9193 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * converter.C (convert): if from and to files are the same, use a
9196 temporary files as intermediary
9198 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9203 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9205 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9207 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9209 * tabular.C (asciiPrintCell): use string(size, char) instead of
9212 * sgml.C (openTag): fix order of arguments to string constructor
9215 * lyxfunc.C (dispatch): use boost.format
9217 * lots of files: change "c" -> 'c'
9219 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9221 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9223 2002-11-25 Angus Leeming <leeming@lyx.org>
9225 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9227 * lyx_main.C (init): compile fix.
9229 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9231 * lyx_cb.C (start): boost.formatify
9232 do not include <iostream>
9234 * lengthcommon.C: ws only
9236 * boost-inst.C,BoostFormat.h: add more explict instantations
9238 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9240 * lots of files: handle USE_BOOST_FORMAT
9242 2002-11-21 John Levon <levon@movementarian.org>
9244 * pspell.C: fix compile
9246 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * lyxfunc.C (dispatch): use boost::format
9252 * lyxfont.C (stateText): use boost::format
9254 * lyx_main.C (LyX): use boost::format
9256 (queryUserLyXDir): ditto
9259 (typedef boost::function): use the recommened syntax.
9261 * importer.C (Import): use boost::format
9263 * debug.C (showLevel): use boost::format
9265 * converter.C (view): use boost::format
9270 * bufferview_funcs.C (currentState): use boost::format
9272 * bufferlist.C (emergencyWrite): use boost::format
9274 * buffer.C (readLyXformat2): use boost::format
9275 (parseSingleLyXformat2Token): ditto
9277 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9279 * LaTeX.C (run): use boost::format
9281 * Chktex.C (scanLogFile): use boost::format
9283 * BufferView_pimpl.C (savePosition): use boost::format
9284 (restorePosition): ditto
9285 (MenuInsertLyXFile): ditto
9287 * BoostFormat.h: help file for explicit instation.
9289 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9291 * tabular.C (latex): Support for block alignment in fixed width
9294 2002-11-17 John Levon <levon@movementarian.org>
9296 * BufferView_pimpl.C:
9298 * lyxfunc.C: split filedialog into open/save
9300 2002-11-08 Juergen Vigna <jug@sad.it>
9302 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9303 by my last patch (hopefully).
9305 2002-11-08 John Levon <levon@movementarian.org>
9314 * toc.C: ParConstIterator, and use it (from Lars)
9316 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9318 * lyxtextclass.[Ch]: revise and add doxygen comments
9320 2002-11-07 John Levon <levon@movementarian.org>
9322 * text.C: fix progress value for spellchecker
9324 * toc.C: fix navigate menu for insetwrap inside minipage
9326 * paragraph_funcs.C: added FIXME for suspect code
9328 2002-11-07 John Levon <levon@movementarian.org>
9330 * BufferView_pimpl.C: fix redrawing of insets
9333 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9335 * text2.C (updateCounters): fix bug 668
9337 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9339 * text3.C (dispatch): Do not make the buffer dirty when moving the
9342 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9344 * vc-backend.C: STRCONV
9347 * text2.C (setCounter): STRCONV
9349 * paragraph.C (asString): STRCONV
9351 * lyxlength.C (asString): STRCONV
9352 (asLatexString): ditto
9354 * lyxgluelength.C (asString): STRCONV
9355 (asLatexString): ditto
9357 * lyxfunc.C (dispatch): STRCONV
9360 * lyxfont.C (stateText): STRCONV
9362 * importer.C (Import): STRCONV
9364 * counters.C (labelItem): STRCONV
9365 (numberLabel): ditto
9366 (numberLabel): remove unused ostringstream o
9371 * bufferview_funcs.C (currentState): STRCONV
9373 * buffer.C (readFile): STRCONV
9374 (asciiParagraph): ditto
9375 (makeLaTeXFile): ditto
9377 * Spacing.C (writeEnvirBegin): STRCONV
9379 * LaTeXFeatures.C (getLanguages): STRCONV
9380 (getPackages): ditto
9382 (getBabelOptions): ditto
9383 (getTClassPreamble): ditto
9384 (getLyXSGMLEntities): ditto
9385 (getIncludedFiles): ditto
9389 (scanAuxFile): ditto
9392 * LString.h: add the STRCONV macros
9394 * BufferView_pimpl.C (savePosition): STRCONV
9395 (restorePosition): ditto
9396 (MenuInsertLyXFile): ditto
9398 * vc-backend.C (scanMaster): change from submatch[...] to
9401 * funcrequest.C: include config.h
9403 * factory.C: include config.h
9405 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9407 * box.C: include config.h
9409 * LaTeX.C (scanAuxFile): change from submatch[...] to
9413 2002-10-25 Angus Leeming <leeming@lyx.org>
9415 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9417 * ispell.[Ch] (setError): new method.
9418 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9419 Use setError() insetead of goto END.
9421 * lyx_cb.C (AutoSave): move out child process into new class
9424 2002-10-30 John Levon <levon@movementarian.org>
9426 * text3.C: make start appendix undoable
9428 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9430 * lyxlength.C (inPixels): Fix returned value.
9432 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9435 2002-10-24 Angus Leeming <leeming@lyx.org>
9437 * lyxgluelength.h: no need to forward declare BufferParams
9438 or BufferView, so don't.
9440 2002-10-21 John Levon <levon@movementarian.org>
9442 * BufferView.C: menuUndo ->undo, redo
9444 * BufferView.h: document, remove dead, make some methods private
9446 * paragraph_funcs.h:
9447 * paragraph_funcs.C:
9448 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9453 * sgml.C: move sgml open/close tag into sgml.C
9455 * bufferview_funcs.h: unused prototype
9458 * lyxfunc.C: remove unused
9461 * text.C: remove unused
9463 2002-10-21 John Levon <levon@movementarian.org>
9467 * BufferView_pimpl.h:
9468 * BufferView_pimpl.C: fix mouse wheel handling based on
9469 patch from Darren Freeman
9471 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9473 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9475 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9477 * lyxlength.C (inPixels): Fix hanfling of negative length.
9478 Fix LyXLength::MU case.
9480 2002-10-16 John Levon <levon@movementarian.org>
9482 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9484 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9486 * converter.C (view): add support for $$i (file name) and $$p
9487 (file path) for the viewer command. If $$i is not specified, then
9488 it is appended to the command (for compatibility with old syntax)
9490 2002-10-14 Juergen Vigna <jug@sad.it>
9492 * undo_funcs.C (textHandleUndo): alter the order in which the
9493 new undopar is added to the LyXText, as we have to set first
9494 the right prev/next and then add it as otherwise the rebuild of
9495 LyXText is not correct. Also reset the cursor to the right paragraph,
9496 with this IMO we could remove the hack in "redoParagraphs()".
9498 2002-10-09 Angus Leeming <leeming@lyx.org>
9500 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9501 to turn off an optimisation if a new inset is to be inserted.
9503 2002-10-11 André Pönitz <poenitz@gmx.net>
9505 * lyxtext.h: make some functions public to allow access
9506 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9508 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * text3.C (dispatch): when changing layout, avoid an infinite loop
9513 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * lyxrc.C (read): treat a viewer or converter command of "none" as
9518 * MenuBackend.C (expandFormats): for an update, also allow the
9519 formats that are not viewable
9521 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9522 script if it is newer than the lyxrc.defaults in user directory
9524 2002-10-07 André Pönitz <poenitz@gmx.net>
9526 * text.C: Vitaly Lipatov's small i18n fix
9528 2002-09-25 Angus Leeming <leeming@lyx.org>
9530 * ispell.h: doxygen fix.
9532 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9534 * buffer.h (readFile): Add a new argument to the method, to allow
9535 reading of old-format templates.
9537 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9539 * toc.C (getTocList): Get TOC from InsetWrap.
9541 2002-09-16 John Levon <levon@movementarian.org>
9543 * lyxfunc.C: check tabular for cut/copy too
9545 2002-09-12 John Levon <levon@movementarian.org>
9550 * factory.C: add header
9552 * paragraph_funcs.h:
9553 * paragraph_funcs.C: cleanup
9555 2002-09-11 John Levon <levon@movementarian.org>
9557 * PrinterParams.h: odd/even default to true
9559 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9561 * PrinterParams.h: update printer parameters for new xforms dialog
9563 2002-09-11 Angus Leeming <leeming@lyx.org>
9565 * lyxserver.C (read_ready): re-write to make it more transparent
9566 and to make it work in coherent fashion under Tru64 Unix.
9568 2002-09-11 André Pönitz <poenitz@gmx.net>
9572 * text3.C: implement LFUN_WORDSEL
9574 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9576 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9577 make floatlist_ a boost::shared_ptr<FloatList>
9579 * lyxtextclass.C: include FloatList.h
9580 (LyXTextClass): initialize floatlist_
9581 (TextClassTags): add TC_NOFLOAT
9582 (Read): match "nofloat" to TC_NOFLOAT and use it.
9583 (readFloat): modify call to floatlist_
9587 * FloatList.[Ch] (FloatList): remove commented out float
9589 (erase): new function
9591 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * MenuBackend.C (expandToc): fix crash when there is no document
9596 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9598 * many files: Add insetwrap.
9600 2002-09-09 John Levon <levon@movementarian.org>
9602 * text2.C: remove confusing and awkward depth wraparound
9604 2002-09-09 John Levon <levon@movementarian.org>
9606 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9609 * buffer.C: remove getIncludeonlyList()
9612 * lyxfunc.C: remove headers
9614 2002-09-09 Juergen Vigna <jug@sad.it>
9616 * text.C (getColumnNearX): fix form Michael this is most
9617 probably a cut&paste bug.
9619 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9621 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9623 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9624 references, ws changes.
9626 * text2.C (init): update counters after init
9627 (insertParagraph): no need to set counter on idividual paragraphs.
9628 (setCounter): access the counters object in the textclass object
9629 on in the buffer object.
9630 (updateCounters): ditto
9632 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9633 shared_ptr<Counters> to avoid loading counters.h in all
9635 (LyXTextClass): initialize ctrs_
9636 (TextClassTags): add TC_COUNTER, and ...
9637 (Read): use it here.
9638 (CounterTags): new tags
9639 (readCounter): new function
9640 (counters): new funtion
9641 (defaultLayoutName): return a const reference
9643 * counters.C (Counters): remove contructor
9644 (newCounter): remove a couple of unneeded statements.
9645 (newCounter): simplify a bit.
9646 (numberLabel): some small formatting changes.
9648 * buffer.[Ch]: remove all traces of counters, move the Counters
9649 object to the LyXTextClass.
9651 2002-09-06 Alain Castera <castera@in2p3.fr>
9653 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9654 package to set the horizontal alignment on fixed width columns.
9657 * lyx_sty.h: added tabularnewline macro def.
9659 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9661 2002-09-06 John Levon <levon@movementarian.org>
9663 * LyXAction.C: tooltips for sub/superscript
9665 * MenuBackend.C: a bit more verbose
9667 * lyxfunc.C: tiny clean
9669 * undo_funcs.C: document undo_frozen
9671 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9673 * counters.C (Counters): add missing algorithm counter.
9675 * text2.C (setCounter): lookup the counter with layouts latexname
9676 instead of by section number.
9677 (setCounter): use a hackish way to lookup the correct enum
9679 a float name->type change
9680 reset enum couners with counter name directly instead of depth value.
9682 * counters.C (Counters): remove the push_backs, change to use the
9683 float type not the float name.
9684 (labelItem): remove unused string, float name->type change
9686 * counters.h: don't include vector, loose the enums and sects vectors
9688 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9690 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9691 (Read): add float->TC_FLOAT to textclassTags
9692 (Read): and handle it in the switch
9693 (readFloat): new function
9695 * FloatList.C (FloatList): comment out the hardcoded float
9698 * lyxlayout.h: ws change.
9700 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9702 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9704 2002-09-03 Angus Leeming <leeming@lyx.org>
9706 * BufferView_pimpl.h: qualified name is not allowed in member
9707 declaration: WorkArea & Pimpl::workarea() const;
9709 * factory.C: added using std::endl directive.
9711 * text3.C: added using std::find and std::vector directives.
9713 2002-08-29 André Pönitz <poenitz@gmx.net>
9716 * text2.C: remove unused member number_of_rows
9719 * BufferView2.C: remove file, move contents to...
9720 * BufferView.C: ... here
9722 * BufferView_pimpl.C:
9723 * factory.C: move more inset creation to factory
9725 * vspace.C: avoid direct usage of LyXText, ws changes
9728 don't provide direct access to WorkArea, use two simple
9729 acessors haveSelction() and workHeight() instead
9732 2002-08-29 John Levon <levon@movementarian.org>
9734 * BufferView_pimpl.C (dispatch): do not continue when
9737 2002-08-28 André Pönitz <poenitz@gmx.net>
9739 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9742 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9744 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9746 * buffer.C: increment LYX_FORMAT to 221
9748 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9749 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9751 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9753 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9755 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * factory.C (createInset): use LyXTextClass::floats
9759 * MenuBackend.C (expandFloatListInsert):
9760 (expandFloatInsert):
9763 * text2.C (setCounter):
9765 * LaTeXFeatures.C (useFloat):
9766 (getFloatDefinitions):
9768 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9770 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9771 floatlist_, with accessor floats().
9773 * FloatList.h: remove global FloatList
9775 2002-08-26 André Pönitz <poenitz@gmx.net>
9777 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9781 * BufferView_pimpl.C:
9782 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9784 2002-08-25 John Levon <levon@movementarian.org>
9786 * LyXAction.C: fix margin note description
9788 2002-08-24 John Levon <levon@movementarian.org>
9792 * bufferview_funcs.C:
9794 * undo_funcs.C: cleanups
9796 * lyxfunc.C: disable CUT/COPY when no selection
9798 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9800 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9801 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9803 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9804 Add backward compatibility to "mono", "gray" and "no".
9806 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9808 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9809 (and file_format >= 200).
9811 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9815 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9819 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9821 * BufferView_pimpl.C:
9828 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9829 inset and code to make it work with the paragraph code. The inset
9830 can be anywhere in the paragraph, but will only do the expected
9831 thing in LaTeX if the layout file contains the parameter line
9833 (or more generally, a nonzero value) for that layout.
9835 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * paragraph.h: remove the declaration of undefined counters class
9840 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9842 * text2.C (setCounter): fixed enumeration mis-count as reported by
9843 Dr. Richard Hawkins.
9845 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * paragraph_funcs.h: remove some unneeded includes
9849 * text.C (backspace): pasteParagraph now in global scipe
9851 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9852 (pasteSelection): ditto
9854 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9855 * paragraph_funcs.C (pasteParagraph): ... here
9857 2002-08-20 André Pönitz <poenitz@gmx.net>
9859 * commandtags.h: new LFUNs for swapping/copying table row/colums
9862 * lyxfunc.C: support for new lfuns
9864 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9867 * buffer.[Ch]: remove NO_COMPABILITY stuff
9869 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9871 * boost.C (throw_exception): new file, with helper function for
9872 boost compiled without exceptions.
9877 * ParameterStruct.h:
9878 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9880 * bufferlist.C (emergencyWriteAll): use boost bind
9882 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9884 * text.C: include paragraph_funcs.h
9885 (breakParagraph): breakParagraph is now in global scope
9887 * paragraph_funcs.[Ch]: new files
9889 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9892 * buffer.C: include paragraph_funcs.h
9893 (insertStringAsLines): breakParagraph is now in global scope
9895 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9898 * CutAndPaste.C: include paragraph_funcs.h
9899 (cutSelection): breakParagraphConservative is now in global scope
9900 (pasteSelection): ditto
9902 * buffer.h: declare oprator== and operator!= for
9903 Buffer::inset_iterator
9905 * bufferlist.C (emergencyWrite): don't use fmt(...)
9907 * text3.C: add using std::endl
9909 * BufferView.C (moveCursorUpdate): remove default arg
9911 2002-08-20 André Pönitz <poenitz@gmx.net>
9913 * buffer.[Ch]: move inline functions to .C
9916 * BufferView_pimpl.C:
9918 * buffer.[Ch]: use improved inset_iterator
9921 * paragraph.[Ch]: write one paragraph at a time
9923 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9925 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9926 style if style is not specified.
9928 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * text2.C (setCounter): when searching for right label for a
9931 caption, make sure to recurse to parent insets (so that a caption
9932 in a minipage in a figure float works) (bug #568)
9934 2002-08-20 André Pönitz <poenitz@gmx.net>
9936 * text3.C: new file for LyXText::dispatch() and helpers
9938 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9940 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9942 2002-08-19 André Pönitz <poenitz@gmx.net>
9945 * text.C: new LyXText::dispatch()
9947 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9949 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9951 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9953 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9956 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * Makefile.am: use $(variables) instead of @substitutions@
9960 2002-08-15 André Pönitz <poenitz@gmx.net>
9963 * BufferView_pimpl.C: streamlining mathed <-> outer world
9967 * LyXAction.C: remove unused LFUN_MATH
9969 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9971 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9973 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9975 * paragraph.C (Paragraph): reformat a bit
9976 (cutIntoMinibuffer): use builtin InsetList function instad of
9980 * buffer.C: include boost/bind.hpp, add using std::for_each
9981 (writeFileAscii): use ParagraphList iterators
9982 (validate): use for_each for validate traversal of paragraphs
9983 (getBibkeyList): use ParagraphList iterators
9984 (resizeInsets): use for_each to resizeInsetsLyXText for all
9986 (getParFromID): use ParagraphList iterators
9988 * BufferView2.C (lockInset): use paragraph list and iterators
9990 2002-08-14 John Levon <levon@movementarian.org>
9992 * lyxserver.C: remove spurious xforms include
9994 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9998 2002-08-13 André Pönitz <poenitz@gmx.net>
10001 * lyxfunc.C: further cleaning
10003 2002-08-13 André Pönitz <poenitz@gmx.net>
10005 * funcrequest.h: new constructor
10007 * funcrequest.C: move stuff here from .h
10010 * BufferView_pimpl.C:
10013 * lyxfunc.C: subsequent changes
10015 * lyxfunc.h: new view() member function
10017 * lyxfunc.C: subsequent changes
10019 2002-08-13 Angus Leeming <leeming@lyx.org>
10022 * BufferView_pimpl.C:
10030 changes due to the changed LyXView interface that now returns references
10031 to member variables not pointers.
10033 2002-08-13 Angus Leeming <leeming@lyx.org>
10035 * WordLangTuple (word, lang_code): return references to strings,
10040 * lyxtext.h: forward-declare WordLangTuple.
10045 * text.C: #include "WordLangTuple.h".
10048 * text.C: (selectNextWordToSpellcheck): constify return type.
10050 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10056 * paragraph_pimpl.h:
10059 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10060 suggested by Angus.
10061 Made updateCounter always count from start of buffer, and removed
10062 second argument (par).
10063 Reverted floats number display to '#'. Perhaps I'll try again when the
10064 code base is sanitized a bit.
10066 2002-08-12 Angus Leeming <leeming@lyx.org>
10068 * buffer.[Ch] (getLabelList): constify.
10070 2002-08-07 André Pönitz <poenitz@gmx.net>
10072 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10074 * funcrequest.h: extension to keep mouse (x,y) position
10076 2002-08-12 Juergen Vigna <jug@sad.it>
10078 * BufferView2.C (insertErrors): forbid undo when inserting error
10081 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10083 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10085 * ParagraphList.[Ch]: new files
10087 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10089 * BufferView2.C (lockInset): ParagraphList changes
10092 * bufferlist.C: ditto
10096 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10098 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10099 unused class variable counter_,
10101 * paragraph.[Ch] (getFirstCounter): delete unused function
10103 * counters.C: include LAssert.h
10104 (reset): add a new function with no arg, change other version to
10105 not have def. arg and to not allow empty arg.
10107 * text2.C (setCounter): remove empty arg from call to Counters::reset
10109 2002-08-11 John Levon <levon@movementarian.org>
10111 * Makefile.am: add WordLangTuple.h
10113 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10115 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10116 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10118 * insets/insettext.C: InsetList changes
10120 * graphics/GraphicsSupport.C (operator()): InsetList changes
10122 * toc.C (getTocList): InsetList changes
10124 * paragraph_pimpl.[Ch]: InsetList changes
10126 * paragraph.[Ch]: InsetList changes
10128 * buffer.C (inset_iterator): InsetList changes
10129 (setParagraph): ditto
10130 * buffer.h (inset_iterator): ditto
10131 * iterators.C (operator++): ditto
10132 * iterators.h: ditto
10134 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10136 * InsetList.[Ch]: new files, most InsetList handling moved out of
10139 * BufferView2.C (removeAutoInsets): InsetList changes
10141 (ChangeInsets): ditto
10143 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10145 * paragraph_pimpl.h (empty): new function
10147 * paragraph.[Ch] (empty): new function
10149 * other files: use the new Paragraph::empty function
10151 2002-08-09 John Levon <levon@movementarian.org>
10153 * lyxtext.h: remove unused refresh_height
10155 2002-08-09 John Levon <levon@movementarian.org>
10162 * paragraph.C: move sgml char escaping out of paragraph
10165 * paragraph.C: remove id setter
10169 * paragraph_pimpl.C: remove dead tex_code_break_column
10171 * bufferview_funcs.C: small cleanup
10173 * lyxfunc.C: remove dead proto
10175 * lyxtext.h: make some stuff private. Remove some dead stuff.
10177 * lyxgluelength.C: make as[LyX]String() readable
10179 2002-08-08 John Levon <levon@movementarian.org>
10184 * ToolbarDefaults.C:
10187 * toc.C: lyxaction cleanup
10189 2002-08-08 John Levon <levon@movementarian.org>
10191 * BufferView2.C: small cleanup
10194 * lyxfind.C: move unnecessary header into the .C
10196 2002-08-08 John Levon <levon@movementarian.org>
10198 * funcrequest.h: just tedious nonsense
10201 * lyx_main.C: cleanups
10204 * vspace.C: remove dead header lyx_main.h
10206 2002-08-07 Angus Leeming <leeming@lyx.org>
10209 * paragraph_pimpl.h:
10210 Forward declare class Counters in paragraph.h by moving the ctrs member
10211 variable into Paragraph::Pimpl.
10212 (counters): new method, returning a reference to pimpl_->ctrs.
10214 * text2.C: ensuing changes.
10216 2002-08-07 John Levon <levon@movementarian.org>
10218 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10220 * BufferView_pimpl.C: announce X selection on double/triple
10223 * lyx_main.C: use correct bool in batch dispatch
10225 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10227 2002-08-07 André Pönitz <poenitz@gmx.net>
10229 * funcrequest.h: new class to wrap a kb_action and its argument
10232 * BufferView_pimpl[Ch]:
10236 * lyxrc.C: subsequent changes
10239 2002-08-07 John Levon <levon@movementarian.org>
10241 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10242 document options change.
10244 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10249 * makefile.am: move counters functionality over from
10250 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10252 2002-08-06 John Levon <levon@movementarian.org>
10254 * WordLangTuple.h: new file for word + language code tuple
10265 * BufferView2.C: use WordLangTuple
10268 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10270 2002-08-06 John Levon <levon@movementarian.org>
10272 * lyx_main.C: fix cmdline batch handling
10274 2002-08-06 André Pönitz <poenitz@gmx.net>
10276 * lyxrc.C: set default for show_banner to true
10278 2002-08-06 John Levon <levon@movementarian.org>
10280 * pspell.C: fix a crash, and allow new aspell to work
10282 2002-08-06 John Levon <levon@movementarian.org>
10285 * kbmap.C: small cleanup
10288 * vspace.C: add const
10290 2002-08-05 John Levon <levon@movementarian.org>
10292 * LyXAction.C: back to tabular-insert
10294 2002-08-04 John Levon <levon@movementarian.org>
10297 * BufferView.C: cosmetic change
10299 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10309 * BufferView2.C: purge all "Lyx" not "LyX" strings
10312 * lyxcursor.C: attempt to add some documentation
10317 * ToolbarDefaults.C:
10318 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10319 merge with LFUN_TABULAR_INSERT
10326 * pspell.C: split up i/pspell implementations into separate
10327 files, many cleanups
10329 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10331 * text2.C: some cleanup
10333 * lyxfunc.C: don't check for isp_command == "none" any more, it
10334 didn't make any sense
10336 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10341 * makefile.am: move counters functionality over
10342 from text2.C/paragraph.[Ch] to counters.[Ch], and
10344 2002-08-02 John Levon <levon@movementarian.org>
10346 * buffer.C: s/lyxconvert/lyx2lyx/
10348 2002-08-02 Angus Leeming <leeming@lyx.org>
10350 * lyxlex.C: revert John's change as it breaks reading of the user
10353 2002-08-02 Angus Leeming <leeming@lyx.org>
10355 * importer.C (Import):
10356 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10357 changes due to LyXView::view() now returning a boost::shared_ptr.
10359 2002-08-02 John Levon <levon@movementarian.org>
10361 * lyxlex.C: small cleanup
10363 2002-08-02 John Levon <levon@movementarian.org>
10365 * text2.C (status): small cleanup, no logic change
10367 2002-08-01 John Levon <levon@movementarian.org>
10370 * buffer.C (writeFile): don't output alerts, caller
10374 * lyx_cb.C: from above
10376 * lyxfunc.C: allow to open non-existent files
10378 2002-07-31 John Levon <levon@movementarian.org>
10380 * lyxserver.C: don't let incidental errors get
10383 2002-07-30 John Levon <levon@movementarian.org>
10385 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10387 2002-07-30 John Levon <levon@movementarian.org>
10390 * lyxserver.C: remove I/O callback too
10392 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10397 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10399 * many files: strip,frontStrip -> trim,ltrim,rtrim
10401 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10403 * PrinterParams.h: remove extern containsOnly, and include
10404 support/lstrings.h instead.
10406 * LaTeX.C (scanAuxFile): modify because of strip changes
10408 * buffer.C (makeLaTeXFile): ditto
10409 * bufferparams.C (writeFile): ditt
10410 * lyxfont.C (stateText): ditto
10411 * lyxserver.C (read_ready): ditto
10412 * vc-backend.C (scanMaster): ditto
10414 * BufferView_pimpl.h: ws changes
10416 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10418 2002-07-26 André Pönitz <poenitz@gmx.net>
10420 * kb_sequence.C: remove unnedred usings
10422 2002-07-26 Juergen Vigna <jug@sad.it>
10424 * lyxfind.C (LyXReplace): we have to check better if the returned
10425 text is not of theLockingInset()->getLockingInset().
10427 2002-07-25 Juergen Vigna <jug@sad.it>
10429 * lyxfind.C (LyXReplace): don't replace if we don't get the
10432 * undo_funcs.C (createUndo): remove debugging code.
10434 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10436 * buffer.C (parseSingleLyXformat2Token): Use default placement
10437 when reading old floats.
10439 * FloatList.C (FloatList): Change the default placement of figure
10440 and tables to "tbp".
10442 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10444 * MenuBackend.C: using std::max
10446 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * MenuBackend.C (expandToc):
10449 (expandToc2): code moved from xforms menu frontend. It is now
10450 generic and TOCs are transparent to menu frontends.
10452 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * toc.C (getTocList): protect against buf=0
10456 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10457 Menu as first parameter. Now, this calls itself recursively to
10458 expand a whole tree (this will be useful for TOC handling)
10459 (expandFloatInsert): remove 'wide' version of floats
10461 * MenuBackend.h (submenuname): returns the name of the submenu.
10462 (submenu): returns the submenu itself, provided it has been
10463 created by MenuBackend::expand
10465 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10467 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10468 insets which have noFontChange == true. (bug #172)
10470 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10472 * BufferView_pimpl.C: add connection objects and use them...
10475 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10477 * MenuBackend.C (expandLastfiles):
10480 (expandFloatListInsert):
10481 (expandFloatInsert):
10482 (expand): split expand in parts
10484 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10486 * lyx_gui.C: use lyx_gui::exit()
10488 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10490 * LyXAction.C: show the failing pseudo action
10492 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10494 * buffer.C (readFile): Run the lyxconvert script in order to read
10497 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10501 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10503 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10507 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10509 2002-07-22 Herbert Voss <voss@lyx.org>
10512 * lyxlength.[Ch]: add support for the vertical lengths
10514 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10516 * toc.[Ch]: std:: fixes
10518 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * lyxrc.C: do not include lyx_main.h
10522 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10528 * BufferView2.C: include "lyxlex.h"
10531 * bufferparams.h: do not #include "lyxlex.h"
10533 * lyxtextclasslist.C (Add): remove method
10534 (classlist): renamed to classlist_
10536 * paragraph_pimpl.C:
10540 * bufferview_funcs.C:
10545 * toc.C (getTocList): use BufferParams::getLyXTextClass
10547 * toc.C (getTocList): use InsetFloat::addToToc
10549 * toc.[Ch]: new files, containing helper functions to handle table
10552 * lyxfunc.C (dispatch): no need to remove spaces around command
10554 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10555 first command of the sequence; it is not very clever, but I do not
10556 have a better idea, actually
10558 * LyXAction.C (LookupFunc): make sure to remove space at the
10559 beginning and end of the command
10561 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * MenuBackend.C (getMenubar): new method: return the menubar of
10565 (read): treat differently reading of menu and menubar (in
10566 particular, the menubar has no name now)
10567 (Menu::menubar): remove
10569 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10572 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10574 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10575 a bibitem inset in a RTL paragraph.
10577 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10579 * paragraph_pimpl.C: constify
10581 * BufferView_pimpl.C:
10583 * lyxfunc.C: fix dispatch in a nicer way
10585 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfunc.C (dispatch):
10588 * BufferView_pimpl.C:
10589 * BufferView_pimpl.h:
10591 * BufferView.h: rename Dispatch() to dispatch()
10593 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10595 * lyxlayout.C (Read): honor DependsOn tag
10597 * lyxlayout.[Ch] (depends_on): new method
10599 * version.C.in: update lyx_docversion
10601 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10603 * paragraph.C (validate): remove from here...
10604 * paragraph_pimpl.C (validate): ... and move here
10605 (isTextAt): make it const
10607 * buffer.C (getLists): ws cleanup
10609 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10611 * language.C (read): Use iso8859-1 encoding in latex_lang
10612 (this prevents LyX from crashing when using iso10646-1 encoding).
10614 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * text2.C (toggleInset): if cursor is inside an inset, close the
10617 inset and leave cursor _after_ it
10619 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10621 * lyxfunc.C: move minibuffer completion handling out of here
10623 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10625 * BufferView_pimpl.C:
10626 * LaTeX.C: fix dispatch calls
10628 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10630 * text.C (drawChars): Fix Arabic text rendering.
10632 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10636 * lyxfunc.C: remove message-push/pop
10640 * lyxfunc.C: rationalise some code by removing verboseDispatch
10641 in favour of a bool argument to dispatch()
10643 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10645 * lyx_main.C (init): make sure to read symlinks as absolute paths
10647 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10650 * lyxfunc.C: no need for commandshortcut to be a member
10652 2002-07-15 André Pönitz <poenitz@gmx.net>
10654 * converter.C: add support for $$s (scripts from lib/scripts dir)
10655 * lyx_main.C: white space
10657 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10661 * lyxrc.C: remove second exit confirmation
10663 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.h:
10669 * BufferView_pimpl.C:
10670 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10672 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10674 * MenuBackend.C (expand): add numeric shortcuts to document menu
10676 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10678 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * lyxfont.C (setLyXFamily):
10687 * buffer.C (asciiParagraph): use ascii_lowercase
10689 2002-07-15 Mike Fabian <mfabian@suse.de>
10691 * lyxlex_pimpl.C (search_kw):
10692 * lyxlex.C (getLongString):
10693 * converter.h (operator<):
10694 * converter.C (operator<):
10695 * buffer.C (parseSingleLyXformat2Token):
10697 * ToolbarDefaults.C (read):
10698 * MenuBackend.C (checkShortcuts):
10700 * LColor.C (getFromGUIName):
10701 (getFromLyXName): use the compare_ascii_no_case instead of
10702 compare_no_case, because in turkish, 'i' is not the lowercase
10703 version of 'I', and thus turkish locale breaks parsing of tags.
10705 2002-07-16 Angus Leeming <leeming@lyx.org>
10707 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10708 now takes a Buffer const & argument.
10710 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10712 * BufferView.C (resize): check there's a buffer to resize
10714 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10716 * lyxfunc.C: remove dead code
10719 * lyxserver.C: use lyx_guii::set_read_callback
10721 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10723 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10724 an inset in a RTL paragraph.
10726 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10728 * lyxfunc.C: repaint after a font size update
10730 2002-07-15 André Pönitz <poenitz@gmx.net>
10732 * lyxlength.C: inBP should be able to return negative values
10734 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10736 * lyxfunc.C: use lyx_gui::update_fonts()
10738 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10740 * lyxfunc.C: use lyx_gui::update_color()
10742 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10748 * lyxrc.C: remove file->new asks for name option, and let
10749 buffer-new take an argument
10751 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10753 * BufferView_pimpl.C: remove unneeded extra repaint()
10755 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10757 * LyXAction.C: allow command-sequence with NoBuffer
10759 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10761 2002-07-10 Angus Leeming <leeming@lyx.org>
10763 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10765 2002-07-09 Angus Leeming <leeming@lyx.org>
10767 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10769 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10771 * lengthcommon.h: whitespace
10773 * lyxfunc.C: update scrollbar after goto paragraph
10775 * lyxtext.h: factor out page break drawing, and fix it so
10776 page break/added space paints as selected nicely
10778 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.C: add FIXMEs, clean up a little
10782 2002-07-09 André Pönitz <poenitz@gmx.net>
10784 * lyxfont.[Ch]: support for wasy symbols
10786 2002-07-08 André Pönitz <poenitz@gmx.net>
10788 * BufferView_pimpl.C: apply John's patch for #93.
10790 2002-07-05 Angus Leeming <leeming@lyx.org>
10792 * BufferView_pimpl.C (buffer): generate previews if desired.
10794 * LColor.h: add "preview" to the color enum.
10796 * LColor.C (LColor): add a corresponding entry to the items array.
10798 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10801 2002-07-05 Angus Leeming <leeming@lyx.org>
10803 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10804 The body of the code is now in the method that is passed an ostream &
10805 rather than a file name.
10806 Pass an additional only_preamble parameter, useful for the forthcoming
10809 2002-07-03 André Pönitz <poenitz@gmx.net>
10811 * lyxfunc.C: simplify getStatus() a bit for math stuff
10813 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10817 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10819 * text.C (changeRegionCase): do not change case of all the
10820 document when region ends at paragraph end (bug #461)
10822 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10824 * paragraph.C (startTeXParParams):
10825 (endTeXParParams): add \protect when necessary
10827 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * BufferView_pimpl.C (workAreaExpose): remove warning
10831 2002-06-27 Angus Leeming <leeming@lyx.org>
10833 * Makefile.am: add lyxlayout_ptr_fwd.h.
10835 2002-06-26 André Pönitz <poenitz@gmx.net>
10837 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10839 2002-06-25 Angus Leeming <leeming@lyx.org>
10841 * lyxfunc.C (dispatch): Comment out the call to
10842 grfx::GCache::changeDisplay. The method no longer exists now that the
10843 pixmap generation part of the graphics loader has been moved into
10846 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10848 * text2.C: layout as layout
10850 * text.C: layout as layout
10852 * tabular.C (OldFormatRead): layout as layout
10854 * paragraph_pimpl.C (TeXDeeper): layout as layout
10855 (realizeFont): layout as layout
10857 * paragraph.C (writeFile): layout as layout
10858 (validate): layout as layout
10859 (getFont): layout as layout
10860 (getLabelFont): layout as layout
10861 (getLayoutFont): layout as layout
10862 (breakParagraph): layout as layout
10863 (stripLeadingSpaces): layout as layout
10864 (getEndLabel): layout as layout
10865 (getMaxDepthAfter): layout as layout
10866 (applyLayout): layout as layout
10867 (TeXOnePar): layout as layout
10868 (simpleTeXOnePar): layout as layout
10869 (TeXEnvironment): layout as layout
10870 (layout): layout as layout
10871 (layout): layout as layout
10873 * lyxtextclass.C (compare_name): new functor to work with
10874 shared_ptr, layout as layout
10875 (Read): layout as layout
10876 (hasLayout): layout as layout
10877 (operator): layout as layout
10878 (delete_layout): layout as layout
10879 (defaultLayout): layout as layout
10881 * lyxlayout_ptr_fwd.h: new file
10883 * lyxlayout.C (Read): layout as layout
10885 * lyx_cb.C (MenuInsertLabel): layout as layout
10887 * bufferlist.C (newFile): layout as layout
10889 * buffer.C (readLyXformat2): layout as layout
10890 (parseSingleLyXformat2Token): layout as layout
10891 (insertStringAsLines): layout as layout
10892 (asciiParagraph): layout as layout
10893 (latexParagraphs): layout as layout
10894 (makeLinuxDocFile): layout as layout
10895 (simpleLinuxDocOnePar): layout as layout
10896 (makeDocBookFile): layout as layout
10897 (simpleDocBookOnePar): layout as layout
10898 (getLists): layout as layout
10900 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10902 * CutAndPaste.C (cutSelection): layout as layout
10903 (pasteSelection): layout as layout
10904 (SwitchLayoutsBetweenClasses): layout as layout
10906 * BufferView_pimpl.C (Dispatch): layout as layout
10907 (smartQuote): layout as layout
10909 * BufferView2.C (unlockInset): layout as layout
10911 2002-06-24 André Pönitz <poenitz@gmx.net>
10913 * lyxfunc.C: fix #487
10915 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10919 * lyxfunc.C: remove display_shortcuts, show_banner
10921 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10923 * Buffer_pimpl.C: oops, update on resize
10925 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10932 * BufferView.C: use repaint()
10934 * BufferView_pimpl.h:
10935 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10936 as it's a clearer description. Remove superfluous
10939 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10941 * text.C: fix bug 488. Not ideal, but getting
10942 getWord() to work properly for the insets that
10943 matter is more difficult ...
10945 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10947 * BufferView_pimpl.C:
10950 * lyxfunc.C: remove the six million index lyxfuncs to just
10951 one, and DTRT (bug 458)
10953 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView_pimpl.h:
10958 * BufferView_pimpl.C: clean up resize() stuff,
10959 and unnecessary updateScreen()s
10961 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.h:
10966 * BufferView_pimpl.C:
10969 * minibuffer.C: remove focus management of workarea,
10970 not needed. Use screen's greyOut()
10972 2002-06-17 Herbert Voss <voss@lyx.org>
10974 * converter.C: (convert) do not post a message, when converting
10975 fails, let the calling function decide what to do in this case
10977 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10979 * lyxfunc.C: tidy up a little
10981 2002-06-16 <alstrup@diku.dk>
10983 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10984 Got rid of FORMS_H_LOCATION include. Now we are
10987 2002-06-15 LyX Development team <lyx@rilke>
10989 * buffer.[Ch] (sgmlOpenTag):
10990 (sgmlCloseTag): Added support for avoiding pernicious mixed
10991 content. Return number of lines written.
10993 (makeLinuxDocFile):
10994 (makeDocBookFile): Fixed calls to sgml*Tag.
10995 Simple white space clean.
10997 (simpleDocBookOnePar): Simple white space clean.
10999 * tabular.[Ch] (docBook): Renamed to docbook and got another
11000 argument to related with the pernicious mixed content.
11002 (docbookRow): Fixed calls for docbook inset method.
11004 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11006 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11007 so it's X11 independent.
11011 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11013 2002-06-15 Lyx Development team <lyx@electronia>
11015 * intl.h: Renamed getTrans to getTransManager.
11017 2002-06-14 Angus Leeming <leeming@lyx.org>
11019 * Makefile.am: nuke forgotten stl_string_fwd.h.
11021 2002-06-12 Angus Leeming <leeming@lyx.org>
11023 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11025 2002-06-13 Angus Leeming <leeming@lyx.org>
11028 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11030 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11032 * kbmap.C (getiso): add support for cyrillic and greek
11034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11038 * BufferView_pimpl.h:
11039 * BufferView_pimpl.C: move bogus scrolling logic
11042 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11045 * BufferView_pimpl.C: view->resize() change
11047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11049 * BufferView_pimpl.C: topCursorVisible
11052 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11056 * lyx_gui.C: move to frontends/
11060 * lyx_main.C: changes from above
11062 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11069 * lyx_main.C: minor tidy
11071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11073 * BufferView_pimpl.h:
11074 * BufferView_pimpl.C:
11076 * BufferView.C: make painter() const,
11079 * BufferView2.C: use screen() accessor
11082 * lyx_main.C: some minor cleanup
11084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11086 * BufferView_pimpl.h:
11087 * BufferView_pimpl.C: remove enter/leaveView,
11090 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.h:
11096 * BufferView_pimpl.C: only construct screen once,
11099 * lyxrc.C: remove pointless comment
11101 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11104 * BufferView.C: remove active() and belowMouse()
11106 * BufferView_pimpl.h:
11107 * BufferView_pimpl.C: use workarea() not workarea_,
11108 and make it use a scoped_ptr instead
11110 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11112 * lyx_gui.C: add debug message on BadWindow
11114 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11116 * sp_spell.C: fdopen is not part of the C++ standard.
11118 * paragraph.C (InsetIterator): use >= instead of ==
11120 2002-06-07 Angus Leeming <leeming@lyx.org>
11122 Fixes needed to compile with Compaq cxx 6.5.
11123 * BufferView_pimpl.C:
11130 * lyxtextclasslist.C:
11135 all c-library variables have been moved into namespace std. Wrap
11136 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11141 Add a using std::abs declaration.
11143 * kbmap.h (modifier_pair):
11144 * paragraph.h (InsetTable, InsetList):
11145 * lyxfont.h (FontBits):
11146 type definition made public.
11148 * bufferlist.C (emergencyWriteAll): the compiler complains that
11149 there is more than one possible lyx::class_fun template to choose from.
11150 I re-named the void specialisation as lyx::void_class_fun.
11152 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11154 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11155 the compiler is is unable to find tostr in write_attribute.
11157 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * buffer.C (sgmlError): hide #warning
11161 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11163 * xtl/*: get rid of xtl, which is not in use anyway
11165 * LyXAction.C (init):
11166 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11167 were unimplemented xtl experimentation
11169 2002-06-04 André Pönitz <poenitz@gmx.net>
11171 * lyxfunc.C: disable array operation on simple formulae
11173 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11175 * converter.C: constify a bit
11177 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11179 * lyx_gui.C: check xforms version correctly
11181 2002-04-30 Herbert Voss <voss@lyx.org>
11183 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11186 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11188 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11189 attempt to register it with a VCS)
11191 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11193 * lyx_main.C (init): honor variables LYX_DIR_13x and
11196 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11200 * lyx_main.C: fix a crash on bad command line,
11201 and give a useful exit status on error
11203 * lyxfunc.C (doImport): allow -i lyx to work
11205 2002-03-30 André Pönitz <poenitz@gmx.net>
11207 * lyxfunc.C: mathed font changes
11209 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11224 * trans_mgr.h: srcdocs, and some minor cleanups
11226 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11228 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11229 call getFont all the time)
11231 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * switch from SigC signals to boost::signals
11235 2002-05-29 André Pönitz <poenitz@gmx.net>
11237 * paragraph_pimpl.C (getChar): don't call size() too often...
11239 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * paragraph_pimpl.C (insertChar): do not try to update tables when
11242 appending (pos == size())
11244 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11245 in order to reduce drastically the number of comparisons needed to
11246 parse a large document
11248 2002-05-29 André Pönitz <poenitz@gmx.net>
11254 * textclasslist.[Ch]:
11255 * sp_ispell.h: whitespace change
11257 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11260 lyxaction directly now.
11262 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11266 * lyxvc.C: remove unused headers
11268 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11275 * undo_funcs.C: some cleanups. Use shared_ptr
11276 and a template for the undo stacks.
11278 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11280 * BufferView_pimpl.h:
11281 * BufferView_pimpl.C:
11288 * text2.C: use key_state/mouse_state
11290 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11292 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11295 * chset.C: change include order
11296 (loadFile): use boost regex and get rid of LRegex and LSubstring
11298 * Makefile.am (BOOST_LIBS): new variable
11299 (lyx_LDADD): use it
11301 * LaTeX.C: change include order.
11302 (scanAuxFile): use boost regex and get rid of LRegex and
11306 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11311 * FontInfo.C: moved to frontends/xforms/
11314 * FontLoader.C: moved into frontends for GUIIzation
11319 * lyxfunc.C: changes from above
11321 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11323 * LColor.C: remove spurious X include
11325 * BufferView_pimpl.C:
11330 * text2.C: move font metrics to frontends/
11332 2002-05-24 Juergen Vigna <jug@sad.it>
11334 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11335 setting the undo_cursor.
11337 * ParagraphParameters.h: include local includes first.
11339 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11341 * BufferView_pimpl.C:
11342 * BufferView_pimpl.h:
11346 * screen.C: move WorkArea into frontends/
11352 * BufferView2.C: move LyXScreen into frontends/
11356 * lyx_gui.C: move lyxlookup into frontends/xforms/
11358 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11361 * BufferView_pimpl.C:
11371 * bufferview_funcs.C:
11384 * vc-backend.C: move LyX/XFormsView into frontends/
11386 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11398 * text2.C: move Painter to frontends/
11400 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * buffer.C: comment out some some code that depend upon lyx_format
11405 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11406 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11408 * buffer.h (NO_COMPABILITY): turn off compability
11410 * ColorHandler.C: include scoped_array.hpp
11412 * font.C: Use more specific smart_ptr header.
11415 * ShareContainer.h: ditto
11416 * lyx_main.h: ditto
11418 * FontInfo.h: ditto
11419 * BufferView_pimpl.h: ditto
11420 * ColorHandler.h: ditto
11422 * kbmap.C (defkey): change call to shared_ptr::reset
11424 2002-05-21 Juergen Vigna <jug@sad.it>
11426 * buffer.C (insertErtContents): fix to insert ert asis if it is
11427 non empty. Skip it completely if it contains only whitespaces.
11429 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.C:
11432 * BufferView2.C: clear selection on paste (bug 393)
11434 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11436 * DepTable.C: include ctime
11438 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11440 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11442 2002-05-14 Juergen Vigna <jug@sad.it>
11444 * text.C (breakParagraph): fixed function to honor the keepempty
11445 layout in the right maner and also to permit the right breaking
11446 algorithm on empty or non empyt keepempty paragraphs.
11448 * paragraph.C (breakParagraph): we have to check also if the par
11449 is really empty (!size()) for isempty otherwise we do the wrong
11452 2002-05-10 Juergen Vigna <jug@sad.it>
11454 * buffer.[Ch] : The following are only changes to the ert
11455 compatibility read reading old LaTeX layout and font stuff and
11456 convert it to ERTInsets.
11458 * buffer.h: added isErtInset().
11460 * buffer.C (struct ErtComp): add a fromlayout bool to check
11461 if we're inside a LaTeX layout.
11462 (isErtInset): new helper function.
11463 (insertErtContents): look for other ert insets before this one
11464 and insert the contents there, so that we don't have subsequent
11465 ERT insets with nothing between them. This way we create only one
11466 inset with multiple paragraphs. Also check if we don't insert only
11467 spaces ' ' as they are ignored anyway afterwards in the .tex file
11468 so if we have only spaces we will ignore this latex part in the
11470 (parseSingleLyXformat2Token \\layout): better compatibility when
11471 reading layout-latex stuff.
11472 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11474 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11475 stuff after reading the inset only get the information back from
11478 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11480 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11482 * LaTeXFeatures.C (getBabelOptions): New method.
11484 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11486 * BufferView_pimpl.C (Dispatch): work around missing argument for
11489 2002-05-08 Juergen Vigna <jug@sad.it>
11491 * text.C (leftMargin): handle paragraph leftindent.
11493 * paragraph.C (writeFile): write the new \\leftindent tag.
11494 (validate): handle leftindent code.
11495 (TeXEnvironment): handle paragraphleftindent code again.
11497 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11499 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11500 for paragrap_extra indent code and new token \\leftindent.
11501 (latexParagraphs): handle the leftindent as environment.
11503 * ParameterStruct.h: added leftindent support.
11505 * ParagraphParameters.C (leftIndent): added support functions for
11506 the paragraph left indent.
11508 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11511 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11513 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11516 * text.C (computeBidiTables): No bidi in insetERT.
11518 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11521 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * version.C.in: pre 5
11525 2002-05-02 José Matos <jamatos@fep.up.pt>
11526 * buffer.C (makeDocBookFile): white space changes, add newline to
11528 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11530 * tabular.C (docBook): fix typo.
11532 2002-05-03 Juergen Vigna <jug@sad.it>
11534 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11535 change in LyXText as we can not be sure it was not freed.
11536 (drawOneRow): remove unused code.
11538 * text.C (drawInset): redo the calculation of the need_break_row as
11539 it could have a row which was already freed.
11540 (draw): look at the return value of drawInset and return false if
11541 it also returned false.
11542 (paintRowText): look at the return value of draw and return false if
11543 it also returned false.
11545 * lyxtext.h: added bool return type to drawInset() and draw() so that
11546 if we have a change in the row so that the rowbreak has to be redone
11547 we abort drawing as it will be called again.
11549 2002-05-02 Juergen Vigna <jug@sad.it>
11551 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11552 a change in the maintext also if we're inside an inset.
11553 (Dispatch): set the cursor again after a break line and after the
11554 screen has been updated as it could be we're in a different row.
11556 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11557 to set the cursor behind the pargraph with > size().
11558 (setCursor): check also for the same paragraph when checking where
11559 to put the cursor if we have a NFR inset.
11561 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11562 parts of layout read further up as it still was in the wrong
11565 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11567 * screen.C (drawFromTo): change sine fullRebreak always return
11570 * buffer.C (parseSingleLyXformat2Token): reindent some
11572 * BufferView_pimpl.C (update): change since fullRebreak always
11574 (Dispatch): git rid of the last hardcoded "Standard"s.
11576 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * text2.[Ch] (fullRebreak): make it return void now that we always
11581 2002-04-30 Juergen Vigna <jug@sad.it>
11583 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11584 ert compatibility check for "latex" layout.
11586 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11588 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11589 minipages: use col% instead of p%, and also use the current font.
11590 (makeLaTeXFile): Fix use babel condition.
11591 (parseSingleLyXformat2Token): Correct font when reading old floats.
11593 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11595 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11596 inserting list of floats.
11598 2002-04-25 Herbert Voss <voss@lyx.org>
11600 * MenuBackend.C (expand): don't add the graphics extensions to the
11603 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11606 non-existing layout, do not complain if it was the default layout
11607 of the original class (bug #342)
11609 2002-04-24 Juergen Vigna <jug@sad.it>
11611 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11612 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11614 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11616 * buffer.C (getBibkeyList): If using \bibliography, return the
11617 option field with the reference itself. Enables us to provide natbib
11618 support when using \bibliography.
11620 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11622 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11624 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11625 natbib is provided by the LaTeX class.
11627 2002-04-23 Juergen Vigna <jug@sad.it>
11629 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11632 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11634 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11638 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11639 ensuremath around textordmasculine, textordfeminine and
11642 2002-04-19 Juergen Vigna <jug@sad.it>
11644 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11645 reinitializing the buffer otherwise row-dimensions may be wrong.
11646 (update): reset also the selection cursors if they do exits otherwise
11647 their x/y positions may be wrong.
11649 * text2.C (cursorDown): don't enter the inset if we came from a row
11650 above and are one row over the inset.
11652 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11653 really leaving an inset.
11655 2002-04-18 Juergen Vigna <jug@sad.it>
11657 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11658 of the selected paragraph does not have the selected layout also if
11661 * text2.C (setLayout): fixed bug which did not change last selected
11664 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11665 changed the read and substituted \\end_float with \\end_inset!
11667 * BufferView_pimpl.C (cursorPrevious):
11668 (cursorNext): fixed to make it work with rows heigher than the work
11669 area without moving the cursor only the draw of the row.
11670 (workAreaMotionNotify): fix jumping over high rows.
11672 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11674 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11677 2002-04-16 Juergen Vigna <jug@sad.it>
11679 * text2.C (setCursor): set also the irow().
11680 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11682 (cursorDown): support for locking an inset if the x_fix value goes
11683 inside it. That way I can transverse insets too with cursor up/down.
11685 * lyxrow.h: added irow helper function same as other (i) functions.
11687 * BufferView_pimpl.C (cursorPrevious):
11688 (cursorNext): fixed for insets!
11690 2002-04-15 Juergen Vigna <jug@sad.it>
11692 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11693 position otherwise it is wrong in some cases.
11695 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11696 inside the inset before the call.
11698 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11700 * buffer.[Ch] (getBibkeyList): make it const.
11702 2002-04-12 Juergen Vigna <jug@sad.it>
11704 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11706 * text2.C (getCursorX): new helper function
11707 (setCursor): compute also ix_
11708 (setCursorFromCoordinates): set also ix.
11710 * lyxcursor.h: added ix_ and helper functions.
11712 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11714 * buffer.C (insertStringAsLines): dont break paragraph if the this
11715 paragraph is inside an inset which does not permit it!
11717 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11718 also with no chars on this paragraph.
11719 (paintRowText): only paint stuff if it's inside the workarea!
11721 * paragraph.C (breakParagraph): honor keepempty flag and break the
11722 paragraph always below not above.
11724 * BufferView2.C (unlockInset): update the paragraph layout on inset
11725 unlock as we changed paragraph in such a case.
11727 * lyxfind.C (LyXFind): clear the former selection if not found!
11729 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11730 again called in insertChar().
11732 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11733 an inset which uses the whole row!
11734 (rightMargin): ditto.
11735 (insertChar): force a rebreak if we inserted an inset!
11737 2002-03-28 Herbert Voss <voss@lyx.org>
11739 * lyxlength.[Ch]: add inBP() to get the right PS-point
11740 units (BigPoint). With inPixels we have rounding errors
11742 2002-04-11 Juergen Vigna <jug@sad.it>
11744 * text2.C (setCursorFromCoordinates): set iy to the right value.
11745 (setCursor): add check if row->previous exists!
11747 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11748 an old float_type as this was the case in the old code!
11750 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11752 * BufferView2.C (showLockedInsetCursor): use iy
11753 (fitLockedInsetCursor): ditto
11755 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11756 locked insets as there we have the right value now.
11758 * lyxcursor.C: added iy_ variable and iy functions to set to the
11759 baseline of cursor-y of the locked inset.
11761 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11762 (setCursor): fixed for insets which need a full row.
11764 * text.C (rowLastPrintable): don't ignore the last space when before
11765 an inset which needs a full row.
11766 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11767 as last character of a row when before a inset which needs a full row.
11769 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11771 * version.C.in: update date
11773 * text2.C (fullRebreak): try to always return true and see what
11776 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * MenuBackend.C (expand): use Floating::listName
11780 * FloatList.C (FloatList): add listName argument to the built-in
11783 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11784 text associated with the float.
11786 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11788 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11790 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * ShareContainer.h: add a couple of missing typenames.
11794 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11796 * lyxrc.C (getDescription): use _() correctly rather than N_().
11798 2002-03-28 Herbert Voss <voss@lyx.org>
11800 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11801 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11803 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11806 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11808 2002-03-29 Juergen Vigna <jug@sad.it>
11810 * lyxfunc.C (dispatch): add a missing fitCursor call.
11812 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11813 it was scrolled by a cursor move, so return the bool status.
11815 * BufferView.C (fitCursor): return the bool flag also to the outside
11816 world as this is needed.
11818 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11820 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11821 call the edit() as it is not needed (and wrong) IMO.
11822 (workAreaButtonPress): set the screen_first variable before evt.
11823 unlock the inset as this may change screen_first and then we have
11824 a wrong y position for the click!
11826 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * MenuBackend.C (expand): another translation that I missed
11830 2002-03-28 Juergen Vigna <jug@sad.it>
11832 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11834 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11836 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11840 * MenuBackend.C (expand): fix export/view/update when there is no
11843 2002-03-27 Herbert Voss <voss@lyx.org>
11845 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11848 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * bufferview_funcs.C (currentState): only show paragraph number
11851 for is DEVEL_VERSION is set.
11853 * lyxfunc.C (dispatch): put warning in INFO channel
11855 * MenuBackend.C (expand): translate the name of floats
11857 * FloatList.C (FloatList): mark the float names for translation
11859 * converter.C (convert): use LibScriptSearch
11861 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11863 * MenuBackend.C (defaults): fix default menu (we might as well get
11866 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11871 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * lyxvc.C: reorder includes.
11875 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11877 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11880 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11882 * CutAndPaste.C: change layouts earlier on paste
11883 to avoid crashing when calling getFont()
11885 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11887 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11890 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * WorkArea.C: remove 'Pending' debug message.
11894 * most files: ws cleanup
11896 * buffer.[Ch]: ws changes
11898 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11900 2002-03-21 Juergen Vigna <jug@sad.it>
11902 * tabular.C (SetMultiColumn): collapse also the contents of the
11903 cells and set the last border right. Added a Buffer const * param.
11905 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11910 2002-03-19 Juergen Vigna <jug@sad.it>
11912 * text2.C (clearSelection): reset also xsel_cache.
11914 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11915 where it needs to be called (John tells us to do so too :)
11916 (selectionLost): reset sel_cache.
11918 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11920 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * text2.C (setCursorIntern): put debuging code in INSETS channel
11924 2002-03-19 André Pönitz <poenitz@gmx.net>
11926 * lyxfunc.C: tiny whitespace change
11928 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11930 * ToolbarDefaults.C (init):
11931 * LyXAction.C (init):
11933 * BufferView_pimpl.C (Dispatch):
11934 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11936 2002-03-19 Allan Rae <rae@lyx.org>
11938 * exporter.C (Export): removeAutoInsets before doing anything else.
11939 While I've just introduced a dependency on BufferView this really is
11940 the best place to clean the buffer otherwise you need to cleanup in
11941 a dozen places before calling export or cleanup in a dozen functions
11944 * converter.C (runLaTeX):
11945 (scanLog): Better handling of removeAutoInsets and screen updates.
11947 * lyxfunc.C (dispatch): small whitespace changes
11949 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * WorkArea.C (C_WorkAreaEvent): return a value.
11952 (event_cb): return 1 if we handled the event, 0 otherwise.
11954 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11956 2002-03-18 Juergen Vigna <jug@sad.it>
11958 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11959 (GetAdditionalWidth): ditto.
11960 (RightLine): ditto.
11963 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11964 inset if we're there actually (probably not used right now but this
11965 is the direction to go for unifying code).
11966 (paste): disable code to clear the selection.
11968 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11969 inside an InsetText and move the check further up as it is in the
11972 * text2.C (pasteSelection): set a selection over the pasted text.
11974 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11976 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11977 and libgraphics to build on Cygwin.
11979 2002-03-15 Juergen Vigna <jug@sad.it>
11981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11982 inserting an Inset into the paragraph. I know this is not the best
11983 fix but we already use current_view in CutAndPaste so we will remove
11984 all of it's using at the same time.
11986 * buffer.C (sgmlError): deactivated function till it is rewritten in
11987 the right mode, now it can create problems.
11989 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11990 before accessing it.
11992 2002-03-14 Juergen Vigna <jug@sad.it>
11994 * undo_funcs.C (textHandleUndo): do the right thing when updating
11995 the inset after the undo/redo.
11997 * text2.C (setCursor): just some testcode for #44 not ready yet.
11999 * undo_funcs.C (textHandleUndo): set the next() and previous()
12000 pointers of the paragraph to 0 before deleting otherwise we have
12001 problems with the Paragraph::[destructor].
12003 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12004 on a paragraph insertion.
12006 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * buffer.C (asciiParagraph): use += operator for char append to
12011 * paragraph.C (getFontSettings): compare >= not just >
12012 (highestFontInRange): ditto
12015 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * paragraph.C: change several algorithm to be more appripriate for
12018 the problem domain. This is lookip in FontList and in the InsetList.
12020 2002-03-13 André Pönitz <poenitz@gmx.net>
12023 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12025 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12030 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12032 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12034 * Painter.C (display): anon helper function, adjust code for this
12036 (pixmap): remove function.
12038 * Painter.h: remove private display variable.
12040 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12042 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12044 * WorkArea.[Ch]: remove figinset_canvas cruft.
12046 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * lyxtextclass.C (operator): add one item cache optimization.
12050 * bufferlist.h: doxy changes
12052 * bufferlist.C: ws changes
12054 * DepTable.[Ch] (ext_exist): place const in the right spot.
12056 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12058 (workAreaExpose): call resizeInsets when the with BufferView changes.
12059 (Dispatch): adjust for protectedBlank removal
12060 (specialChar): call updateInset if the insert went ok.
12062 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12063 specialChar instead.
12065 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12067 * BufferView.h: doxy change
12069 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12071 * lyxtextclass.C (operator[]): remove non-const version
12072 (defaultLayout): remove non-const version
12074 2002-03-12 Juergen Vigna <jug@sad.it>
12076 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12077 did resize the LyXText too.
12079 * buffer.C (readLyXformat2): set layout information on newly allocated
12082 * tabular.C (OldFormatRead): set layout information on the paragraph.
12084 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12086 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12088 2002-03-11 Juergen Vigna <jug@sad.it>
12090 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12092 (resizeCurrentBuffer): force also the insets to resize themselfes.
12093 (moveCursorUpdate): fixed up for InsetText.
12095 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12098 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12099 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12100 value of Dialogs::tooltipsEnabled().
12101 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12103 2002-03-08 Juergen Vigna <jug@sad.it>
12105 * BufferView_pimpl.C (updateInset): update inset inside inset also
12106 if it isn't inside theLockingInset().
12108 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * buffer.C (asciiParagraph): redo some of the word and line length
12112 (getLists): look for Caption instead of caption.
12114 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * buffer.C (Buffer): initialize niceFile to true
12118 (makeLinuxDocFile):
12119 (makeDocBookFile): make sure niceFile is true on exit
12121 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12123 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12125 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12127 * LyXSendto.C: remove.
12128 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12129 * lyx_gui.C: remove now-redundant comment.
12130 * ColorHandler.h: remove forward declaration of class WorkArea.
12131 * lyxfunc.C: remove #include "WorkArea.h".
12133 2002-03-07 Juergen Vigna <jug@sad.it>
12135 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12136 got moved away with the DEPM and also set the inset_owner always
12137 right which before could have been omitted.
12139 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12142 wanted layout is not found.
12144 2002-03-07 Juergen Vigna <jug@sad.it>
12146 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12148 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * paragraph.C (breakParagraph): use default layout not layout of
12152 (Paragraph): clear ParagraphParameters.
12154 2002-03-06 Juergen Vigna <jug@sad.it>
12156 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12157 otherwise it would not be a valid lenght. Fixed a special case in
12158 the minipage compatibility read where we end the document with a
12161 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12162 was set as it could be 0 for InsetTexts first entry.
12164 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * paragraph.C (writeFile): if layout is empty write out
12167 defaultLayoutName().
12169 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12170 file without named layout we set layout to defaultLayoutName().
12172 2002-03-06 Juergen Vigna <jug@sad.it>
12174 * CutAndPaste.C (copySelection): set layout for new paragraph.
12176 * text.C (prepareToPrint): leave ERT inset left aligned
12177 (leftMargin): don't indent paragraphs inside ERT insets
12179 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * paragraph.C (breakParagraph): dont call clear do the work manually
12183 * paragraph.[Ch] (clear): remove function
12185 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * paragraph.C (Paragraph): dont call clear, the work has already
12190 * lyxtextclass.C (operator): assert if n is empty
12192 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12193 work manually instead.
12195 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12197 * BufferView_pimpl.C: protect selectionLost against text == 0
12199 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12201 * text.C (breakParagraph): fix a setting layout to '0' problem.
12203 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12205 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12206 final location of file, for the included files, and graphics.
12208 2002-03-05 Juergen Vigna <jug@sad.it>
12210 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12212 2002-03-04 Juergen Vigna <jug@sad.it>
12214 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12216 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12217 last column of multicolumn cells.
12218 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12220 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12222 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12223 file if it doesn't go to a temporary file.
12225 * buffer.C (sgmlOpenTag):
12226 (sgmlCloseTag): remove extra newline insertion.
12228 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * text.C (getRowNearY): comment out debug msg
12232 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * text2.C: first -> first_y
12236 * text.C (getRowNearY): add some attemts at a possible
12237 optimization, not working.
12239 * tabular.[Ch]: add BufferParams to several function so that newly
12240 created paragraph can be initialized to he default layotu for the
12243 * tabular-old.C (ReadOld): add buf->params to call of Init
12245 * screen.C: rename text->first to text->first_y
12247 * paragraph.C (breakParagraph): always set layout in the broken
12250 * lyxtextclass.C (Read): remove lowercase
12253 (delete_layout): ditto
12255 * lyxtext.h: rename first -> first_y
12257 * lyxlayout.C (Read): remove lowercase
12260 (obsoleted_by): ditto
12262 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12264 * buffer.C (insertErtContents): add params are to InsetERT
12265 (parseSingleLyXformat2Token): add code to check if a paragraphs
12266 layout really exist.
12267 (parseSingleLyXformat2Token): add params to several inset
12269 (asciiParagraph): remove lowercase, do the layout comparisons with
12272 * BufferView_pimpl.C (cursorNext): first -> first_y
12273 (resizeCurrentBuffer): first -> first_y
12274 (updateScrollbar): first -> first_y
12275 (scrollCB): first -> first_y
12276 (workAreaMotionNotify): first -> first_y
12277 (workAreaButtonPress): first -> first_y
12278 (checkInsetHit): first -> first_y
12279 (cursorPrevious): first -> first_y
12280 (cursorNext): first -> first_y
12281 (Dispatch): add buffer_->params to severl inset contructors
12283 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12285 * lyxlayout.C (Read): remove some debug info that I forgot.
12287 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12288 clean up the code slightly.
12289 (makeLinuxDocFile): ditto
12290 (makeDocBookFile): ditto
12292 * text2.C: layout as string
12294 * text.C: layout as string
12296 * paragraph_pimpl.C: layout as string
12298 * paragraph.[Ch]: layout as string
12300 * lyxtextclasslist.[Ch]: layout as string
12302 * lyxtextclass.[Ch]: layout as string
12304 * lyxtext.h: layout as string
12306 * lyxlayout.[Ch]: layout as string
12308 * lyx_cb.C: layout as string
12310 * bufferview_funcs.C: layout as string
12312 * bufferparams.C: layout as string
12314 * buffer.C: layout as string
12316 * LyXView.[Ch]: layout as string
12318 * LaTeXFeatures.[Ch]: layout as string
12320 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12322 * BufferView_pimpl.C: change current_layout to string, remove
12327 (workAreaButtonRelease): layout as string
12329 * BufferView2.C (unlockInset): adjust
12331 * vspace.C (asLatexCommand): use an explict temp variable.
12333 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12335 * Makefile.am: use FRONTEND_*
12337 2002-03-01 Juergen Vigna <jug@sad.it>
12339 * tabular.C (SetWidthOfMulticolCell): changed to something better
12340 I hope but still work in progress.
12341 (recalculateMulticolumnsOfColumn): renamed function from
12342 recalculateMulticolCells as it is more appropriate now.
12343 (SetWidthOfCell): calculate multicols better.
12345 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12347 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12349 * lyxfunc.C (processKeySym): print sequence also if it is
12350 `deleted' (complete)
12352 * kbsequence.C (print): print sequence even if it is deleted
12353 (complete would be a better word, actually).
12355 * lyxfunc.C (dispatch): print complete options after a prefix key
12357 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12359 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12361 * text2.C (setCharFont): eliminate setCharFont code duplication.
12363 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12365 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12366 LFUN_TABULAR_FEATURE (bug #177)
12368 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12370 * Makefile.am: remove figure.h
12372 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12374 * Bufferview_pimpl.C:
12386 * text2.C: remove #include "lyx_gui_misc.h".
12388 * LaTeX.C: added #include <cstdio>
12390 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12392 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12393 that the paragraph following this one can have.
12395 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12397 * vspace.C (asLatexCommand): fix bogus gcc warning
12399 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12401 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12403 * text2.C (setLayout): get rid of redundant code
12405 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12407 * text2.C (incDepth): make sure depth cannot be increased beyond
12410 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12412 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12413 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12415 * PainterBase.h (image):
12416 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12417 a LyXImage const *.
12419 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12423 * BufferView_pimpl.C:
12424 * BufferView_pimpl.h:
12444 * sp_spell.C: remove fig inset, and the crap house of
12445 cards that follows it
12447 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12452 * os2_errortable.h:
12453 * nt_defines.h: move .h into support/
12455 * vms_defines.h: remove
12457 * WorkArea.C: add space in debug output
12461 * buffer.C: add WITH_WARNINGS
12465 * bufferlist.C: s/retrive/retrieve/, add docs
12474 * chset.C: add docs
12476 * lyxgui.C: add ID to X error handler
12478 * lyxtestclass.c: fix typo
12480 2002-02-26 Juergen Vigna <jug@sad.it>
12482 * tabular_funcs.C (write_attribute): changed so that some default
12483 attributes are not written at all.
12484 (getTokenValue): set default values before trying to read the
12485 value so we have the return value always set as default if we don't
12486 find the token we search for.
12488 * tabular.C (Write): write bools as bools not as strings!
12490 2002-02-22 Juergen Vigna <jug@sad.it>
12492 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12493 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12495 * text.C (leftMargin): don't add an indent for paragraphs inside
12496 tabular cells (fix #208).
12498 2002-02-21 José Matos <jamatos@fep.up.pt>
12500 * tabular.C (docBook): fixed support for long tables.
12502 2002-02-20 Juergen Vigna <jug@sad.it>
12504 * text2.C (getFont): get the drawing font of the Inset if this
12505 paragraph is inside an inset (only important for InsetERT for now).
12507 * buffer.C (insertErtContents): use new lanugage params in ERT
12510 * CutAndPaste.C: commenting out seemingly uneeded code.
12512 2002-02-19 Allan Rae <rae@lyx.org>
12514 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12515 Iterators might be simple to use but they also get invalidated.
12516 (removeAutoInsets): renamed saved cursor tracking variables and added
12517 some comments to clarify what everything does.
12519 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12526 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12527 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12530 * vc-backend.h: remove #include "support/syscall.h"
12534 * converter.C: rearrange #includes in Lars' approved fashion.
12536 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12537 forward declare class Timeout in the header file.
12539 * XFormsView.C: changes due to the above.
12541 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12542 similar to LyXView.
12544 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12545 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12547 2002-02-18 José Matos <jamatos@fep.up.pt>
12549 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12552 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12554 * a lot of small ws changes
12555 * add a lot of using std::XXX
12556 * use std construcs some places where approp.
12557 * use some exisint stuff from lyxfunctional where approp.
12558 * Make file changes to use partial linking (lets test this now...)
12560 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12564 remove #include "support/syscontr.h" as it's redundant. Always has been.
12572 change Systemcalls::System to Systemcalls::Wait and
12573 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12574 No change of functionality, just reflects the stripped down Systemcalls
12577 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12579 * debug.[Ch]: add a GRAPHICS type to the enum.
12581 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12585 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12588 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12590 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12591 match the changes below.
12593 * text2.C (toggleInset): if there is not editable inset at cursor
12594 position, try to see if cursor is _inside_ a collapsable inset
12597 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12600 document menu has a nice checkbox
12602 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * lyxlength.C (asLatexString): change PW to output as percent of
12607 * lengthcommon.C: change '%' to 't%'
12609 * lyxfunc.C (dispatch): a few comments from Martin
12611 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12615 * BufferView_pimpl.h:
12616 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12619 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12621 * vspace.C (inPixels): fix compiler warning
12623 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * lyxfunc.C (getStatus): fix status message for disabled commands.
12627 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12629 * BufferView_pimpl.C: fix crash on close buffer
12630 during selection (#227)
12632 2002-01-27 Herbert Voss <voss@lyx.org>
12634 * buffer.C: link old Figure to new graphic inset
12636 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12638 * FontLoader.C (getFontinfo): Change the latex font names in order
12639 to match the names of type1inst.
12641 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12645 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12646 (extchanged): ditto
12648 (remove_files_with_extension): ditto
12649 (remove_file): ditto
12652 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12653 document is smaller than the work area height. Do not initialize
12654 static variables to 0.
12656 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12658 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12660 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12661 LFUN_LAYOUT_PARAGRAPHS.
12663 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12664 tabular. It is possible to provide a possible cell, which will
12665 typically be the actcell from the corresponding insettabular
12667 * lyxfunc.C (getStatus): small cleanup; disable
12668 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12671 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12673 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12675 * paragraph.C (startTeXParParams):
12676 (endTeXParParams): new methods. The LaTeX code to
12677 start/end paragraph formatting
12678 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12679 empty (fixes bug #200)
12681 * vspace.C (inPixels): adapt to the change below
12682 (inPixels): [later] more cleanups (remove unused variables)
12684 * lyxlength.C (inPixels): change to use a width and a height as
12687 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12689 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12690 Replaced with \paperwidth
12692 * DepTable.C (insert): add std:: qualifier
12694 2002-01-18 Allan Rae <rae@lyx.org>
12696 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12699 * text.C (drawInset): Turned out I didn't know enough about how
12700 rebreaking worked. This fixes most of the redraw problems. I see
12701 an occasional cursor trail when a line is broken now and the cursor
12702 placement can seem out by a few pixels also after a rebreak.
12704 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12706 * buffer.C (parseSingleLyXformat2Token): update because minipage
12707 width is now a LyXLength
12709 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12711 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12714 2002-01-17 Juergen Vigna <jug@sad.it>
12716 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12718 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12719 is set correctly and the inset is updated correctly.
12721 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12724 the beginning of the loop.
12726 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12728 * lyxrc.C: improve help for use_scalable_fonts
12730 2002-01-17 Allan Rae <rae@lyx.org>
12732 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12734 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12736 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12737 make sure to set their inset_owner to the right value (bug #171)
12739 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12742 * DepTable.C: Implement mtime checking to reduce time spent doing
12745 2002-01-16 Juergen Vigna <jug@sad.it>
12747 * tabular.C (GetAdditionalHeight): one of error fixed.
12749 * lyxrc.C (output): small fix in writing use_pspell.
12751 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12753 * sp_base.h: #include LString.h
12755 2002-01-16 Allan Rae <rae@lyx.org>
12757 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12758 Can someone check this please?
12760 * text.C (drawInset): It was possible that p.row would be removed by
12761 breakAgainOneRow upsetting a few other settings. There may be another
12762 small tweak possible by setting need_break_row = 0 when p.row has been
12763 removed but I don't know enough about the logic here.
12765 2002-01-15 Allan Rae <rae@lyx.org>
12767 * text.C (insertChar): removed conditional truism.
12769 * BufferView2.C (removeAutoInsets): More tweaks.
12770 cur_par_prev could be a stray pointer. Check for trailing empty line
12771 in case last line was cur_par and only had an error inset on it.
12773 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12775 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12778 * vc-backend.C (most methods):
12779 * exporter.C (Export):
12780 * converter.C (convert):
12782 * LyXSendto.C (SendtoApplyCB):
12783 * lyxfunc.C (dispatch):
12787 * lyx_cb.C (AutoSave):
12789 * BufferView_pimpl.C (MenuInsertLyXFile):
12790 * buffer.C (runChktex): use Buffer::filePath().
12792 * buffer.h: rename filename to filename_; rename filepath to
12793 filepath_ and make it private
12794 (filePath): new method
12796 * buffer.C (writeFile): use fileName()
12799 * lyx_main.C (init): fix starting of LyX when the binary is a
12800 link from so,ewhere else.
12802 * minibuffer.C: include <cctype> for isprint
12804 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12806 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12807 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12808 name clash with InsetCollapsable's width function.
12810 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * lastfiles.C: include <iterator>
12814 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12816 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12819 * buffer.C (makeLaTeXFile): ditto.
12820 Also make loop operation more transparent.
12822 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12824 * ToolbarDefaults.C: remove trailing comma closing namespace.
12826 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12828 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12831 * trans.C (Load): comment out unused variable, allowed.
12833 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12835 * minibuffer.[Ch] (append_char): new method to recieve input from the
12836 drop-down completion browser. If a key was pressed, then recieve this
12837 char and append it to the existing string.
12838 (peek_event): modify the positioning data passed to the completion
12839 browser so that it can be placed above the minibuffer rather than below.
12840 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * LyXAction.C (init): alloe error-next for readonly documents.
12844 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12847 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * bufferlist.C (readFile): create the buffer _after_ checking that
12852 * lyxfunc.C (verboseDispatch): fix handling of arguments
12854 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12856 * lyxrc.C: use string::erase() instead of initializing to "".
12859 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12861 * BufferView_pimpl.h:
12862 * BufferView_pimpl.C:
12865 * text2.C: tell X when we have made a selection for copying
12867 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12869 * BufferView_pimpl.C (MenuInsertLyXFile):
12870 * lyxfunc.C (menuNew):
12872 (doImport): add shortcuts to directory buttons
12874 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12877 * lyxfunc.C (setStatusMessage):
12878 (getStatusMessage): new methods
12879 (getStatus):use setStatusMessage instead of setErrorMessage
12880 (dispatch): when function is disabled, set error message here
12881 [instead of in getStatus previously]
12883 * BufferView_pimpl.C (workAreaButtonRelease): update
12884 toolbar/menubar here too.
12886 2002-01-13 Allan Rae <rae@lyx.org>
12888 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12889 Now seems indestructible. Remaining task is to audit all other
12890 code affected by deleteEmptyParagraphMechanism. One small quirk
12891 left is that an empty document with an error in the preamble can
12892 be made to report an error but no error box appears. I don't know
12894 (removeAutoInsets): Improved comments.
12896 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12899 * Thesaurus.C: update for Aiksaurus 0.14
12901 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * text2.C (firstParagraph): removed member function, all uses
12904 replaces with ownerParagraph
12905 (redoParagraphs): here
12906 (updateInset): here
12907 (toggleAppendix): here
12908 * BufferView2.C (insertErrors): here
12909 (setCursorFromRow): here
12911 2002-01-13 Allan Rae <rae@lyx.org>
12913 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12914 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12915 There is still a way to segfault this although you may have to do this
12916 multiple times: Have an InsetERT with an unknown command in it.
12917 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12918 <down-arrow>, <Enter> again, View->DVI, BANG!
12920 * text2.C (setCursor):
12921 (deleteEmptyParagraphMechanism):
12922 * lyxtext.h (setCursor):
12923 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12924 Making use of the return value may help fix other bugs.
12926 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12928 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12930 * LyXView.C (updateMenubar): call MenuBar::update here
12931 (updateToolbar): but not here
12932 (showState): do not update toolbar/menubar
12934 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12935 should need to care about that.
12937 * lyxfunc.C (verboseDispatch): simplify a bit
12938 (getStatus): have a version which takes a pseudoaction, and
12939 another which requires a (kb_action,string).
12941 * LyXAction.C (retrieveActionArg): make it work also when action
12942 is not a pseudo-action.
12943 (getActionName): simplify a bit
12946 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * lyxfunc.C (verboseDispatch): new families of methods with
12949 several ways to specify a command and a bool to indicate whether
12950 the command name and shortcut should be displayed in minibuffer
12951 (eventually, we could extend that to a finer bitmask like
12952 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12953 (dispatch): the pristine dispatch command which just, well,
12954 dispatchs! Note it still sets its result to minibuffer; I'm not
12957 * lyxfunc.h: remove setHintMessage
12959 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12961 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12963 * BufferView_pimpl.C (specialChar): delete new inset if we have
12964 not been able to insert it.
12966 * kbmap.C: revert to using int instead of kb_action, since all we
12967 are dealing with is pseudo-actions.
12969 * LyXAction.C (searchActionArg): change to return int instead of
12970 kb_action, since the result is a pseudoaction.
12972 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12974 * buffer.C (insertErtContents): Fix (partially) the font bug.
12976 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12978 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12979 as the other one is broken on my machine!
12981 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12984 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12986 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12988 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12989 reflect their actual use. Provide compatibility code for older lyxrc
12992 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12994 change names of popup font variables in line with the changes to lyxrc.C
12996 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * buffer.C (asciiParagraph): avoid outputing a word twice after
13001 * lyxrc.C (getDescription): document that document_path and
13002 template_path can be empty.
13004 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13006 * LaTeXFeatures.C (getMacros):
13007 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13009 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13011 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13013 (getPackages): rename feature "floats" to "float". Use an array to
13014 iterate over 'simple' features (i.e. just a \usepackage). Add
13015 handling of "amsmath" (renamed from "amsstyle").
13017 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13019 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13022 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13024 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13025 FuncStaus::FuncStatus & FuncStaus::some_method().
13027 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13029 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13030 of the func_satus stuff. Edited and massaged in various ways by
13033 * lyxfunc.C (getStatus): use FuncStatus
13035 2002-01-08 Juergen Vigna <jug@sad.it>
13037 * text.C (nextBreakPoint): use function Inset::isChar().
13039 * paragraph.C (TeXOnePar): use function
13040 Inset::forceDefaultParagraphs.
13042 * buffer.C (latexParagraphs): use function
13043 Inset::forceDefaultParagraphs.
13045 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13047 * lyx_gui.C (init): set the style of the menu popups to
13048 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13050 2002-01-07 Juergen Vigna <jug@sad.it>
13052 * text.C (setHeightOfRow): small fix
13053 (prepareToPrint): don't look at alignment if we don't have the place
13056 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13058 * box.C: New file. Move the Box methods and functions out of box.h,
13059 following Lars' suggestion.
13061 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13063 * box.h: #include "support/LOstream.h", needed for inlined function.
13066 * lyxtextclasslist.C: added some using std declarations.
13068 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13070 * box.h: make signed dimensions to allow insets wider than
13071 the screen (bug #162)
13073 * BufferView_pimpl.C: add some insetHit debug
13075 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13077 * vc-backend.C: add FIXME
13079 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * lyxfunc.C (getStatus): enable code for showing math font status
13084 2002-01-07 Juergen Vigna <jug@sad.it>
13086 * text.C (nextBreakPoint): removed debug output not needed anymore.
13088 2002-01-06 Juergen Vigna <jug@sad.it>
13090 * text.C (nextBreakPoint): fixed up this function we had this bug
13091 since ever but now hopefully we break row better.
13092 (insertChar): we have to check if an inset is the next char as it
13093 could now happen that a large inset is causing a break.
13095 2002-01-05 Juergen Vigna <jug@sad.it>
13097 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13098 if it doesn't like to be drawed.
13100 2002-01-04 Juergen Vigna <jug@sad.it>
13102 * BufferView2.C (lockInset): forgot to set a cursor.
13104 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13106 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13108 * FormMathsPanel.C:
13111 * form_maths_panel.C:
13112 * form_maths_panel.h:
13113 * form_maths_panel.fd: implemented sub- and super- buttons in math
13116 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13117 (or ^ space) to be used as in TeX (req'd by André).
13119 * lyxfunc.C: Allow ^ and _ again to be used both as
13120 super/subscript (mathed) and as themselves (in text).
13122 2002-01-03 Allan Rae <rae@lyx.org>
13124 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13125 "LyX" or the filename of the current buffer if it has one. This is a
13126 modified form of John Levon's patch.
13128 * XFormsView.C (setWindowTitle): also set icon title.
13130 * LyXView.h (setWindowTitle): signature changed.
13131 * XFormsView.h (setWindowTitle): ditto.
13133 2002-01-02 Juergen Vigna <jug@sad.it>
13135 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13137 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * screen.C (topCursorVisible): introduce a temp var for
13140 text->cursor.row(), handle the case where this row is null. (kindo
13143 * text2.C (setCursor): add a couple of asserts.
13145 * paragraph.h (inset_iterator): add -> operator
13147 * paragraph.[Ch] (autoDeleteInsets): remove member function
13149 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13150 cursor pos correctly and handle inset deletion by itself.
13151 (insertErrors): move iterator declaration out of for expression
13153 * lyxtextclass.C: add <algorithm>
13155 * Makefile.am: added the new files to sources, removed layout.C
13157 * layout.C: removed file
13159 * layout.h: remove LYX_DUMMY_LAYOUT
13161 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13165 * lyxtextclass.[Ch]:
13166 * lyxtextclasslist.[Ch]: new files
13168 * include order changes to a lot of files, also changes because of
13171 2001-12-27 Juergen Vigna <jug@sad.it>
13173 * buffer.C (asciiParagraph): more fixes.
13175 * tabular.C (ascii): make ascii export support export of only the
13176 data separated by a column-delimiter.
13177 (ascii): better support for ascii export.
13179 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13181 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * tabular_funcs.C: use a "using std::getline" instead of the
13184 previous fix from Angus (necessary for cxx + lyxstring)
13186 2001-12-24 Juergen Vigna <jug@sad.it>
13188 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13190 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13191 problems. First check a minipage also if we have some ert-contents
13192 (not only on par->size(), second set the right depth of the paragraph
13193 on the relink to the root-paragraph-list!
13195 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13196 which then did not anymore update the main paragraphs on undo/redo!
13198 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13200 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13201 code. Support all font-changing funcs (even those which are not in
13202 menu currently). Support for reporting font settings in
13203 mathed (disabled until Andre provides a function on mathed's side).
13205 * func_status.h (toggle): small helper function to set toggle
13208 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13210 * tabular_funcs.C: getline -> std::getline
13212 2001-12-21 Juergen Vigna <jug@sad.it>
13214 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13215 accessed and could be 0 (I couldn't generate this but it seems
13218 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13221 * tabular_funcs.h: here and include iosfwd
13223 2001-12-20 Juergen Vigna <jug@sad.it>
13225 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13226 inside inset but undo_par was.
13228 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13230 * Thesaurus.C: always include <config.h> in sources.
13234 * box.h: do not include <config.h> in header files
13236 * text.C (paintLastRow): remove unused variable
13238 * text.C (transformChar):
13240 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13242 * Painter.C (text):
13243 * font.C (width): rewrite to use uppercase() instead of
13246 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13248 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13250 * lyxfind.C: clean up of find failure position change
13252 2001-12-20 Juergen Vigna <jug@sad.it>
13254 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13256 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13257 (TeXRow): added to LaTeX a single tabular row.
13258 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13259 (Latex): simplified and finally good LT-h/f support.
13260 (various_functions): just small adaptions for LT-h/f support.
13262 * tabular_funcs.[hC]: added and moved here all not classfunctions
13265 2001-12-19 Juergen Vigna <jug@sad.it>
13267 * tabular.[Ch]: better support for longtabular options (not finished
13270 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13272 * text.C (paintLastRow): use the label font instead of the font of
13273 the last character to compute the size of *_BOX. This makes more
13274 sense and avoids a crash with empty paragraphs.
13275 Use Painter::rectangle to draw EMPTY_BOX.
13277 2001-12-19 Juergen Vigna <jug@sad.it>
13279 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13280 the paragraphs if the replaced paragraph is not the first one!
13281 Tried to delete not used paragraphs but does not work yet so for
13282 now it's inside #ifdef's and by default off!
13284 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * MenuBackend.C: include "lyx_main.h" instead of declaring
13287 lastfiles (actually was declared as LastFiles* instead of a
13290 2001-12-17 Juergen Vigna <jug@sad.it>
13292 * tabular.C (AppendColumn): applied John's fix
13294 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13298 * BufferView_pimpl.h:
13299 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13302 * box.h: new start of class for above
13304 * lyxfunc.C: ignore space-only minibuffer dispatches.
13305 Show the command name when it doesn't exist
13307 * minibuffer.C: don't add empty lines to the history
13309 * minibuffer.C: add a space on dropdown completion
13311 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13313 * text.C: fix line above/below drawing in insets
13315 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * lyxlength.C (LyXLength): Initialize private variables.
13319 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13321 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13322 when inserting error insets.
13324 2001-12-13 Juergen Vigna <jug@sad.it>
13326 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13327 actually sometimes the before-paragraph.
13328 (setUndo): don't clear the redostack if we're not actually undoing!
13330 2001-12-06 Juergen Vigna <jug@sad.it>
13332 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13333 and fixed redoing of main paragraph, so we can use it now ;)
13335 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13337 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13339 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13342 2001-12-13 André Pönitz <poenitz@gmx.net>
13345 * undo_func.C: minor cleanup
13347 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13349 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13350 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13351 font in urw-fonts package which is marked as -urw-fontspecific and
13352 does not work (incidentally, changing the encoding in the
13353 fonts.dir of this package to -adobe-fontspecific fixes the
13356 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13357 is a crash when undoing first paragraph (Juergen, please take a
13358 look). THis does not mean the undo fix is wrong, just that it
13361 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13362 the (Paragraph*) version when needed instead of duplicating the
13365 * text.C (workWidth): use Inset::parOwner to find out where the
13366 inset has been inserted. This is a huge performance gain for large
13367 documents with lots of insets. If Inset::parOwner is not set, fall
13368 back on the brute force method
13370 * paragraph_pimpl.C (insertInset):
13371 * paragraph.C (Paragraph):
13372 (cutIntoMinibuffer): set parOwner of insets when
13373 inserting/removing them
13375 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13377 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13383 * mathed/formulabase.C:
13384 * mathed/math_cursor.[Ch]:
13385 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13388 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * lyxlength.[Ch] (operator!=): new function
13392 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13394 * text.C (workWidth): use Inset::parOwner to find out where the
13395 inset has been inserted. This is a huge performance gain for large
13396 documents with lots of insets. If Inset::parOwner is not set, fall
13397 back on the brute force method
13399 * paragraph_pimpl.C (insertInset):
13400 * paragraph.C (Paragraph):
13401 (cutIntoMinibuffer): set parOwner of insets when
13402 inserting/removing them
13404 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13406 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13408 * tabular-old.C (getTokenValue):
13409 * tabular.C (getTokenValue):
13410 (write_attribute): new versions for LyXLength
13411 (everywhere): adjust the use of widths
13413 * tabular.h: change the type of widths from string to LyXLength
13415 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13417 * paragraph.C: fixed missing line number count when exporting
13418 Environments to LaTeX file
13420 * buffer.C: added informational message for checking line numbers.
13422 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13424 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13425 paragraph, do the 'double space' part, but not the 'empty
13428 * text.C (workWidth): small optimization
13429 (getLengthMarkerHeight): use minimal size for negative lengths.
13431 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13433 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13435 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13437 2001-12-11 André Pönitz <poenitz@gmx.net>
13440 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13442 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13444 * text2.C: keep selection on a setFont()
13446 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13448 * lyx_cb.C: another bv->text misuse, from insert label
13450 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13453 * kbsequence.C: re-instate nmodifier mask
13455 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13457 * lyx_main.h: make lyxGUI private.
13459 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13461 * lyxfind.C: place the cursor correctly on failed search
13463 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13465 * text.C (getLengthMarkerHeight): for small heights, the arrows
13466 are not always on top/bottom of the text
13467 (drawLengthMarker): smaller arrows; take the left margin in
13468 account; draw also vfills.
13470 (paintLastRow): remove special code for vfill and standard spaces,
13471 since everything is handled in drawLengthMarker now.
13473 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * buffer.C (insertErtContents): try to handle font and language
13476 interaction a bit better.g
13478 * ColorHandler.C (updateColor): change the hash to cover the whole
13479 LColor enum, ws cleanup
13480 (getGCLinepars): ditto
13481 (getGCLinepars): only lookup in the linecache once.
13483 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13485 * iterators.C (operator++): Make the iterator more robust
13487 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13491 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13494 * text.C: better added space drawing
13496 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13499 * BufferView2.C: fix layout combo update on inset unlock
13501 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13503 * Makefile.am: don't compile unused files
13505 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13509 * LyXAction.C: remove old LFUN_LAYOUTNO
13511 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13513 * paragraph_pimpl.h:
13514 * paragraph_pimpl.C: isTextAt() doesn't need font param
13516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13519 * lyxlex.C: little cleanup
13521 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13523 * BufferView_pimpl.C: fix insertAscii for insets
13525 2001-12-05 Juergen Vigna <jug@sad.it>
13527 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13528 set the right font on the "multi" paragraph paste!
13530 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * lyxlength.C: remove out-commented code.
13538 * BufferView_pimpl:
13552 * vc-backend.C: change "while(" to "while ("
13554 * lyxlength.[Ch]: add zero function to check if length is zero or
13556 * lyxgluelength.C: use it
13558 2001-12-05 Allan Rae <rae@lyx.org>
13560 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13561 Works for 2.95.3, from what I understand of Garst's reports this should
13562 work for other g++ versions. We're screwed if the abs(int) definition
13563 changed between bugfix releases of gcc.
13565 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13567 * text.C: fix chapter label offset !
13569 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13572 * text.C: fix hfill at end of line, clean up
13574 2001-12-04 Juergen Vigna <jug@sad.it>
13576 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13577 that we force an update of the inset and it's owners if neccessary.
13579 2001-12-03 Juergen Vigna <jug@sad.it>
13581 * text.C (rowLast): simplified code
13583 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13585 * lyxfunc.C: fix show options on timeout
13587 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13589 * screen.C (topCursorVisible): scroll half a page when the cursor
13590 reached top of bottom of screen
13592 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13594 * minibuffer.C: deactivate on loss of focus
13596 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * vspace.[Ch] (operator!=): add operator.
13600 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13602 * BufferView_pimpl.C: refuse to open an inset when
13603 there's a selection.
13605 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13607 * BufferView_pimpl.C: allow to click on RHS of full row insets
13609 2001-11-30 Juergen Vigna <jug@sad.it>
13611 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13612 insets for undo reasons.
13614 2001-11-28 André Pönitz <poenitz@gmx.net>
13616 * vspace.[Ch]: cosmetical changes
13618 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13628 * kbsequence.C: part re-write of old kb code
13631 * WorkArea.C: remove Lgb_bug_find_hack
13633 2001-11-30 José Matos <jamatos@fep.up.pt>
13635 * buffer.C (makeDocBookFile): add a comment to point a hack.
13636 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13637 Fixed a double write of labels.
13639 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13642 * LaTeX.h Fixed bug in LaTeX class where it would not
13643 re-run latex if no depfiles were changed, but the .dvi was removed.
13645 2001-11-28 André Pönitz <poenitz@gmx.net>
13647 * all the files from the change on 2001/11/26:
13648 use lyx::layout_type instead of LyXTextClass::size_type
13649 use lyx::textclass_type instead of LyXTextClassList::size_type
13651 2001-11-29 Juergen Vigna <jug@sad.it>
13653 * text.C: added support for paragraph::isFreeSpacing()
13655 * buffer.C: same as above
13657 * paragraph.h: inserted isFreeSpacing() function to enable
13658 FreeSpacing inside InsetERT.
13660 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13661 of the paragraph's in the cut/copy buffer to 0!
13663 * text2.C (removeRow): remove the assert as it can!
13665 * lyxtext.h: added helper function firstRow returning firstrow and
13666 made firstrow private again.
13668 * BufferView2.C (lockInset): don't relock if we're already locked!
13670 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13671 the only paragraph.
13672 (removeRow): added Assert::(firstrow)
13674 * debug.C: forgot to add INSETTEXT here.
13676 2001-11-28 Juergen Vigna <jug@sad.it>
13678 * sp_spell.C (initialize): changed error text to more general
13679 spellchecker command use (not only ispell!)
13681 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13683 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13685 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13687 * vspace.C: initialise lyxgluelength on failure
13689 2001-11-28 Allan Rae <rae@lyx.org>
13691 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13692 declaration & definition that looks like a function declaration.
13694 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * BufferView2.C (copy):
13697 (copyEnvironment): do not clear the selection when doing a copy.
13699 * text.C (paintFirstRow): compilation fix
13701 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13703 * tabular.C (Latex): correct line count when writing latex.
13705 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13707 * paragraph_pimpl.h:
13708 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13711 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13715 * LColor.C: change vfillline->added_space
13717 * text.C: add markers and text for added space
13719 * vspace.C: fix comment
13721 2001-11-28 André Pönitz <poenitz@gmx.net>
13723 * paragraph.C: whitespace changes
13724 * all the other files from the change on 2001/11/26:
13725 change *::pos_type into lyx::pos_type
13727 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13729 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13730 language of the document when inserting error insets.
13732 2001-11-26 André Pönitz <poenitz@gmx.net>
13734 * BufferView_pimpl.[Ch]:
13742 * paragraph_pimpl.[Ch]:
13745 * text2.C: reduce header dependencies, introduce type for positions
13747 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13749 * <various>: change to use Alert.h
13751 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13753 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13754 when encountering an unknown token.
13755 (readLyXformat2): Show an error message if there were unknown tokens.
13757 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13760 * BufferView_pimpl.C:
13764 * text2.C: use par->isInset()
13766 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13768 * paragraph_pimpl.h:
13769 * paragraph_pimpl.C: cleanup
13771 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13773 * text2.C (removeRow):
13774 * text.C (setHeightOfRow): remove useless (and costly) call to
13777 2001-11-20 Allan Rae <rae@lyx.org>
13779 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13780 Now need Inset*::checkInsertChar() to return true for appropriate
13781 cases so that the characters in the minibuffer will actually be
13784 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * text.C: change the order of the includes.
13787 (workWidth): initialize it at once.
13788 (workWidth): make maxw unsigned
13789 (setHeightOfRow): remove unused variable (inset)
13790 (selectSelectedWord): remove unused variable (inset)
13791 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13793 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13796 server is not running.
13798 (closeConnection): add debug info when server is disabled.
13800 * ColorHandler.C (getGCForeground): send debug message to GUI
13803 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13805 * kbmap.C (bind): modify because return conventions of
13806 kb_sequence::parse have changed.
13808 * kbsequence.C (parse): only ignore spaces and not any stupid
13809 control character. This avoids tests like s[i] <= ' ', which are
13810 guaranteed to fail with 8bit characters and signed chars.
13811 Change return code to string::npos when there have been no error
13812 (0 was a bad idea when error is at first character)
13814 2001-11-14 José Matos <jamatos@fep.up.pt>
13817 * buffer.C (simpleDocBookOnePar): removed unused argument.
13819 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13821 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13822 insets which are part of a word. Paragraph::isLetter takes care of
13823 that now. Use Paragraph::isInset to identify insets.
13824 (selectSelectedWord): do not test for hyphenation break.
13826 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13827 that protected spaces are considered as spaces.
13829 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13832 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13835 * lyxserver.C: fix it. and small cleanup.
13837 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13839 * BufferView_pimpl.C: use inline helpers
13842 * LaTeXFeatures.C: fix typos
13845 * Spacing.C: move spacing_string into class
13847 * ToolbarDefaults.C: move stuff into namespace anon
13849 * layout.h: update enum
13851 * lyxfunc.C: use better debug
13853 * minibuffer.h: fix typo
13857 * WorkArea.C: add and use Debug::WORKAREA
13861 * text2.C: code re-organisation, inline helpers
13863 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13865 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13866 std::vector.empty().
13868 2001-11-09 Allan Rae <rae@lyx.org>
13870 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13871 '\n's after tables. Tabular and ERT inset work now makes this no
13874 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13877 * minibuffer.C: fix crash, improve drop-down completion
13879 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13882 * lyxserver.C: invalidate fd's when doing endPipe()
13884 2001-11-08 José Matos <jamatos@fep.up.pt>
13886 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13887 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13890 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13892 2001-11-07 José Matos <jamatos@fep.up.pt>
13895 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13898 * buffer.C (sgmlOpenTag):
13899 * buffer.C (sgmlCloseTag): removed debug info.
13901 * buffer.h (sgmlOpenTag):
13902 * buffer.h (sgmlCloseTag): made public.
13904 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * buffer.C (saveParamsAsDefaults):
13907 * lyx_cb.C (MenuLayoutSave): remove
13909 * LyXAction.C (init):
13911 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13913 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * buffer.C (setPaperStuff): removed from here...
13917 * bufferparams.C (setPaperStuff): ... and moved there.
13919 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13923 * XFormsView.C: add support for drop-down completion
13925 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13927 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13930 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13932 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13935 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13937 * lyx_main.C: change ref to known bugs
13939 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13941 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13942 to work around older babel problems.
13944 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13946 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13948 2001-10-24 Juergen Vigna <jug@sad.it>
13950 * tabular-old.C (ReadOld): below variable changes reflected.
13952 * tabular.[Ch]: added ltType struct for longtable header/footer
13953 defines and changed all instances where they are used. Added
13954 future support for double top/bottom rows.
13956 2001-10-24 José Matos <jamatos@fep.up.pt>
13958 * buffer.h (docbookHandleCaption):
13959 * buffer.C (docbookHandleCaption): removed unused function.
13960 (makeDocBookFile): moved docbook supported version to v4.1.
13962 2001-10-24 José Matos <jamatos@fep.up.pt>
13965 * tabular.C (docbookRow): new function to export docbook code of a row.
13966 (DocBook): now honors the longtable flags.
13968 2001-10-23 José Matos <jamatos@fep.up.pt>
13971 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13972 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13974 * buffer.C (makeLinuxDocFile):
13975 (makeDocBookFile): reworked the preamble, more clean, and with
13976 support for lyx defined entities. Changed the document declaration
13977 to be more XML friendly.
13979 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13980 if we need to output XML that should be done with a filter.
13982 2001-10-22 Juergen Vigna <jug@sad.it>
13984 * sp_pspell.h (class PSpell): add alive function needed in the
13985 controller to see if the spellchecker could be started.
13987 2001-10-22 Juergen Vigna <jug@sad.it>
13989 * buffer.C (insertStringAsLines): modify the font for inserting
13990 chars in certain conditions by calling checkInsertChar(font).
13992 2001-10-19 Juergen Vigna <jug@sad.it>
13994 * text.C (workWidth): use getRow instead of wrong algorithm.
13995 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13997 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14002 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14004 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14006 * text.C (workWidth): do not search for the exact row when
14007 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14008 optimization for big documents.
14010 2001-10-18 Juergen Vigna <jug@sad.it>
14012 * text.C (workWidth): new function with added Inset * parameter.
14014 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14018 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14019 change return type of getColumnNearX.
14022 * text.C (changeRegionCase): use uppercase/lowercase instead of
14025 (rightMargin): simplify code by factoring out the uses of
14030 (appendParagraph): use Paragraph::size_type
14032 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * vspace.C (asLatexString): add a missing break
14036 2001-10-15 Herbert Voss <voss@perce.de>
14038 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14040 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14045 2001-10-10 André Pönitz <poenitz@gmx.net>
14047 * lyxfunc.C: removed greek_kb_flag.
14049 2001-10-10 Herbert Voss <voss@perce.de>
14051 * lyx_main.C: delete global string help_lyxdir.
14053 2001-10-09 Herbert Voss <voss@perce.de>
14055 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14057 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14059 * lyx_main.C: added global string help_lyxdir.
14061 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14063 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14065 * lyxrc.C (set_font_norm_type): support iso8859-4
14067 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14069 * LaTeX.C (deplog): add another regex for MikTeX
14071 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14073 * lyxrc.C (set_font_norm_type): support iso8859-3
14075 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14077 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14079 * LaTeXFeatures.C: remove special case of french and index
14081 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14082 before \begin{document}). This solves several incompatibilities.
14084 2001-10-03 Garst Reese <reese@isn.net>
14086 * lyx_cb.C: change CheckTex error msg.
14088 2001-10-03 José Matos <jamatos@fep.up.pt>
14090 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14092 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * .cvsignore: update
14096 * lyx_main.C (commandLineVersionInfo): use new style version info.
14098 * buffer.C (writeFile):
14100 (makeLinuxDocFile):
14101 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14103 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14105 * version.h: update to use stuff in version.C
14107 * version.C.in: new file. Contains version information determined
14108 at compile time. This is a merging of version.h and
14111 2001-10-03 Juergen Vigna <jug@sad.it>
14113 * BufferView_pimpl.C (update): don't change "dirty" status in
14116 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14118 * WorkArea.C (c-tor): re-position version string slightly.
14120 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14122 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14123 revert to previous code.
14125 WorkArea.[Ch]: (show, destroySplash): methods removed.
14127 WorkArea.C: rework code so that it's an amalgam of the codes before and
14128 after the splash screen was moved to WorkArea.
14130 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * vspace.C (inPixels):
14136 * buffer.C (insertStringAsLines):
14137 (asciiParagraph): fix types to be large enough
14139 * lyxlex_pimpl.h: change member status from short to int
14141 * layout.h: fix type of endlabeltype
14144 * kbsequence.C (parse): change return type to string::size_type
14146 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14149 * Bullet.C (bulletSize):
14150 (bulletEntry): do not use short ints as parameters
14152 * BufferView2.C (insertLyXFile): change a char to an int.
14154 * WorkArea.C (WorkArea): remove unneeded floats in computation
14156 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14158 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14160 * paragraph.C (asString): Do not ignore newline/hfill chars when
14161 copying to the clipboard.
14163 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14165 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14166 after a multi-line inset.
14168 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14170 * paragraph.C (validate): Set NeedLyXFootnoteCode
14172 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14174 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14175 and decrease-error to decrease.
14177 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14180 it more readable (should be equivalent)
14182 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14184 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14186 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14188 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14189 of a cursor (row, etc.) after a character has been deleted
14190 (deleteEmptyParagraphMechanism): call the method above on _all_
14191 cursors held by the LyXText when a double space has been
14194 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14196 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14198 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14200 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14201 background. Use greyOut() and the new show() methods to toggle between
14202 the foreground and background. Add code to remove the splash after
14203 its initial showing.
14205 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14206 (create_forms): no longer call Dialogs::showSplash.
14208 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14210 * .cvsignore: add version_info.h
14212 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14214 * version_info.h.in: new file
14216 * Makefile.am: add version_info.h.in
14218 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14219 version_info.h instead of VERSION_INFO
14221 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14223 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14224 The ERT inset now returns string().
14226 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14228 * lyxtext.h, text.C (selectNextWord): renamed as
14229 selectNextWordToSpellcheck.
14231 * text.C (selectNextWordToSpellcheck): Modified to not select
14232 words inside an ERT inset.
14234 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14236 * lyx_cb.C (MenuLayoutSave): change a bit the question
14238 * sp_base.h: include <sys/types.h>
14240 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14242 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14244 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14246 * several files: fix typos in user-visible strings
14248 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * text2.C (pasteSelection): do not set the selection, since it
14251 will be cleared later. Actually, the intent was to fix the way the
14252 selection was set, but I figured rmoving the code was just as good.
14254 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14256 * FontLoader.C (available): Check if font is available without
14259 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14261 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14263 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14265 * lyxrc.[Ch]: added display_graphics variable and associated code.
14267 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14269 * bufferparams.C (hasClassDefaults): new method. Returns true if
14270 the buffer parameters correspond to known class defaults
14272 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14274 * XFormsView.C (show): set minimum size to the main window.
14276 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * text2.C (copySelection):
14280 * lyxfind.C (LyXReplace):
14281 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14282 LyXText::selectionAsString.
14284 * paragraph.C (asString): add "label" argument to the second form
14286 * text2.C (selectionAsString): add "label" argument and pass it to
14287 Paragraph::asString.
14289 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14291 * lyx_main.C (commandLineHelp): remove version information
14293 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14295 * lyx_main.C: add -version commandline option
14297 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * paragraph.h: make the optional constructor arg required instead.
14300 some modifications to other files because of this.
14302 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14304 * lyxserver.C (C_LyXComm_callback): make it static
14306 * lyx_main.C (error_handler): make it static
14308 * lyx_gui.C (LyX_XErrHandler): make it static
14310 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14312 * WorkArea.C: make the extern "C" methods static.
14314 * Makefile.am (lyx_LDADD): simplify
14316 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14318 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14319 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14321 * LyXAction.C (init):
14322 * lyxfunc.C (dispatch): associated code removal.
14324 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * lyxfont.h (isSymbolFont): shut off warning
14328 * text.C (setHeightOfRow):
14329 (getVisibleRow): fix crash with empty paragraphs which have a
14332 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14334 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14337 2001-09-04 José Matos <jamatos@fep.up.pt>
14340 * tabular.C (docbook): rename docBook method to docbook.
14342 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14344 * Makefile.am: add dependencies to main.o.
14346 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14348 * FontLoader.C (available): Return false if !lyxrc.use_gui
14350 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14352 * FontInfo.C (query):
14353 * converter.C (view):
14354 * importer.C (Import):
14355 * exporter.C (Export): Can not -> cannot.
14357 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14359 * BufferView_pimpl.C: allow to create index inset even if
14362 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14364 * buffer.C (getLists): replace boost::tie code with an explicit pair
14365 as boost::tie can break some compilers.
14367 * iterators.h: Added a std:: declaration to the return type of
14370 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14372 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14375 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14377 * iterators.[Ch]: New files. Provide paragraph iterators.
14379 * buffer.C (changeLanguage): Use paragraph iterators.
14380 (isMultiLingual): ditto
14382 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14384 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14386 * FontLoader.C: Support for cmr font.
14388 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14390 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14391 (available): New method.
14393 * FontInfo.C (getFontname): Use scalable fonts even when
14394 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14397 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14399 * converter.C (Formats::view): reverted! Incorrect fix.
14401 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14403 * converter.C (Formats::view): only output the -paper option
14404 if the dvi viewer is xdvi, thereby fixing bug #233429.
14406 2001-08-23 Herbert Voss <voss@perce>
14408 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14410 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14412 * Spacing.h (Spacing): Set space to Default on in the default
14415 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * vc-backend.h (RCS::versionString): add RCS to version
14418 (CVS::versionString): add CVS to version
14420 * vc-backend.C (scanMaster): do not add CVS to version.
14421 (scanMaster): do not add RCS to version
14423 * lyxvc.C (versionString): new method
14425 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14427 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * Spacing.C (set): initialize fval
14431 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14433 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14436 2001-08-16 Juergen Vigna <jug@sad.it>
14438 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14440 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14442 * BufferView_pimpl.C:
14445 * text2.C: setParagraph takes linespacing now
14447 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14449 * LyxAction.C: add internal LFUN_CITATION_INSERT
14451 * LyXView.C: actually apply fix
14453 * bufferlist.C: fix open non-existent file
14455 * lyxfind.C: fix indentation
14457 * lyxfunc.C: remove unneeded assert, fix typo
14459 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14461 * MenuBackend.C: use "Floatname List"
14463 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14465 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14466 when converting LaTeX layout to insetERT.
14467 Generate a non-collapsed float when reading old float
14469 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14471 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14474 2001-08-13 Juergen Vigna <jug@sad.it>
14476 * text.C (fill): return 0 instead of 20 as this seems to be the more
14479 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14481 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14484 2001-08-13 Juergen Vigna <jug@sad.it>
14486 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14488 (SearchBackward): comment out the unlocking of the inset_owner this
14489 should not be needed!
14491 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14493 * Many files: Remove inherit_language, and add latex_language
14495 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14496 collapsible insets.
14498 2001-08-10 Juergen Vigna <jug@sad.it>
14500 * text.C (prepareToPrint): fixed hfill-width in draw!
14502 * BufferView2.C (selectLastWord): save the selection cursor as this
14503 now is cleared in the function LyXText::clearSelection!
14505 2001-08-08 Juergen Vigna <jug@sad.it>
14507 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14508 BACKSPACE type functions.
14510 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14511 is only cutted from the document but not put in the cut-buffer, where
14512 still the old stuff should be.
14514 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14516 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14518 * tabular.C (SetWidthOfCell): fixed special case where the width
14520 (LeftLine): handle '|' in align_special.
14522 (LeftAlreadyDrawed): ditto
14523 (SetWidthOfCell): ditto
14525 2001-08-07 Juergen Vigna <jug@sad.it>
14527 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14529 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14531 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14532 * lyxlex.[hC]: ditto
14534 2001-08-06 Juergen Vigna <jug@sad.it>
14536 * text.C (getVisibleRow): fix up row clearing a bit.
14538 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * minibuffer.C: make sure the X server sees the changes in the input.
14542 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * paragraph.C (getFont): split into...
14545 (getLabelFont): this
14546 (getLayoutFont): and this
14547 * paragraph_pimpl.C (realizeFont): calling this
14549 * text2.C (getFont): split into...
14550 (getLayoutFont): this
14551 (getLabelFont): and this
14552 (realizeFont): all three calling this
14554 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14557 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14561 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14563 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14564 layouts from the Quote inset insertion.
14566 2001-08-03 Juergen Vigna <jug@sad.it>
14568 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14570 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14571 only if status not is already CHANGED_IN_DRAW (second level).
14573 * text.C (draw): don't set the need_break_row when inside an
14576 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * buffer.C (parseSingleLyXformat2Token): handle more latex
14581 * bufferview_funcs.[hC]: change function names to
14582 begin with small char, adjust other files.
14584 2001-08-02 André Pönitz <poenitz@gmx.net>
14587 BufferView_pimpl.C: remove broken special code for math-greek
14589 2001-08-02 Juergen Vigna <jug@sad.it>
14591 * BufferView_pimpl.C (update): redone this function so that we
14592 update the text again if there was a CHANGE_IN_DRAW.
14594 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14595 (drawFromTo): added a new internal bool which is used by draw() and
14597 (general): some cursor drawing problems fixed.
14599 2001-08-01 Juergen Vigna <jug@sad.it>
14601 * lyxfind.C (LyXFind): fixed
14602 (SearchForward): ditto
14603 (SearchBackward): ditto
14605 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14606 spurius drawing of the cursor in the main area.
14608 * text2.C (status): small fix which could lead to a segfault!
14609 (clearSelection): remove unneeded BufferView param.
14611 2001-08-01 André Pönitz <poenitz@gmx.net>
14613 * lyxfunc.C: small change due to changed mathed interface
14615 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14619 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14621 * lyxfunc.c: fail gracefully if file doesn't exist
14626 * BufferView_pimpl.C: IsDirWriteable() proto changed
14628 * LyXView.C: fix updateWindowTitle() to store the last title
14630 2001-07-31 Juergen Vigna <jug@sad.it>
14632 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14633 the font (wrong since using of Paragraph::highestFontInRange).
14635 * paragraph.C (highestFontInRange): added a default_size parameter.
14637 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14638 (setHeightOfRow): reformat
14640 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14642 * converter.[hC] + affected files: move to (inital-char)lowercase
14645 * ParagraphParameters.C (ParagraphParameters): remove commented code
14647 * PainterBase.[Ch]: remove commented code
14649 * LaTeXFeatures.h: add "bool floats" for float.sty
14651 * LaTeXFeatures.C (LaTeXFeatures): init floats
14652 (require): handle float
14653 (getPackages): do it with floats
14655 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14657 * BufferView_pimpl.C (Dispatch): improve handling of
14658 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14660 * commandtags.h: #include lyxfont.h here temporarily to avoid
14663 * bufferlist.h: include LString.h here.
14665 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * text2.C (getStringToIndex): new method.
14669 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14671 * *: Reduced header file dependencies all over.
14673 2001-07-30 Baruch Even <baruch@lyx.org>
14675 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14677 2001-07-29 Baruch Even <baruch@lyx.org>
14679 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14681 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * ParameterStruct.h (endif): add a default constructor to make
14684 sure that all variables is initialized.
14686 * ParagraphParameters.C (ParagraphParameters): adjust
14688 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14690 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14691 index; also, check that there is something to index, and that it
14692 does not span over several paragraphs.
14693 (doubleClick): use WHOLE_WORD_STRICT for double click.
14695 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14697 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14700 2001-07-26 Baruch Even <baruch@lyx.org>
14702 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14703 an InsetFig figure, backwards compatible reading of old figure code.
14705 2001-07-27 Juergen Vigna <jug@sad.it>
14707 * text2.C: font.realize function adaption.
14709 * text.C (draw): add a warnings lyxerr text if needed.
14711 * layout.C: font.realize function adaption.
14713 * language.C: add inherit_language and implement it's handlings
14715 * bufferview_funcs.C (StyleReset): remove language parameter from
14716 font creation (should be language_inherit now).
14718 * bufferparams.C (writeFile): handle ignore_language.
14720 * paragraph.C (getFontSettings): the language has to be resolved
14721 otherwise we have problems in LyXFont!
14723 * lyxfont.C (lyxWriteChanges): added document_language parameter
14724 (update): removed unneeded language parameter
14726 * paragraph.C (validate): fixed wrong output of color-package when
14727 using interface colors for certain fonts in certain environments,
14728 which should not seen as that on the final output.
14730 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14732 * BufferView_pimpl.C:
14737 * LyXAction.C: add thesaurus support
14740 * lyxfind.C: add "once" parameter, for thesaurus, to not
14741 move to the next match
14743 2001-07-26 Juergen Vigna <jug@sad.it>
14745 * lyxfont.C (realize): honor ignore_language too!
14748 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14750 * text.C (draw): one place more for ignore_language to not draw
14753 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14755 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14757 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14759 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14760 the minipage conversion problem.
14762 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14764 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14767 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * BufferView.h: don't forward declare WorkArea
14771 * BufferView.C: don't include WorkArea.h
14773 2001-07-25 André Pönitz <poenitz@gmx.net>
14777 * lyxfunc.C: new LFUN 'math-space'
14779 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14781 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14783 * text2.C (toggleInset): call open/close
14785 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * lyxfunc.C (dispatch): add debug for the disabled case
14789 * font.C (buttonText): make similar to rectText
14791 * buffer.C (readInset): comment out parsing of insetlist and
14794 * PainterBase.C (rectText): small correction
14796 * BufferView_pimpl.C: comment out insettheorem and insetlist
14797 * LyXAction.C: ditto
14798 * commandtags.h: ditto
14800 2001-07-24 Juergen Vigna <jug@sad.it>
14802 * text.C (draw): honor the ignore_language.
14804 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14806 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14811 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14813 * lyxtext.h: remove unused (and unimplemented) methods
14815 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14817 * text.C (getVisibleRow): honor background color
14820 * Painter.h: remove default color argument for fillRectangle
14822 * text.C (backgroundColor): new method
14824 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14826 * text.C (getVisibleRow): adjust
14828 * font.[Ch] (rectText): new method, metrics
14829 (buttonText): new method, metrics
14831 * PainterBase.[hC]: make rectText and buttonText always draw and take
14834 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14836 * ToolbarDefaults.C (read):
14837 * MenuBackend.C (read): allow escaping in all strings
14839 * BufferView_pimpl.C (insertAndEditInset): new method.
14840 (Dispatch): use insertAndEditInset whenever appropriate.
14842 * BufferView_pimpl.C (insertNote): removed
14844 * BufferView_pimpl.C (smartQuote): new method, moved from
14845 BufferView; if an insetquote cannot be inserted, insert a '"'
14848 * BufferView2.C: remove insertCorrectQuote();
14850 * lyxfunc.C (getStatus): Add support for all remaingin
14851 inset-insert lfuns.
14853 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14855 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14856 command (necessary to pass " as parameter of self-insert.
14858 * text.C (selectWordWhenUnderCursor):
14859 (selectWord): add word_location parameter
14860 (selectWordWhenUnderCursor): same + remove special code for word
14862 (selectNextWord): use kind() to guess type of insetspecialchar,
14865 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14866 (insertErtContents): create ert insets as collapsed.
14867 (readInset): better compatibility code for Info inset.
14869 2001-07-20 Juergen Vigna <jug@sad.it>
14871 * lyxfunc.C (dispatch): use always LyXFind now!
14873 * text2.C (init): add a reinit flag so that the LyXText can be
14874 reinited instead of deleted and reallocated (used in InsetText).
14876 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14882 2001-07-18 Juergen Vigna <jug@sad.it>
14884 * text.C (selectNextWord): handle insets inside inset by calling
14885 always the bv->text functions so that we can go up the_locking_inset!
14887 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14888 in strange locations when inside an inset!
14890 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14891 handling to include insets.
14893 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14895 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * LyXAction.C (init):
14899 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14900 LIGATURE_BREAK, since the name is so stupid.
14902 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14904 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14907 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14909 * sp_form.[Ch]: remove.
14911 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14913 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14916 * src/buffer.C (readInset): ditto.
14918 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14920 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14921 menuSeparator(), endOfSentenceDot(), ldots() and
14922 hyphenationPoint(), which are therefore removed.
14923 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14925 * LyXAction.C (init):
14926 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14928 * paragraph.C (getWord): removed.
14930 * BufferView_pimpl.C (Dispatch): use last word or selection for
14931 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14933 * lyx_main.C (queryUserLyXDir): do not ask before creating
14934 user_dir, except if it has been named explicitely.
14936 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14938 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14939 a document of zero size.
14941 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14943 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14944 approriately in the c-tor and in require().
14945 (getPackages): output the appropriate LaTeX for natbib support.
14947 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14948 variables "use_natbib" and "use_numerical_citations" when reading the
14950 (readInset): read the various natbib cite commands.
14951 (validate): white-space change.
14953 * bufferparams.[Ch]: new variables "bool use_natbib" and
14954 "bool use_numerical_citations".
14955 (writeFile): output them in the LyX file.
14957 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14959 * lyxfunc.C (getStatus): add support for all the inset insertion
14962 * text2.C (insertInset):
14963 * paragraph.C (insetAllowed):
14964 * BufferView_pimpl.C (insertInset): update to take in account the
14965 renaming of insertInsetAllowed
14967 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14969 * text2.C (getInset): new method. returns inset at cursor position.
14971 * BufferView_pimpl.C (Dispatch): changes because of this.
14973 * LyXAction.C (init): rename open-stuff to inset-toggle.
14975 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14977 * text2.C (toggleInset): renamed from openStuff; use
14980 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14982 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14984 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14986 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14988 * buffer.C (readLyXformat2): Add filename to the error dialog
14990 2001-07-18 Juergen Vigna <jug@sad.it>
14992 * tabular.C (GetCellNumber): put an assert here instead of the check!
14994 2001-07-17 Juergen Vigna <jug@sad.it>
14996 * BufferView_pimpl.C (toggleSelection): adapted too.
14998 * text.C (selectNextWord): adapted for use with insets.
14999 (selectSelectedWord): ditto
15001 2001-07-17 Juergen Vigna <jug@sad.it>
15003 * sp_spell.C (PSpell): fix initialitation order.
15005 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15007 * paragraph.C: spacing
15009 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15011 * sp_spell.C: repair language selection for pspell
15013 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15015 * lyxfunc.h: change more methods to begin with lower char.
15017 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15019 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15020 for unknown layouts.
15022 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15024 * buffer.C (readLyXformat2): Generate an error dialog if there are
15027 2001-07-16 Juergen Vigna <jug@sad.it>
15029 * sp_spell.C: always compile ISpell part.
15031 * lyxrc.C: added use_pspell entry and it's handling.
15033 2001-07-13 Juergen Vigna <jug@sad.it>
15035 * sp_spell.C: removed double includes.
15037 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15039 Consistent use of Lsstream.h:
15040 * Lsstream.h: added using std::stringstream for consistencies sake.
15042 * buffer.C: removed using std::stringstream
15044 * lyxfont.C (stateText):
15045 * paragraph.C (asString):
15046 * text.C (selectNextWord, selectSelectedWord):
15047 * text2.C (setCounter):
15048 * vspace.C (asString, asLatexString):
15049 std::ostringstream -> ostringstream.
15051 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15053 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15054 * commandtags.h: add LFUN_HELP_ABOUTLYX
15055 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15057 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15059 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15061 * lyx_gui_misc.C: remove spellchecker
15062 * lyxfunc.C: showSpellchecker
15064 * sp_ispell.h: added
15065 * sp_pspell.h: added
15066 * sp_spell.C: added
15067 * sp_form.[Ch]: removed
15068 * spellchecker.[Ch]: removed
15070 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15072 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15074 (simpleTeXSpecialChars): Simply print the input character without
15075 any special translation if pass_thru is set.
15077 * layout.h: Added bool pass_thru to layout class for being able to
15078 implement pass through of a paragraph for Literate Programming.
15080 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15081 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15082 * layout.C (Read): add "passthru" to list of layout tags and add
15083 code to set the pass_thru boolean when it is read.
15085 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15087 * trans_decl.h: remove allowed from KmodInfo
15089 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15090 remove allowed code
15093 * paragraph_pimpl.C (erase): use boost::prior
15095 * Painter.C (text): use data() instead of c_str() when length is
15097 * WorkArea.C (putClipboard): ditto
15098 * font.h (width): ditto
15100 * BufferView2.C: use it-> instead of (*it). for iterators
15102 * paragraph_pimpl.C: ditto
15103 * paragraph.C: ditto
15104 * minibuffer.C: ditto
15105 * language.C: ditto
15107 * encoding.C: ditto
15108 * counters.C: ditto
15109 * converter.C: ditto
15111 * Variables.C: ditto
15112 * TextCache.C: ditto
15113 * MenuBackend.C: ditto
15114 * LyXAction.C: ditto
15116 * FloatList.C: ditto
15117 * DepTable.C: ditto
15118 * ColorHandler.C (LyXColorHandler): ditto
15120 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15124 * text2.C (openStuff): reintroduce this method (which had been
15125 nuked in NEW_INSETS frenzy).
15127 * lyxfunc.C (Dispatch): when an action has not been handled, use
15128 its name in the error message, not its number.
15130 * paragraph.C (inInset): change method name to begin with lowercase.
15133 * text2.C: updates because of this.
15135 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * ToolbarDefaults.C (add): add spaces in error message
15139 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15142 (readLyXformat2): rename return_par to first_par, use lyxlex's
15143 pushToken and remove the manual push handling.
15144 (parseSingleLyXformat2Token): add another ert comp. variable:
15145 in_tabular, rename return_par to first_par. handle newlines better
15147 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15151 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15153 * text2.C (getParFromID): removed
15155 * buffer.C (getParFromID): new method moved form lyxtext.
15156 * BufferView2.C (insertErrors): adjust
15157 (setCursorFromRow): adjust
15158 * BufferView_pimpl.C (restorePosition): adjust
15159 * lyxfunc.C (Dispatch): adjust
15160 * undo_funcs.C (textUndo): adjust
15162 (textHandleUndo): adjust
15163 (textHandleUndo): adjust
15165 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15167 * buffer.C: up' the LYX_FORMAT
15169 * lyxfont.h: turn NO_LATEX on as default
15171 * buffer.C (insertErtContents): new methods of tex style compability.
15172 (parseSingleLyXformat2Token): use it several places.
15173 * tabular.C (OldFormatRead): and here
15175 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * text2.C: remove some commented code.
15180 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15181 * trans.C: changes because of the above.
15183 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15185 * text2.C (setCounter): Fix counters bug with bibliography layout.
15187 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15189 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15190 own member functions
15191 (simpleTeXSpecialChars): ditto
15193 2001-07-06 Juergen Vigna <jug@sad.it>
15195 * a lot of files: changed the access to LyXText::status and the
15196 call of undo-functions.
15198 * undo.[Ch]: added a inset_id to the undo informations.
15200 * undo_funcs.[Ch]: added and moved here all undo functions.
15202 * lyxtext.h: give the status enum a weight, made status_ a private
15203 variable and made accessor functions for it, removed the whole bunch
15204 of undo-functions as they are now in their own file, make some
15205 functions publically available. Added function ownerParagraph with
15208 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15209 made InInset() a const function, added getParFromID() function.
15211 * buffer.[Ch]: added const version for inset_iterator functions,
15212 added getInsetFromID() function.
15214 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15215 changed undo functions for new version.
15217 2001-07-05 Juergen Vigna <jug@sad.it>
15219 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15220 unknow mechanism does not call the proper constructor but only this
15221 one also if I request the other!?
15223 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15225 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15227 * text2.C (LyXText): use initialization lists.
15229 * lyxtext.h (Selection): initialize set_ and mark_
15230 (init): remove method
15232 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15234 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15236 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15238 * screen.[Ch]: change method names to begin with lowercase
15240 * BufferView_pimpl.C (updateScrollbar): simplify further and
15241 hopefully make it a bit faster.
15243 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15246 calling directly xforms functions.
15248 * Painter.C (Painter):
15249 * lyx_cb.C (MenuWrite):
15250 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15253 * lyx_gui.C: remove bogus guiruntime extern declaration.
15255 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15259 (redoDrawingOfParagraph): ditto
15260 (redoParagraphs): ditto
15261 (cutSelection): don't create a object for CutAndPaste use the
15262 static method directly
15263 (pasteSelection): ditto
15265 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15268 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15270 * modifications to some other files because of this.
15272 * Makefile.am (lyx_SOURCES): add XFormsView
15274 * XFormsView.[Ch]: new files
15276 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15277 the main window. Move the gui dependent stuff to XFormsView
15279 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * tabular.C (GetCellInset): update cur_cell also in the row/col
15282 version of this function.
15284 * lyxfunc.C: no need to include figure_form.h here.
15290 * lyxvc.C: no need to include forms.h here.
15292 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15296 * lyxfunc.C (Dispatch):
15298 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15299 constructor argument.
15301 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15303 * paragraph.C (Paragraph): dont't clear, and just set layout.
15304 (makeSameLayout): use params's copy contructor.
15306 * ParagraphParameters.[Ch] (makeSame): delete method
15308 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15310 * Variables.[Ch]: fix indentation, rename set to isSet
15312 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15314 * lyxfunc.C (Dispatch): fix typo
15316 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15321 * bufferlist.C: include assert.h for emergencyWrite().
15323 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15325 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15326 give up at last (bug #425202) !
15328 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15334 * spellchecker.C: strip spellchecker options and bring up
15335 preferences tab instead
15337 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15339 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15340 the istringstream constructor
15342 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * paragraph.C (getLayout): fix return value
15346 * paragraph.h: do not declare getLayout as inline.
15348 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15350 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15352 * lyxcursor.h (operator<): new func
15353 (operator>): new func
15354 (operator>=): new func
15355 (operator<=): new func
15357 * text.C (changeCase): use selection.start and selection.end
15358 (changeRegionCase): require from to be <= to. Require par to be a
15361 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15363 2001-06-27 Juergen Vigna <jug@sad.it>
15365 * text.C (cursorLeftOneWord): changed to return the cursor and added
15366 overlay with BufferView * parameter which calls this one.
15368 (selectWord): use new getWord function.
15369 (changeCase): renamed from changeWordCase as and extended to work
15370 also on selections.
15372 * lyxtext.h: added enum word_location
15374 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15375 changeCase as this operates now also on selections.
15377 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15379 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15381 * many files: send debug output to Debug::INFO instead of
15384 * converter.C (View):
15386 (Move): send debug output to Debug::FILES instead of console.
15388 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15390 * lyxfunc.C (getStatus): use func_status
15392 * func_status.h: new header, describing the results of
15393 LyXFunc::getStatus;
15395 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15398 2001-06-25 The LyX Project <jug@sad.it>
15400 * buffer.C (sgmlOpenTag):
15402 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15404 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * text2.C: remove some dead code
15408 * tabular.C (GetCellInset): store the last cell checked (gotten)
15410 * tabular.h: add the helper for the speedup
15412 * lyxtext.h: remove some dead code
15414 2001-06-26 The LyX Project <Asger>
15416 * paragraph.C: Change export to LaTeX of alignment to
15417 \begin{center} and family for better roundtrip work with reLyX.
15419 * Tune the math drawing a bit.
15421 2001-06-25 The LyX Project <Asger>
15423 * LColor.C (LColor): New color for math background. New color
15426 2001-06-25 The LyX Project <jug@sad.it>
15428 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15430 * lyxfunc.C (Open):
15431 * bufferlist.C (newFile): do not restrict to files ending with
15434 * BufferView_pimpl.C (MenuInsertLyXFile):
15436 2001-06-24 The LyX Project <jug@sad.it>
15438 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15441 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15443 * lyxtext.h: rename most methods to begin with a small char.
15444 Lots of changes because of this.
15446 * paragraph.C (Paragraph): do not call fitToSize
15447 (erase): call Pimpl::erase
15448 (insertChar): call Pimpl::insertChar
15449 (insertInset): call Pipl::insertInset
15450 (breakParagraph): do not call fitToSize
15451 (breakParagraphConservative): do not call fitToSize
15452 (fitToSize): remove method
15454 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15456 2001-06-24 The LyX Project <Asger>
15458 * Fix Qt compilation^2
15460 2001-06-24 The LyX Project <jug@sad.it>
15462 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15463 depthHook(getDepth()-1).
15466 * ParagraphParameters.h:
15467 * ParameterStruct.h: change type of depth to unsigned int ==
15468 depth_type. Many adaptations to other files before of that.
15470 2001-06-24 The LyX Project <Asger>
15472 * Fix Qt compilation.
15474 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * paragraph.h: renamed several methods to begin with small letter.
15477 several changes to many parts of the code because of this.
15479 2001-06-23 The LyX Project <jug@sad.it>
15481 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15482 rewritten to discard all double spaces when KeepEmpty is off
15483 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15484 to only handle newlines but not fiddle with spaces and friends.
15486 * lyxfunc.C (MenuNew): when doing 'new from template', use
15487 template_path as default directory
15489 2001-06-23 The LyX Project <Asger>
15491 * Clean-up of header file includes all over
15492 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15494 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15496 * paragraph.h: renamed from lyxparagraph.h
15498 2001-06-23 Asger <lyx@violet.home.sad.it>
15500 * Buffer.h: Removed Buffer::resize
15501 * BufferList.h: Removed BufferList::resize
15502 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15503 the document lazily when we change the width, or the font settings.
15505 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15507 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15509 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15511 * buffer.h: remove out of date comment
15513 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15516 * screen.C: fix "theoretical" GC leak
15518 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * LaTeX.C (scanAuxFile):
15521 (deplog): remove trailing \r when reading stream (useful under
15524 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15526 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15527 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15528 and BufferView::theLockingInset(Inset*), so should use them and not
15529 access bv_->text->the_locking_inset directly.
15531 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15533 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15536 * tex-defs.h: remove old unused file
15538 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15540 * BufferView_pimpl.C: fix typo, remove minibuffer message
15541 when buffer has loaded
15543 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15545 * lyxfunc.C (Dispatch): use stringstream
15546 (MenuNew): use stringstream
15547 (Open): use stringstream
15549 * importer.C (Import): use stringstream
15551 * bufferview_funcs.C (CurrentState): use stringstream
15553 * LaTeX.C (run): use stringstream
15555 * BufferView_pimpl.C (savePosition): use stringstream
15556 (restorePosition): use stringstream
15557 (MenuInsertLyXFile): use stringstream
15559 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15572 * vspace.C: removed // -*- C++ -*- as first line.
15575 * version.h: added // -*- C++ -*- as first line.
15577 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15581 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15584 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15586 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15589 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * gettext.C: include LString.h even when --disable-nls is on.
15593 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15595 * converter.h (Get): changed argument type from int to
15596 FormatList::size_type to avoid unnecessary conversion.
15598 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15601 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * gettext.h: include LString.h even when --disable-nls is on.
15605 2001-06-07 Juergen Vigna <jug@sad.it>
15607 * text.C (BreakAgain): subst spaces with tabs.
15609 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15610 (resizeInsetsLyXText): set force on resizeLyXText.
15612 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15614 * gettext.h (gettext_init):
15615 (locale_init): use a real definition instead of a macro
15617 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15619 * Bufferview_pimpl.C:
15621 * LColor.C: further lcolor tidies
15623 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15625 * BufferView_pimpl.C (updateScrollbar): simplify.
15627 * BufferView2.C: don't include insets/insetinfo.h, change
15628 prototype for insertInset and call the Pimpl version. let
15629 updateInset call Pimpl version.
15631 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15632 gotoInset to BufferView::Pimpl
15634 2001-06-01 Juergen Vigna <jug@sad.it>
15636 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15637 inside a LockingInset (is the update needed at all?).
15639 2001-05-31 Juergen Vigna <jug@sad.it>
15641 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15642 here not the old one otherwise how should we compare it afterwards
15645 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * FontInfo.C: bring C functions into global namespace when
15653 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15655 * LString.h: make sure config.h has been loaded before LString.h.
15657 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15658 (one for each char read by EatLine!).
15660 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15663 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15666 to the same as the par we break from
15668 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15672 * MenuBackend.C (expand): also create menu entries for wide
15673 versions of the floats.
15675 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15677 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15679 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15680 frontends/Makefile.am
15686 * tabular.C (getTokenValue): add std::
15688 * tabular-old.C (getTokenValue): add std::
15689 (getTokenValue): ditto
15690 (getTokenValue): ditto
15692 * screen.C (ToggleSelection): adjust
15694 * lyxtext.h: put selection cursors inside a Selection struct.
15696 * lyxfunc.C (moveCursorUpdate): adjust
15698 * lyxfont.C (latexWriteStartChanges): add std::
15700 * lyxfind.C: adjust
15702 * font.h: delete with(char const *, LyXFont const &)
15704 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15706 * FontInfo.C (getFontname): add std::
15708 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15709 (workAreaButtonPress): adjust
15710 (tripleClick): adjust
15712 (moveCursorUpdate): adjust
15715 * BufferView2.C (gotoInset): adjust
15717 2001-05-30 Juergen Vigna <jug@sad.it>
15719 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15720 to check pspell I add this as default as I now have new pspell
15721 libraries and they seem to use this.
15723 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15725 * text2.C (CutSelection): make the cursor valid before the call to
15728 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15731 relied on 0 terminated strings and other horrors. Bug found due to
15732 the new assert in lyxstring!
15734 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15737 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15739 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15742 * lyxfunc.C (processKeySym): change method of getting to the
15745 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15746 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15747 * BufferView_pimpl.[Ch]: here as private methods.
15749 2001-05-28 Juergen Vigna <jug@sad.it>
15751 * text.C (SetHeightOfRow): added the update() call again as it is
15752 needed to initialize inset dimensions!
15754 2001-05-16 Juergen Vigna <jug@sad.it>
15756 * text2.C (SetCharFont): Add new function with BufferView * and
15757 bool toggleall parameters for setting insets internal fonts.
15758 (SetFont): Freeze the undo as we may change fonts in Insets and
15759 all this change should be inside only one Undo!
15761 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15762 setting font's in insets as for them we have the SetFont function!
15764 2001-05-15 Juergen Vigna <jug@sad.it>
15766 * text2.C (ClearSelection): to be sure we REALLY don't have any
15769 * tabular.C (TeXCellPreamble): fixed the left border problem for
15772 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15774 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15777 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15779 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15780 LFUN_BREAKPARAGRAPH.
15782 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15783 help test to "internal only", similar for LFUN_INSERT_URL
15785 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15786 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15787 auto_region_delete and deadkeys.
15789 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15792 * LColor.C: remove some dead entries, tidy a little
15794 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15796 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15798 (Dispatch): implement LFUN_ESCAPE
15800 * commandtags.h: add LFUN_ESCAPE
15802 * LyXAction.C (init): add entry for LFUN_ESCAPE
15804 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15805 Remove commented code.
15806 (insertNote): moved here
15807 (open_new_inset): moved here
15809 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15812 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15814 * kbmap.C (findbinding): clean it up and make it work correctly.
15816 * lyx_main.C (init): do not pass argc and argv as parameters
15818 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15820 * buffer.C: fix path for OS/2 & Win32
15824 * lyx_main.C: Added os:: class.
15826 * os2_defines.h: update
15828 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15830 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15831 better by trying again with reduced state.
15833 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * lyxrc.C (read): print error about invalid key sequence only when
15836 debugging (because not all latinX keysyms are known to some X
15839 * kbsequence.C (getiso): add a few std:: qualifiers
15840 (getiso): comment out extra return statement.
15842 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15846 (Dispatch): enhance the accent inset a bit. (not perfect)
15848 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15850 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15852 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * bufferlist.C (emergencyWrite): fix assert() call
15856 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15858 * text.C (InsertChar): Added trivial patch to only send the "you
15859 can not do multiple spaces this way" message once during a
15862 2001-05-08 Baruch Even <baruch@lyx.org>
15864 * Makefile.am: Changed order of libraries to get LyX to link properly
15865 with the gnome frontend.
15867 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15869 * LaTeXFeatures.h: add a std:: qualifier
15871 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * paragraph.C (String): use stringstream
15875 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * paragraph.C (writeFile): remove footflag arg
15879 * buffer.C (makeLaTeXFile): use stringstream
15880 (latexParagraphs): remove footnot gurba
15882 * LaTeXFeatures.C (getPackages): use stringstream
15883 (getMacros): likewise
15884 (getTClassPreamble): likewise
15885 (getFloatDefinitions): new method
15887 * paragraph.C (writeFile): reindent
15890 * WorkArea.h: revert the xpos + etc changes.
15892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15894 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15896 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15897 (pasteSelection): likewise
15898 * text2.C (CreateUndo): likewise
15900 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15902 * minibuffer.C (peek_event): temporarily reduce the functionality
15903 of the minibuffer (to allow args on lfuns)
15905 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15906 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15908 * buffer.C (readInset): add compability reading of old float
15909 lists, add reading of new style float list.
15910 (readInset): avoid reevaluation of inscmd.getCmdName()
15911 (getLists): reindent
15913 * MenuBackend.C (MenuItem): implement parsing of
15914 md_floatlistinsert and md_floatinsert.
15915 (expand::LastFiles): move initalizaton of iterators out of loop,
15916 avoid reevaluation.
15917 (expand::Documents): introduce typdedef vector<string> Strings,
15919 (expand::ExportFormats): introduce typedef vector<Format const *>
15920 Formats, and use it.
15921 (expand): implement FloatListInsert and FloatInsert.
15923 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15924 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15925 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15927 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15929 (Dispatch::LFUN_FLOAT_LIST): implement
15931 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15933 * LaTeX.C (run): Fix problem with --export code.
15935 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15937 * BufferView.[Ch] (workarea): removed.
15938 (getClipboard) new method; wrapper for workarea()->getClipboard()
15940 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15943 * WorkArea.h (width, height, xpos, ypos): These methods all
15944 returned the dimensions of the work_area sub-area of WorkArea,
15945 resulting in a position error if the WorkArea were resized. Now
15946 return the dimensions of the entire WorkArea.
15948 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15950 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * LaTeX.C (deplog): correct the syntax of regex reg1
15954 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * undo.C: remove !NEW_INSETS cruft
15958 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * text2.C: remove !NEW_INSETS cruft
15962 * text.C: remove !NEW_INSETS cruft
15964 * tabular.C: remove !NEW_INSETS cruft
15966 * spellchecker.C: remove !NEW_INSETS cruft
15968 * lyxtext.h: remove !NEW_INSETS cruft
15970 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15972 * lyxfunc.C: remove !NEW_INSETS cruft
15974 * lyxfind.C: remove !NEW_INSETS cruft
15976 * lyx_cb.C: remove !NEW_INSETS cruft
15978 * figureForm.C: remove !NEW_INSETS cruft
15980 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15982 * buffer.[Ch]: remove !NEW_INSETS cruft
15984 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15986 * CutAndPaste.C: remove !NEW_INSETS cruft
15988 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15990 * BufferView2.C: remove !NEW_INSETS cruft
15992 * BufferView.h: remove !NEW_INSETS cruft
15994 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15996 * Lsstream.h: include LString.h before the sstream headers to
15997 fix problem with gcc 2.95.3 and lyxstring
15999 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * lyx_main.C: add using directives when needed for C functions
16002 declared in std:: namespace.
16004 2001-04-27 Juergen Vigna <jug@sad.it>
16006 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16007 (SetHeightOfRow): comment out the update call should not be needed!
16009 2001-04-13 Juergen Vigna <jug@sad.it>
16011 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16012 (LyXTabular): tried to minimize operator= operations (and realized
16013 hopfully Lars wish).
16015 2001-04-27 Juergen Vigna <jug@sad.it>
16017 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16019 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16021 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16023 * buffer.C (readInset): hack to make listof algorithm work
16025 * BufferView_pimpl.C: hack to make listof algorithm work
16027 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16029 * LyXAction.C: removed all !NEW_INSETS cruft
16030 (init): moved lfun_item in method
16032 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16034 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16036 * BufferView2.C (theLockingInset): white space.
16038 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * minibuffer.C: include <iostream>
16042 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16044 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16046 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16048 * text.[Ch] (TransposeChars): new method
16050 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16052 * call message directly through LyXView instead of through LyXFunc
16053 * BufferView2.C: adjust
16054 * BufferView_pimpl.C: adjust
16055 * FontLoader.C: adjust
16057 * bufferview_funcs.C: adjust
16058 * converter.C: adjust
16059 * figureForm.C: adjust
16060 * importer.C: adjust
16062 * lyx_gui_misc.C: adjust
16063 * lyxfunc.C: adjust
16066 + more files in subdirs
16068 * lyxparagraph.h (size): move up int file
16071 * adjust all uses of Assert to lyx::Assert.
16073 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16074 lyxfunctional in namespace lyx
16075 * layout.C (hasLayout): ditto
16078 (delete_layout): ditto
16079 (NumberOfClass): ditto
16080 * converter.C (GetFormat): ditto
16085 * bufferlist.C (getFileNames): ditto
16086 (emergencyWriteAll): ditto
16089 * MenuBackend.C (hasSubmenu): ditto
16092 * BufferView_pimpl.C (getInsetByCode): ditto
16094 2001-04-18 Juergen Vigna <jug@sad.it>
16096 * vspace.C (asLatexString): fixed the 100% problem.
16098 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16100 * lyxfunc.C (Dispatch):
16102 * minibuffer.h: add a few std:: qualifiers
16104 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * minibuffer.[Ch]: reimplement so that commands is initiated and
16107 run from lyxfunc, simplified som handling, and made the completion
16108 and history code for complete. wip.
16110 * lyxfunc.C (processKeySym): call message
16111 (miniDispatch): new temporary method
16112 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16113 (LFUN_MESSAGE): implement
16114 (LFUN_MESSAGE_PUSH): implement
16115 (LFUN_MESSAGE_POP): implement
16116 (initMiniBuffer): the initial/defualt minibuffer message.
16118 * lyxfont.[Ch]: inline some more getters
16120 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16122 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16124 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16125 (AutoSave): use LFUN_MESSAGE
16126 (Reconfigure): ditto
16128 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16130 * figureForm.C: use LFUN_MESSAGE
16132 * converter.C (runLaTeX): use LFUN_MESSAGE
16134 * bufferview_funcs.C: use LFUN_MESSAGE
16136 (changeDepth): ditto
16138 * bufferparams.h: use boost::
16140 * bufferlist.h: inherit privately from noncopyable
16142 * bufferlist.C (loadLyXFile): remove some commented code.
16144 * buffer.C (runChktex): use LFUN_MESSAGE
16146 * ShareContainer.h: inherit privately from noncopyable
16148 * ParagraphParameters.[hC] (depth): inline it.
16150 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16152 (message): new method
16153 (messagePush): ditto
16154 (messagePop): ditto
16155 (show): init minibuffer
16156 (showState): direct call
16158 * LaTeX.[Ch]: inherit privately from noncopyable
16159 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16160 instead of WriteStatus.
16162 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16164 * BufferView_pimpl.C (buffer): don't init minibuffer
16165 (workAreaButtonPress): use LFUN_MESSAGE
16166 (workAreaButtonRelease): ditto
16167 (savePosition): ditto
16168 (restorePosition): ditto
16169 (MenuInsertLyXFile): ditto
16170 (workAreaExpose): don't init minibuffer
16171 (update): remove commented code, simplify
16173 * BufferView2.C (openStuff): use LFUN_MESSAGE
16174 (toggleFloat): ditto
16177 (copyEnvironment): ditto
16178 (pasteEnvironment): ditto
16183 (updateInset): remove some commented code
16185 * lastfiles.h: inherit privately from noncopyable
16188 * lyx_main.h: ditto
16190 * lyxlex_pimpl.h: ditto
16192 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16193 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16194 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16196 * LyXAction.h: inherit privately from noncopyable, add methods
16197 func_begin, func_end, returning iterators to the func map.
16199 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16200 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16201 (func_begin): new method
16202 (func_end): new method
16204 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16206 (copySelection): ditto
16207 (pasteSelection): ditto
16209 * BufferView.C: whitespace change
16210 * BufferView.h: inherit privately from noncopyable
16212 2001-04-16 Allan Rae <rae@lyx.org>
16214 * tabular-old.C (l_getline):
16215 * spellchecker.C (sc_check_word):
16216 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16217 an unrecognised preprocessor directive. So ensure they're wrapped.
16219 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16221 * src/exporter.C (Export): Give an error message when path to file
16224 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16226 * LaTeX.C (deplog): Always check that foundfile exists.
16228 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16231 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16233 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16235 * tabular.[Ch] (getLabelList): implement new method
16237 * minibuffer.h: comment ouf setTiimer
16239 * minibuffer.C (ExecutingCB): constify res
16240 (peek_event): constify s
16241 (Set): constify ntext
16242 (Init): constify nicename
16244 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16246 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16247 (savePosition): use two params to Minibuffer::Set
16248 (restorePosition): ditto
16250 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * lyx_main.C: include language.h
16254 * Makefile.am (lyx_main.o): add language.h
16256 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16262 * CutAndPaste.C: include gettext.h
16264 * lyxfont.h: remove old hack with ON and OFF.
16267 * lyxfont.h: do not include language.h...
16272 * bufferview_funcs.C:
16278 * paragraph.C: ... but do it here instead
16280 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16282 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16284 * tabular.C: small reformat
16286 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16289 (BreakParagraph): ditto
16290 (SetOnlyLayout): ditto
16293 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16296 * lastfiles.C: removed most using decl, add std:: where needed
16298 * buffer.C: ws changes
16300 * MenuBackend.C (class compare_format): put into anon namespace
16301 (expand): constify label, names, action, action2
16304 * text.C (SingleWidth): constify font
16305 (IsBoundary): constify rtl2
16306 (GetVisibleRow): constify ww
16308 * LaTeX.C (deplog): constify logfile
16310 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16312 (workAreaExpose): constify widthChange, heightChange
16314 * lyxrow.C (par): moved
16317 * lyxrow.h: as inlines here
16319 * lyxfont.h (shape): moved from lyxfont.C
16320 (emph): moved from lyxfont.C
16322 * lyxfont.C (LyXFont): use initialization list for all
16324 (shape): move to lyxfont.h as inline
16325 (emph): move to lyxfont.h as inline
16328 2001-04-04 Juergen Vigna <jug@sad.it>
16330 * vspace.C: had to include stdio.h for use of sscanf
16332 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16335 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16336 independent of xforms.
16338 2001-04-02 Juergen Vigna <jug@sad.it>
16340 * spellchecker.C: fixed namespace placing!
16342 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16344 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16345 the LyXParagraph * is 0.
16347 2001-03-29 Juergen Vigna <jug@sad.it>
16349 * vspace.C: added support for %, c%, p%, l%.
16350 (stringFromUnit): added helper function.
16351 (asLatexString): changed to give right results for the %-values.
16353 * buffer.C: convert the widthp in a width%.
16355 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16357 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16360 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16361 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16363 * lyx_cb.[Ch]: see above.
16365 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16369 * lyx.[Ch]: replaced by figure_form.[Ch].
16373 * lyxfunc.C: changed headers associated with above changes.
16375 2001-03-27 Juergen Vigna <jug@sad.it>
16377 * BufferView_pimpl.C: set the temporary cursor right!
16379 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16381 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16383 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16385 * LString.h: removed "using std::getline"!
16387 * BufferView_pimpl.C (Dispatch): changes due to changes in
16388 InsetInclude::Params.
16390 * buffer.C (tag_name): removed redundant break statements as they were
16391 producing lots of warnings with my compiler.
16393 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16395 * LString.h: add "using std::getline" when using the real <string>.
16397 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16399 * buffer.C: removed bitset usage.
16400 PAR_TAG moved to an anonymous name space.
16401 (tag_name): new funtion, also in the anonymous namespace.
16402 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16403 (makeDocBookFile): clean code. Completed transition from string arrays
16405 (SimpleDocBookOnePar): code clean.
16407 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16409 * tabular.C: add some comments.
16411 2001-03-22 Juergen Vigna <jug@sad.it>
16413 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16414 compatibility read a bit and fixed bug with minipage in different
16417 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16419 * buffer.C (pop_tag): removed.
16420 (push_tag): removed.
16421 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16422 array replaced with vector. Added support for CDATA sections.
16423 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16425 (makeDocBookFile): XML conformant declaration of CDATA section,
16426 fixed bug related to <emphasis> in the first paragraph char.
16427 (sgmlOpenTag): exclude empty tags.
16428 (sgmlCloseTag): ditto.
16430 * buffer.h (pop_tag): removed.
16431 (push_tag): removed.
16433 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16435 * language.h (Languages): added size_type and size().
16437 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16439 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16440 response on compability reading of minipages. One probliem is that
16441 the old usage of minipages was «flertydig»
16443 * several files here and in subdirs: don't use static at file
16444 scope use anon namespaces instead.
16446 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16448 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16449 LaTeX output. This is necessary for Literate document
16452 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16454 * buffer.C: insert hfill when needed.
16456 * tabular.C (l_getline): use string::erase, small whitespace change.
16458 * BufferView_pimpl.C: try the anon namespace.
16459 * WorkArea.C: ditto
16461 2001-03-16 Juergen Vigna <jug@sad.it>
16463 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16464 otherwise it won't open options-dialogs.
16466 * buffer.C: honor pextraWidth(p) on converting minipages.
16468 * tabular.C (l_getline): changed the functions to strip trailing \r.
16470 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16472 * BufferView_pimpl.C:
16473 * minibuffer..C: added "using SigC::slot" declaration.
16475 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16477 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16483 * paragraph.C: ditto
16485 * lyxtext.h: NO_PEXTRA
16487 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16489 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16490 * ParameterStruct.h: ditto
16491 * ParagraphParameters.h: ditto
16492 * lyxparagraph.h: ditto
16494 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16496 * buffer.C: add compability for minipage alignment.
16497 (latexParagraphs): remove unwanted pextra check.
16499 * several files: remove CXX_WORKING_NAMESPACES
16501 * buffer.C (pop_tag): tie is in namespace boost
16503 * BufferView.h: noncopyable is in namespace boost
16505 * lyx_main.h: ditto
16508 * lastfiles.h: ditto
16509 * bufferlist.h: ditto
16510 * ShareContainer.h: ditto
16512 * LyXAction.h: ditto
16515 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16517 * Merging changes from BRANCH_MVC back into HEAD.
16519 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16521 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16523 * BufferView_pimpl.C: change from intl.C
16527 * Makefile.am: move combox.*
16533 * intl.C: remove dialog (covered by prefs)
16535 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16537 * lyxfunc.C (Dispatch): removed redundant break statement.
16539 2001-03-14 Juergen Vigna <jug@sad.it>
16541 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16543 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16545 * buffer.C: add hack to fix compability reading of minipages.
16547 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16549 * buffer.C (getLists): Cleanup.
16551 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * lyxfont.C (update): don't honor toggleall on font size.
16555 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16559 * Makefile.am: moved to frontends/xforms/
16563 * BufferView_pimpl.C: changes for moved mathpanel
16565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16567 * gettext.h: fix gettext_init() in --disable-nls
16569 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16571 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16573 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16576 * lyx.h: strip external form
16578 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16580 * BufferView_pimpl.C: add comment, destroySplash()
16582 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16584 * BufferView_pimpl.C:
16588 * lyxfunc.C: use re-worked insetinclude
16590 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16592 * buffer.C: add using std::stringstream.
16594 * lyx_cb.C: readd using std::ios.
16596 * buffer.C: add using std::map.
16598 * BufferView_pimpl.C: add using std::vector.
16600 * ShareContainer.h: add std:: to swap.
16602 * buffer.h: add some typedefs
16603 * buffer.C (getLists): use them
16604 (getLists): renamed from getTocList.
16605 add a counter for the different float types and use it in the
16607 (getLists): use the same counter for the NEW_INSETS and the "non"
16610 * lyx_cb.h: remove unused items, includes, using etc.
16612 * ShareContainer.h: remove some commented code, add more comments
16613 and "documentation".
16615 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16617 * buffer.C (getTocList): make the list also when NEW_INSETS is
16620 * buffer.h: remove TocType
16622 * buffer.C (getTocList): change to return a map<string,
16623 vector<TocItem> >, implement for dynamic number of list.
16625 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16626 * text2.C (PasteSelection): adjust
16627 * CutAndPaste.C (pasteSelection): adjust
16629 * FloatList.C (FloatList): update from the new_insets branch.
16630 * Floating.[Ch]: ditto
16631 * LaTeXFeatures.C: ditto
16633 * lyxlex_pimpl.C: ditto
16635 * paragraph.C (Last): remove when NEW_INSETS is defined.
16637 * other file: changes because of the above.
16639 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16641 * lyxparagraph.h: rename next to next_, previous to previous_,
16642 make them private for NEW_INSETS. Rename Next() to next(),
16643 Previous() to previous().
16645 * other files: changes because of the above.
16647 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16650 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16653 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16655 * main.C (main): pass lyx_localedir to gettext_init().
16657 * gettext.h: remove locale_init and gettext_init macros
16659 * gettext.C (locale_init): new function
16660 (gettext_init): new function
16662 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16665 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16667 * Moved credits to frontends:
16668 * credits.[Ch]: removed
16669 * credits_form.[Ch]: removed
16670 * lyx_gui_misc.C: remove credits stuff
16673 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16675 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16677 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16678 unneeded destructor.
16680 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16681 a standalone pointer again.
16683 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16685 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16691 * ToolbarDefaults.C:
16700 * BufferView_pimpl.C: use new file dialog in GUII
16703 * lyx_cb.C: remove LayoutsCB to Toolbar
16705 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * ShareContainer.h (get): add std:: qualifier
16709 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16711 * ShareContainer.h: define a proper ShareContainer::value_type
16712 type (and use typename to please compaq cxx)
16714 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16716 * lyxparagraph.h: move serveral local vars to
16717 ParameterStruct/ParagraphParameters., use ShareContainer in
16718 FontTable., make vars in FontTable private and add getter and
16721 * paragraph.C: changes because of the above.
16723 * lyxfont.h: remove copy constructor and copy assignment. (the
16724 default ones is ok), move number inside FontBits. move inlines to
16727 * lyxfont.C: add number to initializaton of statics, move several
16728 inlines here. constify several local vars. some whitespace
16729 cleanup. Dont hide outerscope variables.
16731 * Spacing.h: add two new constructors to match the set methods.
16733 * ShareContainer.h: new file, will perhaps be moved to support
16735 * ParameterStruct.h: new file
16737 * ParagraphParameters.h: new file
16739 * ParagraphParameters.C: new file
16741 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16742 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16744 * BufferView_pimpl.C: ParagraphParameter changes.
16745 * buffer.C: Likewise.
16746 * bufferview_funcs.C: Likewise.
16747 * text.C: Likewise.
16748 * text2.C: Likewise.
16750 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16752 * lyxfind.C (LyXReplace): do not redefine default argument in
16754 (IsStringInText): ditto
16755 (SearchForward): ditto
16756 (SearchBackward): ditto
16758 2001-03-06 Juergen Vigna <jug@sad.it>
16760 * lyxfind.C (IsStringInText): put parentes around expressions.
16762 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16764 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16766 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16768 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16770 * stl_string_fwd.h: add comment
16772 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16775 * tabular.C: remove unused DocBook methods
16781 killed DO_USE_DEFAULT_LANGUAGE
16783 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16785 * lyx_gui.C: do not include language.h.
16787 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16788 arguments in function implementation.
16790 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16792 * BufferView_pimpl.C: add <ctime>
16794 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16796 * BufferView_pimpl.C: add using std::find_if
16798 2001-02-27 José Matos <jamatos@fep.up.pt>
16800 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16803 2001-02-11 José Matos <jamatos@fep.up.pt>
16805 * buffer.C (makeDocBookFile): command styles now have a parameter as
16806 "title" by default.
16808 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16810 * layout_forms.[Ch]: removed
16811 * lyx_cb.[Ch]: out character
16812 * lyx_gui.C: out character
16813 * lyx_gui_misc.C: out character
16814 * bufferview_funcs.C: : out character,
16815 added toggleall as parameter in ToggleAndShow
16817 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16819 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16821 * text2.C (SetCurrentFont): Disable number property at boundary.
16823 2001-02-26 Juergen Vigna <jug@sad.it>
16825 * lyxfunc.C (getStatus): added a string argument override function so
16826 that this is correctly called from LyXFunc::Dispatch if it contains a
16827 do_not_use_argument which is used!
16828 (Dispatch): added check for "custom" export and call appropriate func.
16830 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16832 * lyxrc.C: Add language_command_local, language_use_babel and
16833 language_global_options.
16835 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16837 * buffer.C (makeLaTeXFile): Use language_use_babel and
16838 language_global_options.
16840 2001-02-23 Juergen Vigna <jug@sad.it>
16842 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16843 which works with LyXText and putted it inside BufferView. Here now we
16844 only call for that part the BufferView::Dispatch() function.
16846 * BufferView.C (Dispatch): added.
16848 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16849 functions which needs to use a LyXText over from LyXFunc.
16850 (MenuInsertLyXFile): added
16851 (getInsetByCode): added
16852 (moveCursorUpdate): added
16853 (static TEXT): added
16855 2001-02-22 Juergen Vigna <jug@sad.it>
16857 * BufferView_pimpl.C (update): call a status update to see if LyXText
16860 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16862 * vc-backend.C (revert): implement for CVS
16863 (getLog): implement for CVS
16865 2001-02-20 Juergen Vigna <jug@sad.it>
16867 * text2.C (ClearSelection): added BufferView param for inset_owner call
16869 * lyxfunc.C (TEXT): added this function and use it instead of
16870 directly owner->view()-text of getLyXText().
16872 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16874 * src/layout_forms.C: out preamble
16875 * src/layout_forms.h: out preamble
16876 * src/lyx_cb.C: out preamble
16877 * src/lyx_cb.h: out preamble
16878 * src/lyx_gui.C: out preamble
16879 * src/lyx_gui_misc.C: out preamble
16880 * src/lyxfunc.C: connect with guii preamble
16882 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16884 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16886 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16888 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16889 whether to run bibtex.
16891 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16893 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16895 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16897 * Makefile.am (lyx_SOURCES): removed bibforms.h
16899 * vspace.h: doxygen
16901 * text.C (GetVisibleRow): make several local vars const
16903 * tabular.C: small cleanup.
16905 * lyxserver.C (callback): use compare instead of strncmp
16907 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16908 inlines to after class or to paragraph.C
16910 * lyxfont.h: remove friend operator!=
16912 * converter.h: move friend bool operator< to non friend and after
16915 * combox.h: small cleanup
16917 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16918 to inlines after class def.
16920 * buffer.C (pop_tag): use string operations instead of strcmp
16922 * bmtable.c: doxygen, small cleanup
16924 * LaTeX.h: remove friend operator==
16926 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16938 * BufferView_pimpl.C:
16939 * BufferView.[Ch]: remove cruft
16941 2001-02-14 Juergen Vigna <jug@sad.it>
16943 * lyxfunc.C: removed #if 0 unused code
16945 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16947 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16949 * text2.C (SetSelection): added a BufferView * parameter
16951 2001-02-13 Juergen Vigna <jug@sad.it>
16953 * lyxfunc.C (Dispatch): fixed protected blank problem.
16954 * BufferView2.C (protectedBlank): added LyxText * parameter.
16956 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16957 (AppendColumn): same as above for column_info.
16959 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16960 (moveCursorUpdate): use a LyXText param for support of InsetText.
16962 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16963 (tripleClick): ditto
16965 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16967 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16969 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16971 * text2.C (SetSelection): set correct update status if inset_owner
16972 (ToggleFree): ditto
16974 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16976 * tabular.C: remove some commented code.
16978 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16980 * BufferView_pimpl.C: call hideSplash()
16982 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16985 * bibforms.h: remove
16988 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16989 add LFUN_CHILD_CREATE
16991 * counters.h: fix tiny typo
16996 * lyx.C: move splash to frontends/xforms/
16998 * lyx_gui_misc.C: move Include and Bibform to frontends
17000 * lyxvc.h: clarify comment
17002 * vspace.C: tiny housekeeping
17004 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17006 * text.C (PrepareToPrint): RTL Fix.
17008 * paragraph.C (GetUChar): New method.
17009 (String): Use GetUChar.
17011 * buffer.C (asciiParagraph): Use GetUChar.
17013 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17015 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17017 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17020 * buffer.C: rename to getLogName(), handle
17021 build log / latex log nicely
17023 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17026 * MenuBackend.h: remove support for reference menuitem type.
17028 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17030 * BufferView_pimpl.C: housekeeping
17031 * BufferView_pimpl.h:
17036 * minibuffer.h: move Timeout GUI-I
17038 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17040 * lyxrc.C (read): Update converters data-structures.
17042 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17044 * LaTeX.h (operator!=): add operator != for Aux_Info
17046 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17048 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17050 * LaTeXLog.C: deleted, useful code moved to Buffer
17053 * buffer.C: new function getLatexLogName()
17059 * lyxfunc.C: use frontends for LaTeX and VC logs
17061 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17063 * LaTeX.h: yet another std:: that Allan forgot.
17065 * Variables.C (set): renamed from isset(), because this clashes
17066 with some HP-UX macros (grr).
17068 2001-02-06 Allan Rae <rae@lyx.org>
17070 * LaTeX.h: Another bug fix. Missing std:: this time.
17072 2001-02-04 Allan Rae <rae@lyx.org>
17074 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17075 floats problem. I've left it commented out because it's not quite
17076 correct. It should also test that the current object is a table or
17077 figure inset. But I haven't gotten around to figuring out how to do
17078 that. I *think* it'll be something like: "table" == inset.type()
17080 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17083 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17085 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17086 all the citation/databases/styles in the auxilary file.
17087 (run): Rerun latex if there was a babel language error.
17089 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17091 * text.C (Backspace): Preserve the font when changing newline char
17093 (BreakParagraph): If the cursor is before a space, delete the space.
17095 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17097 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17099 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17100 new argument (code).
17101 (ChangeCitationsIfUnique): New method.
17103 * paragraph.C (GetPositionOfInset): Handle bibkey.
17105 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17107 * BufferView_pimpl.h: change type of Position::par_pos to
17108 LyXParagraph::size_type.
17110 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17112 * BufferView_pimpl.C (savePosition, restorePosition): Write
17113 messages to minibuffer.
17115 2001-01-28 José Matos <jamatos@fep.up.pt>
17117 * buffer.C (makeDocBookFile): adds support for document language.
17118 A silly restriction on the name of LatexCommand types where removed.
17119 Added support for CDATA sections, allows to chars unescaped, used
17120 among others in code, to avoid escape < and >.
17122 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17124 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17125 saved positions instrad of a stack. Furthermore, a position is
17126 stored using paragraph id/paragraph position.
17128 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17129 Remove LFUN_REF_BACK.
17131 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17133 * converter.C (dvipdfm_options): New method.
17135 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17137 * vspace.C (isValidLength): Fix for empty input string.
17139 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17141 * LyXAction.C (init): change description of LFUN_FIGURE to
17144 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17146 * LaTeX.C: add using directive
17148 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17150 * MenuBackend.C (expand): Fix the sorting of the formats.
17152 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17154 * lyx_main.C: tiny error message fix
17156 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17158 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17159 calling fl_initialize(). This fixes the problem with ',' as
17160 decimal separator in text files.
17162 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17164 * trans.C (process): Fix the keymap bug.
17166 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17168 * LaTeX.C (scanAuxFiles): New method. Provides support for
17169 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17170 (scanLogFile) Scan for "run BibTeX" messages.
17172 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17173 OT1 font encoding. Also, load the aecompl package if the ae
17176 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17178 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17180 * texrow.C (increasePos): turn two error messages into debug
17183 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17185 * LaTeX.C (scanAux): Handle the \@input macro.
17186 (runBibTeX): Use scanAux().
17188 * language.C (latex_options_): New field.
17190 * LaTeXFeatures.C (getMacros): Add language macros.
17192 * buffer.C (makeLaTeXFile): Small fix.
17194 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17198 * text2.C: add a using directive.
17200 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17205 * lyxfunc.C: kill LyXBell.
17207 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17209 * text.C (IsBoundary): Remove the error message
17211 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17213 * lyxrc.C (setDefaults): Correct initialization value for
17216 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17218 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17221 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17222 and GotoNextNote().
17224 * src/LyXAction.C: Added reference-next.
17226 * text.C (InsertChar): Use contains instead of strchr.
17228 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17230 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17232 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17233 alignment commands (when needed).
17235 * text.C (InsertChar): Add ':' to number separator chars.