1 2005-02-15 Angus Leeming <leeming@lyx.org>
3 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
4 can be used meaningfully in a comparison.
6 2005-02-13 André Pönitz <poenitz@gmx.net>
8 * bufferview_funcs.C (coordOffset): improve cursor drawing
10 2005-02-13 André Pönitz <poenitz@gmx.net>
12 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
13 * Cursor.C (dispatch): use fixIfBroken
14 * lyxfunc.C (getStatus): use fixIfBroken
16 2005-02-15 Angus Leeming <leeming@lyx.org>
18 * lyx_main.C (error_handler):
20 * lyxrc.C (setDefaults):
22 #include "environment.h".
24 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
26 2005-02-15 Angus Leeming <leeming@lyx.org>
28 * lyxserver.C (startPipe): squash MSVC warning "local variable
29 'fd' used without having been initialized".
31 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * BufferView_pimpl.C: revert accidental commit.
35 2005-02-14 André Pönitz <poenitz@gmx.net>
37 * dociterator.[Ch]: new member forwardPosNoDescent(),
38 which doesn't enter nested insets.
39 * text2.C (setFont): use forwardPosNoDescent() instead
40 of ForwardPos() (fixes crash on font change).
42 2005-02-13 Angus Leeming <leeming@lyx.org>
44 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
45 only if lyxrc.path_prefix is not empty.
47 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * bufferparams.C (readGraphicsDriver): prevent crash
51 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * text2.C (setCounter): check for inInset() == 0
55 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
58 but use update() to get correct screen display; use convert
59 instead of istringstream.
60 (getStatus): handle LFUN_GOTO_PARAGRAPH
62 * lyxfunc.C (dispatch, getStatus): do not handle
63 LFUN_GOTO_PARAGRAPH here.
65 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
67 * text3.C (dispatch): size() -> depth()
69 * text2.C: remove some debug output
71 * paragraph.C: ws changes only
73 * lyxfunc.C (getStatus): size() -> depth()
75 * dociterator.h (clear, push_back, pop_back, internalData,
76 operator[], resize, empty): new functions
77 Make StableDocIterator and operator== be friends. Don't inherit
78 from std::vector use a privat class variable slices_ instead.
81 * dociterator.C: update because of not inheriting from std::vector
82 anymore. Call explictly to slices_ instead. Use depth() instead of
83 size() and top() instead of back()
85 * cursor.C: chagne size() -> depth and back() -> top(). Also
86 remove some direct operator[](i) calls in favour of foo[i]
87 (getFont): remove some dead code
89 * bufferview_funcs.C (coordOffset): size() -> depth()
91 * buffer.C: ws changes only
93 * CutAndPaste.C (eraseSelection): back() -> top()
95 * BufferView_pimpl.C (selectionRequested): back() -> top()
97 * BufferView.C (setCursor): size() -> depth()
99 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
101 * text3.C (cursorPrevious): return true if depm changed something
103 (dispatch): rename sl to oldTopSlice, remove moving use the new
104 NoUpdate func attrib instead. Make sure that needsUpdate is set
105 for function that have NoUpdate, but where depm might have changed
108 * text2.C (cursorLeft): make us return true if depm changed
111 (cursorUpParagraph): ditto
112 (curosrDownParagraph): ditto
113 (cursorUp, cursorDown): ditto, make sure to read comments in code
114 (deleteEmptyParagraphMechanism): remove an assert, also return
115 true if just a single char was deleted.
117 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
118 cursor that we modify, to avoid modifying an active cursor before
119 we call setCursor. This allows depm to run. Also return true if
120 depm deleted something.
122 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
123 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
124 cursorDownParagraph, cursorPrevious and cursorNext, return true if
125 something was changed in the buffer because of them (ie. depm run)
127 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
128 debug messages. Make update by default be false. Make sure that
129 the result of update is retained throught several calls down to
132 * LyXAction.h: add a new func_attrib: NoUpdate
134 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
135 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
136 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
138 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
140 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
143 bv_->owner(), bv_->buffer() by direct references to the private
145 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
146 (getStatus): isSavedPosition() is in BufferView::Pimpl.
147 (fitCursor): center() is in BufferView::Pimpl.
148 (getStatus, trackChanges, dispatch): no need for a temporary buf
150 (fitCursor, workAreaDispatch): use workarea().workheight()
152 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
154 * CutAndPaste.C (pasteSelectionHelper): fix a crash
156 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
158 * buffer.C: format up to 241.
159 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
160 break if pasting into ERT
161 * lyxfunc.C (getStatus): suppress mathpanel and
162 LFUN_DIALOG_SHOW_NEW_INSET in ERT
164 2005-02-01 Angus Leeming <leeming@lyx.org>
166 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
168 2005-02-01 Angus Leeming <leeming@lyx.org>
170 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
171 calling fs::is_directory().
173 2005-01-31 Angus Leeming <leeming@lyx.org>
175 * lyx_main.C (priv_exec): specify explicitly the relative location
176 of the top level build directory when run in-place.
178 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
181 LyXText containing the cursor, not the top-level one.
183 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
185 (insertStringAsLines): rename par to pit; use temporary variable
186 par to hold a Paragraph; do not store par.layout() in a variable,
187 since the pointer may die when breaking paragraphs; pass pars to
188 breakParagraph() instead of Buffer::paragraphs().
190 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
192 * lyxlex_pimpl.h: #include <fstream>.
194 * BufferView.[Ch] (getLyXText): add a const version.
196 * BufferView_pimpl.C: add debug aids.
201 * paragraph_funcs.h: add commentary explaining what the class does.
204 * coordcache.[Ch]: add lots of commentary.
205 (startUpdating, doneUpdating): debug aids.
206 (arrays, insets, parPos, getParPos): accessors to private data.
208 * cursor_slice.[Ch] (text): add a const version.
209 * dociterator.[Ch] (text, innerText): add const versions.
211 * lyxtext.h (breakParagraph): change the keep_layout arg to a
214 * paragraph.C (getRow, pos2ros): add asserts.
216 * paragraph.h: add commentary. Lots of.
218 * paragraph.[Ch] (metrucs, draw): removed.
221 * rowpainter.[Ch]: const-correct changes.
223 * text.C: various obvious clean-ups. Removal of ancient cruft.
226 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
228 * vc-backend.C (find_file): rewrite to use boost.filesystem
231 * main.C (main): set default name check for boost.filesystem to
234 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
237 (actOnUpdatedPrefs): ditto
239 * lyx_main.C (init): rewrite to use boost.filesystem
240 (queryUserLyXDir): ditto
242 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
243 (getContentsOfAsciiFile): ditto
245 * lastfiles.C (readFile): rewrite to use boost.filesystem
247 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
249 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
252 * buffer.C (Buffer): adjust for destroydir
253 (getLogName): rewrite to use boost.filesystem
255 (save): use fs::copy_file (from fs_extras)
257 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
259 * LaTeX.C (run): rewrite to use boost.filesystem
260 (scanAuxFiles): ditto
261 (handleFoundFile): ditto
263 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
265 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
267 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
269 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * lyxlayout.[Ch]: change some vars from float to double
273 * buffer.C (readFile): make a local var const
275 * Several files: use convert<> instead of atoi,strToXXX and friends
277 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * LaTeXFeatures.[Ch]: Add a static list packages_ that
280 holds the contents of packages.lst. New functions getAvailable
281 and isAvailable to parse and check that list, resp.
285 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
287 * bufferparams.[Ch]: new param output_changes.
289 * Buffer.C: increase file format to 240.
290 Use output_changes and isVailable.
294 * paragraph_pimpl.C: Use output_changes and isVailable.
296 2005-01-23 Angus Leeming <leeming@lyx.org>
298 * output_latex.C: #include "insetbibitem.h", rather than
299 forward declare function bibitemWidest.
301 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
303 * lyx_main.C (init): make it compile on the Mac.
305 2005-01-20 Angus Leeming <leeming@lyx.org>
307 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
308 (setLyXMisc): (char string literal) != (char string literal) is
309 performing a comparison on the addresses. Convert one operand
310 explicitly to string to guarantee expected behaviour.
313 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
316 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
318 * output_plaintext.C: remove unneeded #include gzstream.h.
320 2005-01-20 Angus Leeming <leeming@lyx.org>
322 * SpellBase.h: rename some of the elements of the Result enum.
329 * pspell.C (check): ditto
331 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
333 * buffer.C: add #include <fstream>.
335 * lyx_main.C (init): Compile fix.
337 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
339 2005-01-20 Angus Leeming <leeming@lyx.org>
341 * mover.h: change commentary to reflect the changed meaning of
344 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * output_linuxdoc.C (linuxdocParagraphs): silence warning
348 * lyxfind.C (MatchString::operator()): remove bogus semicolon
350 2005-01-20 Angus Leeming <leeming@lyx.org>
352 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
353 printing diagnostic data by not dereferecing an iterator past the
356 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
358 * buffer.C (readHeader): use "&&" rather than "and".
360 * lyxserver.h (inPipeName, outPipeName): make these const.
362 2005-01-19 Angus Leeming <leeming@lyx.org>
364 * lyx_main.C (error_handler, init): protect SIGHUP with
365 #ifdef SIGHUP guards.
367 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
371 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * text.C (setHeightOfRow): add a margin at the top and bottom of
374 the document (bug 1761)
376 2005-01-17 Angus Leeming <leeming@lyx.org>
378 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
379 with "python ". Workaround for a brain-dead Windows.
381 2005-01-16 Angus Leeming <leeming@lyx.org>
383 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
384 for MacOSX and Windows to use prependEnvPath.
385 Strip out the hard-coded block to add elements to the PATH for
386 MacOSX and replace it with a call to prependEnvPath using the
387 contents of LyXRC::path_prefix.
388 (queryUserLyXDir): strip out the code to run reconfigure, instead
389 returning a boolean indicating the necessity to do so.
390 (reconfigureUserLyXDir): contains the code to reconfigure the
391 user support directory. Is now called after the various LyXRC data
392 files have been read.
394 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
396 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * converter.[Ch] (convert): take a new parameter try_default. Use
399 a default converter (imagemagick) if try_default is true.
401 2005-01-13 Angus Leeming <leeming@lyx.org>
403 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
405 (write): output LyXRC::cygwin_path_fix as necessary.
407 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
410 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
412 2005-01-12 Angus Leeming <leeming@lyx.org>
414 * lyx_main.C (init): set the PATH variable to include the
415 directory containing the LyX binary when running on Mac or Windows.
417 2005-01-12 Angus Leeming <leeming@lyx.org>
419 * lyx_main.C (init): remove cruft that purports to set the locale
420 dir. It doesn't and is not needed anyway.
422 2005-01-10 Angus Leeming <leeming@lyx.org>
424 * Makefile.am: remove the lyx_main.C special casing.
426 * BufferView_pimpl.C:
432 * messages.C: use support/package.h to provide the paths to the
433 various directories used by LyX.
435 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
437 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
438 layout if pasting into an empty paragraph)
440 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
442 * tex-accent.C: add <string>
444 2005-01-06 José Matos <jamatos@lyx.org>
446 * ParagraphParameters.C (write): put every parameter in its own line.
447 * paragraph.C (write): reduce number of consecutive empty lines exported.
448 * buffer.C (LYX_FORMAT): increase file format to 239.
450 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
452 * everywhere: change support/tostr.h -> support/convert.h
454 * tabular.C: make all write_attributes templates, tostr -> convert
456 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
457 (emptyTag): and -> &&, and fix type for ret from getChar
458 (getFirstWord): fix type for ret from getChar
459 (onlyText): and -> &&
460 (simpleDocBookOnePar): and not -> && !, fix type for ret from
463 * toc.C (goTo, action):
464 * text3.C (dispatch):
465 * text.C (currentState):
466 * tex-accent.C (DoAccent):
469 * lyxfunc.C (menuNew):
470 * lyxfinc.C (replace):
471 * counters.C (laberItem):
472 * bufferview_funcs.C (font2string):
473 * bufferparams.C (writeFile):
474 * buffer.C (readFile):
476 * MenuBackend.C: tostr -> convert
478 * LaTeX.C (runMessage): fix format
479 (scanAuxFiles): tostr -> convert
481 * BufferView_pimpl.C (savePosition): fix format
482 (restorePosition): ditto
485 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
487 * Spacing.[Ch]: New method getValueAsString().
491 * ParagraphParameters.C:
494 * text3.C: store/read spacing value as string.
496 * rowpainter.C: change float value (spacing_val) to double.
498 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
499 broken custom document spacing).
501 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
503 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
504 namespace, also more use of temp references and const
506 * cursor.[Ch] (getStatus): move to lyxfunc.C
508 * bufferparams.C: reformat slightly
510 * bufferview_funcs.C (font2string): constify arg
516 * buffer_funcs.C: (many funcs): constify arg on function
517 definitions, also make more local vars const, also add ASSERTS on
520 * buffer.C (LYX_FORMAT): put const in correct place
521 (many funcs): constify arg on function definitions, also make
522 more local vars const
524 * aspell_local.h: remove "struct" from typdef setup
526 * aspell.C (check): make word_ok const
527 (nextMiss): simplify slightly
530 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * lyxrc.[Ch]: store all float values as strings.
533 use int (not float) for lyxrc.dpi.
535 2005-01-04 Angus Leeming <leeming@lyx.org>
537 * lyx_cb.C (Reconfigure):
538 * lyx_main.C (queryUserLyXDir):
539 to run the <system_lyxdir>/configure correctly on Windows, prefix
540 the path to the script with "sh " when generating the string that
541 is passed to system().
543 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
545 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
547 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
549 * lyxlength.C (asLatexString): get rid of setprecision
551 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * text2.C (setLayout): remove unused variable endpit.
554 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
556 * paragraph.C (onlyText): remove unused variable style.
558 * cursor.C (bruteFind): remove unused variables beg and end.
560 * Makefile.am (dist_noinset_DATA): not needed anymore
562 * cheaders/*: remove.
564 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
566 * text3.C: fix LFUN_MATH_MODE.
568 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * buffer_funcs.C (countWords): new function. Counts words between
573 * BufferView_pimpl.C (getStatus, dispatch): handle
576 * LyXAction.C (init):
577 * lfuns.h: add LFUN_WORDS_COUNT.
579 2004-12-19 Angus Leeming <leeming@lyx.org>
581 * buffer.C (save): s/slashify_path/internal_path/.
583 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * lyxfind.C (findChange): do not search for end of pars, because
586 the change tracker cannot handle this (fixes bug 1719).
588 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
590 * paragraph.[Ch] (autoBreakRows): remove
592 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
594 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
595 avoid using the paragraph one
597 * text2.C (LyXText, insertStringAsLines): adjust
599 2004-12-16 Angus Leeming <leeming@lyx.org>
603 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
605 2004-12-14 Angus Leeming <leeming@lyx.org>
607 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
609 * bufferlist.C (emergencyWrite):
610 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
613 2004-12-14 Angus Leeming <leeming@lyx.org>
615 * main.C: (main): no longer pass pointers to os::init.
617 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
619 * undo.C (textUndoOrRedo): simplify logic, fix a crash
620 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
622 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
625 * text3.C: remove selection_possible global flag
627 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
629 * text2.C (getSelectionSpan): remove
630 (changeDepth, changeDepthAllowed): adjust
632 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
634 * Makefile.am (BOOST_LIBS): use boost variables
636 2004-12-03 José Matos <jamatos@lyx.org>
638 * buffer.C: format up to 238.
640 2004-12-03 José Matos <jamatos@lyx.org>
642 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
644 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
646 * cursor.C (goUpDown): remove call to idxUpDown2
648 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
650 * tabular.[Ch]: use size_t-like types for cell, row and column
653 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * lyxfunc.C (getStatus): do not lose previous information when
656 calling BufferView::getStatus; do not set a default "Command
657 disabled" message at the beginning, but just before returning.
659 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
661 * cursor.h (getStatus): add better comment from src/cursor.C
663 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * text3.C (getStatus): return false when the lfun is not handled
667 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
669 * broken_headers.h: remove
671 * Makefile.am (lyx_SOURCES): remove broken_headers.h
673 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
675 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
678 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
679 top_y_, merge fitcursor with update
680 (updateScrollbar, scrollDocView, fitCursor, center, update): new
683 (workAreaDispatch): adapt to new coord scheme
684 (redoCurrentBuffer): remove
686 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
688 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
691 * coordcache.[Ch]: add paragraph cache and helpers
693 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
696 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
697 (targetX, setTargetX): introduce
699 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
700 baseline -> ascent, as the rest of lyx
702 * lyxtext.h: remove redoParagraphs, updateParPositions,
703 fullRebreak, redoParagraphInternal. move dist to anon namespace in
704 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
705 have ascent/descent (ascent is ascent of first par)
707 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
710 * paragraph.[Ch]: unify dimension handling with the rest of lyx
712 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
714 * pariterator.C: fix infinite loop introduced in par->pit renaming
716 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
717 in insets and LyXText, draw two off-screen paragraphs using
718 NullPainter, and adapt to new coord scheme
722 * text3.C: adapt lfun handlers to the new coord scheme, which
723 means: there's only guaranteed coord information for onscreen pars
724 plus one above and one below. This implies that one can do search
725 from y coordinates in the range [-1,workHeight]
727 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
729 * rename a lot of InsetOld to InsetBase
731 2004-11-25 Angus Leeming <leeming@lyx.org>
733 * BufferView_pimpl.C:
735 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
737 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
740 call BufferView::getStatus if LCursor::getStatus did nothing
741 (setStatusMessage, getStatusMessage): removed.
743 * FuncStatus.C (message): new methods. Used to provide an error
744 message indicating why a command is disabled.
745 (clear, |=, FuncStatus): update for message.
747 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * lyxfunc.C (dispatch): always call sendDispatchMessage
751 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
754 * BufferView_pimpl.C:
768 * undo.C: par->pit renaming
770 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
772 * tabular.C (cellstruct): use initialization, store a shared_ptr
773 to insettext instead of the insettext directly, adjust to fit.
774 (operator=): new function
776 (rowstruct): use initialization
777 (columnstruct): use initialization
778 (ltType): use initialization
781 * lyxlength.h (swap): new function
783 * LColor.[Ch] (operator=): use the common semantics
785 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * lyxfind.C (findNextChange): update the bufferview after setting
790 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
793 number of InsetOptArgs has already been inserted.
795 * output_latex.C (latexOptArgInsets): new method. This outputs all
796 the optarg insets, up to the limit defined in the layout file.
797 (optArgInset): removed
798 (TeXOnePar): call latexOptArgInsets; correctly update texrow
800 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * paragraph.C (isLetter): remove special spellchecker-related
803 code; return true also for digits
804 (isWord, isKomma): remove
806 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
807 * lyxfind.C (MatchString()): use isLetter instead of isWord
809 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
811 * pariterator.h (operatir=): comment out un-implemented member
814 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
817 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
819 * lyxfont.h: include LColor.h to satisfy concept checks.
821 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
823 * pariterator.h: add typdefs for value_type, difference_type,
824 pointer and reference to satisfy concept checks. Also add default
825 constructor for same reason.
827 * pariterator.C (operator++): add post-increment operator to
828 satisfy concept checks.
830 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
833 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
835 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
836 checks. Also rename base_type to BaseType to follow naming
839 * FloatList.h: include Floating.h to satisfy concept checks.
841 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * lyxfunc.C (getStatus): when the origin of the request is menu or
844 toolbar, and the LyXView does not have focus, do as if there was
847 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
848 FuncRequest to individual entries of LFUN_SEQUENCE
850 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * output_latex.C (TeXOnePar): override runparams.moving_arg
853 according to the needprotect value of the current paragraph (bug
856 * paragraph.C (simpleTeXOnePar): no need to override
857 runparams.moving_args here
859 2004-11-14 John Spray <spray_john@users.sourceforge.net>
861 * vspace.C: fix off-by-one-error, related to fix #1682
863 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
865 * lengthcommon.C: a more general fix for bug 1682
867 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
869 * text.C (backspace): fix crash
871 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
873 * format.[Ch] (getFormatFromFile): new method
874 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
876 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
880 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * lyxfunc.C (dispatch): remove the verbose argument
883 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
886 * kbmap.C (defkey): set the origin of func to KEYBOARD
888 * MenuBackend.C (MenuItem):
889 * ToolbarBackend.C (add): set the origin of func to UI
891 * funcrequest.[Ch]: add origin member, which indicates which part
892 of LyX requests an action
894 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * converter.C (move): don't lie in the error message
897 * converter.h (isReachable, move): document
899 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
901 * buffer.C: remove unused using lyx::support::atoi
902 * paragraph_funcs.C: ditto
904 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
906 * bufferlist.C (exists): use bind and equal_to instead of
909 * lyxtextclasslist.C (NumberOfClass): ditto
911 * cursor.C (insert): use for_each instead of explicit for loop
913 * bufferlist.C (getFileNames): use std::transform and
914 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
916 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
919 * buffer.C (changeLanguage): use for_each instead of explicit for
921 (hasParWithID): implement using getParFromID
923 * LaTeXFeatures.C: ws change only
925 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
928 * BufferView_pimpl.C (trackChanges): use for_each instead of
931 2004-11-04 André Pönitz <poenitz@gmx.net>
934 * undo.C (textUndoOrRedo): fix crash when creating undo information.
936 * dociterator.C (asDocIterator): use hard assert again.
938 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * lyxlength.C (asLatexString): rewrite so that it does not use
943 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * text3.C (specialChar, dispatch): make sure cursor moves to the
946 right after inserting an inset
948 2004-11-02 José Matos <jamatos@lyx.org>
950 * output_docbook.C (docbook):
951 * paragraph.C (getID):
952 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
953 garantee that the output is always legal.
955 * tabular.C (docbook):
956 * outputprams.[Ch]: remove mixed contents.
958 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
960 * text2.C (setCounter): prevent endless loop
962 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
964 * exporter.C (copyFile): use the mover instead of support::copy()
965 * exporter.C (Export): pass format and latex name to copyFile()
966 * exporter.h (addExternalFile): document
967 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
969 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
971 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
973 2004-10-30 José Matos <jamatos@lyx.org>
975 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
976 text and no inset or font change. This allows to use CDATA
977 sections just for the whole paragraph.
979 2004-10-30 José Matos <jamatos@lyx.org>
981 * paragraph.C (getFirstWord): remove unused variable.
983 2004-10-30 José Matos <jamatos@lyx.org>
985 * paragraph.C (getFirstWord): the content should always be escaped
987 (simpleDocBookOnePar):
988 * output_docbook.C (makeEnvironment): replace reference to CDATA
991 2004-10-30 José Matos <jamatos@lyx.org>
993 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
995 2004-10-30 José Matos <jamatos@lyx.org>
997 * output_docbook.C (makeParagraphs):
998 * paragraph.[Ch] (emptyTag): for docbook and company, if the
999 standard paragraph has only a given type of content drop the wrapper.
1001 2004-10-29 José Matos <jamatos@lyx.org>
1003 * output_docbook.C (makeEnvironment):
1005 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1007 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1009 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1010 (cleanID): sanitize any id.
1012 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * buffer.C, lyxlex_pimpl.C:
1015 * lyxlex_pimpl.C (setFile):
1016 s/getExtFromContents/getFormatFromContents/
1018 2004-10-28 José Matos <jamatos@lyx.org>
1020 * output_docbook.C (makeEnvironment): move id to broadest possible
1023 * sgml.C (openTag): apply substitution of <> for all attributes.
1025 2004-10-28 José Matos <jamatos@lyx.org>
1027 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1028 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1029 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1031 * sgml.[Ch]: new version for open and closeTag for paragraph and
1032 for strings. Now they handle the ids of paragraphs.
1034 2004-10-26 Angus Leeming <leeming@lyx.org>
1036 * Makefile.am: add mover.[Ch].
1038 * converter.C (convert, move): use the new Movers to move external
1039 files to the temp directory.
1041 * lyx_main.C (init): ensure that the global system_movers data
1044 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1047 * mover.[Ch]: new files, defining a Mover as a utility to move an
1048 external file between directories and, if necessary, manipulate this
1049 file using a helper script.
1051 2004-10-25 José Matos <jamatos@lyx.org>
1053 * output_docbook.C (makeCommand): merge two if's that tested the
1056 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * sgml.C (escapeString): fix warning in a better way
1060 2004-10-25 José Matos <jamatos@lyx.org>
1062 * sgml.C (escapeString): import the require boosts header file for
1063 tie, and avoid a signed unsigned comparison.
1065 2004-10-25 José Matos <jamatos@lyx.org>
1067 * sgml.h: add #include <string>
1069 2004-10-25 José Matos <jamatos@lyx.org>
1071 * sgml.[Ch] (escapeString): new function to escape all the string.
1073 2004-10-24 José Matos <jamatos@lyx.org>
1075 * paragraph.[Ch] (getFirstWord): new function to get the first
1076 word. Useful for description.
1077 (simpleDocBookOnePar): remove depth argument, add another that
1078 says where to start the paragraph.
1080 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1081 use the new functions to fix cleanly the support for descriptions.
1083 2004-10-24 José Matos <jamatos@lyx.org>
1085 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1086 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1087 * output_linuxdoc.C (linuxdocParagraphs):
1088 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1089 add buffer as argument.
1091 2004-10-24 José Matos <jamatos@lyx.org>
1093 * output_docbook.C (makeEnvironment, searchEnvironment): place
1094 CDATA inside paragraphs and fix scope for listitems.
1096 2004-10-24 José Matos <jamatos@lyx.org>
1098 * output_docbook.C: remove using statement for stack.
1100 2004-10-23 José Matos <jamatos@lyx.org>
1102 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1103 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1104 docbook. The new scheme is recursive and makes use of iterators, the
1105 same as latex export works.
1106 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1107 directly with the paragraph contents. This code was moved up to
1108 output_docbook.C (docbookParagraphs).
1109 * sgml.C (openTag, closeTag): removed unneeded newlines.
1110 (closeEnvTags) removed.
1112 2004-10-23 André Pönitz <poenitz@gmx.net>
1114 * undo.C (textUndoOrRedo):
1115 * dociterator.C (asDocIterator): work around crash
1117 * cursor.C (getStatus): replace ASSERT by more verbose error message
1118 and manual correction of the problem. Should increase stability
1119 while providing more sensible information.
1121 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1123 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1125 * bufferlist.C (previous, next): new methods
1128 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1130 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1132 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1133 entities to preamble.
1135 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1137 * messages.C (Pimpl): strip off translation context information
1139 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1142 the cursor is correct (bug 1694)
1144 2004-10-13 José Matos <jamatos@lyx.org>
1146 * output_docbook.C (docbookParagraphs): fix closing tags in the
1147 end of the document.
1149 2004-10-09 José Matos <jamatos@lyx.org>
1151 * buffer.C: format up to 237.
1152 * bufferparams.C (write): use tostr to convert booleans to strings.
1154 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1156 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1158 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1160 * LaTeX.C: implement use of babel language in xindy.
1162 2004-10-05 José Matos <jamatos@lyx.org>
1164 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1165 Add new translators to help reading and writing the lyx file.
1167 2004-10-05 José Matos <jamatos@lyx.org>
1169 * ParagraphParameters.C (read):
1170 * text.C (readParToken): replace nexToken by more appropriate lex
1173 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1175 * LaTeX.C (runMakeIndex):
1176 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1177 (usually 'makeindex') configurable.
1179 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1180 with a variable rather than with a number.
1182 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1184 * output_latex.C (TeXOnePar): make sure font setting is the first
1185 thing that gets output (and the last at the end). Should fix bug
1188 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1190 * pch.h: use proper signal include
1192 * LaTeX.h: Use preferred calling of Boost.Signal
1195 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1197 * pch.h: dont include <boost/function/function0.hpp>
1199 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1201 * paragraph_pimpl.h: remove usage of ShareContainer
1203 * paragraph_pimpl.C: remove initialization of ShareContainer.
1205 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1209 * BufferView.C (putSelectionAt): change the semantics when
1210 backwards == true: now, this just swaps cursor and anchor wrt the
1213 * BufferView.h (putSelectionAt): add some documentation
1215 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1216 make sure backwardChar is done at least once (to avoid getting
1218 (findNextChange): use putSelectionAt in the forward direction
1219 (operator()): use Paragraph::isWord
1221 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1223 * Spacing.C (set): c_str fix
1225 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * lyx_cb.C (Reconfigure): quote the name of configure script in
1228 case it contains spaces
1230 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1234 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1235 (BOOST_LIBS): use top_buildir when looking for the file
1237 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * pch.h: do not use include boost/format.hpp, multiple symbols
1240 will result (gcc bug)
1243 2004-08-23 José Matos <jamatos@lyx.org>
1245 * bufferparams.C (readToken): fix reading of the author field.
1247 2004-08-20 José Matos <jamatos@lyx.org>
1249 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1251 2004-08-20 José Matos <jamatos@lyx.org>
1253 * lyxlex.[Ch] (findToken): remove function.
1255 * ParagraphParameters.C (findToken):
1256 * bufferparams.C (findToken): replace call for previous function
1257 with local copy. This local function has one more argument, the
1258 read string argument.
1260 2004-08-16 José Matos <jamatos@lyx.org>
1262 * ParagraphParameters.C (write):
1263 * Spacing.C (writeFile):
1264 * bufferparams.C (writeLaTeX):
1265 * lyx_cb.C (Reconfigure):
1266 * paragraph.C (write):
1267 * tabular.C (write): remove unnecessary space at end of line.
1270 2004-08-16 José Matos <jamatos@lyx.org>
1272 * text.C (readParagraph): remove debug message.
1274 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1276 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1279 * output_plaintext.C (asciiParagraph): set depth correctly
1281 * outputparams.h: add member depth
1283 * paragraph_funcs.C (ownerPar): remove.
1285 * text2.C (setCounter): remove first_pit; comment out some
1286 non-working code that uses ownerPar
1288 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1291 2004-08-16 José Matos <jamatos@lyx.org>
1293 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1294 For the same level of importance use the same chanel to report problems.
1295 (read): add code to deal with \begin_body and \end_body.
1298 2004-08-15 José Matos <jamatos@lyx.org>
1300 * lyxlex.C (getString): fix comment, buffer::readBody is now
1301 buffer:readDocument.
1303 * tex-strings.C (string_papersize): Default -> default,
1304 Custom -> custom, for consistency with other options.
1306 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1310 * Makefile.am: support pch
1312 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * text.C (readParToken): remove the static LyXFont variable and
1315 pass it as a parameter instead. This fixes a nasty bug where an
1316 inset will be inserted with a bad font in some situations
1317 (readParagraph): adapt
1319 * text2.C (setCounter): reduce number of calls to pars_[pit]
1321 * text.C (singleWidth): add an assert, fix a test
1323 * rowpainter.C (paintText): reduce number of calls to singleWidth
1325 * paragraph.C (isHfill):
1326 (isNewline): ws only
1328 2004-08-14 André Pönitz <poenitz@gmx.net>
1333 * lyxtext.h (several functions): use a Paragraph & argument
1336 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1340 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1342 * text.C (singleWidth): remove useless test
1344 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1346 * tabular.h: remove bogus comments
1348 * tabular.C (getDescentOfRow):
1349 (isPartOfMultiColumn): add assertions
1351 * lyxlength.C (inPixels): remove #warning
1353 2004-08-14 André Pönitz <poenitz@gmx.net>
1355 * paragraph.h: inline getChar()
1357 * BufferView.h: remove unused declarations
1359 2004-08-14 José Matos <jamatos@lyx.org>
1361 * Buffer.[Ch] (readDocument): new name for old readBody.
1362 * Buffer.C: new file format, new keywords: \begin_document,
1363 \begin_header, \begin_body, \end_body.
1365 * bufferparams.C (readToken): replace all calls to lex.nextToken
1366 by lex.next(). Do the same to eatLine except where really needed.
1368 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1369 line when writing to the lyx file.
1371 * output_plaintext.C (asciiParagraph): fix Bibliography style
1374 * text.C (read): fix end of file handling.
1376 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1378 * MenuBackend.C (Menu::operator[]): new method to access
1379 individual menu items
1380 (Menu::hasFunc): new method. search for an item that corresponds
1382 (MenuBackend::specialMenu): new method
1383 (MenuBackend::expand): if a special menu has been set, skip
1384 entries whose func() appears in this menu
1386 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1388 * text3.C: use Debug::DEBUG a bit more
1390 * text.C (leftMargin): try to simplify a tiny bit change var x to
1391 l_margin. Dont output the wide margins always.
1392 (rightMargin): no margin in inner texts
1394 * rowpainter.h (nestMargin): new func
1395 (changebarMargin): new func
1396 (rightMargin): new func
1398 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1402 * factory.C (createInset): modify setDrawFrame
1404 * cursor.C: use Debug::DEBUG a bit more
1406 2004-08-14 André Pönitz <poenitz@gmx.net>
1409 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1410 cache for all insets in (at least partially) visible (top-level)
1413 * BufferView_pimpl.C: reset external coord cache before every update.
1414 This means the coord cache only contains valid entries.
1416 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1419 * BufferView_pimpl.C (getInsetByCode): move function out of class
1420 and change in to a template in anon namespace. Also fix to do what
1423 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1426 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1428 (breakParagraph): rename par to par_offset and use a local
1429 reference. Add code to keep the language over a rebreak.
1430 (breakParagraphConservative): rename par to par_offset, use a
1432 (mergeParagraph): ditto
1434 (isFirstInSequence): ditto
1435 (outerFont): rename pit to par_offset
1437 * paragraph.C: ws change
1438 * paragraph.h: ditto
1442 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1447 * paragraph.C (simpleTeXOnePar): when we have a \item with
1448 optional argument, enclose the argument with curly brackets (in
1449 case it contains a closing square bracket)
1453 * text3.C (checkInsetHit): constify
1455 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1458 documents (bug 1629)
1460 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 Fix toggling of collapsable insets with the mouse (bug 1558)
1464 * lyxfunc.C (dispatch): adapt to LCursor changes
1466 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1467 make sure that dispatch is not invoked twice
1469 * cursor.C (needsUpdate): new method
1470 (dispatch): return void
1471 (result): new method, to access the DispatchResult of the cursor.
1473 2004-08-13 José Matos <jamatos@lyx.org>
1475 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1477 2004-08-13 André Pönitz <poenitz@gmx.net>
1479 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1481 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1484 2004-08-12 André Pönitz <poenitz@gmx.net>
1486 * text3.C: take out the 'cursor right' form insertInset and only
1487 do it in those places when it is really needed. Fixes crash on
1490 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1492 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1494 * BufferView_pimpl.C (setBuffer): initialize the current font of
1495 the underlying LyXText
1497 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * kbsequence.C (print): use UI native formatting for menu
1502 * text.C (insertChar): call Paragraph::insertChar with a font
1505 * paragraph.C (insertInset, insertChar): the version that takes a
1506 LyXFont argument is now a wrapper around the other one (the
1507 opposite used to be true).
1509 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1510 argument. Font setting is done in Paragraph now.
1512 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1514 * outputparams.h: add new members intitle and lang.
1516 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1517 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1519 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1521 * text3.C (dispatch): remove special handling of button 4 and 5,
1522 it is now taken care of in the frontend code.
1524 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1526 * Spacing.h: add <string> (STLPort compile fix)
1528 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1530 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1532 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1534 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1537 * converter.C (showMessage): inherit from unary_function, make
1540 * buffer.C (writeFile): initialize retval
1542 * InsetList.h: rename private variable list to list_
1543 * InsetList.[Ch]: adjust accordingly.
1545 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1547 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1548 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1549 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1550 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1551 * ParagraphParameters.C, LaTeXFeatures.C: replace
1552 "support/std_sstream.h" with <sstream>
1554 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1556 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1557 * lyxsocket.C (LyXServerSocket): ditto
1558 (serverCallback): ditto
1560 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1562 * LaTeXFeatures.C: check release date when loading jurabib.
1564 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1566 * lyxserver.C (startPipe): call register_socket_callback
1567 (endPipe): call unregister_socket_callback
1569 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1571 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1572 (LyXServerSocket): register the callback
1573 (LyXServerSocket): unregister the callback
1574 (fd): delete function
1575 (serverCallback): improve error checking and setup the callbacks.
1576 (dataCallback): change arg to fd.
1577 (writeln): new func (copied fro the client socket) used for server
1579 (LyXDataSocket): simplify
1580 (~LyXDataSocket): close ann unregiser callback
1581 (server): delete function
1582 (fd): delete function
1583 (readln): small changes, improve some std::string usage
1584 (writeln): constify a bit
1586 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1591 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1593 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1594 after it has been populated
1596 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * text2.C (insertInset): move cursor when inserting inset.
1600 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * kbmap.C (findbindings): a couple of new methods. returns a
1603 container of kb_sequence objects. The real work is done by the
1604 private recursive version
1605 (printbindings): uses findbindings to print out a bracketed list
1606 of bindings (renamed from findbinding).
1608 * MenuBackend.C (binding): use kb_keymap::findbindings
1610 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1612 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1614 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1616 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * paragraph.C (isWord): return true on insets that report
1621 * text.C (getWord): use Paragraph::isWord to decide what is in a
1622 word and what is not; fix bug 1609.
1624 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1626 * tex-strings.C: add "none" to string_paperpackages[], fixes
1627 off-by-one-error in the paperpackage selection.
1630 * tex-strings.[Ch]: char const * string[n]
1631 -> char const * const string[]
1633 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1636 command, return early.
1638 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1640 * debug.h: add DEBUG to enum and fix size of ANY.
1642 * debug.C: add support for Debug::DEBUG
1643 (showTags): cast errorTags.level to unsigned int
1645 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1646 (redoCurrentBuffer): ditto
1647 (updateScrollbar): ditto
1648 * cursor.C (dispatch): ditto
1649 * text2.C (setLayout): ditto
1651 (updateCounters): ditto
1653 (deleteEmptyParagraphMechanism): ditto
1655 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1657 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1658 annotations to cleanup the Makefile slightly.
1660 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1662 * lyxrc.C: do not set user_email to a default value but use empty
1663 instead. The entry used to be translated, which does not work
1664 since at the point where lyxrc is constructed there is no
1665 translation service available
1667 * messages.C (getLocaleDir): remove and use directly
1668 lyx_localedir() instead
1670 2004-06-02 Angus Leeming <leeming@lyx.org>
1672 Fix crash caused by dereferencing null pointer 'exportdata' in
1673 OutputParams by creating a new ExportData variable on the heap,
1674 storing it in a boost::shared_ptr.
1675 The crash was triggered when generating an Instant Preview
1676 of an external inset.
1678 * Makefile.am: add outputparams.C
1680 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1681 (c-tor): allocate memory to it.
1683 * exporter.C (c-tor): associated changes.
1685 2004-06-01 Angus Leeming <leeming@lyx.org>
1687 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1688 contains data before calling isInset(0). (Bug 1513.)
1690 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1692 * exporter.C (checkOverwrite): new method
1693 * exporter.C (copyFile): new method
1694 * exporter.C (Export): copy referenced files to the document dir
1695 * exporter.[Ch]: new class ExportedFile
1696 * exporter.[Ch]: new class ExportData. Contains currently the
1697 names of referenced external files
1698 * outputparams.h: add exportdata member.
1700 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1702 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1705 2004-05-19 Angus Leeming <leeming@lyx.org>
1710 * lyxfunc.C: small changes due to the introduction of namespace
1711 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1713 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1715 * text3.C (dispatch): supress update when only moving the cursor
1716 * cursor.C (selHandle): remove commented code
1718 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1720 * paragraph.C (startTeXParParams): correct column count
1721 * CutAndPaste.C (pasteSelection): remove const_cast
1722 * output_docbook.C (docbookParagraphs): remove const_cast
1723 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1724 const_cast and return ParagraphList::const_iterator
1725 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1726 * output_plaintext.C (writeFileAscii): remove const_cast
1727 * paragraph.[Ch] (simpleTeXOnePar): make const
1728 * paragraph_funcs.C (outerPar): use const iterators
1729 * paragraph_pimpl.C (validate): use const iterators
1730 * text.C (setHeightOfRow): use const iterators
1732 2004-05-17 Angus Leeming <leeming@lyx.org>
1735 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1737 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1738 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1739 if the citation engine has changed.
1741 2004-05-14 José Matos <jamatos@lyx.org>
1743 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1744 if the textclass does not provide it. Have it different for sgml and
1746 support the language of document.
1747 * output_docbook.C (docbookParagraphs):
1748 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1749 first anchor as the id of the paragraph, remove special case code.
1750 * sgml.C (escapeChar): escape only < & >.
1752 2004-05-14 Angus Leeming <leeming@lyx.org>
1754 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1755 dependencies on src/frontends/controllers/biblio.h. Define a
1756 CiteEngine_enum wrapper class to enable the enum to be forward
1759 2004-05-12 Angus Leeming <leeming@lyx.org>
1761 * buffer.C: up LYX_FORMAT to 234.
1762 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1763 use_numerical_citations with a single biblio::CiteEngine cite_engine
1765 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1767 2004-05-13 José Matos <jamatos@lyx.org>
1770 * converter.C (Converter, readFlags): add xml member.
1771 * outputparams.h: add XML flavor.
1772 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1774 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * lyxfunc.C (dispatch):
1777 (getStatus): fix handling of LFUN_SEQUENCE
1779 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1781 * debug.C (showLevel): do not forget the end-of-line marker
1783 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1785 * kbmap.C (read): do not stop parsing a bind file when an error
1788 2004-04-29 Angus Leeming <leeming@lyx.org>
1793 * text2.C: wrap a bunch of #warning statements
1794 inside #ifdef WITH_WARNINGS blocks.
1796 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1798 * buffer.C: increment format to 233.
1800 2004-04-28 Angus Leeming <leeming@lyx.org>
1802 * BufferView_pimpl.C:
1805 s/updateToolbar()/updateToolbars()/
1806 s/Toolbar.h/Toolbars.h/
1808 2004-04-28 Angus Leeming <leeming@lyx.org>
1810 * BufferView.[Ch] (c-tor):
1811 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1812 No longer passes these data to the WorkArea generator.
1814 2004-04-28 Angus Leeming <leeming@lyx.org>
1816 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1818 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1820 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1822 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1824 * output_latex.C (TeXEnvironment): make sure that there is a line
1825 break before \end{foo} for the last paragraph of a document
1826 (TeXOnePar): if the paragraph is at the end of the document (or
1827 inset) and the language has to be reset, then make sure that the
1828 line break is _before_ the language command, not after (fixes bug
1829 1225); also make sure that the language reset command is the first
1830 thing after the paragraph (to ensure proper nesting of
1831 environments and thus fix bug 1404)
1833 2004-04-21 John Levon <levon@movementarian.org>
1836 * ToolbarBackend.C: make "name" be a programmatic name
1837 and a gui_name field.
1839 * lyxfunc.C: display the minibuffer on M-x
1841 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1846 2004-04-19 Angus Leeming <leeming@lyx.org>
1848 * BufferView_pimpl.C (setBuffer): changed preview interface.
1850 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1853 2004-04-19 John Levon <levon@movementarian.org>
1855 * BufferView_pimpl.C:
1856 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1858 2004-04-05 Angus Leeming <leeming@lyx.org>
1860 * text.C (redoParagraphs): add call to updateCounters(), thereby
1861 fixing the missing "Figure #:" label from the caption of a
1864 2004-04-13 Angus Leeming <leeming@lyx.org>
1866 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1867 cursor is clicked out of an inset.
1869 2004-04-13 Angus Leeming <leeming@lyx.org>
1871 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1872 than an InsetOld one.
1874 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1876 * format.[Ch]: add editor to Format
1877 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1878 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1880 2004-04-08 André Pönitz <poenitz@gmx.net>
1882 * metricsinfo.h: remove PainterInfo::width member
1884 2004-04-08 Angus Leeming <leeming@lyx.org>
1886 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1887 "\providecommand" rather than "\newcommand", thereby preventing
1888 clashes with packages that define "\boldsymbol" themselves.
1891 2004-04-08 Angus Leeming <leeming@lyx.org>
1893 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1894 thereby squashing an unnecessary warning.
1896 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1898 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1901 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1903 * BufferView.C (setCursor): call redoParagraph (some insets could
1905 (putSelectionAt): remove the 'double update' trick
1907 * BufferView_pimpl.C (fitCursor): call refreshPar
1908 (workAreaDispatch): remove an uneeded update call
1909 (dispatch): remove some manual update calls
1911 * cursor.[Ch]: remove cached_y_, updatePos
1912 (selHandle): set noUpdate when appropriate
1914 * lyxfunc.C (dispatch): track if we need an update
1916 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1918 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1919 (paintSelection): cheap optimization, do not call cursorX when not
1921 (paintPars): change signature
1924 (paintTextInset): adjust
1928 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * lengthcommon.C: compilation fix: remove explicit array size from
1931 unit_name[] and friends
1933 2004-04-05 Angus Leeming <leeming@lyx.org>
1935 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1937 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1938 present only for the preferences dialog.
1939 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1941 2004-04-05 Angus Leeming <leeming@lyx.org>
1943 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1944 to enable the frontends to export changes to lyxrc correctly.
1946 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1948 2004-04-07 André Pönitz <poenitz@gmx.net>
1950 * cursor.[Ch] (selClear, adjust): remove math
1952 * cursor_slice.C: more agressive assert
1955 * BufferView_pimpl.C: rework mouse event dispatch
1962 2004-04-05 André Pönitz <poenitz@gmx.net>
1964 * cursor.[Ch] (valign, halign...): remove unneeded functions
1966 2004-04-05 Angus Leeming <leeming@lyx.org>
1968 * lyxlength.[Ch] (unit_name et al.): const-correct.
1970 2004-04-05 Angus Leeming <leeming@lyx.org>
1972 * BufferView_pimpl.C:
1981 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1983 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1985 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1987 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1989 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1990 * BufferView_pimpl.[Ch] (getStatus)
1991 * BufferView.[Ch] (getStatus): add
1992 * lyxfunc.C (getStatus): move lfuns handled in
1993 BufferView::dispatch to te function above
1994 * Cursor.C (setSelection): set selection() = true
1996 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1998 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2000 2004-03-31 Angus Leeming <leeming@lyx.org>
2002 * lyxfunc.C (dispatch): Fall through to the generic
2003 Dialogs::show("preamble").
2005 2004-03-31 Angus Leeming <leeming@lyx.org>
2007 * lyxfunc.C (dispatch): Fall through to the generic
2008 Dialogs::show("spellchecker").
2010 2004-03-31 Angus Leeming <leeming@lyx.org>
2012 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2015 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2020 * insetiterator.[Ch]:
2025 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2027 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2029 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2030 insets where we are putting the cursor.
2032 2004-03-31 Angus Leeming <leeming@lyx.org>
2035 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2037 * lyxrc.[Ch] (read, write): overloaded member functions taking
2038 a std::[io]stream arguments.
2040 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2042 2004-03-31 Angus Leeming <leeming@lyx.org>
2044 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2045 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2047 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2048 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2050 2004-03-31 Angus Leeming <leeming@lyx.org>
2052 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2053 the LFUN_ALL_INSETS_TOGGLE code.
2055 2004-03-30 Angus Leeming <leeming@lyx.org>
2057 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2058 has died. Fall through to the generic Dialogs::show("document").
2060 2004-03-30 Angus Leeming <leeming@lyx.org>
2063 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2064 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2066 * lyxfunc.C (getStatus, dispatch): define the actions for these
2067 lfuns. Little more than a cut and pste job from ControlDocument.C
2069 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2071 2004-03-30 Angus Leeming <leeming@lyx.org>
2074 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2075 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2077 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2078 open/closed state of ollapsable insets. Usage:
2080 all-inset-toggle <state> <name>, where
2081 <state> == "open" || "closed" || "toggle" and
2082 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2084 * lyxtext.h, text2.C (toggleInset): removed.
2086 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2087 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2088 now passes LFUN_INSET_TOGGLE to the found inset.
2090 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2091 is now invoked as "all-insets-toggle toggle branch".
2093 2004-03-30 Angus Leeming <leeming@lyx.org>
2097 * pariterator.[Ch]: added/corrected header blurb.
2099 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2101 * dociterator.[Ch]: add an inset_ member
2102 (backwardPos): implemented
2103 (backwardPos, forwardPos): use inset_ when the stack is empty.
2104 (doc_iterator_begin, doc_iterator_end): implemented
2105 * pariterator.[Ch]: adjust, add begin, end
2106 * insetiterator.[Ch]: adjust, add begin, end
2110 * BufferView_pimpl.C:
2111 * CutAndPaste.C: adjust
2113 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2115 * buffer.C: increment file format to 232.
2116 * LaTeXFeatures.C: add bibtopic package.
2117 * bufferparams.[Ch]: param \use_bibtopic.
2119 * lyxrc.[Ch]: add lyxrc bibtex_command
2120 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2122 * buffer.C: increment file format to 231.
2124 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2126 * dociterator.C: implement forwardPar
2127 * iterators.[Ch]: remove, replaced by
2128 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2130 * BufferView_pimpl.C:
2133 * bufferview_funcs.C:
2139 * Makefile.am: adjust
2141 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2143 * CutAndPaste.C (pasteSelection): fix 2 crashes
2144 (eraseSelection): fix a crash
2145 * paragraph_funcs.C: remove a warning
2147 2004-03-28 Angus Leeming <leeming@lyx.org>
2150 * LyXAction.C (init): new LFUN_PRINT.
2152 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2154 2004-03-27 Angus Leeming <leeming@lyx.org>
2157 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2159 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2161 2004-03-27 Angus Leeming <leeming@lyx.org>
2163 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2164 insetlist always contains non-null pointers to insets.
2166 2004-03-26 Angus Leeming <leeming@lyx.org>
2168 * src/BufferView_pimpl.C:
2169 * src/CutAndPaste.C:
2172 * src/output_plaintext.C:
2173 * src/outputparams.h:
2174 * src/paragraph_funcs.C:
2178 * src/frontends/controllers/ControlErrorList.C:
2179 * src/frontends/gtk/FileDialogPrivate.C:
2180 * src/frontends/gtk/GPainter.C:
2181 * src/frontends/gtk/GToolbar.C:
2182 * src/frontends/qt2/QRef.C:
2183 * src/mathed/math_scriptinset.C: squash compiler warnings.
2185 2004-03-26 Angus Leeming <leeming@lyx.org>
2187 * ispell.C (LaunchIspell::start):
2188 * lyx_cb.C (AutoSaveBuffer::start):
2189 invoke run(DontWait) rather than runNonBlocking().
2191 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2193 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2195 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2197 * kbsequence.C (print): adjust
2199 * kbmap.C (printKeySym): rename and change signature
2200 (printKey): use LyXKeySym::print()
2202 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2204 * undo.C: add using std::advance to compile for stlport
2206 2004-03-24 Angus Leeming <leeming@lyx.org>
2208 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2209 it leads to a crash when no buffer is present.
2211 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2212 Martin Vermeer <martin.vermeer@hut.fi>
2214 * lyxfunc.C (dispatch):
2215 * bufferparams.C (readToken): use the new LColor::setColor
2217 * LColor.[Ch] (setColor): new version that takes two strings as
2218 argument and creates a new color entry if necessary
2220 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2222 * buffer.C (makeLaTeXFile): if the main latex file that is
2223 processed is usually a subdocument of some master, then pretend
2224 for a while that it is actually the master
2226 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2228 * buffer.C (getLabelList):
2229 (getBibkeyList): use getMasterBuffer()
2230 (getMasterBuffer): new method. Returns the main document in the
2231 case where one is using included documents.
2233 2004-03-25 André Pönitz <poenitz@gmx.net>
2237 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2239 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2241 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2242 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2244 * ParameterStruct.h: merge with ParagraphParameters
2246 * lyxtext.h: remove LyXText::parOffset() and getPar()
2248 * text3.C: Remove all 'manual' update calls. We do now one per user
2249 interaction which is completely sufficient.
2253 * BufferView_pimpl.C:
2254 * FontIterator.[Ch]:
2256 * ParagraphParameters.[Ch]:
2261 * cursor_slice.[Ch]:
2268 * output_docbook.[Ch]:
2269 * output_latex.[Ch]:
2270 * output_linuxdoc.[Ch]:
2271 * output_plaintext.[Ch]:
2273 * paragraph_funcs.[Ch]:
2274 * paragraph_pimpl.[Ch]:
2282 * frontends/controllers/ControlDocument.C:
2283 * frontends/controllers/ControlErrorList.C:
2284 * frontends/controllers/ControlSpellchecker.C:
2287 * insets/insetbase.h:
2288 * insets/insetbibitem.C:
2289 * insets/insetbox.C:
2290 * insets/insetbranch.C:
2291 * insets/insetcaption.C:
2292 * insets/insetcharstyle.C:
2293 * insets/insetcharstyle.h:
2294 * insets/insetcollapsable.C:
2295 * insets/insetcollapsable.h:
2296 * insets/insetert.C:
2297 * insets/insetfloat.C:
2298 * insets/insetfoot.C:
2299 * insets/insetmarginal.C:
2300 * insets/insetnote.C:
2301 * insets/insetoptarg.C:
2302 * insets/insettabular.C:
2303 * insets/insettext.C:
2304 * insets/insettext.h:
2305 * insets/insetwrap.C:
2306 * mathed/math_mboxinset.C:
2307 * mathed/math_nestinset.C:
2308 * mathed/math_scriptinset.C:
2309 * mathed/math_scriptinset.h:
2312 2004-03-24 Angus Leeming <leeming@lyx.org>
2314 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2315 deal with any child processes that have finished but are waiting to
2316 communicate this fact to the rest of LyX.
2318 2004-03-24 Angus Leeming <leeming@lyx.org>
2320 64-bit compile fixes.
2322 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2323 (c-tor): pass lyx::pos_types rather than ints.
2325 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2328 * text.C (Delete): compile fix.
2329 (getPar): ensure that function declaration is the same as that in
2332 2004-03-23 Angus Leeming <leeming@lyx.org>
2334 * ispell.C (LaunchIspell):
2335 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2336 a boost::shred_ptr rather than a std::auto_ptr.
2338 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2341 handle LFUN_FILE_INSERT_*
2343 * lyxrc.C (setDefaults, getDescription, output, read):
2344 * lyxrc.h: remove ps_command
2346 2004-03-22 Angus Leeming <leeming@lyx.org>
2348 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2349 Ensure that error_handler is processed once only and that all data
2350 is saved before attempting to output any warning messages.
2352 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2354 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2356 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2358 2004-03-19 André Pönitz <poenitz@gmx.net>
2360 * cursor.[Ch] (reset): take main text inset as argument
2362 * BufferView: adjust
2363 * BufferView_pimpl.C: adjust
2365 * paragraph.[Ch]: fix completely broken operator=()
2367 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2369 * LColor.C (getFromLyXName): make sure that the color name is used
2372 2004-03-17 Angus Leeming <leeming@lyx.org>
2375 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2377 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2378 dialog and to kill a forked process.
2380 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2382 * text2.C (setCursorFromCoordinates): fix font problem
2384 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2386 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2387 bogus "rebuild cursor" code
2389 2004-03-11 André Pönitz <poenitz@gmx.net>
2391 * buffer.[Ch]: use InsetText instead of LyXText as container for
2394 * dociterator.[Ch]: drop the BufferView * member which is not needed
2395 anymore after the change to buffer.C
2397 * paragraph_funcs.C:
2401 * BufferView_pimpl.[Ch]:
2403 * cursor_slice.[Ch]: adjust
2405 * text3.C: fix bug in mathDispatch
2407 2004-03-08 André Pönitz <poenitz@gmx.net>
2409 * undo.[Ch]: use 'StableDocumentIterator' as base for
2412 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2415 * bufferparams.[Ch]: add jurabib support and param.
2417 * LaTeX.C: add FIXME/comment.
2419 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2421 * buffer.C: increment file format to 230.
2423 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2425 * cursor.C (dispatch): avoid infinite loops
2427 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2429 * rowpainter.C (paintSelection): fix x coordinates
2431 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2433 * text.C (rowBreakPoint): fix breaking before displayed insets
2435 2004-03-01 André Pönitz <poenitz@gmx.net>
2437 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2439 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2443 * BufferView_pimpl.C:
2451 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2457 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2458 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2460 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2462 * Bidi.[Ch] (computeTables): const correctness
2463 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2464 fill_hfill, fill_label_hfill and x from Row
2465 * lyxtext.h: prepareToPrint returns a RowMetrics
2466 * rowPainter.C: adjust
2467 * text.C (prepareToPrint): use width, not textWidth. adjust
2468 (redoParagraphInternal, cursorX): adjust
2469 * text2.C (getColumnNearX): adjust
2470 (init): put a default value to the top LyXText::width
2472 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2474 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2476 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2478 * lyxtext.h: add FontIterator class
2480 * text.C (FontIterator, operator*, operator->, operator++): add
2481 (rowBreakPoint, setRowWidth): adjust (fixing a
2484 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * BufferView_pimpl.C (workAreaDispatch): allow also
2487 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2489 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2491 * text.C (rowBreakPoint): fix a bug showing with very large insets
2493 2004-02-25 André Pönitz <poenitz@gmx.net>
2496 * cursor.[Ch]: move some mathed specific code to mathed
2498 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2500 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2501 use_tempdir in preferences
2502 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2504 * lyx_main.C: ensure that tempdir is valid
2505 * lyxlex.h: correct typo
2506 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2507 * paragraph.[Ch] (isMultiLingual): make const
2508 * cursor.[Ch] (openable): make const
2510 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2512 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2514 2004-02-20 André Pönitz <poenitz@gmx.net>
2516 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2518 * cursor.[Ch]: prepare for localized getStatus()
2524 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2526 2004-02-20 André Pönitz <poenitz@gmx.net>
2528 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2530 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2532 * text2.C (setCursorFromCoordinates): switch to absolute coords
2534 (cursorDown): adjust
2535 * text3.C (dispatch): adjust
2537 2004-02-16 André Pönitz <poenitz@gmx.net>
2539 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2542 * cursor_slice.[Ch]: remove unneeded acessor function
2544 * lyxtext.h: rename rtl() to isRTL()
2552 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2554 * rowpainter.C (paintSelection): coord fix
2556 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2558 * Spacing.C: compile fix
2560 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2562 * cursor.C (dispatch): restore current_ before returning
2564 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2566 * text2.C (cursorUp, cursorDown): fix coords
2569 2004-02-12 André Pönitz <poenitz@gmx.net>
2574 * text3.C: add LCursor & parameter to most cursor movement functions
2575 remove usage of LyXText::cursorRow() and cursorPar()
2577 * cursor.[Ch]: add textRow() needed members
2580 * BufferView_pimpl.C:
2583 * BufferView_pimpl.C: adjust
2585 2004-02-11 André Pönitz <poenitz@gmx.net>
2589 * BufferView_pimpl.C: shift undo/redo handling
2591 * cursor.[Ch]: fix mathed crash
2594 * lyxtext.h: move selectionAsText to LCursor
2602 * rowpainter.C: fix excessive drawing
2604 2004-02-06 André Pönitz <poenitz@gmx.net>
2607 * BufferView_pimpl.[Ch]:
2608 * text3.C: move some text specific LFUN handling
2610 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2612 * text3.C (checkInsetHit): adjust coords
2613 * text2.C (getColumnNearX): adjust coords
2614 (edit): adjust coords
2615 * text.C (getRowNearY): add two asserts
2617 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2620 * format.C: add using std::distance to compile on gcc 2.95/stlport
2622 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2624 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2626 2004-02-04 André Pönitz <poenitz@gmx.net>
2628 * BufferView.[Ch] (insertInset):
2629 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2634 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2636 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2637 on the default clause of the switch
2638 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2639 wasn't catched by LCursor::dispatch
2641 2004-02-03 André Pönitz <poenitz@gmx.net>
2644 * cursor.[Ch]: some additional asserts
2646 * undo.[Ch]: remove LyXText dependency in interface
2650 * lyxtext.h (firstPar, lastPar): remove dead functions
2655 * paragraph.[Ch]: adjust
2657 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2659 * lyxfind.C (find): fix argument order in call to ::find
2661 2004-02-02 André Pönitz <poenitz@gmx.net>
2663 * cursor.[Ch]: remove direct access to anchor
2665 * text.C: remove findText() hack
2667 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2669 * iterators.[Ch] (lockPath): remove in favour of...
2670 * BufferView.[Ch] (setCursor): this addition
2671 * BufferView.C (putSelectionAt): adjust
2672 * undo.C (performUndoOrRedo): adjust
2673 * lyxfunc.C (dispatch): adjust
2675 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2677 * iterators.C (lockPath): add a missing slice
2678 * undo.C (performUndoOrRedo): remove redundant positioning code
2680 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2682 * vc-backend.C (scanMaster): ";" -> ';'
2684 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2686 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2687 std::binary_function
2689 * lyxtextclass.C (compare_name): rename to...
2690 (LayoutNamesEqual): ...this
2692 * lyxlex_pimpl.C (compare_tags): inherit from
2693 std::binary_function, put back into anon namespace
2695 * lyxfind.C (MatchString): inherig from std::binary_function
2696 (findChange): use empty() istead of !size()
2698 * format.C (FormatNamesEqual): new functor
2705 * converter.C (compare_Converter): rename to...
2706 (ConverterEqual): ...this, and fixup a bit.
2707 (getConverter): use it, and make function const
2708 (getNumber): use it, and make function const
2712 * bufferlist.C: add using boost::bind
2714 * MenuBackend.C (MenuNamesEqual): new functor
2715 (hasMenu): use it, and make function const
2716 (hasSubmenu): use nested bind to get rid of compare_memfun.
2718 2004-01-30 André Pönitz <poenitz@gmx.net>
2720 * BufferView_pimpl.C:
2723 * cursor_slice.[Ch]:
2726 * paragraph_funcs.C:
2727 * paragraph_funcs.h:
2731 * text3.C: move some of the edit(x,y) handling to the insets
2732 some coordinate changes.
2734 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2736 * text.C: add using statements for std::advance and std::distance
2738 * paragraph.C: add using statement for std::distance
2740 * lyxfind.C: add using statement for std::advance
2742 * cursor.C (region): remove std:: from swap
2743 (openable): use nucleus in stead of operator->
2745 * BufferView.C: add using statements for std::distance and std::swap
2747 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2749 * iterators.C: Remove the pimple, move the needed structures to
2750 the header file. Create accessor for the positions stack.
2751 (asPosIterator): remove function
2753 * PosIterator.C (PosIterator): move constructors to top of file
2754 (PosIterator): reimplement the constructor taking a ParIterator in
2756 (setFrom): new function
2757 (operator!=): inline it
2759 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2761 * lyxfind.C (replaceAll): use std::advance
2763 * iterators.h: inherit from std::iterator.
2765 * PosIterator.C (advance, distance): remove
2766 * PosIterator.h: interit from std::iterator.
2768 2004-01-26 André Pönitz <poenitz@gmx.net>
2771 * BufferView_pimpl.[Ch]:
2775 * bufferview_funcs.C:
2785 * output_linuxdoc.C:
2786 * output_plaintext.C:
2788 * paragraph_funcs.[Ch]:
2789 * paragraph_pimpl.[Ch]:
2795 * text3.C: more IU: dumps most of the rest of the mathcursor
2796 implementation into cursor.[Ch]; "globalize" a bit of it.
2798 2004-01-25 Angus Leeming <leeming@lyx.org>
2800 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2802 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2804 * LaTeXFeatures.h: add nice_ and nice() const
2805 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2807 2004-01-20 André Pönitz <poenitz@gmx.net>
2810 * BufferView_pimpl.C:
2812 * bufferview_funcs.C:
2814 * cursor_slice.[Ch]:
2825 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2826 LCursor and mathcursor parts to LCursor and InsetBase.
2828 2004-01-15 André Pönitz <poenitz@gmx.net>
2830 * cursor_slice.[Ch]: add a few covienience functions
2832 * funcrequest.[Ch]: remove BufferView * member
2834 * BufferView_pimpl.C:
2841 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2843 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2845 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2846 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2848 2004-01-13 André Pönitz <poenitz@gmx.net>
2851 * lyxtext.h: hide cursor and selection anchor behind accessor function
2854 * BufferView_pimpl.[Ch]:
2856 * bufferview_funcs.C:
2866 * cursor_slice.[Ch]: some integer type changes for inset unification
2868 * lyxcursor.[hC]: remove, it's CursorSlice now.
2871 * BufferView_pimpl.[Ch]:
2872 * bufferview_funcs.C:
2878 * textcursor.[Ch]: adjust
2880 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2882 * text2.C (undoSpan): add and use
2883 * text.C (breakParagraph): use undoSpan (fix bug 578)
2886 2004-01-08 Angus Leeming <leeming@lyx.org>
2888 * BufferView_pimpl.C (MenuInsertLyXFile):
2889 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2890 * lyxfunc.C (menuNew, open, doImport):
2891 FileFilterList change to the FileDialog open and save functions.
2893 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2895 * ShareContainer.h: make isEqual and isUnique adaptable
2897 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2899 2004-01-07 Angus Leeming <leeming@lyx.org>
2902 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2904 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2906 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2907 functions replacing find, replace and replaceAll.
2909 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2910 LFUN_WORDFIND(FORWARD|BACKWARD).
2912 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2914 * text.C (breakParagraph): remove an outdated #warning
2916 2004-01-07 André Pönitz <poenitz@gmx.net>
2918 * lyxfind.C: somewhat clearer logic
2920 * text.C: prevent crash in cursorX on unitialized row cache
2922 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2924 * lyxcursor.[Ch] (operator>): add
2925 * textcursor.C (selStart, selEnd): use std::min and std::max
2927 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2929 * Chktex.C: include boost/format.hpp
2931 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2933 * InsetList.C: replace functor MathcIt with adaptable functor
2935 (insetIterator): modify accordingly
2937 * BranchList.h: move the BranchNamesEqual functor here from...
2938 * BranchList.C: ... to here
2940 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2942 (add): replace a finding loop with std::find_if.
2944 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2946 * output_docbook.C: moving LatexParam functionality into
2949 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2951 * buffer.C: increment format to 229.
2953 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2956 * lyx_sty.[Ch]: remove minipageindent_def
2962 * text3.C: remove LFUN_INSET_MINIPAGE
2964 2003-12-28 Angus Leeming <leeming@lyx.org>
2966 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2968 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2970 * text2.C (setParagraph): fix off-by-one crash
2972 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2974 * output_docbook.C: header stuff for AGU
2976 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2978 * text2.C (redoCursor): remove
2981 * BufferView_pimpl.C: remove calls to redoCursor and
2982 setCursor(cursor.par(), cursor.pos()) all around
2984 2003-12-15 Angus Leeming <leeming@lyx.org>
2986 * buffer.C: up the format to 228.
2988 2003-12-15 André Pönitz <poenitz@gmx.net>
2990 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2995 * BufferView_pimpl.C:
3004 2003-12-15 Angus Leeming <leeming@lyx.org>
3006 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3007 than getFromGUIName to manipulate the color.
3009 2003-12-14 Angus Leeming <leeming@lyx.org>
3011 * BranchList.[Ch]: minimize the API.
3012 (Branch::getBranch, getColor): now return a 'const &'.
3013 (Branch::setSelected) now returns a bool set to true if the
3014 selection status changes.
3015 (BranchList::clear, size, getColor, setColor, setSelected,
3016 allBranches, allSelected, separator): removed.
3017 (BranchList::find): new functions, returning the Branch with
3019 (BranchList::add, remove): return a bool indicating that
3020 the operation was successful.
3022 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3023 new InsetBranch::isBranchSlected member function.
3025 * LColor.[Ch]: mimimize the API.
3026 (fill): renamed as addColor and made private.
3027 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3028 versions of these functions taking a string arg have been removed.
3030 * bufferparams.C (readToken):
3031 * lyxfunc.C (dispatch):
3032 * lyxrc.C (read): changes due to the altered BranchList and
3035 * factory.C (createInset, readInset): changes due to altered
3038 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3041 * lyxfunc.C: remove insetminipage. "minipage-insert"
3042 now produces a frameless minipage box inset.
3044 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3046 * textcursor.[Ch] (selStart,selEnd): add new methods
3047 remove selection::start, end, use LyXCursor::operator<
3048 * lyxcursor.[Ch] (operator<): add
3049 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3050 * BufferView.[Ch] (unsetXSel): add
3051 * text2.C (clearSelection): use unsetXSel,adjust
3054 * rowpainter.C: adjust
3055 * bufferview_funcs.C (put_selection_at): adjust
3057 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3059 * BufferView_pimpl.C: small coord. correction
3061 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3063 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3064 dragging over the splash screen.
3066 2003-12-11 Angus Leeming <leeming@lyx.org>
3068 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3069 as it is now handled in LyXText::dispatch.
3071 * text3.C (doInsertInset): remove a level of nesting.
3073 2003-12-11 Angus Leeming <leeming@lyx.org>
3075 * factory.C (createInset): changes due to the changed interface to
3076 InsetCommandMailer::string2params.
3078 2003-12-10 Angus Leeming <leeming@lyx.org>
3080 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3081 'dialog-show-new-inset <inset name>'
3083 2003-12-10 Angus Leeming <leeming@lyx.org>
3085 * buffer.C: up the format to 227.
3087 * factory.C: the box inset is now identified simply by 'Box'.
3089 2003-12-10 Angus Leeming <leeming@lyx.org>
3091 * buffer.C: up the format to 226.
3093 * factory.C: the note inset is now identified simply by 'Note'.
3095 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3097 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3098 when a pit is enough. Standarize a couple of loops.
3100 2003-12-05 Angus Leeming <leeming@lyx.org>
3102 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3103 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3104 data to the re-worked "log" dialog.
3106 2003-12-03 André Pönitz <poenitz@gmx.net>
3112 * paragraph_funcs.C:
3114 * text2.C: use Inset::getText instead of Inset::getParagraph
3116 2003-12-03 André Pönitz <poenitz@gmx.net>
3120 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3121 InsetText::read() as LyXText::read()
3123 2003-12-02 Angus Leeming <leeming@lyx.org>
3125 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3126 type. Add a comment in the implementation that the function uses
3127 the stream's bad() function rather than fail() as the std::streams
3130 2003-12-02 André Pönitz <poenitz@gmx.net>
3132 * lyxlex.[Ch]: make interface more similar to std::stream
3134 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3136 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3138 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3140 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3142 * vspace.[Ch]: remove VSpace::NONE
3144 2003-12-01 André Pönitz <poenitz@gmx.net>
3147 * lyxtext.h: move ParagraphList member to LyXText
3148 rename LyXText::ownerParagraphs to LyXText::paragraph
3151 * bufferview_funcs.C:
3161 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3163 * undo.C: fix cursor positioning
3165 2003-12-01 John Levon <levon@movementarian.org>
3167 * BufferView_pimpl.C: fix a crash on exit with
3170 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3172 * BranchList.C: fix setSelected() method.
3174 2003-11-28 André Pönitz <poenitz@gmx.net>
3176 * ParagraphParameters.[Ch]:
3177 * ParameterStruct.h: remove space above/below from Paragraph to
3180 * BufferView_pimpl.C:
3186 * paragraph_funcs.C:
3192 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3194 * factory.C: Syntax change for CharStyles
3196 2003-11-28 André Pönitz <poenitz@gmx.net>
3201 * buffer.[Ch]: move LyXText member
3203 2003-11-28 André Pönitz <poenitz@gmx.net>
3205 * BufferView.[Ch]: make LyXText * text a private member
3207 * BufferView_pimpl.C:
3218 * output_plaintext.C: cleanup
3220 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3223 * lyxtextclass.[Ch]: parametrize SGML document header
3225 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3228 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3231 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3233 * text2.C (setFont): rework using PosIterator (no more recursive)
3234 (setCharFont): no more needed
3235 (setLayout): no more selection cursors fiddling (done by redoCursor)
3236 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3237 destroy remaining ones)
3239 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3241 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3243 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3246 * text3.C: adjust + re-allow multi par depth changes
3247 * textcursor.C: simplify a bit
3249 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3255 * src/output_docbook.C:
3256 * src/output_latex.C:
3261 * src/text2.C: Introducing a number of tags parametrizing various
3262 XML formats that we may want to support
3264 2003-11-25 André Pönitz <poenitz@gmx.net>
3266 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3268 * lyxtext.h (leftMargin/rightMargin): simplify interface
3275 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3277 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3278 master file to any child files. Fixes bug 546.
3280 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3282 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3284 2003-11-24 André Pönitz <poenitz@gmx.net>
3286 * rowpainter.C: simplification
3288 * text2.C (updateCounters): remove call to redoParagraph on
3289 changed labels as this is far too expensive.
3291 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3293 * converter.C (convert): fix a crash: this function gets
3294 called with buffer == 0 from importer code.
3296 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3298 * text3.C (cursorPrevious): make sure that we do not compare
3299 iterators form different containers.
3302 * rowpainter.C (paintSelection): make sure that we do not compare
3303 iterators from different containers.
3305 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3306 iterators from different ParagraphList containers.
3309 * text2.C (LyXText): change order of initialization slightly
3310 (operator=): new function. copy all variables except cache_par_
3311 (moveUp): make sure that we do not compare iterators from
3312 different ParagraphList constainers.
3315 * text.C (firstPar): new function
3316 (lastPar): new function
3317 (endPar): new function
3319 * lyxtext.h: move things around and group public functions, public
3320 variables, private functions, private variables
3322 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3324 * factory.C: change call to InsetERT constructor to avoid
3325 additional invocation of method status
3326 * text2.C (toggleInset): remove redundant update() call
3327 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3328 instead of a Bufferview pointer
3330 2003-11-21 André Pönitz <poenitz@gmx.net>
3332 * rowpainter.C: simplification
3334 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3336 * text3.C (dispatch): make possible to extend a word/row selection
3339 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3341 * lyxtext.h: x0_,y0_ -> xo_,yo_
3342 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3343 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3344 * rowpainter.C (paintRows): paint full paragraphs
3346 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3348 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3351 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3353 * lyxtext.h: add x0_, y0_
3354 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3355 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3357 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3359 * text2.C (setCursorIntern): move the x_target update here *
3360 * text3.C: change some bv() to true/false in calls to
3361 cursorUp/Down/Right/Left
3362 * cursor.C: use helper function.
3364 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3366 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3367 * paragraph_funcs.[Ch]: correct comment
3368 * rowpainter.C: do not paint selections away from bv->cursor()
3369 Fix a long standing selection painting bug.
3370 * text3.C: generalize mouse-selection code to LyXTexts other that
3372 * textcursor.C: do not use y coords if we can use par offsets
3374 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3376 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3377 cursor position after e.g. inset insert)
3379 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3381 * lyxfind.C (replace): adjust to locking removal + some
3384 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3386 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3389 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3392 * output_docbook.C: XML sanitation: new layout
3393 parameters InnerTag and CommandDepth
3395 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3397 * BufferView_pimpl.C:
3399 * text3.C: Fix the insertion and modification of button-style
3402 2003-11-13 André Pönitz <poenitz@gmx.net>
3404 * InsetList.[Ch]: remove deleteLyXText
3406 * paragraph.[Ch]: cache beginOfBody position
3411 * text3.C: remove superfluous update() calls
3415 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3417 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3418 * BufferView.C (fitLockedInsetCursor): remove
3419 * cursor.[Ch] (getDim): add
3420 * text.C (getRowNearY): add faster version
3421 * text3.C: remove some update calls
3423 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3435 * text3.C: The Character Style /XML short element patch.
3437 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3440 * factory.C: Small step to solving 'unable to insert some insets'
3443 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3445 * cursor.[Ch] (updatePos): new function for updating the y
3446 position of the tip inset
3447 * bufferview_funcs.C (put_selection_at):
3448 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3450 2003-11-11 André Pönitz <poenitz@gmx.net>
3452 * text.C: remove big comment on invalid Paragraph pointers as it is
3455 2003-11-11 André Pönitz <poenitz@gmx.net>
3457 * text_funcs.[Ch]: merge with ...
3465 * Makefile.am: remove text_funcs.[Ch]
3467 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3469 * cursor.C (getPos): return absolute cached y coord
3471 * BufferView_pimpl.C (fitCursor): new simplistic code
3472 (workAreaDispatch): add a fitCursor call
3474 2003-11-10 André Pönitz <poenitz@gmx.net>
3477 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3479 2003-11-10 André Pönitz <poenitz@gmx.net>
3481 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3482 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3483 indicate that the cursor needs to leave an inset
3485 * lyxtext.h: remove inset locking
3487 * cursor.[Ch]: re-implement functionality provided by inset locking
3490 * BufferView_pimpl.[Ch]:
3492 * bufferview_funcs.[Ch]:
3504 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3506 * PosIterator.[Ch]: replace the stack with a vector, add inset
3508 * iterators.[C]: adjust
3510 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3512 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3514 * paragraph_funcs.C (readParToken): put the correct id in the
3515 error item, not the id of the top paragraph
3517 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3519 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3520 * bufferview_funcs.C (put_selection_at): use the above
3522 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3524 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3526 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3528 * output_linuxdoc.h:
3529 * output_plaintext.h:
3531 * output_docbook.h: add #include statements
3533 2003-11-05 José Matos <jamatos@lyx.org>
3535 * output_docbook.[Ch]:
3536 * output_latex.[Ch]:
3537 * output_linuxdoc.[Ch]:
3538 * output_plaintext.[Ch]: New files for output formats.
3539 * output.[Ch]: New file for helper functions.
3542 * paragraph_funcs.[Ch]: output functions moved to new files.
3544 * outputparams.h: rename of latexrunparams.h
3552 * paragraph_funcs.[Ch]:
3553 * paragraph_pimpl.[Ch]:
3554 * tabular.[Ch]: rename ascii to plaintext
3555 and LatexRunParams to OutputParams.
3557 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3559 * iterators.[Ch] (text): require bv argument
3560 * undo.C (recordUndo):
3561 * lyxfunc.C (dispatch):
3562 * bufferview_funcs.C (put_selection_at): adjust
3564 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3566 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3568 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3570 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3573 2003-11-04 André Pönitz <poenitz@gmx.net>
3575 * cursor.[Ch]: restructure
3578 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3580 * iterators.[Ch] (asCursor): remove
3582 * lfuns.h: remove LFUN_INSET_EDIT
3588 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3590 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3592 * lyxfind.[Ch]: complete overhaul
3593 * BufferView_pimpl.C:
3595 * paragraph.[Ch] (insert): add
3597 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3601 * text.C: remove dead spellcheck code
3603 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * dispatchresult.h: add a val setter
3607 * cursor.C (dispatch): use a tempvar for data_[i]
3609 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3611 * PosIterator.[Ch]: compile fix
3613 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3615 * text.C (cursorPar): deactivate the cursor cache
3617 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3619 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3621 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * text3.C (dispatch): adjust for new DisptchResult semantics.
3625 * lyxfunc.C (dispatch): handle update when return from
3626 Cursor::dispatch, adjust for new DispatchResult semantics.
3628 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3629 DispatchResult(true) mean to not update. Add class functions for
3630 setting dispatched and update, as well as reading.
3632 * cursor.C (dispatch): don't handle update here
3634 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3636 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3637 * trans_mgr.C: adjust
3639 * paragraph_funcs.C (readParToken): exception safety
3641 * lyxvc.h: store the vcs pointer in a scoped_ptr
3644 * lyxsocket.C (serverCallback): exception safety
3646 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3648 * ispell.C (clone): make it return a auto_ptr
3650 * factory.C (createInset): exception safety
3651 (readInset): exception safety
3653 * bufferlist.C (newBuffer): exception safety
3655 * Thesaurus.C (Thesaurus): use initialization for aik_
3657 * MenuBackend.C (expandToc): exception safety.
3659 2003-11-03 André Pönitz <poenitz@gmx.net>
3663 * bufferview_funcs.C: remove getInsetFromId()
3666 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3672 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3674 * PosIterator.C (distance, advance): new
3675 * bufferview_funcs.[Ch] (put_selection_at): new
3676 * iterators.[Ch] (lockPath): new
3678 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3680 * iterators.[Ch] (asPosIterator): added
3681 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3682 * PosIterator.[Ch]: added
3684 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * cursor.C (dispatch):
3689 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3691 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3692 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3693 contructor, add a class function dispatched. Remove operator>=
3695 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * debug.C: only use the default constructor for debugstream
3700 * main.C (main): include debug.h and setup the lyxerr streambuf
3703 2003-10-31 José Matos <jamatos@lyx.org>
3705 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3707 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3708 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3709 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3710 * paragraph_pimpl.C (simpleTeXSpecialC):
3711 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3712 add LatexRunParams argument.
3714 * exporter.C (Export): change call accordingly.
3716 * latexrunparams.h: add new member to take care of the other backends.
3717 2003-10-30 José Matos <jamatos@lyx.org>
3719 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3720 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3721 factorise code for paragraph output.
3723 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3726 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * text3.C (dispatch):
3729 * lyxfunc.C (dispatch):
3730 * cursor.C (dispatch):
3731 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3733 * dispatchresult.h: make the dispatch_result_t ctor explicit
3735 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3738 * buffer.C: small refactoring of docbook stuff
3740 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3745 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3748 operator dispatch_result_t, and operators for == != and >=
3750 * cursor.C (dispatch): adjust for operator dispatch_result_t
3751 removal. comment out call to update
3753 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3755 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3766 * dispatchresult.h: new file, DispatchResult broken out of
3769 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3771 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3773 * text.C (rowBreakPoint): put a hack inside #if 0
3775 2003-10-28 André Pönitz <poenitz@gmx.net>
3779 * paragraph_funcs.C:
3782 * text2.C: general cleanup (lots of small stuff)
3784 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3786 * text2.C (cursorEnd): simple fix to the "end key goes to one
3787 before the end on last row" bug
3789 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3791 * text.C (backspace): fix the "zombie characters"
3793 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3795 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3797 2003-10-27 André Pönitz <poenitz@gmx.net>
3799 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3801 * factory.C: handle new InsetPagebreak, InsetLine
3803 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3804 and move handling into new InsetPagebreak, InsetLine
3806 * BufferView_pimpl.C:
3808 * ParagraphParameters.C:
3809 * ParameterStruct.h:
3814 * paragraph_funcs.C:
3815 * paragraph_pimpl.C:
3821 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3824 * lyxrow_funcs.[Ch]:
3830 * text3.C: remove lastPos uses in favour of Row::endpos
3832 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3834 * undo.C (performUndoOrRedo): fix two crashes by setting a
3835 cursor by hand and reordering some calls. Use bv->lockInset instead
3836 of inset->edit because the latter loses cursor information
3838 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3840 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3842 (rowBreakPoint): fix width. change point to point + 1.
3843 Add a missing check.
3845 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3848 * lyxfunc.C: fix (at least partly) the problems
3849 with the Nav menu and headers inside branch insets
3852 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3854 * paragraph.C (getChar): add strong asserts
3856 * lyxrow_funcs.C (lastPos): remove hideous hack
3858 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3859 (fill): adjust to that (avoid an infinite loop)
3861 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3863 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3865 2003-10-23 André Pönitz <poenitz@gmx.net>
3867 * RowList_fwd.h: change list<> to vector<> to gain speed
3868 after suggestion from Alfredo
3870 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3872 * lyxtext.h: move the bidi stuff from here...
3875 * Bidi.[Ch]: ... to here
3877 2003-10-23 André Pönitz <poenitz@gmx.net>
3880 * text.C (isLastRow, isFirstRow): new functions
3882 * paragraph.h: new width cache member
3884 * rowpainter.C: replace RowList::iterator with Row & where possible
3886 * lyxfunc.C: replace several view()->text with a single call
3888 * toc.C: fix 'unused' warning
3890 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3893 when woring with stream::pos_type
3894 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3896 2003-10-22 André Pönitz <poenitz@gmx.net>
3899 * text.C: use Row & instead of RowList::iterator
3901 * lyxrow.h: rename end() to endpos()
3907 2003-10-22 Angus Leeming <leeming@lyx.org>
3909 * buffer.[Ch] (fully_loaded): new member function, returning true
3910 only when the file has been loaded fully.
3911 Used to prevent the premature generation of previews and by the
3912 citation inset to prevent computation of the natbib-style label.
3914 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3915 templates are all set up.
3917 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3919 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3921 * text.C: fixed an "oops" in the "is a bit silly"
3924 2003-10-21 André Pönitz <poenitz@gmx.net>
3926 * FuncStatus.[Ch]: small stuff, whitespace
3928 * lyxfont.[Ch]: operator<<() for debug reasons
3932 * lyxtext.h: whitespace, spelling
3934 * paragraph.C: naming of variables
3937 * text2.C: small stuff
3940 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3942 * text.C: (1) finish off the inset display() work;
3943 (2) fix the "is a bit silly" bug (accessing char
3946 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3948 * text.C: re-introduce display() for insets, fixing the
3949 various bugs (stretch of line above, math inset
3952 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3954 * text.C (rightMargin): remove spurious semicolon
3956 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3959 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3961 * text3.C: fix one crash due to wrong cursor def
3963 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * vc-backend.C (scanMaster): make the regex static
3967 * LaTeX.C (scanAuxFile): make the regexs static
3969 * text3.C (doInsertInset, dispatch, dispatch):
3970 * text2.C (cursorUp, cursorDown):
3971 * text.C (selectNextWordToSpellcheck):
3972 * BufferView_pimpl.C (dispatch):
3973 * lyxfunc.C (dispatch): localDispatch -> dispatch
3975 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3977 * lyxsocket.C: include <cerrno>
3979 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * lyxfunc.C (dispatch): remove textcache stuff
3983 * bufferlist.C (release): remove textcache stuff
3986 * TextCache.C: delete file
3987 * TextCache.h: delete file
3989 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3991 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3992 delete of the bv_->text.
3993 (resizeCurrentBuffer): remove texcache stuff
3994 (workAreaResize): ditto
3996 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4001 2003-10-16 André Pönitz <poenitz@gmx.net>
4008 * text3.C: speed up by storing y positions per paragraph plus per-row
4009 offset instead of having a 'full' y position in the row.
4011 2003-10-15 André Pönitz <poenitz@gmx.net>
4015 * undo.[Ch]: make undo aware of inner insets
4017 2003-10-14 Angus Leeming <leeming@lyx.org>
4019 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4020 static member functions LyX::ref() and LyX::cref.
4021 (lastfiles): new accessor functions for the new lastfiles_ member var.
4022 (addLyXView, views_): add a new LyXView to the list of views_.
4023 (updateInset): loop over all LyXViews to call their own updateInset
4024 member function, returning a pointer to the Buffer owning the inset.
4026 * BufferView_pimpl.C (loadLyXFile):
4027 * MenuBackend.C (expandLastfiles):
4028 * bufferlist.C (MenuWrite, QuitLyX):
4029 lastfiles is no longer a global variable.
4030 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4032 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4033 static function. Access through LyX::cref().emergencyCleanup().
4035 2003-10-14 André Pönitz <poenitz@gmx.net>
4037 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4039 * undo.[Ch]: restoring part of 'undo in insets'
4042 * undo_funcs.[Ch]: merge with undo.[Ch]
4044 * tabular.C: small cleansing stuff
4046 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4048 * paragraph_funcs.C (readParToken): report unknown insets as error
4049 boxes. Use the outer paragraph as location (also for unknown
4052 * factory.C (readInset): do not abort on reading an unknown inset.
4053 Eat it and return 0.
4055 2003-10-13 Angus Leeming <leeming@lyx.org>
4057 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4059 * lyxrc.C: displayTranslator is now a function,
4060 declared in GraphicsTypes.h.
4062 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4064 * format.C: new placeholder $$a to pass the socket address.
4066 * bufferlist.[Ch]: new function getBufferFromTmp.
4068 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4069 files in the temporary dir.
4071 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4073 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4075 * Makefile.am: add lyxsocket.[Ch].
4077 * lyx_main.C (error_handler): handle SIGPIPE.
4079 2003-10-13 André Pönitz <poenitz@gmx.net>
4081 * BufferView_pimpl.C:
4086 * undo_funcs.[Ch]: use paroffset_type instead of
4087 ParagraphList::iterators to prevent multiple conversion
4088 (and get a more robust interface)
4090 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4094 * text3.C (dispatch): ditto
4096 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4099 move the onlyfile, use onlyfile instead of foundfile in a couple
4102 * DepTable.C (update): flush the error stream a bit more
4104 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * lyxserver.C (callback): adjust
4108 * lyxfunc.C (getStatus): add a missing brace in commented code
4109 (ensureBufferClean): reindent
4110 (dispatch): delete version taking a string
4112 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * LaTeX.C (deplog): move found file handlig from here...
4115 (handleFoundFile): .. to new function here.
4116 (deplog): make sure to discover several files mentioned on the
4119 2003-10-10 André Pönitz <poenitz@gmx.net>
4126 * text3.C: fix some of the tabular crashes
4128 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4130 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4132 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4134 2003-10-09 André Pönitz <poenitz@gmx.net>
4136 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4139 * BufferView_pimpl.C:
4140 * bufferview_funcs.C:
4151 * undo_funcs.C: adjust
4153 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * text2.C (incrementItemDepth): new function, use a backtracking
4156 algorithm to discover the correct item depth.
4157 (resetEnumCounterIfNeeded): new function, use a backtracking
4158 algorithm to discover if counter reset is needed.
4159 (setCounter): use them. Simplify a bit. Add different labels for
4160 different item depths for itemize.
4162 * paragraph.C (Paragraph): remove initialization of enumdepth
4165 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4166 enumerate and itemize. Change the type of itemdepth to signed char.
4168 2003-10-08 André Pönitz <poenitz@gmx.net>
4170 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4175 * tabular.[Ch]: fix crash after 'row-insert'
4177 2003-10-08 Angus Leeming <leeming@lyx.org>
4179 Fix doxygen warnings.
4181 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4182 Remove CutAndPaste:: prefix from header file declaration.
4184 * LColor.h (fill): remove LColor:: prefix from declaration.
4186 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4187 use lyx::depth_type rather than Paragraph::depth_type so that
4188 header file and .C file match.
4190 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4192 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4193 * aspell.C: \file aspell_local.C -> \file aspell.C
4194 * gettext.C: \file gettext.C -> \file src/gettext.C
4195 * gettext.h: \file gettext.h -> \file src/gettext.h
4196 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4197 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4198 * text.C: \file text.C -> \file src/text.C
4200 * toc.C: move comment so that doxygen is not confused.
4202 2003-10-07 Angus Leeming <leeming@lyx.org>
4204 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4206 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4209 * aspell_local.h: add forgotten std::string's.
4211 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4218 * text3.C: The Box patch. Fancybox support, minipage, parbox
4220 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4226 * ParagraphParameters.h:
4236 * lyxtextclasslist.h:
4239 * paragraph_pimpl.C:
4240 * textcursor.h: add <string> and other small fixes to make Lars'
4241 std::string patch compile with STLport.
4243 2003-10-06 Angus Leeming <leeming@lyx.org>
4245 * LColor.h: Add missing #include <string>.
4247 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * All most all file in all subdirs: Make <string> be the prefered
4250 way of getting to std::string, add using declarations.
4252 2003-10-06 André Pönitz <poenitz@gmx.net>
4254 * metricsinfo.C: initialize LyXFont before changing attribute.
4255 (fixes the 'math in \emph is upright' bug)
4257 2003-10-06 André Pönitz <poenitz@gmx.net>
4259 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4261 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4264 * paragraph_pimpl.C: Small fixes to build using STLport
4266 2003-10-02 André Pönitz <poenitz@gmx.net>
4269 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4271 2003-10-01 André Pönitz <poenitz@gmx.net>
4273 * factory.C: assert early
4275 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * lyx_main.C: remove the global debug object
4279 * debug.h: adjust for new debugstream
4281 * debug.C: adjust for new debugstream and keep the global debug
4284 2003-09-22 Angus Leeming <leeming@lyx.org>
4286 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4287 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4288 an incomplete class LyXFont.
4290 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4292 * factory.C: bug fix in branches
4294 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * lyxfunc.C (processKeySym): adjust
4298 (dispatch): change arg name from ev to func, adjust
4299 (sendDispatchMessage): ditto
4301 * lyx_main.C (defaultKeyBindings): adjust keybindings
4302 (deadKeyBindings): ditto
4304 * kbsequence.C (addkey): return a FuncRequest
4306 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4308 * kbmap.C (bind): take a FuncRequest as arg, adjust
4311 (defkey): change to take a FuncRequest as arg, adjust
4312 (findbinding): take a FuncRequest as arg, adjust.
4314 * funcrequest.h (operator=): added
4316 * funcrequest.C (FuncRequest): default kb_action changed from
4317 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4319 * buffer.C (dispatch): simplify
4320 (dispatch): adjust to take a FuncRequest as arg, adjust
4322 * boost.C (assertion_failed): change assertion message slightly
4324 * ToolbarBackend.C (read): simplify
4326 * MenuBackend.C (binding): adjust call to findbinding, add a
4327 message if no binding is found.
4329 (expandToc): correct by adding a empty FuncRequest
4331 * LyXAction.C: include <boost/assert.hpp>
4332 (isPseudoAction): delete function
4333 (LookupFunc): change name to...
4334 (lookupFunc): this. change return type to FuncRequest.
4335 (getActionName): take kb_action as arg, simplify
4336 (funcHasFlag): add an assert, simplify.
4338 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * toc.C (action): return a FuncRequest, simplify
4342 * lyxfunc.C (processKeySym): adjust
4343 (getStatus): delete version that takes an int.
4345 (dispatch): delete version that takes action as int
4347 (sendDispatchMessage): simplify and adjust
4349 * funcrequest.C (getArg): take unsigned int as arg
4351 * ToolbarBackend.C (read): adjust
4352 (add): delete version that takes func as a string.
4353 (getIton): take a FuncRequest as arg
4355 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4358 * MenuBackend.C (MenuItem): add a new construct that only takes a
4359 Kind, simplify the constructor use for submenus.
4361 (expandLastfiles): adjust
4362 (expandDocuments): adjust
4363 (expandFormats): adjust
4364 (expandFloatListInsert): adjust
4365 (expandFloatInsert): adjust
4366 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4368 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4369 Remove class variables lyx_pseudo_map and lyx_arg_map
4371 * LyXAction.C (searchActionArg): delete function
4372 (getPseudoAction): delete function
4373 (retrieveActionArg): delete function
4374 (LookupFunc): make it return kb_action, simplify.
4375 (getActionName): simplify
4377 * factory.C (createInset): fix new bug
4379 2003-09-19 Angus Leeming <leeming@lyx.org>
4381 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4382 masterFilename_ parameter in the include inset.
4384 * factory.C (createInset): changes due to the changes to InsetInclude.
4386 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4388 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4390 2003-09-18 Angus Leeming <leeming@lyx.org>
4393 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4394 Inset::fillWithBibKeys.
4395 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4397 2003-09-18 Angus Leeming <leeming@lyx.org>
4399 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4401 (ctor): pass and store a 'Buffer const &'
4402 (buffer): new member function.
4404 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4405 '*this' to the LaTeXFeatures ctor.
4407 2003-09-18 Angus Leeming <leeming@lyx.org>
4413 * text.C: rename EnumLColor as LColor_color.
4415 2003-09-18 Angus Leeming <leeming@lyx.org>
4417 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4418 remove #include "insets/insetbase.h" from cursor.h.
4420 2003-09-18 Angus Leeming <leeming@lyx.org>
4422 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4423 InsetOld_code to remove #include "inset.h".
4425 * iterators.C: add #include "insets/inset.h"
4427 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4429 * BufferView.C: remove more locking stuff that apparently doesn't
4430 do anything sensible.
4432 2003-09-16 André Pönitz <poenitz@gmx.net>
4435 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4438 2003-09-16 Angus Leeming <leeming@lyx.org>
4440 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4442 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4445 * paragraph.h: remove #include "lyxfont.h". Forward declare
4448 2003-09-16 Angus Leeming <leeming@lyx.org>
4450 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4451 of support/textutils.h.
4452 (isWord): move the contents of support/textutils.h's IsWordChar here.
4458 * text2.C: add #include "paragraph.h".
4461 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4463 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * LaTeX.C: use namespace alias for lyx::support::os
4471 2003-09-16 Angus Leeming <leeming@lyx.org>
4474 * bufferview_funcs.C:
4477 * paragraph_pimpl.C:
4479 * text.C: add #include "LColor.h".
4481 2003-09-16 Angus Leeming <leeming@lyx.org>
4483 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4484 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4486 Store the FontBits::color variable as an int rather than as an
4487 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4490 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4491 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4492 string calls together.
4494 * lyxrc.C: add #include "LColor.h".
4496 2003-09-15 Angus Leeming <leeming@lyx.org>
4498 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4501 2003-09-15 Angus Leeming <leeming@lyx.org>
4503 * LColor.h: add an EnumLColor wrapper for LColor::color.
4505 * lyxfont.[Ch] (color, setColor, realColor):
4506 * lyxtext.h, text.C (backgroundColor):
4507 pass EnumLColor args to/from the functions, rather than LColor::color
4511 * lyxtext.h: forward declare EnumLColor.
4513 * lyx_main.C: add #include "LColor.h".
4515 2003-09-15 Angus Leeming <leeming@lyx.org>
4517 * .cvsignore: add lyx-gtk.
4519 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * ParagraphParameters.C
4528 * bufferview_funcs.C
4538 * vc-backend.C: remove usage of STRCONV
4540 2003-09-15 Angus Leeming <leeming@lyx.org>
4542 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4543 explicitly define the color passed to the painter.
4545 2003-09-15 Angus Leeming <leeming@lyx.org>
4547 * bufferparams.C (BufferParams): reorder member initializers to avoid
4550 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4552 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4553 * text.C (updateRowPositions): remove an unusual nop
4555 2003-09-12 André Pönitz <poenitz@gmx.net>
4557 * BufferView_pimpl.C:
4566 * Counters.[Ch]: finish the 'automatic counters' job
4568 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4570 * aspell.C: include <boost/assert.cpp> (compile fix)
4572 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4574 * boost.C (assertion_failed): use lyx::support::abort instead of
4577 2003-09-10 Angus Leeming <leeming@lyx.org>
4579 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4580 with their _fwd progeny.
4582 2003-09-09 Angus Leeming <leeming@lyx.org>
4584 134 files throughtout the source tree: replace 'using namespace abc;'
4585 directives with the appropriate 'using abc::xyz;' declarations.
4587 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4589 * boost.C (emergencyCleanup): moved here from LAssert.c
4590 (assertion_failed): new function, called by BOOST_ASSERT
4592 * several files: change Assert to BOOST_ASSERT
4594 2003-09-09 Angus Leeming <leeming@lyx.org>
4596 * buffer.[Ch]: Add an Impl class and move Buffer's member
4597 variables into it. As a result move several header files out of
4600 Add header files to lots of .C files all over the tree as a result.
4602 2003-09-09 Angus Leeming <leeming@lyx.org>
4604 * buffer.[Ch]: make Buffer's member variables private. Add
4607 Lots of changes all over the tree as a result.
4609 2003-09-08 Angus Leeming <leeming@lyx.org>
4611 * graph.C: #include <config.h>.
4613 2003-09-08 Angus Leeming <leeming@lyx.org>
4617 * BufferView_pimpl.C:
4646 * toc.C: remove redundant using directives.
4648 2003-09-07 Angus Leeming <leeming@lyx.org>
4650 * LaTeXFeatures.h: remove #include "support/types.h".
4651 * ToolbarBackend.h: remove #include <algorithm>.
4652 * changes.h: remove #include <ctime>.
4653 * debug.h: remove #include <iosfwd>.
4654 * graph.h: remove #include "support/std_string.h".
4655 * lyx_main.h: remove #include <csignal>.
4656 * lyxlex_pimpl.h: remove #include <fstream>.
4657 * sgml.h: remove #include <algorithm>, <utility>.
4658 * toc.h: remove #include "support/std_ostream.h".
4659 Add #include <iosfwd>.
4661 2003-09-07 Angus Leeming <leeming@lyx.org>
4663 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4665 * converter.h: forward declare LatexRunParams.
4666 * encoding.h: remove #include "lyxrc.h".
4667 * lyxtext.h: remove #include "LColor.h".
4668 * lyxtextclass.h: remove #include "support/types.h".
4669 * trans.h: remove #include "tex-accent.h".
4670 * trans_mgr.h: remove #include "tex-accent.h".
4671 * insets/inset.h: remove #include "support/types.h", <vector>.
4672 * insets/insetcollapsable.h: remove #include "LColor.h".
4673 * insets/insetinclude.h: remove #include "dimension.h".
4674 * insets/insetlatexaccent.h: remove #include "dimension.h".
4675 * insets/insetoptarg.h:: remove #include "insettext.h".
4676 * insets/insettext.h: remove #include "dimension.h",
4677 <boost/shared_ptr.hpp>
4679 * insets/renderers.h: add #include "dimension.h".
4680 * insets/updatableinset.h: add #include "support/types.h".
4682 * many .C files: Associated changes.
4684 2003-09-06 Angus Leeming <leeming@lyx.org>
4686 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4687 one, inside testInvariant.
4689 * PrinterParams.C: new file.
4690 * PrinterParams.[Ch]: move the function bodies out of line.
4692 2003-09-06 Angus Leeming <leeming@lyx.org>
4694 * ParagraphParameters.h: forward declare ParameterStruct rather than
4695 including its header file.
4696 (depth): moved out-of-line.
4698 2003-09-06 Angus Leeming <leeming@lyx.org>
4700 * BufferView_pimpl.h:
4703 * lyxfunc.h: forward declare LyXKeySym rather than
4704 #include "frontends/LyXKeySym.h".
4706 * BufferView_pimpl.C:
4709 * lyxfunc.C: associated changes.
4711 2003-09-06 Angus Leeming <leeming@lyx.org>
4713 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4714 As a result, can remove the #include "insets/inset.h" from BufferView.h
4716 2003-09-06 Angus Leeming <leeming@lyx.org>
4718 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4719 As a result, can remove the #include "insets/inset.h" from BufferView.h
4721 2003-09-06 Angus Leeming <leeming@lyx.org>
4727 * bufferview_funcs.C:
4728 * BufferView_pimpl.C:
4733 * ParagraphParameters.C:
4738 * frontends/controllers/ControlDocument.C:
4739 * insets/insetcaption.C: rearrange the #includes into some sort of
4742 * buffer.h: remove #includes ErrorList.h, undo.h
4744 2003-09-06 Angus Leeming <leeming@lyx.org>
4746 * support/types.h: add a 'depth_type' typedef, used to store the
4747 nesting depth of a paragraph.
4750 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4751 defining explicitly.
4754 * paragraph_funcs.h:
4755 * ParagraphParameters.h:
4756 * sgml.h: use lyx::depth_type rather than Paragraph or
4757 ParameterStruct's depth_type.
4760 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4763 * BufferView_pimpl.C:
4765 * ParagraphParameters.C:
4768 * bufferview_funcs.C:
4775 * frontends/LyXView.C:
4776 * frontends/controllers/ControlDocument.C:
4777 * frontends/controllers/ControlErrorList.C:
4778 * insets/insetbibitem.C:
4779 * insets/insetbranch.C:
4780 * insets/insetcaption.C:
4781 * insets/insetcollapsable.C:
4782 * insets/insetenv.C:
4783 * insets/insetert.C:
4784 * insets/insetfloat.C:
4785 * insets/insetfoot.C:
4786 * insets/insetfootlike.C:
4787 * insets/insetnewline.C:
4788 * insets/insetquotes.C:
4789 * insets/insettabular.C:
4790 * insets/insettext.C:
4791 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4793 * frontends/controllers/ControlChanges.C: #include "changes.h".
4795 2003-09-06 Angus Leeming <leeming@lyx.org>
4797 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4798 than #including paragraph.h.
4801 * RowList.h: deleted. Superfluous.
4811 * insets/insettext.h: use ParagraphList_fwd.h rather than
4814 * paragraph.h: don't forward declare ParagraphList.
4817 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4818 rather than ParagraphList.h. paragraph.h is still needed for the
4819 Paragraph::depth_type parameters.
4821 * textcursor.h: enable it to compile stand-alone in light of the
4824 * bufferview_funcs.C:
4836 * frontends/controllers/ControlParagraph.C:
4837 * frontends/controllers/ControlTabular.C:
4838 * insets/insetmarginal.C:
4839 * insets/insetminipage.C:
4840 * insets/insetnote.C:
4841 * insets/insetoptarg.C: add header files needed to compile again.
4843 2003-09-06 Angus Leeming <leeming@lyx.org>
4845 * RowList_fwd.h: new file, forward-declaring Row rather than
4846 #including lyxrow.h.
4851 * insets/insettext.h: use it instead of RowList.h
4853 * bufferview_funcs.C:
4860 * text3.C: #include "RowList.h".
4862 2003-09-05 Angus Leeming <leeming@lyx.org>
4864 * factory.C (createInset):
4865 * vspace.C (c-tor): replace sscanf call with an istringstream.
4866 * ispell.C: re-add missing HP/UX headers.
4867 * lyxserver.C: re-add missing os2 headers.
4869 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4878 * text3.C: re-add missing system headers, needed for 2.95.2.
4880 2003-09-05 Angus Leeming <leeming@lyx.org>
4882 Changes most place everywhere due to the removal of using directives
4883 from support/std_sstream.h.
4885 2003-09-05 Angus Leeming <leeming@lyx.org>
4887 Replace LString.h with support/std_string.h,
4888 Lsstream.h with support/std_sstream.h,
4889 support/LIstream.h with support/std_istream.h,
4890 support/LOstream.h with support/std_ostream.h.
4892 Changes resulting throughout the tree.
4894 2003-09-05 Angus Leeming <leeming@lyx.org>
4896 * sgml.h: ensure that the header file can be compiled stand-alone.
4897 * *.C: strip out redundant #includes. (320 in total.)
4899 2003-09-04 Angus Leeming <leeming@lyx.org>
4901 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4902 here (from getPackages).
4904 * debug.[Ch]: add a new EXTERNAL tag.
4906 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4908 * text2.C (cursorEnd): simplify
4910 (getColumnNearX): adjust
4912 * text.C (computeBidiTables): adjust
4915 * rowpainter.C (paintChars): adjust
4916 (paintSelection): adjust
4917 (paintChangeBar): adjust
4920 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4922 (numberOfSeparators): adjust
4924 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4930 * text3.C: Restricts the mouse click functionality
4931 of insets like bibtex, include, toc and floatlist to the visible
4932 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4933 up the dialogs. Cursor has to be in front of the inset (i.e.
4934 start of row) for this to function.
4936 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4938 * bufferview_funcs.C (currentState): output row information
4940 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4942 * bufferview_funcs.C (currentState): output paragraph position
4944 2003-09-04 Angus Leeming <leeming@lyx.org>
4946 * FloatList.h: move out #include "Floating.h".
4947 * LaTeX.h: move out #include "DepTable.h".
4948 * LyXAction.h: move out #include "funcrequest.h".
4949 * buffer.h: move out #include "author.h", "iterators.h".
4950 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4951 * lyx_main.h: move out #include "errorlist.h".
4952 * lyxfunc.h: move out #include "FuncStatus.h".
4953 * lyxtext: move out #include "lyxcursor.h".
4954 * paragraph_pimpl.h: move out #include "counters.h".
4956 2003-09-03 Angus Leeming <leeming@lyx.org>
4958 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4959 preamble_snippets list, enabling us to add snippets to the preamble
4960 only if the snippet was not there already.
4962 2003-09-04 Angus Leeming <leeming@lyx.org>
4964 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4966 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4971 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4973 * BranchList.C: point fix, earlier forgotten
4975 2003-09-02 Angus Leeming <leeming@lyx.org>
4977 * box.C (contains): renamed from 'contained' after a fantastic
4980 2003-09-02 John Levon <levon@movementarian.org>
4986 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4988 2003-09-02 John Levon <levon@movementarian.org>
4990 * text2.C: simplification of cursorEnd(), including partial
4993 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * buffer.C (readFile): add a space
4997 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4999 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5001 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * buffer.C (readFile): new function, take a filename and a
5004 ParagraphList::iterator
5006 (readFile): adjust, make it private. don't use setStream, make
5007 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5008 always contain the filename.
5010 * BufferView.C (insertLyXFile): simplify and make it work for
5013 2003-08-30 John Levon <levon@movementarian.org>
5015 * Makefile.am: fix dist (from Kayvan)
5017 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * most files: change to use const Buffer refs
5021 2003-08-27 André Pönitz <poenitz@gmx.net>
5023 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5024 on top of ownerPar().
5026 2003-08-27 John Levon <levon@movementarian.org>
5028 * funcrequest.C: properly initialise POD members
5030 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5032 * lyxtext.h (top_y): move top_y from here
5037 * BufferView_pimpl.[Ch]: to here
5038 * frontends/screen.C:
5039 * insets/insettabular.C:
5040 * insets/insettext.C: adjust
5041 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5043 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5046 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5048 2003-08-26 André Pönitz <poenitz@gmx.net>
5050 * paragraph_func.[Ch] (outerPar): new function
5053 * paragraph_funcs.C:
5054 * paragraph_funcs.h:
5055 * paragraph_pimpl.C:
5056 * text2.C: remove Inset::par_owner
5058 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5063 * text2.C: eliminates the needFullRow/display() stuff
5064 altogether, putting the logic in metrics/draw in the insets.
5066 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5068 * text2.C (redoParagraphInternal, redoParagraphs):
5069 * text.C (redoParagraph): add a call to updateRowPositions at the
5070 end of each 'metrics-like' call. Remove all others.
5071 (getRow): remove the 'y-computing' version.
5072 (getRowNearY): do not compute nor return the real y. Solve the
5073 'y < 0' problem and simplify.
5075 2003-08-22 Angus Leeming <leeming@lyx.org>
5077 * *.[Ch]: clean-up of licence and author blurbs.
5078 Also move config.h out of a few .h files and into a few .C files.
5080 2003-08-22 André Pönitz <poenitz@gmx.net>
5082 * lyxrow.[Ch]: add x_ and *fill_ members
5087 * text2.C: adjust/remove prepareToPrint() calls
5089 2003-08-22 André Pönitz <poenitz@gmx.net>
5091 * lyxrow.[Ch]: add end_ member
5093 * lyxrow_funcs.C: use LyXRow::end_
5095 * lyxtext.h (singleWidth): add LyXFont parameter
5098 * text2.C: adjust LyXText::singleWidth() calls
5100 * text.C (redoParagraph): simplify row breaking logic
5103 2003-08-19 André Pönitz <poenitz@gmx.net>
5105 * funcrequest.C: initialize button_ member
5108 * rowpainter.[Ch]: interface consolidation
5110 2003-08-18 André Pönitz <poenitz@gmx.net>
5113 * BufferView_pimpl.C:
5115 * paragraph_funcs.C:
5117 * text3.C: remove LyXScreen::draw() and fitCursor calls
5119 * BranchList.h: remove spurious semicolons
5121 * MenuBackend.C: fix branchlist related crash
5123 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5131 * bufferparams.[Ch]:
5135 * text3.C: implements the 'branch inset'
5136 idea. This allows the output of various versions of a document
5137 from a single source version, selectively outputing or suppressing
5138 output of parts of the text.
5139 This implementation contains a 'branch list editor' in a separate
5140 tab of the document settings dialog. Branches are user definable
5141 and have a "display colour" to distinguish them on-screen.
5143 ColorHandler was somewhat cleaned up.
5144 (1) make possible a dynamically growing LColor list by allowing
5145 the graphic context cache to grow along (vector);
5146 (2) eliminate an IMHO unnecessary step in colour allocation.
5148 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5150 * BufferView_pimpl.C: compile fix
5152 2003-08-15 André Pönitz <poenitz@gmx.net>
5154 * rowpainter.C: remove extra metrics calls
5156 * lyxtext.h: merge the two constructors into a single one,
5157 pass reference to owner's par list
5159 * BufferView_pimpl.C:
5163 2003-08-15 André Pönitz <poenitz@gmx.net>
5165 * lyxrow_funcs.[Ch]:
5168 * paragraph_funcs.C:
5173 * text_funcs.C: split LyXText::rowlist_ into individual
5174 Paragraph::rows_ chunks
5177 * BufferView_pimpl.[Ch]:
5180 * text3.C: remove toggleSelection()
5182 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5184 * bufferlist.C: beautify two alerts (shorter text of buttons)
5185 * buffer.C: Remove redundant ' ' from message
5187 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5188 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5189 rename VALIGN_CENTER to VALIGN_MIDDLE
5191 2003-08-11 André Pönitz <poenitz@gmx.net>
5193 * lyxtext.h (getPar):
5194 * text.C: new function
5196 2003-08-11 André Pönitz <poenitz@gmx.net>
5199 * tracer.[Ch]: remove unneeded files
5201 * InsetList.[Ch]: remove resizeInsetsLyXText()
5206 * text3.C: merge insertParagraphs() and appendParagraph()
5207 remove breakAgain(), update()
5209 * BufferView_pimpl.[Ch]:
5210 * bufferview_funcs.[Ch]:
5214 * tabular.C: adjust after text & InsetList changes.
5216 2003-08-08 André Pönitz <poenitz@gmx.net>
5218 * text.C (insertChar, backspace): replace rowlist fiddling
5219 with rebreak of full par
5222 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5223 checkParagraph, updateInset): removed
5225 2003-08-07 André Pönitz <poenitz@gmx.net>
5228 * text3.C: merge some LFUN handlers, remove dead code
5230 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5232 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5234 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5236 * text2.C (DEPM): fix part of bug 1255 and 1256
5238 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5240 * BufferView_pimpl.C (workAreaDispatch): change to use
5241 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5242 that are no mouse related.
5244 2003-08-05 André Pönitz <poenitz@gmx.net>
5247 * BufferView_pimpl.[Ch]:
5248 * bufferview_funcs.C:
5250 * text3.C: rip out "deep update"
5252 * textcursor.[Ch] (last_sel_cursor): remove unused member
5254 2003-08-04 André Pönitz <poenitz@gmx.net>
5257 * BufferView_pimpl.[Ch]:
5258 * ParagraphParameters.C:
5259 * bufferview_funcs.C:
5265 * text3.C: replace "complicated" BufferView::update(...) calls with
5268 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5270 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5272 * Makefile.am (lyx_SOURCES): add paper.h
5274 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5276 * Makefile.am: move things around so that both lyx-qt and
5277 lyx-xforms can be built (according to --with-frontend). Then lyx
5278 is a symbolic link to lyx-[firstfrontend]
5280 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5282 * Always use std::endl with lyxerr
5284 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5286 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5288 2003-08-01 André Pönitz <poenitz@gmx.net>
5291 * BufferView_pimpl.[Ch]:
5293 * text3.C: merge BufferView::repaint() and BufferView::update()
5295 2003-08-01 José Matos <jamatos@lyx.org>
5297 * buffer.[Ch]: file_format is no longer a buffer data element.
5299 2003-08-01 André Pönitz <poenitz@gmx.net>
5304 * text2.C: make redoParagraph more independent of current cursor
5306 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5308 * text2.C: remove unneeded members
5310 2003-07-30 André Pönitz <poenitz@gmx.net>
5312 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5314 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5315 create a single function...
5317 * paragraph_funcs.C (moveItem): ... here.
5320 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5322 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5324 * LColor.[Ch]: Add comment and greyedout logical colors.
5326 2003-07-30 André Pönitz <poenitz@gmx.net>
5328 * tabular.C: don't use Assert too heavily. This crashes where it
5331 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5333 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5334 is disabled (bug 1232)
5336 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5338 * factory.C: limited 'arg' scope
5340 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5342 * factory.C: fixed Note submenu issues
5344 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5346 * factory.C: submenu for Note/Comment/Greyedout
5348 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5351 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5353 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5356 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5357 greyedout. Patch provided by Jürgen Spitzmüller.
5359 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5361 * kbmap.C (read): fix error message when reading bind files
5363 2003-07-29 Angus Leeming <leeming@lyx.org>
5365 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5366 certainly does not do what it purports to do. I am doing it, and
5367 us, a favour by killing it.
5369 2003-07-28 José Matos <jamatos@lyx.org>
5371 * buffer.C (readBody, do_writeFile):
5372 * paragraph.C(readParagraph): \end_document replaces \the_end.
5374 2003-07-29 André Pönitz <poenitz@gmx.net>
5377 * BufferView_pimpl.[Ch]:
5381 * textcursor.[Ch]: remove toggleToggle & Co
5383 2003-07-28 José Matos <jamatos@fep.up.pt>
5385 * buffer.C (readParagraph):
5386 * params_func (readParToken, readParagraph):
5387 * paragraph.C (write): \layout -> \begin_layout.
5389 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * lyxlex_pimpl.C (setFile): clean up slightly.
5393 * bufferparams.h: add compressed var
5395 * buffer_funcs.C (readFile): adjust for LyXLex change
5396 (newFile): ditto + simplify
5398 * buffer.C (writeFile): handle writing of compressed files
5400 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5401 Check if the file is compressed and set a bufferparm if so.
5403 * Makefile.am (lyx_LDADD): remove explicit -lz
5405 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5407 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5408 makeDocBookFile): put the real LyX version in the first line of
5412 * version.C.in: remove lyx_docversion
5414 * tabular.C (write_attribute): add a template-based version to
5415 write enums properly
5417 2003-07-28 André Pönitz <poenitz@gmx.net>
5422 * text3.C: use doubles again for x-coordinates. They are needed.
5424 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * messages.C (getLocaleDir): use lyx_localedir()
5428 * lyxlex_pimpl.C (setFile): compress stuff
5430 * buffer.C (writeFile): add some compression stuff
5431 (do_writeFile): new func, dont call expliti close... will this
5434 * Makefile.am (lyx_LDADD): add -lz
5436 2003-07-28 José Matos <jamatos@fep.up.pt>
5438 * buffer.C: increment file format.
5439 * paragraph_funcs (readParagraph, readParToken):
5440 * paragraph.C (readParagraph): add \end_layout.
5442 2003-07-27 Angus Leeming <leeming@lyx.org>
5444 * Makefile.am: remove special casing for configure-time setting of
5445 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5447 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5448 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5450 2003-07-26 André Pönitz <poenitz@gmx.net>
5452 * paragraph_func.[Ch]:
5453 * paragraph.C (realizeFont): inline it whereever it is used
5458 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5461 2003-07-26 André Pönitz <poenitz@gmx.net>
5465 * text2.C: get rid of LyXText::need_break_row
5467 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * toc.[Ch]: put namespace toc inside namespace lyx
5471 * MenuBackend.C (expandToc2): adjust for lyx::toc
5474 * lyxfunc.C (dispatch): adjust for lyx::find
5476 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5477 lyx::find instead. Reorganize a bit.
5478 (LyXReplace): rename to replace
5479 (LyXFind): rename to find
5481 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5484 2003-07-26 André Pönitz <poenitz@gmx.net>
5486 * text.C (setHeightOfRow): restrict scope of temporary variable
5488 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5489 code (never has been used?)
5491 2003-07-27 Asger Alstrup <alstrup@local>
5493 * text.C (fill): Optimise algorithm to exploit that we can reuse
5494 the LyXFont for many characters.
5495 (setHeightOfRow): Same thing.
5496 (rowBreakPoint): Same thing.
5498 2003-07-26 Asger Alstrup <alstrup@local>
5500 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5502 * text.C (singleWidth): Spurious font copying in hot-spot
5503 singleWidth avoided. Reorder tests for arabic for efficiency.
5505 * text.C (fill): handle empty paragraphs better.
5507 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5510 * encoding.h: add includes
5512 * lyxrc.C: remove reading of bind files
5514 * lyx_main.C (init): setup bindings and menus only if we have a
5517 * kbmap.C (read): new method. Do the actual reading of bind
5520 * converter.C (dvipdfm_options):
5523 (output): adapt PAPER_* enums.
5525 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5527 * bufferparams.h: remove paper-related enums from there
5529 * paper.h: New file. A trivial header file to hold paper-related
5530 enums. It should later expand to contain many paper-related
5533 * lyxrc.C: declare extern displayTranslator
5535 2003-07-27 José Matos <jamatos@fep.up.pt>
5537 * tabular.[Ch] (linuxdoc): add support for tables and figures
5540 2003-07-27 José Matos <jamatos@fep.up.pt>
5542 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5543 consistency in both functions.
5544 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5546 2003-07-26 Asger Alstrup <alstrup@local>
5548 * rowpainter.C (paintRows): Change algorithm to work directly on
5549 the insets rather than asking every character in the document
5550 whether its an inset.
5552 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5554 * buffer.C (openFileWrite): factorize some code
5556 2003-07-26 Angus Leeming <leeming@lyx.org>
5559 * lyx_main.[Ch]: replace occurances of system_tempdir with
5562 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * rename Inset to InsetOld
5566 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5568 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5569 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5570 which I think is a bit clearer. EDIT is gone, since it was
5571 premature optimisation, and broken for mathed anyway.
5572 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5573 with cursor positioning in insets as well (math insets still do not
5574 work, but that's a different story anyway.) It mysteriously
5575 crashes sometimes with undo in the first paragraph, but I'm fairly
5576 confident that this is a compiler bug.
5578 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * paragraph.C (Paragraph): adjust for new clone return type
5582 (copyIntoMinibuffer): ditto
5584 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5586 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5587 by not having a special case, and always doing a full rebreak of
5588 the document after undo.
5590 2003-07-23 Angus Leeming <leeming@lyx.org>
5592 * factory.C (createInset): InsetExternal::setParams now takes a
5595 2003-07-23 Angus Leeming <leeming@lyx.org>
5597 * factory.C (createInset): changed interface to the external and
5598 graphics mailers' string2params functions.
5600 2003-07-23 Angus Leeming <leeming@lyx.org>
5602 * factory.C (createInset): pass a
5603 Buffer const * parameter to InsetExternalMailer's string2params.
5605 2003-07-22 John Levon <levon@movementarian.org>
5607 * Thesaurus.h: include the right aiksaurus header
5609 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5611 * MenuBackend.C (expand): check menu shortcuts unconditionally
5613 2003-07-21 Angus Leeming <leeming@lyx.org>
5615 * factory.C (createInset): pass a
5616 buffer_path parameter to InsetGraphicsMailer's string2params.
5618 2003-07-21 Angus Leeming <leeming@lyx.org>
5620 * BufferView_pimpl.C (buffer):
5623 * lyxfunc.C (dispatch):
5624 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5625 rather than the grfx shortcut.
5627 2003-07-21 André Pönitz <poenitz@gmx.net>
5629 * rowpainter.C: remove unused variables
5632 * tabular_funcs.h: move to tabular.C
5633 * Makefile.am: adjust
5635 * tabular.[Ch]: basic optical cleaning
5637 * author.h: pass references, not values
5639 2003-07-18 André Pönitz <poenitz@gmx.net>
5647 * text3.C: two-phase drawing for InsetText and InsetTabular
5648 some float -> int changes.
5650 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5652 * lyx_main.C: fix the fix
5654 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5656 * lyx_main.C: fix a crash in batch mode if no files specified
5659 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5661 * format.[Ch] (papersize): moved to BufferParams
5662 * converter.[Ch] (dvips_options): moved to BufferParams
5663 (dvipdfm_options): moved to anon namespace
5664 * bufferparams.[Ch]: added above functions.
5666 2003-07-17 André Pönitz <poenitz@gmx.net>
5670 * text2.C: don't call inset->update() anymore
5672 * metricsinfo.[Ch]: add convenience constructor
5674 2003-07-16 André Pönitz <poenitz@gmx.net>
5679 * text2.C: replace the LyXCursor::irow_ member with
5680 on-demand computation of the value
5682 2003-07-16 John Levon <levon@movementarian.org>
5684 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5686 2003-07-15 André Pönitz <poenitz@gmx.net>
5689 * text2.C: remove no more needed refresh_row
5691 2003-07-15 André Pönitz <poenitz@gmx.net>
5696 * text3.C: refresh_status tristate -> need_update bool
5698 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5700 * lyxtext.h (init): remove reinit argument (act as if always true)
5701 * text2.C: adjust to that
5703 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5705 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5706 * text3.C: use it to delete selections in some cases
5707 (bugs 441, 673, 702, 954).
5709 2003-07-14 André Pönitz <poenitz@gmx.net>
5711 * rowpainter.[Ch]: reduce interface
5713 2003-07-14 André Pönitz <poenitz@gmx.net>
5715 * BufferView_pimpl.C:
5716 * text2.C: adjust after removing unused BufferView * argument
5718 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5720 * text2.C (init): fix a crash fired on resize
5722 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5724 * buffer.[Ch]: added new closing signal
5725 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5726 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5727 BufferView::Pimpl via the closing the signal
5729 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5731 * buffer.[Ch]: take out all bv-related from buffer
5733 * BufferView_pimpl.[Ch]: connect to new signals
5734 * CutAndPaste.C: removed useless asserts
5735 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5738 * lyxfunc.C: moved view-related funciontality from vc here
5739 * paragraph.C: removed outdated comments
5742 2003-07-10 André Pönitz <poenitz@gmx.net>
5744 * BufferView_pimpl.C:
5748 * text2.C: remove InsetText::InnerCache, clean up consequences
5750 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5752 * ispell.C: fix two typos in error messages
5754 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5756 * Extend Note inset to other forms of annotation like Comment
5757 and Greyedout. Right button click gives dialog.
5759 Files modified or added (+):
5763 * ControlNote.[Ch] +
5765 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5766 frontends/controllers
5770 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5772 * aspell.C: add missing namespace lyx::support
5774 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5776 * BufferView.[Ch] (newFile): Add
5777 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5778 * LaTeX.[Ch] (message): added this signal and use it
5779 * buffer.[Ch] (busy, message): added these signals and use them
5780 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5784 * importer.C: use buffer signals instead of direct bv calling
5785 * lyx_cb.[Ch] (ShowMessage): removed
5788 * paragraph_funcs.C:
5789 * text2.C: use buffer signals
5791 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * introduce namespace lyx::graphics
5795 2003-07-02 André Pönitz <poenitz@gmx.net>
5797 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5799 2003-07-01 André Pönitz <poenitz@gmx.net>
5806 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5807 text*.C to text_func.C
5809 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * introduce namespace lyx::support
5813 2003-06-30 André Pönitz <poenitz@gmx.net>
5818 * text.C: re-enable --with-included-string
5820 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * textcursor.C: add <config.h>
5824 * text.C (getWord): remove const from word_location arg
5826 * lyxvc.C (getLogFile): fix const type order
5828 * lyxtext.h: remove const from word_location arg, add arg name
5830 * lyxlayout.h: currect type on labeltype.
5832 * importer.C: correct \file
5834 * converter.C (intToFormat): use std:: on ret val, ws changes
5836 * bufferlist.h: correct \file
5838 * buffer.C (makeLinuxDocFile): fix const type order
5839 (makeDocBookFile): ditto
5840 (fillWithBibKeys): use std:: on stdlib args.
5842 * CutAndPaste.C: fix authors.
5843 (availableSelections): use std:: on return vector
5845 2003-06-27 André Pönitz <poenitz@gmx.net>
5847 * BufferView_pimpl.C:
5848 * bufferview_funcs.C:
5856 * text3.C: remove LyXCursor::row_ member
5859 * text.C: rename fullRebreak() to partialRebreak() and implement
5860 a fullRebreak() that really bereks fully
5862 * textcursor.h: new struct for cursor-related data
5864 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5866 * lyx_main.C (LyX): get full path of document loaded on the
5869 2003-06-26 André Pönitz <poenitz@gmx.net>
5871 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5872 remove unused/broken operator>,<,>=.
5874 * text.C: remove only use of broken operator<= in an Assert().
5876 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5878 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5879 moved errorlist_.clear to showErrorList
5881 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5883 * converter.C (scanLog, runLaTeX):
5884 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5885 move the bv->showErrorList call to the callers
5886 * lyxfunc.C: i.e. here...
5888 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5889 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5890 namespace, the second to...
5891 * buffer_funcs (BufferFormat, parseErrors): added
5892 * errorlist.C (ErrorList(TeXErrors const &)): removed
5894 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5896 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5898 2003-06-24 "Garst R. Reese" <reese@isn.net>
5902 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5904 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5906 * version.C.in: change docversion to 1.4
5908 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5910 * buffer.C: fix a bug just introduced
5912 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5914 * buffer.[Ch]: added the parseError signal and use it, removed
5916 * BufferView.[Ch] (addError): moved to ...
5917 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5918 to the Buffer::parseError signal to catch (guess what) parse errors
5919 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5921 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5923 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5924 ability to create a buffer and to return an existing one from
5925 the list. Moved these functions to...
5926 * buffer_funcs.[Ch]: added
5927 * BufferView.[Ch] (loadLyXFile): added
5928 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5929 job removed from bufferlist::loadLyXFile.
5930 * buffer.C (setReadOnly): make it work without view
5931 (i.e added an if (users))
5933 2003-06-19 Angus Leeming <leeming@lyx.org>
5936 * LyXAction.C (init):
5937 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5938 with LFUN_DIALOG_SHOW <name> <data>.
5940 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5942 * CutAndPaste.C (availableSelections): small compilation fix for
5943 ancient (gcc 2.9x) compilers
5945 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * text3.C (cursorNext): add tmp var
5949 * text2.C (updateCounters): for function calling out of for clause
5950 (replaceSelectionWithString): ditto
5951 (insertStringAsParagraphs): ditto
5952 (getColumnNearX): add tmp var
5953 (setCursorFromCoordinates): add tmp var
5954 (cursorDownParagraph): add tmp var
5955 (deleteEmptyParagraphMechanism): add tmp var
5957 * text.C (insertChar): add tmp var
5959 * rowpainter.C (paintDepthBar): add tmp var
5961 * CutAndPaste.C (availableSelections): potentially check all
5962 paragraphs in a cut to fill the shown strings.
5964 2003-06-18 André Pönitz <poenitz@gmx.net>
5966 * kbmap.[Ch]: use vector<> instead of list<>
5968 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5970 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5971 pasteSelection with index
5973 * text2.C (pasteSelection): modify, call pasteSelection with index
5975 * paragraph.C (asString): reimplement version with no interval to
5976 call the one with interval.
5978 * lyxtext.h: add index arg to pasteSelection
5980 * MenuBackend.C (MenuItem): handle PasteRecent
5981 (Menu::read::Menutags): add md_pasterecent
5983 (expandPasteRecent): new function
5986 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5988 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5990 (availableSelections): new function
5992 2003-06-17 Angus Leeming <leeming@lyx.org>
5994 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5996 2003-06-17 Angus Leeming <leeming@lyx.org>
5999 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6001 * lyxfunc.C (dispatch): invoke it.
6003 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6005 * iterators.C (operator++, ParPosition): reintroduce some
6006 const_cast for the benefit of older compilers.
6008 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6010 * text3.C (dispatch): do not modify clipboard when doing
6011 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6012 LFUN_DELETE_SKIP on a selection selection
6014 2003-06-16 André Pönitz <poenitz@gmx.net>
6020 * tabular.[Ch]: IU of clone() and getLabelList();
6022 2003-06-13 André Pönitz <poenitz@gmx.net>
6024 * tabular.h: compactification
6026 2003-06-12 André Pönitz <poenitz@gmx.net>
6030 * tabular_funcs.h: some renaming plus whitespace
6032 2003-06-12 André Pönitz <poenitz@gmx.net>
6035 * BufferView_pimpl.C:
6041 * toc.C: Return a Paragraph & for ParIterator::operator*()
6043 2003-06-11 John Levon <levon@movementarian.org>
6047 * ToolbarBackend.C: add "Toolbars" section and
6050 2003-06-10 Angus Leeming <leeming@lyx.org>
6053 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6055 * lyxfunc.C (dispatch): invoke it.
6057 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * main.C: protect <ios> with HAVE_IOS
6060 (main): protect sync_with_stdio with HAVE_IOS
6062 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6064 * text2.C (cutSelection): adjust
6065 (pasteSelection): adjust
6067 * messages.C: handle get of empty string
6069 * main.C (main): use sync_with_stdio(false)
6071 * lyxfunc.C (dispatch): adjust
6073 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6074 (WriteAs): remove unneeded BufferView arg.
6076 * bufferparams.h: use correct types on papersize, papersize2 and
6079 * bufferparams.C (readToken): adjust for type
6080 (writeLaTeX): add missing cases to switch.
6082 * bufferlist.C (quitWriteBuffer): adjust
6085 * buffer.C (asciiParagraph): remove some commented code.
6087 * CutAndPaste.C: remove current_view extern variable.
6088 (cutSelection): add BufferParams arg.
6089 (eraseSelection): add BufferParams arg.
6090 (pasteSelection): add Buffer const & arg
6092 2003-06-07 John Levon <levon@movementarian.org>
6095 * paragraph_funcs.C:
6096 * paragraph_pimpl.C:
6100 * paragraph.C: allow InsetERT to freely space lines,
6101 and some consolidation of code
6103 2003-06-06 José Matos <jamatos@fep.up.pt>
6105 * buffer.C (makeDocBookFile): fix bug #821
6107 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6109 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6111 2003-06-04 Angus Leeming <leeming@lyx.org>
6113 * buffer.C: bump format to 224.
6115 2003-06-05 André Pönitz <poenitz@gmx.net>
6117 * text2.C (redoParagraphs): remove two const_cast<>
6119 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6121 * ParagraphList.h: remove last remnants of NO_STD_LIST
6123 2003-06-03 Angus Leeming <leeming@lyx.org>
6125 * factory.C (createInset): small change to the way InsetExternal's params
6128 2003-06-04 André Pönitz <poenitz@gmx.net>
6130 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6132 * paragraph_pimpl.h:
6133 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6135 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6137 * undo_funcs.C: make some simple cases of undo work again
6139 2003-06-03 John Levon <levon@movementarian.org>
6141 * ispell.C: HPUX doesn't have sys/select.h
6144 2003-06-03 John Levon <levon@movementarian.org>
6146 * CutAndPaste.C: update tabular and include inset
6151 * paragraph.C: remove owningBuffer(), don't pass Buffer
6154 * factory.C: insetGraphicsParams changed
6156 2003-06-02 John Levon <levon@movementarian.org>
6162 * text3.C: remove insetparent
6164 2003-06-02 John Levon <levon@movementarian.org>
6167 * buffer.C: fix inset_iterator.end(), move out of line
6170 2003-06-01 John Levon <levon@movementarian.org>
6172 * text3.C: use a proper cut/paste when doing inset
6173 insert (from Jürgen Spitzmüller)
6175 2003-06-01 John Levon <levon@movementarian.org>
6177 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6179 2003-05-30 André Pönitz <poenitz@gmx.net>
6181 * rowpainter.C: unify second drawing phase
6183 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * trans_mgr.C: remove one case of current_view
6187 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6189 * paragraph_funcs.h: remove paragraph.h include
6191 * paragraph.h: delete NO_STD_LIST stuff
6193 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6195 * buffer.h: remove paragraph.h include
6197 * ParagraphList.C: delete file
6199 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6201 * toc.C (getTocList): adjust
6203 * paragraph_pimpl.C (validate): adjust
6205 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6207 * paragraph.C (Paragraph): adjust
6208 (getPositionOfInset): use const_iterator, adjust
6209 (bibitem): use const_iterator, adjust
6210 (setInsetOwner): adjust
6212 * iterators.C (operator++): adjust
6214 * InsetList.[Ch]: Replace selfmade iterator with standard
6215 vector::iterator also introduce const_iterator. Remove getPos,
6216 getInset and setInset from InsetTable. Adjust accordingly.
6218 * BufferView.C (lockInset): adjust
6219 (ChangeInsets): adjust
6221 * tabular.[Ch]: delete commented same_id functions
6223 2003-05-28 John Levon <levon@movementarian.org>
6225 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6227 2003-05-28 André Pönitz <poenitz@gmx.net>
6229 * metricsinfo.[Ch]: remove 'fullredraw' member
6231 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6233 * lyxtextclass.C (operator): remove caching.
6235 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * text2.C (cursorBottom): adjust
6240 (setCounter): use ParagraphList::find, adjust
6242 * text.C (workWidth): use ParagraphList::find, adjust
6244 * lyxcursor.C (LyXCursor): adjust
6246 * buffer.C (inset_iterator): adjust
6248 * ParagraphList.h: make iterator(value_type) private, make
6249 ParagraphList a friend of iterator.
6251 * ParagraphList.C (find): new function
6253 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6255 2003-05-27 André Pönitz <poenitz@gmx.net>
6257 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6259 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6261 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6263 2003-05-26 John Levon <levon@movementarian.org>
6265 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6267 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * remove same_id from function signatures, adjust.
6271 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6275 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6277 * paragraph.C (Paragraph): get rid of same_ids parameter
6279 * ParagraphList.C (insert): adjust
6282 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * paragraph_funcs.C (breakParagraph): adjust
6285 (breakParagraphConservative): adjust
6287 * buffer.C (readParagraph): adjust
6289 * ParagraphList.C (insert): take a reference instead of a pointer
6292 * paragraph.[Ch] (id): new function
6294 * bufferlist.C (newFile): adjust
6296 * ParagraphList.C (ParagraphList): adjust
6298 (push_back): take a reference instead of a pointer.
6300 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6302 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6305 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6306 set else use old code.
6308 * ParagraphList.C: remove all NO_NEXT code and only compile this
6309 code of NO_STD_LIST is set.
6311 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6313 * BufferView_pimpl.C:
6323 * graphics/GraphicsConverter.C:
6324 * graphics/PreviewLoader.C: header adjustment
6326 2003-05-23 Angus Leeming <leeming@lyx.org>
6328 * LaTeXFeatures.[Ch] (useBabel): new method.
6329 * bufferparams.C (writeLaTeX): use it.
6331 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * ParagraphList.h (set): remove unused function.
6335 2003-05-23 André Pönitz <poenitz@gmx.net>
6338 * BufferView_pimpl.C:
6342 * undo_funcs.C: setUndo reworked
6344 * iterators.[Ch]: add access to topmost ParagraphList
6346 * lyxtext.[Ch] (workWidth): add a const
6348 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6350 * texrow.[Ch] (increasePos): remove function
6351 * exporter.C (export): removed unused var and outdated comment
6353 2003-05-23 Angus Leeming <leeming@lyx.org>
6355 * latexrunparams.h: rename fragile as moving_arg.
6356 * paragraph.C (simpleTeXOnePar): ditto.
6357 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6359 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6363 (textUndoOrRedo): comment out a currently unused var.
6365 * paragraph.h (NO_NEXT): enable NO_NEXT
6367 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6369 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6371 * exporter.C (Export): adjust for removeAutoInsets removal.
6373 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6375 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6377 * BufferView.[Ch] (removeAutoInsets): delete function
6379 2003-05-22 Angus Leeming <leeming@lyx.org>
6381 * latexrunparams.h: add a free_spacing variable.
6383 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6384 to pass moving_arg, as the data is stored in runparams.fragile.
6386 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6387 to Inset::latexOptional or to simpleTeXOnePar.
6389 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6390 free_spacing arg to Inset::latexOptional.
6392 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6395 2003-05-22 Angus Leeming <leeming@lyx.org>
6397 * latexrunparams.h: add fragile and use_babel variables.
6399 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6400 * buffer.C (makeLaTeXFile): store this returned value in
6401 runparams.use_babel, thus passing it to the inset::latex methods.
6403 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6404 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6406 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6407 longer has a fragile arg, as it is stored in runparams.fragile.
6409 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6410 moving_arg parameter as the data is stored in runparams.fragile.
6412 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6413 a fragile parameter as the data is stored in runparams.fragile.
6415 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6419 2003-05-22 Angus Leeming <leeming@lyx.org>
6421 * latexrunparams.h: add a 'bool nice' which defaults to false.
6423 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6424 now encapsulated within runparams.
6426 * bufferlist.C (updateIncludedTeXfiles):
6427 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6429 2003-05-22 Angus Leeming <leeming@lyx.org>
6431 * latexrunparams.h: new file containing struct LatexRunParams.
6432 * Makefile.am: add new file.
6434 * LaTeX.[Ch] (c-tor, run):
6435 * buffer.[Ch] (makeLaTeXFile):
6436 * bufferlist.[Ch] (updateIncludedTeXfiles):
6437 * converter.C (convert, scanLog):
6438 * converter.[Ch] (runLaTeX):
6439 * exporter.C (Export):
6440 * paragraph.[Ch] (simpleTeXOnePar):
6441 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6442 * paragraph_funcs.[Ch] (latexParagraphs):
6443 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6444 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6445 pass around a LatexRunParams parameter.
6447 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * paragraph.[Ch]: remove unused constructor
6451 * ParagraphList.C (erase): new function, taking two iterators
6453 2003-05-22 André Pönitz <poenitz@gmx.net>
6455 * undo_funcs.C: remove duplicated code
6457 * iterator.[Ch]: operator=
6459 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6461 * tabular.C (SetMultiColumn): ws changes
6463 * rowpainter.C (paintFirst): get rid of a ->previous
6465 * lyx_cb.C (getPossibleLabel): parlist simplification
6467 * BufferView.C (ChangeInsets): simplify slightly.
6469 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6471 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6472 * lfuns.h: new LFUN_SPACE
6473 * lyxfunc.C: protected space has a new lfun
6474 * paragraph_funcs.C: read new space insets
6476 * factory.C: handle new space insets
6478 2003-05-22 André Pönitz <poenitz@gmx.net>
6481 * BufferView_pimpl.C:
6484 * undo_funcs.C: return a ParIterator from getParFromID.
6486 * iterators.[Ch]: add two const's
6488 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * toc.C (getTocList): adjust
6492 * iterators.[Ch]: rework for parlist
6494 * buffer.C (par_iterator_begin): adjust
6495 (par_iterator_end): adjust
6497 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6499 * BufferView.C (removeAutoInsets): adjust
6500 (ChangeInsets): adjust
6502 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6504 * text.C (top_y): fix bug 1110
6506 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6508 * errorlist.[Ch]: added
6511 * BufferView_pimpl.C:
6512 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6515 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * Makefile.am: ensure that lyx is relinked upon changes to the
6518 various "convenience" libs.
6520 2003-05-20 Angus Leeming <leeming@lyx.org>
6522 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6523 files are compiled in alphabetical order again.
6525 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6527 2003-05-19 Angus Leeming <leeming@lyx.org>
6529 * gettext.[Ch]: remove "char const * _(char const *)".
6531 2003-05-19 André Pönitz <poenitz@gmx.net>
6533 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6542 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6544 2003-05-19 André Pönitz <poenitz@gmx.net>
6548 * lyxtextclass.[Ch]:
6550 * paragraph_funcs.[Ch]:
6552 * text3.C: more insetenv work
6554 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6556 * ParagraphParameters.C (params2string): small bug fixed
6558 2003-05-16 André Pönitz <poenitz@gmx.net>
6561 * bufferview_funcs.C: patch from Kornel Benko to prevent
6562 crash when _(...) is called twice in a statement
6564 2003-05-16 André Pönitz <poenitz@gmx.net>
6571 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6573 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6575 * lyx_main.C (init): remove spurious static_cast
6577 2003-05-14 André Pönitz <poenitz@gmx.net>
6579 * BufferView.C: fix format string
6581 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6583 * BufferView.[Ch] (insertErrors): removed
6584 * BufferView.[Ch] (showErrorList): added
6585 * buffer.C (runChkTeX):
6586 * converter.C (scanLog): call showErrorList instead of inserterrors
6588 2003-05-13 André Pönitz <poenitz@gmx.net>
6590 * BufferView_pimpl.C:
6592 * bufferview_func.C:
6599 * tabular_funcs.h: tostr() from its own header
6601 * ParagraphParameters.C:
6606 * text3.C: STRCONV()
6608 2003-05-12 André Pönitz <poenitz@gmx.net>
6611 * BufferView_pimpl.C:
6615 * ParagraphParameters.C:
6619 * bufferview_funcs.C:
6632 * paragraph_funcs.C:
6636 * text3.C: boost::format -> bformat all over the place
6639 2003-05-09 André Pönitz <poenitz@gmx.net>
6641 * LColor.[Ch]: Pimpl the #include <map> away
6643 2003-05-09 John Levon <levon@movementarian.org>
6645 * bufferlist.C: never remove emergency saves
6647 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6649 * Makefile.am: better lib building
6651 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6655 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6656 (simpleTeXSpecialChars): adjust
6657 (simpleTeXSpecialChars): adjust
6658 * paragraph.C (simpleTeXOnePar): adjust
6659 * buffer.C (makeLaTeXFile): adjust
6661 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6663 * text2.C (changeDepth): parlist cleanup
6664 (getColumnNearX): ditto
6666 * rowpainter.C (getLabelFont): parlist cleanup
6668 * bufferlist.C (newFile): parlist cleanup
6670 * CutAndPaste.C (eraseSelection): parlist cleanup
6672 * BufferView_pimpl.C (trackChanges): parlist cleanup
6675 * BufferView.C (lockInset): parlist cleanup.
6676 (ChangeInsets): ditto
6678 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * CutAndPaste.h: Update file header.
6682 * CutAndPaste.C: Update file header.
6683 Store the parts cut out of the Document in a limited_stack.
6684 (copySelection): adjust
6685 (pasteSelection): new function, takes the index in the limited stack.
6686 (nrOfParagraphs): adjust
6687 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6688 simplify error inset insertion.
6689 (checkPastePossible): adjust
6691 2003-05-06 John Levon <levon@movementarian.org>
6693 * text2.C: don't cast wrap inset to float
6695 2003-05-05 André Pönitz <poenitz@gmx.net>
6698 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6700 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6701 few naked Paragraph *.
6703 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6705 * bufferparams.C: Output warning if a document with missing
6706 TeX document class is loaded
6707 * exporter.C: Disable TeX exports if the document class is missing
6710 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6711 isTeXClassAvailable()
6713 2003-05-03 John Levon <levon@movementarian.org>
6716 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6717 explicit cursor show/hide
6719 * BufferView_pimpl.h:
6720 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6721 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6723 * lyxfunc.C: hide cursor before dispatching.
6728 * text3.C: remove explicit cursor hides
6730 2003-05-02 André Pönitz <poenitz@gmx.net>
6732 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6735 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6738 * text2.C: tiny whitespace
6740 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * undo_funcs.C: almost only ws changes.
6744 * ParagraphList.C (splice): just return if pl is empty.
6746 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * ParagraphList.C (splice): new function.
6750 * CutAndPaste.C (pasteSelection): use it
6752 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * CutAndPaste.C (pasteSelection): remove the last next and
6755 previous from this file.
6757 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * CutAndPaste.C (pasteSelection): more clean up, user proper
6760 ParagraphList functions for pasteing.
6762 * ParagraphList.C (insert): new function, three arg insert
6764 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * ParagraphList.C (insert): new function, three arg insert
6768 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6771 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6775 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6782 (copySelection): clean up a bit.
6783 (pasteSelection): use make_pair
6785 * ParagraphList.C (ParagraphList): implement copy constructor
6786 (operator=): implement, base on copy constructor.
6789 * paragraph.C (erase): return a bool
6791 * paragraph_pimpl.C (erasePos): remove function, move contents...
6792 (erase): ... here. Return a bool.
6793 (erase): call erase instead of erasePos.
6795 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6797 * ParagraphList.h: define PitPosPair
6798 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6799 ParagraphList, fix a bug on pasting multiple pars
6800 * text2.C: change interface to C&P
6802 2003-04-30 André Pönitz <poenitz@gmx.net>
6804 * undo_func.C: revert part of yesterday's patch 2
6806 2003-04-30 John Levon <levon@movementarian.org>
6808 * LColor.C: s/tabular/table/
6810 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6812 * text3.C (dispatch): do not convert iterator -> pointer
6813 * undo_funcs.C (setCursorParUndo): ditto
6814 * text_funcs.C (transposeChars): ditto
6816 * text2.C (setLayout): ws changes only
6818 * text.C (breakParagraph): do not convert iterator -> pointer
6820 (acceptChange): ditto
6821 (rejectChange): ditto
6826 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6829 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6831 * text3.C (gotoInset): YABG (yet another bad getChar)
6833 2003-04-29 André Pönitz <poenitz@gmx.net>
6835 * paragraph.h: make operator= private unimplemented as long as
6838 * ParagraphList.C: whitespace
6841 * paragraph_pimpl.[Ch]:
6842 * paragraph_funcs.C:
6844 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6847 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6849 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6851 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6852 * paragraph.[Ch] (erase):
6853 * paragraph_pimpl.[Ch] (erase): change return type and value
6854 * text2.C (cutSelection): some rework
6856 2003-04-28 John Levon <levon@movementarian.org>
6858 * bufferlist.C: changes for unsaved changes dialog
6860 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * bufferlist.C (newFile): set language (messages_) for new
6865 * buffer.C (readFile): ws changes only.
6867 2003-04-28 André Pönitz <poenitz@gmx.net>
6872 * BufferView_pimpl.C:
6873 * BufferView.C: getParFromID related ParagraphList::iterator changes
6875 2003-04-28 André Pönitz <poenitz@gmx.net>
6877 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6880 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * messages.C: remove one more localedir class variable.
6884 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * messages.C (getLocaleDir): singleton generation function
6888 (Messages): add a default constructor.
6890 * main.C (main): do not setup localedir here, do not call
6893 * gettext.C (_): use it.
6894 (gettext_init): delete funciton
6896 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * gettext.C (getLyXMessages): new singleton generating function.
6900 * buffer.C (updateDocLang): adjust
6902 * Makefile.am (messages.o): add target
6903 (main.o): remove target
6905 2003-04-27 John Levon <levon@movementarian.org>
6910 * lyxvc.C: specify cancel button in Alert::prompt
6912 2003-04-26 John Levon <levon@movementarian.org>
6917 * LyXAction.C: add LFUN_INSET_SETTINGS
6919 * lyxfunc.C: don't enable tabular-feature when there's
6920 just any locking inset
6922 2003-04-26 John Levon <levon@movementarian.org>
6924 * bufferlist.C: re-add Cancel to buffer close question
6926 * lyxfunc.C: fix import UI a bit
6928 2003-04-25 John Levon <levon@movementarian.org>
6930 * gettext.C: remove the broken asserts for now
6932 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * messages.C: make case where setlocale cannot comply work better.
6936 * buffer.C (updateDocLang): new function
6937 (changeLanguage): use it
6940 * text2.C (setCounter): use B_ a bit.
6942 * lyxlayout.C (Read): be sure to trim the label strings.
6944 * messages.C (Messages): fix typo in comment
6946 * buffer.C (readFile): set message_ after file is loaded.
6947 (makeDocBookFile): remove double return
6948 (changeLanguage): reset message_ upon language change.
6949 (B_): new func, use this to get translated buffer strings.
6951 * main.C: add myself and Jean Marc as authors.
6953 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * messages.[hC]: pimplify Messages, and three different pimpls to be
6956 used in different circumstances.
6958 * gettext.[Ch]: change for use with new message code.
6960 2003-04-24 André Pönitz <poenitz@gmx.net>
6962 * factory.C: support for eqref
6964 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * messages.[Ch]: add missing char
6968 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6970 * messages.[Ch]: New files
6972 2003-04-18 John Levon <levon@movementarian.org>
6976 * BufferView_pimpl.C:
6980 * text2.C: remove layout-copy/paste (bug 778)
6982 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6984 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6986 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6988 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6989 if they succeed. Act accordingly.
6991 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * text2.C (setCharFont): adjust
6994 (setCounter): adjust
6995 (insertStringAsLines): adjust
6997 * text.C (leftMargin): adjust
6998 (setHeightOfRow): adjust
7000 * rowpainter.C (paintFirst): adjust
7003 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7005 (isFirstInSequence): ditto
7006 (getEndLabel): ditto
7009 * paragraph.C (getParLanguage): comment out some hard stuff.
7011 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7013 (simpleDocBookOnePar): ditto
7014 (makeDocBookFile): use ParagraphList::iterator
7016 * CutAndPaste.C (pasteSelection): adjust
7018 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7020 * text2.C (getFont): adjust
7021 (getLayoutFont): adjust
7022 (getLabelFont): adjust
7024 * paragraph_funcs.C (TeXOnePar): adjust
7026 * buffer.C (simpleLinuxDocOnePar): adjust
7027 (simpleDocBookOnePar): adjust
7029 * CutAndPaste.C (pasteSelection): adjust
7031 * BufferView.C (getEncoding): adjust
7033 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7035 2003-04-16 John Levon <levon@movementarian.org>
7037 * lyxfind.C: use parlist stuff for search/changes
7039 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7041 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7043 * text2.C (deleteEmptyParagraphMechanism): adjust
7045 * text2.[Ch] (ownerParagraph): delete func (both of them
7047 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * ParagraphList.C: prepare for NO_NEXT
7055 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * text2.C (getFont): adjust
7058 (getLayoutFont): adjust
7059 (getLabelFont): adjust
7061 * paragraph.C (getFont): adjust
7062 (getLabelFont): adjust
7063 (getLayoutFont): adjust
7065 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7067 2003-04-15 John Levon <levon@movementarian.org>
7071 * lyx_main.C: handle Include in .ui files
7073 2003-04-15 John Levon <levon@movementarian.org>
7075 * MenuBackend.C: make the doc files length shorter
7078 * ToolbarBackend.C: handle toolbar placement flags,
7081 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7086 * paragraph_funcs.C (TeXOnePar): adjust
7088 * paragraph.C (getLabelFont): add outerfont arg, adjust
7089 (getLayoutFont): ditto
7090 (simpleTeXOnePar): adjust
7092 * paragraph_pimpl.C (realizeFont): delete func
7094 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7096 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7097 row argument, constify cur argument.
7099 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * text2.C (getFont): adjust
7102 (getLayoutFont): adjust
7103 (getLabelFont): adjust
7105 * paragraph_funcs.C (TeXOnePar): adjust
7106 (outerFont): new func...
7107 (realizeFont): ...moved out from here, changed this to facilitate
7110 * paragraph.C (getFont): take outerfont as arg, adjust
7111 (simpleTeXOnePar): add outerfont arg, adjust
7113 * buffer.C (simpleLinuxDocOnePar): adjust
7114 (simpleDocBookOnePar): adjust
7116 * CutAndPaste.C (pasteSelection): adjust
7118 * BufferView.C (getEncoding): adjust
7120 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7122 * text2.C (setCharFont): adjust
7123 (setCounter): adjust
7125 * text.C (leftMargin): adjust
7126 (setHeightOfRow): adjust
7128 * rowpainter.C (paintFirst): adjust
7131 * paragraph_pimpl.C (realizeFont): adjust
7133 * paragraph.C (isFirstInSequence): move from here...
7134 * paragraph_funcs.C (isFirstInSequence): ...to here
7136 * paragraph.C (outerHook): move from here...
7137 * paragraph_funcs.C (outerHook): ...to here
7139 * paragraph.C (depthHook): move from here...
7140 * paragraph_funcs.C (depthHook): ...to here
7142 * paragraph.C (getEndLabel): move from here...
7143 * paragraph_funcs.C (getEndLabel): ...to here
7145 * text2.C (realizeFont): move from here...
7146 * paragraph_funcs.C (realizeFont): ...to here
7148 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7152 2003-04-14 Angus Leeming <leeming@lyx.org>
7154 * LColor.[Ch]: scrap LColor mathcursor.
7156 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * lyxlex.[Ch] (text): delete function
7159 * trans.C (Load): adjust
7160 * paragraph_funcs.C (readParToken): adjust
7162 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7165 vector<char> instead of a char[].
7167 * lyxlex_pimpl.C (getString): adjust
7169 (lex): use getString
7173 * lyxlex.C (text): use pimpl_->getString()
7177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7180 (makeFontEntriesLayoutSpecific): temp var for par.size()
7181 (setLayout): temp var for ownerParagraphs().end()
7182 (fullRebreak): temp var for rows().end()
7183 (selectionAsString): temp var for boost::next(startpit), realize
7184 that the while really is a regular for loop.
7185 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7186 setCursor in one place.
7187 (setParagraph): temp vr for ownerParagraphs().end()
7188 (updateCounters): make the while loop a for loop
7189 (cutSelection): temp var for ownerParagraphs().end()
7190 (updateInset): make the do {} while() a regular for loop
7191 (getCursorX): use temp vars
7192 (setCurrentFont): use temp vars
7193 (getColumnNearX): use temp vars
7195 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * text.C (transformChar): use temp var for getChar
7198 (computeBidiTables): use temp var for row->par()
7199 (fill): move temp vars for row->par() and pit->layout() earlier in
7201 (labelFill): use temp var for row->par()
7202 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7203 asc and desc, realize that pit never changes and that firstpit is
7204 just a duplicate and not needed. Exchange rit->par() with pit in a
7206 (breakAgain): use a temp var for boost::next(rit)
7207 (breakAgainOneRow): ditto
7208 (breakParagraph): use a temp var for rows().begin()
7209 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7210 (cursorRightOneWord): use temp var for cursor.par() and
7211 cursor.pos(), remove usage of tmpcursor.
7212 (cursorLeftOneWord): use temp var for cursor.par() and
7213 cursor.pos() only set cur at end of function.
7215 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * text.C, text2.C: exchange all usage of Paragraph::next with
7218 boost::next(ParagraphList::iterator)
7220 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7222 * text2.C (cursorTop): simplify implementation
7223 (cursorBottom): ditto
7224 (setParagraph): use ParagraphList::iterator
7225 (setCurrentFont): adjust
7226 (getColumnNearX): adjust
7227 (cursorRight): adjust
7228 (cursorLeft): remove usage of Paragraph::previous
7229 (cursorUpParagraph): ditto
7230 (deleteEmptyParagraphMechanism): slight cleanup
7232 * text.C (isBoundary): take a Paragraph const & instead of a
7234 (addressBreakPoint): ditto
7235 (leftMargin): remove usage of Paragraph::previous.
7236 (setHeightOfRow): ditto
7237 (cursorLeftOneWord): ditto
7238 (selectNextWordToSpellcheck): ditto
7241 (breakParagraph): remove one usage of Paragraph::next
7242 (redoParagraph): ditto
7243 (acceptChange): ditto
7244 (insertChar): adjust
7245 (rowBreakPoint): adjust
7247 * bufferview_funcs.C (toggleAndShow): adjust
7249 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7251 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7252 methods to access it.
7254 * text.C: Added updateRowPositions to compute all row positions.
7255 Make top_y and getRowNearY() to use the cached y position
7257 2003-04-11 John Levon <levon@movementarian.org>
7259 * text.C (rowBreakPoint): reintroduce the labelEnd
7260 checks, code copied from the row fill stuff. Deep voodoo.
7262 * text.C (fill): add a comment and debugging for the
7265 2003-04-11 John Levon <levon@movementarian.org>
7267 * text.C: make sure fullrow insets get wrapped to the next line,
7268 even when they're in a manual label
7270 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * text2.C (insertParagraph): make it take ParagraphList::iterator
7274 (setLayout): make it return ParagraphList::iterator
7275 (redoParagraphs): ditto
7277 (checkParagraph): ditto
7279 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7281 * text2.C: adjust several funcs.
7282 (realizeFont): take a ParagraphList::iterator as arg.
7283 (getLayoutFont): ditto
7284 (getLabelFont): ditto
7285 (setCharFont): ditto
7287 * text.C: adjust several funcs.
7289 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7291 * text.C (selectNextWordToSpellcheck): don't accidentally
7294 2003-04-10 John Levon <levon@movementarian.org>
7296 * ToolbarBackend.C (getIcon): special handling for
7299 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7301 * text2.C (cursorRight): a getChar assert fixed
7303 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * text2.C (getFont): change to take a ParagraphList::iterator
7306 instead of Paragraph*
7307 Adjust several functions.
7309 * text.C (transformChar): change to take a ParagraphList::iterator
7310 instead of Paragraph*
7311 (singleWidth): ditto
7312 Adjust several functions.
7314 * rowpainter.C: adjust several functions
7315 * rowpainter.h:store a ParagraphList::iterator and not a
7319 2003-04-09 John Levon <levon@movementarian.org>
7324 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7325 and the "help" bits as well
7327 2003-04-09 John Levon <levon@movementarian.org>
7330 * ToolbarBackend.C: allow multiple toolbars
7332 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * undo_funcs.C (setCursorParUndo): adjust
7336 * text_funcs.C (transposeChars): adjust
7338 * text3.C (gotoNextInset): adjust
7341 * text2.C (setLayout): adjust
7342 (changeDepth): adjust
7344 (redoParagraphs): adjust
7345 (selectionAsString): adjust
7346 (setParagraph): adjust
7347 (insertInset): adjust
7348 (cutSelection): adjust
7349 (copySelection): adjust
7350 (pasteSelection): adjust
7351 (insertStringAsLines): adjust
7352 (updateInset): adjust
7353 (setCursor): change to take a ParagraphList::iterator parameter
7354 (setCursorIntern): change to take a ParagraphList::iterator parameter
7355 (setCurrentFont): adjust
7356 (cursorLeft): adjust
7357 (cursorRight): adjust
7358 (deleteEmptyParagraphMechanism): adjust
7360 * text.C (breakParagraph): adjust
7361 (insertChar): adjust
7362 (acceptChange): adjust
7363 (rejectChange): adjust
7364 (selectNextWordToSpellcheck): adjust
7365 (changeCase): adjust
7369 * lyxfind.C (SearchForward): adjust
7370 (SearchBackward): adjust
7371 (nextChange): adjust
7373 * lyxcursor.C (par): adjust
7375 * lyxcursor.h: store a ParagraphList::iterator instead of a
7378 * lyx_cb.C (getPossibleLabel): adjust
7380 * bufferview_funcs.C (toggleAndShow): adjust
7382 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7385 * BufferView.C (removeAutoInsets): adjust
7386 (lockedInsetStoreUndo): adjust
7388 2003-04-09 John Levon <levon@movementarian.org>
7390 * ToolbarBackend.C: try icon without argument
7391 if with argument fails
7393 2003-04-08 John Levon <levon@movementarian.org>
7396 * ToolbarBackend.C: add getIcon(), handle tooltip,
7397 and change from "Icon" to "Item".
7399 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7401 * BufferView.C (lockInset): another bad getchar crunched
7403 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7405 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7408 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7410 * lyxfind.C (searchForward, searchBackwards): bug 782
7412 2003-04-07 John Levon <levon@movementarian.org>
7414 * paragraph.C: remove dead comment
7416 * text.C: remove troublesome depth-fiddling code
7417 in leftMargin() and rightMargin() (bug 1017)
7419 * text.C: fix breaking of rows in nested lists
7422 * text2.C (updateCounters): fix up depth values
7425 2003-04-07 John Levon <levon@movementarian.org>
7427 * BufferView_pimpl.C: clear message when doc finishes resizing,
7428 and after a mouse event
7430 * lyxfunc.C: clear message after exiting inset
7432 2003-04-07 John Levon <levon@movementarian.org>
7434 * bufferview_funcs.C: show math status not outside
7435 status in the statusbar
7437 2003-04-07 John Levon <levon@movementarian.org>
7439 * lyxfunc.C: note status changed after a depth change
7441 2003-04-04 Angus Leeming <leeming@lyx.org>
7443 * LaTeX.h: move AuxInfo operator==, != out of line.
7444 Remove LaTeX virtual destructor; nothing derives from it.
7445 Move operator()() out of public area and rename it startscript().
7446 Change protected for private.
7448 2003-04-04 Angus Leeming <leeming@lyx.org>
7451 * text2.C: remove unneeded #includes.
7453 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7455 * text2.C (dEPM): fix the heigth of the next row
7457 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7459 * text.C: squashed an invalid getChar requester + some ws changes
7461 2003-04-03 John Levon <levon@movementarian.org>
7463 * bufferview_funcs.h:
7464 * bufferview_funcs.C:
7467 * text2.C: make getStatus work for the env depth lfuns
7469 2003-04-03 John Levon <levon@movementarian.org>
7471 * bufferview_funcs.h:
7472 * bufferview_funcs.C:
7475 * text2.C: parlistize decDepth(), by merging it with incDepth()
7477 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * lyxrow.h: store a ParagraphList::iterator instead of a
7480 Paragraph* and adjust other class functions to suit.
7482 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7485 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7487 * text2.C (setCursor): do not anchor to cursor row for the time being
7489 2003-04-02 John Levon <levon@movementarian.org>
7496 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7498 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * paragraph.h: make ParagraphList and ParagraphList::iterator
7501 friends of Paragraph.
7503 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7505 * ParagraphList.C: Use the private next_ and previous_ from
7508 2003-04-01 John Levon <levon@movementarian.org>
7512 * Makefile.am: rename, remove defaults gunk
7515 * MenuBackend.C: remove defaults gunk
7518 * Languages.C: remove defaults gunk
7521 * lyx_main.C: error out if files couldn't be found.
7523 2003-04-02 John Levon <levon@movementarian.org>
7525 * text2.C: make incDepth() use parlist
7527 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * undo_funcs.C (firstUndoParagraph): adjust
7531 * text3.C (gotoInset): adjust
7532 (dispatch): adjust, and rewrite loop.
7534 * text2.C (init): adjust, and rewrite loop.
7535 (redoParagraphs): adjust
7536 (updateInset): adjust, and rewrite loop.
7537 (deleteEmptyParagraphMechanism): adjust
7539 * tabular.C (LyXTabular): adjust
7540 (SetMultiColumn): adjust
7543 * lyxtext.[Ch] (ownerParagraph): delete function
7544 (ownerParagraphs): new function returns a ParagraphList.
7546 * BufferView.C (removeAutoInsets): adjust
7547 (insertErrors): adjust
7548 (setCursorFromRow): adjust
7550 2003-04-01 Angus Leeming <leeming@lyx.org>
7552 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7555 2003-04-02 John Levon <levon@movementarian.org>
7561 * text_funcs.C: make transposeChars a free function
7563 * lyxrow_funcs.C: remove wrong comment
7565 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * rowpainter.C: adjust
7573 * lyxrow_funcs. [Ch]: new files
7575 * lyxrow.[Ch]: remove next and previous pointers
7576 (next,previous): remove accessor functions
7577 (isParEnd): move to lyxrow_funcs
7578 (lastPos): move to lyxrow_funcs
7579 (nextRowIsAllInset): move to lyxrow_funcs
7580 (lastPrintablePos): move to lyxrow_funcs
7581 (numberOfSeparators): move to lyxrow_funcs
7582 (numberOfHfills): move to lyxrow_funcs
7583 (numberOfLabelHfills): move to lyxrow_funcs
7584 (hfillExpansion): move to lyxrow_funcs
7588 * bufferview_funcs.C (toggleAndShow): adjust
7590 * RowList.h: Remove class RowList from file leave just a
7593 * RowList.C: delete file
7595 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7598 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * text3.C (cursorPrevious): adjust
7601 (cursorNext): adjust
7604 * text2.C (redoHeightOfParagraph): adjust
7605 (redoDrawingOfParagraph): adjust
7608 * text.C (breakParagraph): adjust
7609 (insertChar): adjust
7612 * rowpainter.C (RowPainter): adjust
7613 (leftMargin): simplify and adjust
7614 (most rowpainter functions): adjust.
7616 * rowpainter.h: store the row as RowList::iterator not as Row*
7618 * lyxcursor.C (row): taka RowList::iterator as arg
7621 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7624 2003-04-01 Angus Leeming <leeming@lyx.org>
7626 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7627 stuff like bool Bool.
7629 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7631 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7634 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7639 * lyxtext.h (rows): drop one version and leve a const variant that
7640 returns a RowList::iterator.
7642 2003-03-31 Angus Leeming <leeming@lyx.org>
7644 * text.C (fill): ensure that the signature is the same as that in the
7647 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * text2.C (redoParagraphs): adjust
7650 (updateCounters): adjust
7651 (checkParagraph): adjust
7652 (getColumnNearX): adjust and reformat a bit.
7654 * text.C (top_y): adjust
7656 (leftMargin): adjust
7657 (prepareToPrint): adjust
7659 (getRowNearY): adjust
7661 * lyxtext.h: make rowlist_ mutable.
7663 * RowList.h: add const_iterator
7664 * RowList.C: adjust for RowList::const_iterator.
7666 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7669 2003-03-31 John Levon <levon@movementarian.org>
7672 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7674 * lyx_main.C: set default fonts from using lyx_gui funcs
7676 * exporter.C: pdf_mode moved from lyxrc
7679 * lyxfunc.C: changes from above
7681 2003-03-31 John Levon <levon@movementarian.org>
7683 * lyx_main.C: fix to the last fix
7685 2003-03-31 John Levon <levon@movementarian.org>
7687 * bufferlist.C: "Load original" -> "Load Original"
7693 * format.C: more Alert cleanups
7695 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * text2.C (removeParagraph): make it take a RowList::iterator as
7699 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7700 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7702 * text.C (anchor_row): make it take a RowList::iterator as arg,
7704 (computeBidiTables): make it take a const reference to Row instead
7705 of Row pointer, adjust.
7706 (leftMargin): make it take a RowList::iterator as arg, adjust.
7707 (rowBreakPoint): adjust
7708 (breakAgainOneRow): make it take a RowList::iterator as arg,
7710 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7712 * bufferview_funcs.C (toggleAndShow): adjust
7714 2003-03-30 John Levon <levon@movementarian.org>
7718 * boost-inst.C: moved to support
7720 * several files: changes as a result
7722 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * text2.C (LyXText): adjust.
7726 (removeRow): make it take a RowList::iterator as arg, adjust.
7727 (fullRebreak): adjust
7728 (deleteEmptyParagraphMechanism): adjust
7729 (clearPaint): adjust
7732 * text.C (top_y): adjust
7733 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7734 (breakAgain): make it take a RowList::iterator as arg, adjust.
7735 (breakParagraph): adjust
7736 (insertChar): adjust
7739 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7740 need_break_row, and refresh_row.
7742 * text3.C (dispatch): adjust
7744 * text2.C (checkParagraph): adjust
7746 (setCursorFromCoordinates): adjust
7748 * text.C (top_y): adjust
7750 (getRow): make it return a RowList::iterator, adjust
7751 (getRowNearY): make it return a RowList::iterator, adjust
7753 * text2.C (init): adjust
7754 (insertRow): remove function
7755 (insertParagraph): adjust
7756 (redoParagraphs): adjust
7757 (fullRebreak): adjust
7758 (updateCounters): adjust
7760 * text.C (top_y): rewrite to use RowList iterators.
7762 (setHeightOfRow): rewrite to sue RowList iterators.
7763 (appendParagraph): adjust
7764 (breakAgain): adjust
7765 (breakAgainOneRow): adjust
7766 (breakParagraph): adjust
7768 (getRowNearY): adjust, and remove commented code.
7770 * lyxtext.h (firstRow): delete function
7771 (lastRow): delete function
7772 (rows): new function (const and non-const versions.)
7773 (insertRow): delete function
7775 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7777 2003-03-29 John Levon <levon@movementarian.org>
7779 * BufferView_pimpl.C: always update scrollbar top
7780 because pasting text when we're anchored could mean we
7781 miss an update altogether
7783 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * text2.C (init): use rowlist_.end() and not 0.
7786 (insertRow): change to take a RowList::iterator as arg, adjust
7788 (insertParagraph): change to take a RowList::iterator as arg,
7790 (redoParagraphs): remove some debug msgs.
7792 * text.C (appendParagraph): change to take a RowList::iterator
7793 arg, adjust for this.
7794 (breakAgain): add an assert
7795 (breakAgainOneRow): ditto
7797 2003-03-29 John Levon <levon@movementarian.org>
7799 * text2.C: do not clear selection after inc/decDepth
7802 2003-03-29 John Levon <levon@movementarian.org>
7805 * buffer.C: fix broken strerrors according to Lars
7807 2003-03-29 John Levon <levon@movementarian.org>
7809 * converters.C: more Alert cleanups
7811 2003-03-29 John Levon <levon@movementarian.org>
7813 * bufferview_funcs.C: remove pointless Alert
7815 * buffer.C: fix confusing error message when
7816 a template is chmoded 000
7818 2003-03-29 John Levon <levon@movementarian.org>
7822 * BufferView_pimpl.C: Alert fixes
7826 * tabular-old.C: remove unused table compat reading
7828 2003-03-29 John Levon <levon@movementarian.org>
7833 * lyx_cb.C: more Alert cleanups
7835 * lyxfunc.C: don't allow chktex if not latex document
7837 2003-03-29 John Levon <levon@movementarian.org>
7841 * buffer.C: warnings pushed down from support/,
7844 2003-03-29 John Levon <levon@movementarian.org>
7846 * lyxfunc.C: safety check for C-r (revert)
7848 2003-03-29 John Levon <levon@movementarian.org>
7851 * bufferlist.C: several UI fixes using Alert::prompt.
7852 Fix the pointless looping quit code. Fix stupid revert
7857 * lyx_cb.C: use Alert::prompt
7859 * lyx_main.C: remove a silly question
7861 * lyxfunc.C: remove a couple of silly questions,
7864 2003-03-28 John Levon <levon@movementarian.org>
7866 * text2.C: fix bug 974 (End on empty par)
7868 2003-03-28 John Levon <levon@movementarian.org>
7870 * BufferView_pimpl.C:
7872 * lfuns.h: remove do-nothing math greek lfuns
7874 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * lyxgluelength.h (isValidGlueLength): add default arg on
7877 parameter 2. Remove default arg from friend in class.
7879 * lyxlength.h (isValidLength): add default arg on parameter 2.
7880 Remove default arg from friend in class.
7882 * text2.C (LyXText): adjust, initialize refresh_row.
7886 (insertParagraph): adjst
7887 (redoParagraphs): adjust
7888 (fullRebreak): adjust
7889 (updateCounters): adjust
7890 (deleteEmptyParagraphMechanism): first attempt at fixing a
7893 * text.C (top_y): adjust
7894 (setHeightOfRow): adjust
7896 (getRowNearY): adjust
7898 * lyxtext.h: include RowList.h
7899 (~LyXText): not needed anymore, deleted.
7900 (firstRow): modify for RowList
7901 (lastRow): new function
7902 Delete firstrow and lastrow class variables, add a Rowlist
7903 rowlist_ class variable.
7905 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7908 * RowList.C (insert): fix case where it == begin().
7910 2003-03-26 Angus Leeming <leeming@lyx.org>
7912 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7913 the thesaurus dialog.
7915 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7919 * RowList.[Ch]: new files
7921 * ParagraphList.C (erase): handle the case where it == begin
7924 2003-03-25 John Levon <levon@movementarian.org>
7928 * aspell.C: add new aspell support
7931 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7934 2003-03-25 Angus Leeming <leeming@lyx.org>
7937 * LyXAction.C (init): new LFUN_INSET_INSERT.
7939 * BufferView_pimpl.C (dispatch): split out part of the
7940 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7942 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7945 2003-03-25 Angus Leeming <leeming@lyx.org>
7947 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7949 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7952 * text3.C: remove useless row->height(0)
7954 2003-03-25 John Levon <levon@movementarian.org>
7958 * text3.C: rename the refreshing stuff to better names
7960 2003-03-24 John Levon <levon@movementarian.org>
7962 * BufferView_pimpl.h:
7963 * BufferView_pimpl.C: update layout choice on a mouse
7966 2003-03-23 John Levon <levon@movementarian.org>
7968 * Makefile.am: fix commandtags.h reference
7970 2003-03-22 John Levon <levon@movementarian.org>
7972 * BufferView_pimpl.C:
7977 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7979 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7982 * text.C: take the rtl methods out of line
7984 2003-03-21 André Pönitz <poenitz@gmx.net>
7986 * metricsinfo.[Ch]: new files containing structures to be passed around
7987 during the two-phase-drawing...
7989 2003-03-21 André Pönitz <poenitz@gmx.net>
7991 * lyxtextclass.C: read 'environment' tag.
7993 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7995 * text2.C (removeRow): fix bug 964
7997 2003-03-20 John Levon <levon@movementarian.org>
8001 * text2.C: paint cleanups. Inset::update() dropped font
8004 2003-03-19 John Levon <levon@movementarian.org>
8006 * lyxfunc.C: only fitcursor/markDirty if available()
8008 2003-03-19 John Levon <levon@movementarian.org>
8010 * commandtags.h: rename to ...
8012 * lfuns.h: ... this, and renumber / cleanup
8014 2003-03-19 John Levon <levon@movementarian.org>
8016 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8017 fit the cursor after an lfun
8021 * BufferView_pimpl.h:
8022 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8024 * LyXAction.C: layout-character should have ReadOnly
8026 * ParagraphParameters.C:
8028 * bufferview_funcs.C:
8035 * undo_funcs.C: changes from above
8037 2003-03-18 John Levon <levon@movementarian.org>
8039 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8040 remove it from update()
8042 * lyxfunc.C: update layout choice after an lfun
8044 * text3.C: remove extra updateLayoutChoice()s
8046 2003-03-18 John Levon <levon@movementarian.org>
8048 * text.C: top_y change means full repaint, fix
8049 a drawing bug with cursor movement
8051 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8055 * text2.C: anchor row on setCursor
8057 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8059 * lyxtext.h: remove almost all mutable keywords
8062 * text3.C: remove const keywords accordingly
8064 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8068 (TeXEnvironment): ditto
8071 2003-03-17 John Levon <levon@movementarian.org>
8073 * text.C (rowBreakPoint): remove attempt to fix displayed
8074 math insets inside a manual label
8076 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * lyxtext.h: remove BufferView* as first arg from almost all class
8080 * other files: adjust.
8082 2003-03-17 John Levon <levon@movementarian.org>
8086 * text2.C: more paint cleanups
8088 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8091 * rowpainter.C: remove "smart" background painting code
8093 2003-03-16 John Levon <levon@movementarian.org>
8098 * text3.C: add helper functions for setting refresh_row/y
8100 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8102 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8103 newline inset which *can* get inserted in the pass_thru layouts.
8104 This is primarily for literate documents.
8106 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8108 * buffer.C: increment LYX_FORMAT to 223
8110 2003-03-14 André Pönitz <poenitz@gmx.net>
8112 * textclass.h: prepare for environment handling, ws changes
8113 * lyxlayout.C: read latexheader and latexfooter tags
8115 2003-03-14 John Levon <levon@movementarian.org>
8117 * text2.C: rewrite ::status() a bit
8119 2003-03-13 John Levon <levon@movementarian.org>
8121 * lyxtext.h: add some docs
8123 2003-03-13 John Levon <levon@movementarian.org>
8128 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8130 2003-03-13 John Levon <levon@movementarian.org>
8132 * text3.C: fix appendix redrawing
8134 2003-03-13 John Levon <levon@movementarian.org>
8136 * text.C (setHeightOfRow):
8138 * rowpainter.C: make appendix mark have the text
8139 "Appendix" so the user knows what it is
8142 * LColor.C: s/appendixline/appendix/ from above
8144 2003-03-13 John Levon <levon@movementarian.org>
8146 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8148 * text.C: fix a getChar(pos) bug properly
8150 2003-03-13 Angus Leeming <leeming@lyx.org>
8153 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8154 Probably only temporary. Let's see how things pan out.
8156 * BufferView.C (unlockInset):
8157 * BufferView_pimpl.C (fitCursor):
8158 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8160 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8161 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8163 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8164 new functions that convert ParagraphParameters to and from a string.
8166 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8167 BufferView::Pimpl's dispatch.
8168 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8170 2003-03-13 André Pönitz <poenitz@gmx.net>
8174 * factory.C: make it aware of InsetEnv
8176 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * text2.C (setCursor): never ask for one past last
8179 (setCursor): add some debugging messages.
8181 * text.C (singleWidth): never ask for one past last
8182 (singleWidth): ditto
8184 (rightMargin): ditto
8185 (rowBreakPoint): ditto
8186 (setHeightOfRow): ditto
8187 (prepareToPrint): ditto
8189 * rowpainter.C (paintBackground): never ask for one past last
8190 (paintText): never ask for one past last
8192 * paragraph_pimpl.C (getChar): make the assert stricter, never
8193 allow the one past last pos to be taken
8195 * paragraph.C (getChar): ws changes only
8197 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8198 (numberOfSeparators): ditto
8199 (numberOfHfills): ditto
8201 2003-03-12 John Levon <levon@movementarian.org>
8207 * paragraph_funcs.C: fix per-buffer authorlists
8209 2003-03-12 John Levon <levon@movementarian.org>
8211 * text.C: fix newline in right address
8213 2003-03-12 Angus Leeming <leeming@lyx.org>
8215 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8216 duplicate those in LyXFunc::dispatch.
8220 * ToolbarDefaults.C:
8221 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8222 Add LFUN_FONTFREE_UPDATE.
8224 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8225 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8227 * bufferview_func.[Ch]: several new functions to facilliate
8228 transfer of data to and from the character dialog.
8230 2003-03-12 John Levon <levon@movementarian.org>
8235 * paragraph_funcs.C:
8236 * paragraph_pimpl.C:
8240 * text3.C: remove META_NEWLINE in favour of an inset
8243 * rowpainter.C: remove paintNewline (done by inset)
8245 2003-03-12 John Levon <levon@movementarian.org>
8247 * paragraph_pimpl.C: complain about bad getChar()s
8248 for a while at least
8250 2003-03-12 John Levon <levon@movementarian.org>
8253 * buffer.C: move paragraph read into a separate function,
8254 a little renaming to reflect that.
8257 * bufferparams.C: remove the author_ids map, not necessary now
8260 * factory.C: moved Buffer::readInset to here
8262 * paragraph_funcs.h:
8263 * paragraph_funcs.C: readParagraph free function moved from
8266 * tabular.C: name change
8268 2003-03-12 John Levon <levon@movementarian.org>
8271 * ParagraphParameters.C: move par params input to
8274 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8275 behave like a normal read from the stream wrt reading
8276 a line vs. a \\token
8278 2003-03-12 John Levon <levon@movementarian.org>
8281 * ParagraphParameters.h:
8282 * ParagraphParameters.C: move output code to a
8285 2003-03-12 John Levon <levon@movementarian.org>
8287 * BufferView.C (insertLyXFile):
8290 * tabular.C: use a parlist iterator for creating the
8293 2003-03-12 John Levon <levon@movementarian.org>
8295 * buffer.C: make current_change static local not
8298 2003-03-12 John Levon <levon@movementarian.org>
8300 * buffer.C: fix insertStringAsLines for change tracking
8302 2003-03-12 John Levon <levon@movementarian.org>
8309 * bufferparams.C: move author list into params. Rename some
8310 functions. Move the header reading into a separate token
8311 loop. Move the header token reading into BufferParams.
8313 2003-03-12 John Levon <levon@movementarian.org>
8315 * changes.C: put debug inside lyxerr.debugging() checks
8317 2003-03-11 André Pönitz <poenitz@gmx.net>
8319 * factory.C: make it aware of InsetHFill
8321 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * buffer.C (latexParagraphs): move function from here...
8324 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8327 2003-03-10 Angus Leeming <leeming@lyx.org>
8329 * LyXAction.C (init): fix bug in poplating array with multiple entries
8330 with the same LFUN (spotted by JMarc).
8332 2003-03-10 John Levon <levon@movementarian.org>
8335 * text2.C: move getColumnNearX() near its
8338 2003-03-10 John Levon <levon@movementarian.org>
8340 * text.C: fix break before a minipage
8342 2003-03-10 John Levon <levon@movementarian.org>
8344 * text.C: fix the last commit
8346 2003-03-09 John Levon <levon@movementarian.org>
8350 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8351 bug 365 (don't break before insets unless needed). Don't
8352 return a value > last under any circumstances.
8354 2003-03-09 Angus Leeming <leeming@lyx.org>
8356 * BufferView_pimpl.C (trackChanges, dispatch): call
8357 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8359 2003-03-09 Angus Leeming <leeming@lyx.org>
8361 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8362 than Dialogs::showAboutlyx().
8364 2003-03-09 Angus Leeming <leeming@lyx.org>
8366 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8367 than Dialogs::showTabularCreate().
8369 2003-03-09 John Levon <levon@movementarian.org>
8373 * text2.C: 3rd arg to nextBreakPoint was always the same.
8376 2003-03-08 John Levon <levon@movementarian.org>
8383 * text2.C: Remove the "main" bit from the "main body"
8386 2003-03-08 John Levon <levon@movementarian.org>
8388 * text.C (leftMargin): The left margin of an empty
8389 manual label paragraph should not include the label width
8392 * text.C (prepareToPrint): don't attempt to measure hfills
8393 for empty manual label paragraphs - the answer should be 0
8395 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * CutAndPaste.C: remove commented code and reindent.
8399 2003-03-08 John Levon <levon@movementarian.org>
8402 * lyxfunc.C: move reloadBuffer()
8405 * BufferView.C: to here
8407 * lyxvc.C: add comment
8410 * vc-backend.C: call bv->reload() to avoid
8411 getStatus() check on MENURELOAD
8413 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8415 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8416 to an old format .dep file.
8418 2003-03-07 Angus Leeming <leeming@lyx.org>
8420 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8421 when the LFUN_MOUSE_RELEASE should have been handled by
8422 inset->localDispatch.
8424 2003-03-07 Angus Leeming <leeming@lyx.org>
8426 * BufferView_pimpl.C (dispatch):
8427 * LyXAction.C (init):
8428 * ToolbarDefaults.C (init):
8430 * lyxfunc.C (getStatus):
8431 remove LFUN_INSET_GRAPHICS.
8433 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8435 2003-03-07 Angus Leeming <leeming@lyx.org>
8438 * LyXAction.C (init):
8439 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8441 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8444 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8446 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8447 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8449 2003-03-07 Angus Leeming <leeming@lyx.org>
8451 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8454 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8456 * ParagraphList.C (front): new function
8459 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8461 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8462 and top_row_offset_. removed var first_y.
8464 * text2.C (LyXText, removeRow):
8466 * BufferView_pimpl.C:
8467 use these methods instead of using first_y
8469 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * text2.C (pasteSelection): adjust for checkPastePossible
8473 * CutAndPaste.C: remove Paragraph * buf and replace with
8474 ParagraphList paragraphs.
8475 (DeleteBuffer): delete
8476 (cutSelection): change the tc type to textclass_type
8477 (copySelection): change the tc type to textclass_type
8478 (copySelection): adjust for ParagraphList
8479 (pasteSelection): change the tc type to textclass_type
8480 (pasteSelection): adjust for Paragraphlist
8481 (nrOfParagraphs): simplify for ParagraphList
8482 (checkPastePossible): simplify for ParagraphList
8483 (checkPastePossible): remove unused arg
8485 * ParagraphList.C (insert): handle the case where there are no
8488 * CutAndPaste.h: make CutAndPaste a namespace.
8490 * text3.C (dispatch): adjust
8492 * text.C (breakParagraph): add a ParagraphList as arg
8494 * paragraph_funcs.C (breakParagraph): change to take a
8495 BufferParams and a ParagraphList as args.
8496 (breakParagraphConservative): ditto
8497 (mergeParagraph): ditto
8498 (TeXDeeper): add a ParagraphList arg
8499 (TeXEnvironment): ditto
8502 * buffer.C (readLyXformat2): adjust
8503 (insertStringAsLines): adjust
8504 (latexParagraphs): adjust
8506 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8507 (cutSelection): adjust
8508 (pasteSelection): adjust
8510 * BufferView_pimpl.C (insertInset): adjust
8512 2003-03-05 Angus Leeming <leeming@lyx.org>
8515 * LyXAction.C (init):
8516 * BufferView_pimpl.C (dispatch):
8517 * lyxfunc.C (getStatus):
8518 remove LFUN_CHILD_INSERT.
8520 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8522 2003-03-05 Angus Leeming <leeming@lyx.org>
8525 * LyXAction.C (init):
8526 * src/factory.C (createInset):
8527 * lyxfunc.C (getStatus):
8528 * text3.C (dispatch):
8529 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8531 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8533 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8535 * ParagraphList.C (insert): handle insert right before end()
8536 (erase): fix cases where it can be first or last paragraph.
8538 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8541 Paragraph::next and Paragraph::previous
8544 * text.C (breakParagraph): adjust
8546 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8547 BufferParams& as arg.
8548 (breakParagraph): use ParagraphList::insert
8549 (breakParagraphConservative): take a Buffer* instead of a
8550 BufferParams& as arg.
8551 (breakParagraphConservative): use ParagraphList::insert.
8553 * buffer.C (insertStringAsLines): un-const it
8554 (insertStringAsLines): adjust
8556 * ParagraphList.C (insert): new function
8558 * CutAndPaste.C (pasteSelection): adjust
8560 * text.C (backspace): adjust
8562 * tabular.C (SetMultiColumn): adjust
8564 * CutAndPaste.C (cutSelection): adjust
8565 (pasteSelection): adjust
8567 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8568 Buffer const * as arg
8570 * ParagraphList.C (erase): new function
8571 * paragraph_funcs.C (mergeParagraph): use it
8572 (mergeParagraph): make it take a Buffer* instead of a
8573 BufferParams* as arg
8575 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8577 (breakParagraphConservative): ditto
8579 * paragraph.h: remove the breakParagraph friend
8581 * paragraph.C (eraseIntern): new function
8582 (setChange): new function
8584 * paragraph_funcs.C (mergeParagraph): make it take a
8585 ParagraphList::iterator instead of a Paragraph *, adjust
8588 * paragraph.h: move an #endif so that the change tracking stuff
8589 also works in the NO_NEXT case.
8591 2003-03-04 Angus Leeming <leeming@lyx.org>
8594 * LyXAction.C: new LFUN_INSET_MODIFY.
8596 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8597 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8599 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8601 * several files: ws changes only
8603 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8604 (TeXEnvironment): ditto
8607 * buffer.C (makeLaTeXFile): adjust
8608 (latexParagraphs): make it take ParagraphList::iterator as args
8610 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * buffer.C (latexParagraphs): adjust
8614 * paragraph.C (TeXOnePar): move function...
8615 (optArgInset): move function...
8616 (TeXEnvironment): move function...
8617 * paragraph_pimpl.C (TeXDeeper): move function...
8618 * paragraph_funcs.C: ...here
8620 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8622 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * buffer.C (readInset): remove compability code for old Figure and
8627 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8629 * buffer.C: ws changes
8632 * BufferView_pimpl.C: ditto
8635 * bufferlist.h: ditto
8639 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8641 * converter.[Ch]: split into itself +
8644 * Makefile.am: += graph.[Ch] + format.[Ch]
8651 * lyxrc.C: added #include "format.h"
8653 2003-02-27 Angus Leeming <leeming@lyx.org>
8655 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8658 * factory.C (createInset): add "label" to the factory.
8660 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8661 string and do no more.
8663 2003-02-27 Angus Leeming <leeming@lyx.org>
8666 * LyXAction.C (init):
8667 * factory.C (createInset):
8668 * BufferView_pimpl.C (dispatch):
8669 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8671 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8673 * lyxfunc.C (dispatch):
8674 * text3.C (dispatch): pass name to params2string.
8676 2003-02-26 Angus Leeming <leeming@lyx.org>
8678 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8680 Rearrange the ~includes. Strip out the unnecessary ones.
8682 * factory.C (createInset): reformat.
8683 create new insets for the various LFUN_XYZ_APPLY lfuns.
8685 2003-02-26 John Levon <levon@movementarian.org>
8688 * lyxrow.C: add isParStart,isParEnd helpers
8690 * paragraph.h: make isInserted/DeletedText take refs
8692 * paragraph_funcs.h:
8693 * paragraph_funcs.C: remove #if 0'd code
8698 * text.C: use lyxrow helpers above.
8699 Move draw and paint routines to RowPainter.
8700 Make several methods use refs not pointers.
8701 Make backgroundColor() const.
8702 Add markChangeInDraw(), isInInset().
8703 Merge changeRegionCase into changeCase.
8704 Make workWidth() shouldn't-happen code into an Assert.
8707 * rowpainter.C: new class for painting a row.
8710 * vspace.C: make inPixels take a ref
8712 2003-02-26 Angus Leeming <leeming@lyx.org>
8714 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8717 2003-02-25 John Levon <levon@movementarian.org>
8719 * ispell.C: give the forked command a more accurate name
8721 2003-02-22 John Levon <levon@movementarian.org>
8724 * toc.C: make TocItem store an id not a Paragraph *
8727 2003-02-21 Angus Leeming <leeming@lyx.org>
8729 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8730 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8731 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8732 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8733 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8734 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8736 * BufferView_pimpl.C (dispatch):
8737 * LyXAction.C (init):
8738 * factory.C (createInset):
8739 * lyxfunc.C (getStatus, dispatch):
8740 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8742 2003-02-21 Angus Leeming <leeming@lyx.org>
8744 * BufferView_pimpl.C (MenuInsertLyXFile):
8745 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8746 * lyxfunc.C (menuNew, open, doImport):
8747 no longer pass a LyXView & to fileDlg.
8749 2003-02-21 Angus Leeming <leeming@lyx.org>
8751 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8752 * LyXAction.C: change, BIBKEY to BIBITEM.
8753 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8754 Change InsetBibKey to InsetBibitem.
8755 Change BIBKEY_CODE to BIBITEM_CODE.
8756 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8757 * factory.C: replace insetbib.h with insetbibitem.h.
8758 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8759 * paragraph.C: replace insetbib.h with insetbibitem.h.
8760 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8761 Change bibkey() to bibitem().
8762 * text.C: remove insetbib.h.
8763 * text2.C: replace insetbib.h with insetbibitem.h.
8764 change bibkey() to bibitem().
8765 * text3.C: remove insetbib.h.
8766 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8768 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8770 * lyxrc.C (output): enclose user email in quotes (in case there are
8773 2003-02-18 John Levon <levon@movementarian.org>
8775 * buffer.h: add std::
8777 2003-02-17 John Levon <levon@movementarian.org>
8783 * pspell.C: reworking. Especially in ispell, a large
8784 number of clean ups and bug fixes.
8786 * lyxfunc.C: fix revert to behave sensibly
8788 2003-02-17 André Pönitz <poenitz@gmx.net>
8791 * commandtags.h: new LFUN_INSERT_BIBKEY
8801 * paragraph_func.C: remove special bibkey handling
8803 2003-02-17 John Levon <levon@movementarian.org>
8805 * text.C (Delete): fix case where delete at the end of
8806 the very first paragraph would not merge the pars
8808 2003-02-17 John Levon <levon@movementarian.org>
8810 * lyxrow.C: fix lastPrintablePos()
8812 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * bufferparams.C (writeLaTeX): add a std:here
8816 * buffer.C: and remove a using directive there
8818 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8820 * buffer.C (makeLaTeXFile): move the code that generates the
8823 * bufferparams.C (writeLaTeX): ... in this new method
8825 * LaTeXFeatures.C (getEncodingSet): make const
8826 (getLanguages): make const
8828 * MenuBackend.C (binding): returns the binding associated to this
8830 (add): sets the status of each item by calling getStatus. Adds
8832 (read): add support for OptSubMenu
8833 (expand): remove extra separator at the end of expanded menu
8835 2003-02-15 John Levon <levon@movementarian.org>
8838 * BufferView_pimpl.C:
8840 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8841 inset code that had no actual effect. Remove unneeded status
8844 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8849 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8851 * text.C (drawLengthMarker): also draw an arrow marker for
8852 symbolic lengths (medskip...)
8854 2003-02-14 John Levon <levon@movementarian.org>
8857 * tabular.C: better method names
8859 2003-02-14 John Levon <levon@movementarian.org>
8861 * BufferView_pimpl.C:
8866 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8867 it's a more accurate name. Remove some pointless uses.
8869 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * text2.C (LyXText): change order of initilizers to shut off
8874 2003-02-14 John Levon <levon@movementarian.org>
8876 * buffer.C: use ParIterator for getParFromID()
8880 * paragraph_pimpl.h:
8881 * paragraph_pimpl.C: remove unused getParFromID()
8883 2003-02-14 John Levon <levon@movementarian.org>
8885 * buffer.C: remove some very old #if 0'd parse code
8887 2003-02-13 John Levon <levon@movementarian.org>
8891 * text2.C: move hfillExpansion(), numberOfSeparators(),
8892 rowLast(), rowLastPrintable(), numberofHfills(),
8893 numberOfLabelHfills() ...
8896 * lyxrow.C: ... to member functions here.
8901 * text.C: remove LyXText::beginningOfMainBody(), and call
8902 p->beginningOfMainBody() directly. Move the check for
8903 LABEL_MANUAL into the latter.
8910 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8916 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8917 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8919 2003-02-13 John Levon <levon@movementarian.org>
8921 * CutAndPaste.C: remove debug
8923 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8925 * paragraph.C (asString): remove two unused variables
8927 * lyxtextclass.C (readTitleType):
8929 (LyXTextClass): handle new members titletype_ and titlename_
8931 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8933 2003-02-09 John Levon <levon@movementarian.org>
8936 * buffer.C: replace hand-coded list with a map for the dep clean
8938 2003-02-08 John Levon <levon@movementarian.org>
8940 * LaTeX.C: consolidate code into showRunMessage() helper
8942 2003-02-08 John Levon <levon@movementarian.org>
8947 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8948 and pass the size in explicitly
8950 * BufferView_pimpl.h:
8951 * BufferView_pimpl.C:
8953 * BufferView.C: add getCurrentChange()
8955 * BufferView_pimpl.h:
8956 * BufferView_pimpl.C: handle change lfuns
8958 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8959 for changes. Mark pasted paragraphs as new.
8961 * support/lyxtime.h:
8962 * support/lyxtime.C:
8963 * DepTable.C: abstract time_t as lyx::time_type
8966 * LColor.C: add colours for new text, deleted text, changebars
8968 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8969 package use "usenames" option.
8973 * LyXAction.C: add change lfuns
8977 * author.C: author handling
8980 * buffer.C: add a per-buffer author list, with first entry as
8981 current author. Handle new .lyx tokens for change tracking. Output
8982 author list to .lyx file. Output dvipost stuff to .tex preamble.
8983 Bump lyx format to 222.
8986 * bufferlist.C: add setCurrentAuthor() to reset current author details
8990 * bufferparams.C: add param for tracking
8992 * bufferview_funcs.C: output change info in minibuffer
8996 * changes.C: add change-tracking structure
8999 * debug.C: add CHANGES debug flag
9002 * lyxfind.C: add code for finding the next change piece
9005 * lyxrc.C: add user_name and user_email
9008 * lyxrow.C: add a metric for the top of the text line
9011 * text.C: implement accept/rejectChange()
9014 * text.C: paint changebars. Paint new/deleted text in the chosen
9015 colours. Strike through deleted text.
9019 * paragraph_pimpl.h:
9020 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9021 in the current change to the insert functions. Rework erase to
9022 mark text as deleted, adding an eraseIntern() and a range-based
9023 erase(). Implement per-paragraph change lookup and
9026 * paragraph_funcs.C: Fixup paste for change tracking.
9028 * tabular.C: mark added row/columns as new.
9030 * text.C: fix rowLast() to never return -1. Don't allow
9031 spellchecking of deleted text. Track transpose changes. Don't
9032 allow paragraph break or merge where appropriate.
9034 * text2.C: leave cursor at end of selection after a cut.
9036 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9038 * text.C (getLengthMarkerHeight):
9039 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9040 visible on screen too.
9042 2003-02-07 John Levon <levon@movementarian.org>
9044 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9046 2003-02-05 Angus Leeming <leeming@lyx.org>
9048 * lyxserver.C (read_ready): revert my patch of 11 September last year
9049 as it sends PC cpu through the roof. Presumably this means that
9050 the lyxserver will no longer run on an Alpha...
9052 2003-01-30 Angus Leeming <leeming@lyx.org>
9054 * factory.C (createInset): create an InsetCommandParam of type "index"
9055 and use it to 'do the right thing'.
9057 * text2.C (getStringToIndex): ensure that cursor position is always
9058 reset to the reset_cursor position.
9060 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9062 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9065 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9069 * lyxfunc.C: Output messages with identical spelling, punctuation,
9072 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9074 * MenuBackend.C (expandFormats): List only viewable export formats
9077 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9080 * lyxfunc.C (getStatus): Make sure that formats other than
9081 "fax" can also be disabled
9083 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9085 * text3.C (dispatch): put the lfuns that insert insets in 3
9086 groups, and call doInsertInset with appropriate arguments.
9087 (doInsertInset): new function, that creates an inset and inserts
9088 it according to some boolean parameters.
9090 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9092 * buffer.C (readFile): remember to pass on 'par' when calling
9093 readFile recursively.
9095 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9097 * MenuBackend.C (expandFormats): add "..." to import formats.
9099 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9101 * paragraph.C (asString): Remove XForms RTL hacks.
9103 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9104 * buffer.C: fix typo
9106 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9108 * Makefile.am (LIBS): delete var
9109 (lyx_LDADD): add @LIBS@ here instead.
9111 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9113 * Clarify the meaning of "wheel mouse jump"
9115 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9117 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9120 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9122 * importer.C (Loaders): do not preallocate 3 elements in the
9123 vector, since one ends up with 6 elements otherwise
9125 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9127 * DepTable.C (write): write the file name as last element of the
9128 .dep file (because it may contain spaces)
9129 (read): read info in the right order
9131 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9133 * paragraph_pimpl.C (simpleTeXBlanks):
9134 (simpleTeXSpecialChars):
9135 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9137 * tabular.C (latex): add some missing case statements. Reindent.
9139 * MenuBackend.C (expandToc): remove unused variable.
9141 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9150 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9153 2003-01-05 John Levon <levon@movementarian.org>
9156 * BufferView.C: add getEncoding()
9159 * kbsequence.C: do not store last keypress
9162 * lyxfunc.C: store last keypress here instead. Pass encoding
9165 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9167 * lyx_main.C (init): remove annoying error message when following
9168 symbolic links (bug #780)
9170 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9172 * text.C (insertChar):
9173 * lyxrc.C (getDescription): remove extra spaces
9175 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9177 * lyxrc.C (getDescription): remove extra spaces
9179 2002-12-20 John Levon <levon@movementarian.org>
9181 * text3.C: hack fix for page up/down across tall rows
9183 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9185 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9188 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9191 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9192 thesaurus is not compiled in
9194 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9196 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9198 2002-12-16 Angus Leeming <leeming@lyx.org>
9201 * lyx_main.C (init): remove override_x_deadkeys stuff.
9203 2002-12-12 John Levon <levon@movementarian.org>
9205 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9206 insert. Only remove shift modifier under strict
9209 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9211 * MenuBackend.C (expandToc): fix crash.
9213 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9215 * MenuBackend.C (expandToc): gettext on float names.
9217 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9219 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9220 implement bool empty() [bug 490]
9222 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9226 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * several files: ws changes
9230 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * text2.C (setCounter): clean up a bit, use boost.format.
9233 (updateCounters): initialize par upon declaration.
9235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9236 if the layout exists. We do not just store the layout any more.
9237 (SwitchLayoutsBetweenClasses): use boost.format
9239 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9241 * converter.C (convert): if from and to files are the same, use a
9242 temporary files as intermediary
9244 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9247 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9249 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9251 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9253 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9255 * tabular.C (asciiPrintCell): use string(size, char) instead of
9258 * sgml.C (openTag): fix order of arguments to string constructor
9261 * lyxfunc.C (dispatch): use boost.format
9263 * lots of files: change "c" -> 'c'
9265 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9267 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9269 2002-11-25 Angus Leeming <leeming@lyx.org>
9271 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9273 * lyx_main.C (init): compile fix.
9275 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9277 * lyx_cb.C (start): boost.formatify
9278 do not include <iostream>
9280 * lengthcommon.C: ws only
9282 * boost-inst.C,BoostFormat.h: add more explict instantations
9284 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * lots of files: handle USE_BOOST_FORMAT
9288 2002-11-21 John Levon <levon@movementarian.org>
9290 * pspell.C: fix compile
9292 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * lyxfunc.C (dispatch): use boost::format
9298 * lyxfont.C (stateText): use boost::format
9300 * lyx_main.C (LyX): use boost::format
9302 (queryUserLyXDir): ditto
9305 (typedef boost::function): use the recommened syntax.
9307 * importer.C (Import): use boost::format
9309 * debug.C (showLevel): use boost::format
9311 * converter.C (view): use boost::format
9316 * bufferview_funcs.C (currentState): use boost::format
9318 * bufferlist.C (emergencyWrite): use boost::format
9320 * buffer.C (readLyXformat2): use boost::format
9321 (parseSingleLyXformat2Token): ditto
9323 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9325 * LaTeX.C (run): use boost::format
9327 * Chktex.C (scanLogFile): use boost::format
9329 * BufferView_pimpl.C (savePosition): use boost::format
9330 (restorePosition): ditto
9331 (MenuInsertLyXFile): ditto
9333 * BoostFormat.h: help file for explicit instation.
9335 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9337 * tabular.C (latex): Support for block alignment in fixed width
9340 2002-11-17 John Levon <levon@movementarian.org>
9342 * BufferView_pimpl.C:
9344 * lyxfunc.C: split filedialog into open/save
9346 2002-11-08 Juergen Vigna <jug@sad.it>
9348 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9349 by my last patch (hopefully).
9351 2002-11-08 John Levon <levon@movementarian.org>
9360 * toc.C: ParConstIterator, and use it (from Lars)
9362 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9364 * lyxtextclass.[Ch]: revise and add doxygen comments
9366 2002-11-07 John Levon <levon@movementarian.org>
9368 * text.C: fix progress value for spellchecker
9370 * toc.C: fix navigate menu for insetwrap inside minipage
9372 * paragraph_funcs.C: added FIXME for suspect code
9374 2002-11-07 John Levon <levon@movementarian.org>
9376 * BufferView_pimpl.C: fix redrawing of insets
9379 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9381 * text2.C (updateCounters): fix bug 668
9383 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9385 * text3.C (dispatch): Do not make the buffer dirty when moving the
9388 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9390 * vc-backend.C: STRCONV
9393 * text2.C (setCounter): STRCONV
9395 * paragraph.C (asString): STRCONV
9397 * lyxlength.C (asString): STRCONV
9398 (asLatexString): ditto
9400 * lyxgluelength.C (asString): STRCONV
9401 (asLatexString): ditto
9403 * lyxfunc.C (dispatch): STRCONV
9406 * lyxfont.C (stateText): STRCONV
9408 * importer.C (Import): STRCONV
9410 * counters.C (labelItem): STRCONV
9411 (numberLabel): ditto
9412 (numberLabel): remove unused ostringstream o
9417 * bufferview_funcs.C (currentState): STRCONV
9419 * buffer.C (readFile): STRCONV
9420 (asciiParagraph): ditto
9421 (makeLaTeXFile): ditto
9423 * Spacing.C (writeEnvirBegin): STRCONV
9425 * LaTeXFeatures.C (getLanguages): STRCONV
9426 (getPackages): ditto
9428 (getBabelOptions): ditto
9429 (getTClassPreamble): ditto
9430 (getLyXSGMLEntities): ditto
9431 (getIncludedFiles): ditto
9435 (scanAuxFile): ditto
9438 * LString.h: add the STRCONV macros
9440 * BufferView_pimpl.C (savePosition): STRCONV
9441 (restorePosition): ditto
9442 (MenuInsertLyXFile): ditto
9444 * vc-backend.C (scanMaster): change from submatch[...] to
9447 * funcrequest.C: include config.h
9449 * factory.C: include config.h
9451 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9453 * box.C: include config.h
9455 * LaTeX.C (scanAuxFile): change from submatch[...] to
9459 2002-10-25 Angus Leeming <leeming@lyx.org>
9461 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9463 * ispell.[Ch] (setError): new method.
9464 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9465 Use setError() insetead of goto END.
9467 * lyx_cb.C (AutoSave): move out child process into new class
9470 2002-10-30 John Levon <levon@movementarian.org>
9472 * text3.C: make start appendix undoable
9474 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9476 * lyxlength.C (inPixels): Fix returned value.
9478 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9481 2002-10-24 Angus Leeming <leeming@lyx.org>
9483 * lyxgluelength.h: no need to forward declare BufferParams
9484 or BufferView, so don't.
9486 2002-10-21 John Levon <levon@movementarian.org>
9488 * BufferView.C: menuUndo ->undo, redo
9490 * BufferView.h: document, remove dead, make some methods private
9492 * paragraph_funcs.h:
9493 * paragraph_funcs.C:
9494 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9499 * sgml.C: move sgml open/close tag into sgml.C
9501 * bufferview_funcs.h: unused prototype
9504 * lyxfunc.C: remove unused
9507 * text.C: remove unused
9509 2002-10-21 John Levon <levon@movementarian.org>
9513 * BufferView_pimpl.h:
9514 * BufferView_pimpl.C: fix mouse wheel handling based on
9515 patch from Darren Freeman
9517 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9519 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9521 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9523 * lyxlength.C (inPixels): Fix hanfling of negative length.
9524 Fix LyXLength::MU case.
9526 2002-10-16 John Levon <levon@movementarian.org>
9528 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9530 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9532 * converter.C (view): add support for $$i (file name) and $$p
9533 (file path) for the viewer command. If $$i is not specified, then
9534 it is appended to the command (for compatibility with old syntax)
9536 2002-10-14 Juergen Vigna <jug@sad.it>
9538 * undo_funcs.C (textHandleUndo): alter the order in which the
9539 new undopar is added to the LyXText, as we have to set first
9540 the right prev/next and then add it as otherwise the rebuild of
9541 LyXText is not correct. Also reset the cursor to the right paragraph,
9542 with this IMO we could remove the hack in "redoParagraphs()".
9544 2002-10-09 Angus Leeming <leeming@lyx.org>
9546 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9547 to turn off an optimisation if a new inset is to be inserted.
9549 2002-10-11 André Pönitz <poenitz@gmx.net>
9551 * lyxtext.h: make some functions public to allow access
9552 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9554 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * text3.C (dispatch): when changing layout, avoid an infinite loop
9559 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9561 * lyxrc.C (read): treat a viewer or converter command of "none" as
9564 * MenuBackend.C (expandFormats): for an update, also allow the
9565 formats that are not viewable
9567 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9568 script if it is newer than the lyxrc.defaults in user directory
9570 2002-10-07 André Pönitz <poenitz@gmx.net>
9572 * text.C: Vitaly Lipatov's small i18n fix
9574 2002-09-25 Angus Leeming <leeming@lyx.org>
9576 * ispell.h: doxygen fix.
9578 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9580 * buffer.h (readFile): Add a new argument to the method, to allow
9581 reading of old-format templates.
9583 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9585 * toc.C (getTocList): Get TOC from InsetWrap.
9587 2002-09-16 John Levon <levon@movementarian.org>
9589 * lyxfunc.C: check tabular for cut/copy too
9591 2002-09-12 John Levon <levon@movementarian.org>
9596 * factory.C: add header
9598 * paragraph_funcs.h:
9599 * paragraph_funcs.C: cleanup
9601 2002-09-11 John Levon <levon@movementarian.org>
9603 * PrinterParams.h: odd/even default to true
9605 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9607 * PrinterParams.h: update printer parameters for new xforms dialog
9609 2002-09-11 Angus Leeming <leeming@lyx.org>
9611 * lyxserver.C (read_ready): re-write to make it more transparent
9612 and to make it work in coherent fashion under Tru64 Unix.
9614 2002-09-11 André Pönitz <poenitz@gmx.net>
9618 * text3.C: implement LFUN_WORDSEL
9620 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9622 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9623 make floatlist_ a boost::shared_ptr<FloatList>
9625 * lyxtextclass.C: include FloatList.h
9626 (LyXTextClass): initialize floatlist_
9627 (TextClassTags): add TC_NOFLOAT
9628 (Read): match "nofloat" to TC_NOFLOAT and use it.
9629 (readFloat): modify call to floatlist_
9633 * FloatList.[Ch] (FloatList): remove commented out float
9635 (erase): new function
9637 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * MenuBackend.C (expandToc): fix crash when there is no document
9642 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9644 * many files: Add insetwrap.
9646 2002-09-09 John Levon <levon@movementarian.org>
9648 * text2.C: remove confusing and awkward depth wraparound
9650 2002-09-09 John Levon <levon@movementarian.org>
9652 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9655 * buffer.C: remove getIncludeonlyList()
9658 * lyxfunc.C: remove headers
9660 2002-09-09 Juergen Vigna <jug@sad.it>
9662 * text.C (getColumnNearX): fix form Michael this is most
9663 probably a cut&paste bug.
9665 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9667 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9669 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9670 references, ws changes.
9672 * text2.C (init): update counters after init
9673 (insertParagraph): no need to set counter on idividual paragraphs.
9674 (setCounter): access the counters object in the textclass object
9675 on in the buffer object.
9676 (updateCounters): ditto
9678 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9679 shared_ptr<Counters> to avoid loading counters.h in all
9681 (LyXTextClass): initialize ctrs_
9682 (TextClassTags): add TC_COUNTER, and ...
9683 (Read): use it here.
9684 (CounterTags): new tags
9685 (readCounter): new function
9686 (counters): new funtion
9687 (defaultLayoutName): return a const reference
9689 * counters.C (Counters): remove contructor
9690 (newCounter): remove a couple of unneeded statements.
9691 (newCounter): simplify a bit.
9692 (numberLabel): some small formatting changes.
9694 * buffer.[Ch]: remove all traces of counters, move the Counters
9695 object to the LyXTextClass.
9697 2002-09-06 Alain Castera <castera@in2p3.fr>
9699 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9700 package to set the horizontal alignment on fixed width columns.
9703 * lyx_sty.h: added tabularnewline macro def.
9705 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9707 2002-09-06 John Levon <levon@movementarian.org>
9709 * LyXAction.C: tooltips for sub/superscript
9711 * MenuBackend.C: a bit more verbose
9713 * lyxfunc.C: tiny clean
9715 * undo_funcs.C: document undo_frozen
9717 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * counters.C (Counters): add missing algorithm counter.
9721 * text2.C (setCounter): lookup the counter with layouts latexname
9722 instead of by section number.
9723 (setCounter): use a hackish way to lookup the correct enum
9725 a float name->type change
9726 reset enum couners with counter name directly instead of depth value.
9728 * counters.C (Counters): remove the push_backs, change to use the
9729 float type not the float name.
9730 (labelItem): remove unused string, float name->type change
9732 * counters.h: don't include vector, loose the enums and sects vectors
9734 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9736 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9737 (Read): add float->TC_FLOAT to textclassTags
9738 (Read): and handle it in the switch
9739 (readFloat): new function
9741 * FloatList.C (FloatList): comment out the hardcoded float
9744 * lyxlayout.h: ws change.
9746 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9748 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9750 2002-09-03 Angus Leeming <leeming@lyx.org>
9752 * BufferView_pimpl.h: qualified name is not allowed in member
9753 declaration: WorkArea & Pimpl::workarea() const;
9755 * factory.C: added using std::endl directive.
9757 * text3.C: added using std::find and std::vector directives.
9759 2002-08-29 André Pönitz <poenitz@gmx.net>
9762 * text2.C: remove unused member number_of_rows
9765 * BufferView2.C: remove file, move contents to...
9766 * BufferView.C: ... here
9768 * BufferView_pimpl.C:
9769 * factory.C: move more inset creation to factory
9771 * vspace.C: avoid direct usage of LyXText, ws changes
9774 don't provide direct access to WorkArea, use two simple
9775 acessors haveSelction() and workHeight() instead
9778 2002-08-29 John Levon <levon@movementarian.org>
9780 * BufferView_pimpl.C (dispatch): do not continue when
9783 2002-08-28 André Pönitz <poenitz@gmx.net>
9785 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9788 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9790 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9792 * buffer.C: increment LYX_FORMAT to 221
9794 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9795 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9797 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9799 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9801 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * factory.C (createInset): use LyXTextClass::floats
9805 * MenuBackend.C (expandFloatListInsert):
9806 (expandFloatInsert):
9809 * text2.C (setCounter):
9811 * LaTeXFeatures.C (useFloat):
9812 (getFloatDefinitions):
9814 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9816 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9817 floatlist_, with accessor floats().
9819 * FloatList.h: remove global FloatList
9821 2002-08-26 André Pönitz <poenitz@gmx.net>
9823 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9827 * BufferView_pimpl.C:
9828 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9830 2002-08-25 John Levon <levon@movementarian.org>
9832 * LyXAction.C: fix margin note description
9834 2002-08-24 John Levon <levon@movementarian.org>
9838 * bufferview_funcs.C:
9840 * undo_funcs.C: cleanups
9842 * lyxfunc.C: disable CUT/COPY when no selection
9844 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9846 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9847 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9849 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9850 Add backward compatibility to "mono", "gray" and "no".
9852 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9854 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9855 (and file_format >= 200).
9857 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9859 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9861 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9865 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9867 * BufferView_pimpl.C:
9874 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9875 inset and code to make it work with the paragraph code. The inset
9876 can be anywhere in the paragraph, but will only do the expected
9877 thing in LaTeX if the layout file contains the parameter line
9879 (or more generally, a nonzero value) for that layout.
9881 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9883 * paragraph.h: remove the declaration of undefined counters class
9886 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9888 * text2.C (setCounter): fixed enumeration mis-count as reported by
9889 Dr. Richard Hawkins.
9891 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * paragraph_funcs.h: remove some unneeded includes
9895 * text.C (backspace): pasteParagraph now in global scipe
9897 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9898 (pasteSelection): ditto
9900 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9901 * paragraph_funcs.C (pasteParagraph): ... here
9903 2002-08-20 André Pönitz <poenitz@gmx.net>
9905 * commandtags.h: new LFUNs for swapping/copying table row/colums
9908 * lyxfunc.C: support for new lfuns
9910 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9913 * buffer.[Ch]: remove NO_COMPABILITY stuff
9915 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9917 * boost.C (throw_exception): new file, with helper function for
9918 boost compiled without exceptions.
9923 * ParameterStruct.h:
9924 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9926 * bufferlist.C (emergencyWriteAll): use boost bind
9928 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9930 * text.C: include paragraph_funcs.h
9931 (breakParagraph): breakParagraph is now in global scope
9933 * paragraph_funcs.[Ch]: new files
9935 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9938 * buffer.C: include paragraph_funcs.h
9939 (insertStringAsLines): breakParagraph is now in global scope
9941 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9944 * CutAndPaste.C: include paragraph_funcs.h
9945 (cutSelection): breakParagraphConservative is now in global scope
9946 (pasteSelection): ditto
9948 * buffer.h: declare oprator== and operator!= for
9949 Buffer::inset_iterator
9951 * bufferlist.C (emergencyWrite): don't use fmt(...)
9953 * text3.C: add using std::endl
9955 * BufferView.C (moveCursorUpdate): remove default arg
9957 2002-08-20 André Pönitz <poenitz@gmx.net>
9959 * buffer.[Ch]: move inline functions to .C
9962 * BufferView_pimpl.C:
9964 * buffer.[Ch]: use improved inset_iterator
9967 * paragraph.[Ch]: write one paragraph at a time
9969 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9971 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9972 style if style is not specified.
9974 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9976 * text2.C (setCounter): when searching for right label for a
9977 caption, make sure to recurse to parent insets (so that a caption
9978 in a minipage in a figure float works) (bug #568)
9980 2002-08-20 André Pönitz <poenitz@gmx.net>
9982 * text3.C: new file for LyXText::dispatch() and helpers
9984 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9986 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9988 2002-08-19 André Pönitz <poenitz@gmx.net>
9991 * text.C: new LyXText::dispatch()
9993 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9995 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9997 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9999 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10002 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * Makefile.am: use $(variables) instead of @substitutions@
10006 2002-08-15 André Pönitz <poenitz@gmx.net>
10009 * BufferView_pimpl.C: streamlining mathed <-> outer world
10013 * LyXAction.C: remove unused LFUN_MATH
10015 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10017 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10019 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10021 * paragraph.C (Paragraph): reformat a bit
10022 (cutIntoMinibuffer): use builtin InsetList function instad of
10026 * buffer.C: include boost/bind.hpp, add using std::for_each
10027 (writeFileAscii): use ParagraphList iterators
10028 (validate): use for_each for validate traversal of paragraphs
10029 (getBibkeyList): use ParagraphList iterators
10030 (resizeInsets): use for_each to resizeInsetsLyXText for all
10032 (getParFromID): use ParagraphList iterators
10034 * BufferView2.C (lockInset): use paragraph list and iterators
10036 2002-08-14 John Levon <levon@movementarian.org>
10038 * lyxserver.C: remove spurious xforms include
10040 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10042 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10044 2002-08-13 André Pönitz <poenitz@gmx.net>
10047 * lyxfunc.C: further cleaning
10049 2002-08-13 André Pönitz <poenitz@gmx.net>
10051 * funcrequest.h: new constructor
10053 * funcrequest.C: move stuff here from .h
10056 * BufferView_pimpl.C:
10059 * lyxfunc.C: subsequent changes
10061 * lyxfunc.h: new view() member function
10063 * lyxfunc.C: subsequent changes
10065 2002-08-13 Angus Leeming <leeming@lyx.org>
10068 * BufferView_pimpl.C:
10076 changes due to the changed LyXView interface that now returns references
10077 to member variables not pointers.
10079 2002-08-13 Angus Leeming <leeming@lyx.org>
10081 * WordLangTuple (word, lang_code): return references to strings,
10086 * lyxtext.h: forward-declare WordLangTuple.
10091 * text.C: #include "WordLangTuple.h".
10094 * text.C: (selectNextWordToSpellcheck): constify return type.
10096 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10102 * paragraph_pimpl.h:
10105 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10106 suggested by Angus.
10107 Made updateCounter always count from start of buffer, and removed
10108 second argument (par).
10109 Reverted floats number display to '#'. Perhaps I'll try again when the
10110 code base is sanitized a bit.
10112 2002-08-12 Angus Leeming <leeming@lyx.org>
10114 * buffer.[Ch] (getLabelList): constify.
10116 2002-08-07 André Pönitz <poenitz@gmx.net>
10118 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10120 * funcrequest.h: extension to keep mouse (x,y) position
10122 2002-08-12 Juergen Vigna <jug@sad.it>
10124 * BufferView2.C (insertErrors): forbid undo when inserting error
10127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10129 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10131 * ParagraphList.[Ch]: new files
10133 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10135 * BufferView2.C (lockInset): ParagraphList changes
10138 * bufferlist.C: ditto
10142 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10144 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10145 unused class variable counter_,
10147 * paragraph.[Ch] (getFirstCounter): delete unused function
10149 * counters.C: include LAssert.h
10150 (reset): add a new function with no arg, change other version to
10151 not have def. arg and to not allow empty arg.
10153 * text2.C (setCounter): remove empty arg from call to Counters::reset
10155 2002-08-11 John Levon <levon@movementarian.org>
10157 * Makefile.am: add WordLangTuple.h
10159 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10161 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10162 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10164 * insets/insettext.C: InsetList changes
10166 * graphics/GraphicsSupport.C (operator()): InsetList changes
10168 * toc.C (getTocList): InsetList changes
10170 * paragraph_pimpl.[Ch]: InsetList changes
10172 * paragraph.[Ch]: InsetList changes
10174 * buffer.C (inset_iterator): InsetList changes
10175 (setParagraph): ditto
10176 * buffer.h (inset_iterator): ditto
10177 * iterators.C (operator++): ditto
10178 * iterators.h: ditto
10180 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10182 * InsetList.[Ch]: new files, most InsetList handling moved out of
10185 * BufferView2.C (removeAutoInsets): InsetList changes
10187 (ChangeInsets): ditto
10189 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10191 * paragraph_pimpl.h (empty): new function
10193 * paragraph.[Ch] (empty): new function
10195 * other files: use the new Paragraph::empty function
10197 2002-08-09 John Levon <levon@movementarian.org>
10199 * lyxtext.h: remove unused refresh_height
10201 2002-08-09 John Levon <levon@movementarian.org>
10208 * paragraph.C: move sgml char escaping out of paragraph
10211 * paragraph.C: remove id setter
10215 * paragraph_pimpl.C: remove dead tex_code_break_column
10217 * bufferview_funcs.C: small cleanup
10219 * lyxfunc.C: remove dead proto
10221 * lyxtext.h: make some stuff private. Remove some dead stuff.
10223 * lyxgluelength.C: make as[LyX]String() readable
10225 2002-08-08 John Levon <levon@movementarian.org>
10230 * ToolbarDefaults.C:
10233 * toc.C: lyxaction cleanup
10235 2002-08-08 John Levon <levon@movementarian.org>
10237 * BufferView2.C: small cleanup
10240 * lyxfind.C: move unnecessary header into the .C
10242 2002-08-08 John Levon <levon@movementarian.org>
10244 * funcrequest.h: just tedious nonsense
10247 * lyx_main.C: cleanups
10250 * vspace.C: remove dead header lyx_main.h
10252 2002-08-07 Angus Leeming <leeming@lyx.org>
10255 * paragraph_pimpl.h:
10256 Forward declare class Counters in paragraph.h by moving the ctrs member
10257 variable into Paragraph::Pimpl.
10258 (counters): new method, returning a reference to pimpl_->ctrs.
10260 * text2.C: ensuing changes.
10262 2002-08-07 John Levon <levon@movementarian.org>
10264 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10266 * BufferView_pimpl.C: announce X selection on double/triple
10269 * lyx_main.C: use correct bool in batch dispatch
10271 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10273 2002-08-07 André Pönitz <poenitz@gmx.net>
10275 * funcrequest.h: new class to wrap a kb_action and its argument
10278 * BufferView_pimpl[Ch]:
10282 * lyxrc.C: subsequent changes
10285 2002-08-07 John Levon <levon@movementarian.org>
10287 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10288 document options change.
10290 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10295 * makefile.am: move counters functionality over from
10296 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10298 2002-08-06 John Levon <levon@movementarian.org>
10300 * WordLangTuple.h: new file for word + language code tuple
10311 * BufferView2.C: use WordLangTuple
10314 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10316 2002-08-06 John Levon <levon@movementarian.org>
10318 * lyx_main.C: fix cmdline batch handling
10320 2002-08-06 André Pönitz <poenitz@gmx.net>
10322 * lyxrc.C: set default for show_banner to true
10324 2002-08-06 John Levon <levon@movementarian.org>
10326 * pspell.C: fix a crash, and allow new aspell to work
10328 2002-08-06 John Levon <levon@movementarian.org>
10331 * kbmap.C: small cleanup
10334 * vspace.C: add const
10336 2002-08-05 John Levon <levon@movementarian.org>
10338 * LyXAction.C: back to tabular-insert
10340 2002-08-04 John Levon <levon@movementarian.org>
10343 * BufferView.C: cosmetic change
10345 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10355 * BufferView2.C: purge all "Lyx" not "LyX" strings
10358 * lyxcursor.C: attempt to add some documentation
10363 * ToolbarDefaults.C:
10364 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10365 merge with LFUN_TABULAR_INSERT
10372 * pspell.C: split up i/pspell implementations into separate
10373 files, many cleanups
10375 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10377 * text2.C: some cleanup
10379 * lyxfunc.C: don't check for isp_command == "none" any more, it
10380 didn't make any sense
10382 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10387 * makefile.am: move counters functionality over
10388 from text2.C/paragraph.[Ch] to counters.[Ch], and
10390 2002-08-02 John Levon <levon@movementarian.org>
10392 * buffer.C: s/lyxconvert/lyx2lyx/
10394 2002-08-02 Angus Leeming <leeming@lyx.org>
10396 * lyxlex.C: revert John's change as it breaks reading of the user
10399 2002-08-02 Angus Leeming <leeming@lyx.org>
10401 * importer.C (Import):
10402 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10403 changes due to LyXView::view() now returning a boost::shared_ptr.
10405 2002-08-02 John Levon <levon@movementarian.org>
10407 * lyxlex.C: small cleanup
10409 2002-08-02 John Levon <levon@movementarian.org>
10411 * text2.C (status): small cleanup, no logic change
10413 2002-08-01 John Levon <levon@movementarian.org>
10416 * buffer.C (writeFile): don't output alerts, caller
10420 * lyx_cb.C: from above
10422 * lyxfunc.C: allow to open non-existent files
10424 2002-07-31 John Levon <levon@movementarian.org>
10426 * lyxserver.C: don't let incidental errors get
10429 2002-07-30 John Levon <levon@movementarian.org>
10431 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10433 2002-07-30 John Levon <levon@movementarian.org>
10436 * lyxserver.C: remove I/O callback too
10438 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10443 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10445 * many files: strip,frontStrip -> trim,ltrim,rtrim
10447 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10449 * PrinterParams.h: remove extern containsOnly, and include
10450 support/lstrings.h instead.
10452 * LaTeX.C (scanAuxFile): modify because of strip changes
10454 * buffer.C (makeLaTeXFile): ditto
10455 * bufferparams.C (writeFile): ditt
10456 * lyxfont.C (stateText): ditto
10457 * lyxserver.C (read_ready): ditto
10458 * vc-backend.C (scanMaster): ditto
10460 * BufferView_pimpl.h: ws changes
10462 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10464 2002-07-26 André Pönitz <poenitz@gmx.net>
10466 * kb_sequence.C: remove unnedred usings
10468 2002-07-26 Juergen Vigna <jug@sad.it>
10470 * lyxfind.C (LyXReplace): we have to check better if the returned
10471 text is not of theLockingInset()->getLockingInset().
10473 2002-07-25 Juergen Vigna <jug@sad.it>
10475 * lyxfind.C (LyXReplace): don't replace if we don't get the
10478 * undo_funcs.C (createUndo): remove debugging code.
10480 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10482 * buffer.C (parseSingleLyXformat2Token): Use default placement
10483 when reading old floats.
10485 * FloatList.C (FloatList): Change the default placement of figure
10486 and tables to "tbp".
10488 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10490 * MenuBackend.C: using std::max
10492 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10494 * MenuBackend.C (expandToc):
10495 (expandToc2): code moved from xforms menu frontend. It is now
10496 generic and TOCs are transparent to menu frontends.
10498 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * toc.C (getTocList): protect against buf=0
10502 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10503 Menu as first parameter. Now, this calls itself recursively to
10504 expand a whole tree (this will be useful for TOC handling)
10505 (expandFloatInsert): remove 'wide' version of floats
10507 * MenuBackend.h (submenuname): returns the name of the submenu.
10508 (submenu): returns the submenu itself, provided it has been
10509 created by MenuBackend::expand
10511 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10514 insets which have noFontChange == true. (bug #172)
10516 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * BufferView_pimpl.C: add connection objects and use them...
10521 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10523 * MenuBackend.C (expandLastfiles):
10526 (expandFloatListInsert):
10527 (expandFloatInsert):
10528 (expand): split expand in parts
10530 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10532 * lyx_gui.C: use lyx_gui::exit()
10534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10536 * LyXAction.C: show the failing pseudo action
10538 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10540 * buffer.C (readFile): Run the lyxconvert script in order to read
10543 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10547 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10549 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10553 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10555 2002-07-22 Herbert Voss <voss@lyx.org>
10558 * lyxlength.[Ch]: add support for the vertical lengths
10560 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10562 * toc.[Ch]: std:: fixes
10564 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * lyxrc.C: do not include lyx_main.h
10568 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10574 * BufferView2.C: include "lyxlex.h"
10577 * bufferparams.h: do not #include "lyxlex.h"
10579 * lyxtextclasslist.C (Add): remove method
10580 (classlist): renamed to classlist_
10582 * paragraph_pimpl.C:
10586 * bufferview_funcs.C:
10591 * toc.C (getTocList): use BufferParams::getLyXTextClass
10593 * toc.C (getTocList): use InsetFloat::addToToc
10595 * toc.[Ch]: new files, containing helper functions to handle table
10598 * lyxfunc.C (dispatch): no need to remove spaces around command
10600 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10601 first command of the sequence; it is not very clever, but I do not
10602 have a better idea, actually
10604 * LyXAction.C (LookupFunc): make sure to remove space at the
10605 beginning and end of the command
10607 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * MenuBackend.C (getMenubar): new method: return the menubar of
10611 (read): treat differently reading of menu and menubar (in
10612 particular, the menubar has no name now)
10613 (Menu::menubar): remove
10615 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10618 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10620 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10621 a bibitem inset in a RTL paragraph.
10623 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10625 * paragraph_pimpl.C: constify
10627 * BufferView_pimpl.C:
10629 * lyxfunc.C: fix dispatch in a nicer way
10631 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * lyxfunc.C (dispatch):
10634 * BufferView_pimpl.C:
10635 * BufferView_pimpl.h:
10637 * BufferView.h: rename Dispatch() to dispatch()
10639 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10641 * lyxlayout.C (Read): honor DependsOn tag
10643 * lyxlayout.[Ch] (depends_on): new method
10645 * version.C.in: update lyx_docversion
10647 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10649 * paragraph.C (validate): remove from here...
10650 * paragraph_pimpl.C (validate): ... and move here
10651 (isTextAt): make it const
10653 * buffer.C (getLists): ws cleanup
10655 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10657 * language.C (read): Use iso8859-1 encoding in latex_lang
10658 (this prevents LyX from crashing when using iso10646-1 encoding).
10660 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * text2.C (toggleInset): if cursor is inside an inset, close the
10663 inset and leave cursor _after_ it
10665 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10667 * lyxfunc.C: move minibuffer completion handling out of here
10669 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.C:
10672 * LaTeX.C: fix dispatch calls
10674 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10676 * text.C (drawChars): Fix Arabic text rendering.
10678 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10682 * lyxfunc.C: remove message-push/pop
10686 * lyxfunc.C: rationalise some code by removing verboseDispatch
10687 in favour of a bool argument to dispatch()
10689 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10691 * lyx_main.C (init): make sure to read symlinks as absolute paths
10693 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10696 * lyxfunc.C: no need for commandshortcut to be a member
10698 2002-07-15 André Pönitz <poenitz@gmx.net>
10700 * converter.C: add support for $$s (scripts from lib/scripts dir)
10701 * lyx_main.C: white space
10703 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10707 * lyxrc.C: remove second exit confirmation
10709 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10714 * BufferView_pimpl.h:
10715 * BufferView_pimpl.C:
10716 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10718 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * MenuBackend.C (expand): add numeric shortcuts to document menu
10722 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10724 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10726 * lyxfont.C (setLyXFamily):
10733 * buffer.C (asciiParagraph): use ascii_lowercase
10735 2002-07-15 Mike Fabian <mfabian@suse.de>
10737 * lyxlex_pimpl.C (search_kw):
10738 * lyxlex.C (getLongString):
10739 * converter.h (operator<):
10740 * converter.C (operator<):
10741 * buffer.C (parseSingleLyXformat2Token):
10743 * ToolbarDefaults.C (read):
10744 * MenuBackend.C (checkShortcuts):
10746 * LColor.C (getFromGUIName):
10747 (getFromLyXName): use the compare_ascii_no_case instead of
10748 compare_no_case, because in turkish, 'i' is not the lowercase
10749 version of 'I', and thus turkish locale breaks parsing of tags.
10751 2002-07-16 Angus Leeming <leeming@lyx.org>
10753 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10754 now takes a Buffer const & argument.
10756 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10758 * BufferView.C (resize): check there's a buffer to resize
10760 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10762 * lyxfunc.C: remove dead code
10765 * lyxserver.C: use lyx_guii::set_read_callback
10767 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10769 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10770 an inset in a RTL paragraph.
10772 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10774 * lyxfunc.C: repaint after a font size update
10776 2002-07-15 André Pönitz <poenitz@gmx.net>
10778 * lyxlength.C: inBP should be able to return negative values
10780 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10782 * lyxfunc.C: use lyx_gui::update_fonts()
10784 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10786 * lyxfunc.C: use lyx_gui::update_color()
10788 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10794 * lyxrc.C: remove file->new asks for name option, and let
10795 buffer-new take an argument
10797 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10799 * BufferView_pimpl.C: remove unneeded extra repaint()
10801 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10803 * LyXAction.C: allow command-sequence with NoBuffer
10805 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10807 2002-07-10 Angus Leeming <leeming@lyx.org>
10809 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10811 2002-07-09 Angus Leeming <leeming@lyx.org>
10813 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10815 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10817 * lengthcommon.h: whitespace
10819 * lyxfunc.C: update scrollbar after goto paragraph
10821 * lyxtext.h: factor out page break drawing, and fix it so
10822 page break/added space paints as selected nicely
10824 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10826 * BufferView_pimpl.C: add FIXMEs, clean up a little
10828 2002-07-09 André Pönitz <poenitz@gmx.net>
10830 * lyxfont.[Ch]: support for wasy symbols
10832 2002-07-08 André Pönitz <poenitz@gmx.net>
10834 * BufferView_pimpl.C: apply John's patch for #93.
10836 2002-07-05 Angus Leeming <leeming@lyx.org>
10838 * BufferView_pimpl.C (buffer): generate previews if desired.
10840 * LColor.h: add "preview" to the color enum.
10842 * LColor.C (LColor): add a corresponding entry to the items array.
10844 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10847 2002-07-05 Angus Leeming <leeming@lyx.org>
10849 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10850 The body of the code is now in the method that is passed an ostream &
10851 rather than a file name.
10852 Pass an additional only_preamble parameter, useful for the forthcoming
10855 2002-07-03 André Pönitz <poenitz@gmx.net>
10857 * lyxfunc.C: simplify getStatus() a bit for math stuff
10859 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10863 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * text.C (changeRegionCase): do not change case of all the
10866 document when region ends at paragraph end (bug #461)
10868 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10870 * paragraph.C (startTeXParParams):
10871 (endTeXParParams): add \protect when necessary
10873 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * BufferView_pimpl.C (workAreaExpose): remove warning
10877 2002-06-27 Angus Leeming <leeming@lyx.org>
10879 * Makefile.am: add lyxlayout_ptr_fwd.h.
10881 2002-06-26 André Pönitz <poenitz@gmx.net>
10883 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10885 2002-06-25 Angus Leeming <leeming@lyx.org>
10887 * lyxfunc.C (dispatch): Comment out the call to
10888 grfx::GCache::changeDisplay. The method no longer exists now that the
10889 pixmap generation part of the graphics loader has been moved into
10892 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * text2.C: layout as layout
10896 * text.C: layout as layout
10898 * tabular.C (OldFormatRead): layout as layout
10900 * paragraph_pimpl.C (TeXDeeper): layout as layout
10901 (realizeFont): layout as layout
10903 * paragraph.C (writeFile): layout as layout
10904 (validate): layout as layout
10905 (getFont): layout as layout
10906 (getLabelFont): layout as layout
10907 (getLayoutFont): layout as layout
10908 (breakParagraph): layout as layout
10909 (stripLeadingSpaces): layout as layout
10910 (getEndLabel): layout as layout
10911 (getMaxDepthAfter): layout as layout
10912 (applyLayout): layout as layout
10913 (TeXOnePar): layout as layout
10914 (simpleTeXOnePar): layout as layout
10915 (TeXEnvironment): layout as layout
10916 (layout): layout as layout
10917 (layout): layout as layout
10919 * lyxtextclass.C (compare_name): new functor to work with
10920 shared_ptr, layout as layout
10921 (Read): layout as layout
10922 (hasLayout): layout as layout
10923 (operator): layout as layout
10924 (delete_layout): layout as layout
10925 (defaultLayout): layout as layout
10927 * lyxlayout_ptr_fwd.h: new file
10929 * lyxlayout.C (Read): layout as layout
10931 * lyx_cb.C (MenuInsertLabel): layout as layout
10933 * bufferlist.C (newFile): layout as layout
10935 * buffer.C (readLyXformat2): layout as layout
10936 (parseSingleLyXformat2Token): layout as layout
10937 (insertStringAsLines): layout as layout
10938 (asciiParagraph): layout as layout
10939 (latexParagraphs): layout as layout
10940 (makeLinuxDocFile): layout as layout
10941 (simpleLinuxDocOnePar): layout as layout
10942 (makeDocBookFile): layout as layout
10943 (simpleDocBookOnePar): layout as layout
10944 (getLists): layout as layout
10946 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10948 * CutAndPaste.C (cutSelection): layout as layout
10949 (pasteSelection): layout as layout
10950 (SwitchLayoutsBetweenClasses): layout as layout
10952 * BufferView_pimpl.C (Dispatch): layout as layout
10953 (smartQuote): layout as layout
10955 * BufferView2.C (unlockInset): layout as layout
10957 2002-06-24 André Pönitz <poenitz@gmx.net>
10959 * lyxfunc.C: fix #487
10961 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10965 * lyxfunc.C: remove display_shortcuts, show_banner
10967 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10969 * Buffer_pimpl.C: oops, update on resize
10971 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10978 * BufferView.C: use repaint()
10980 * BufferView_pimpl.h:
10981 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10982 as it's a clearer description. Remove superfluous
10985 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10987 * text.C: fix bug 488. Not ideal, but getting
10988 getWord() to work properly for the insets that
10989 matter is more difficult ...
10991 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10993 * BufferView_pimpl.C:
10996 * lyxfunc.C: remove the six million index lyxfuncs to just
10997 one, and DTRT (bug 458)
10999 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11003 * BufferView_pimpl.h:
11004 * BufferView_pimpl.C: clean up resize() stuff,
11005 and unnecessary updateScreen()s
11007 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11011 * BufferView_pimpl.h:
11012 * BufferView_pimpl.C:
11015 * minibuffer.C: remove focus management of workarea,
11016 not needed. Use screen's greyOut()
11018 2002-06-17 Herbert Voss <voss@lyx.org>
11020 * converter.C: (convert) do not post a message, when converting
11021 fails, let the calling function decide what to do in this case
11023 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11025 * lyxfunc.C: tidy up a little
11027 2002-06-16 <alstrup@diku.dk>
11029 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11030 Got rid of FORMS_H_LOCATION include. Now we are
11033 2002-06-15 LyX Development team <lyx@rilke>
11035 * buffer.[Ch] (sgmlOpenTag):
11036 (sgmlCloseTag): Added support for avoiding pernicious mixed
11037 content. Return number of lines written.
11039 (makeLinuxDocFile):
11040 (makeDocBookFile): Fixed calls to sgml*Tag.
11041 Simple white space clean.
11043 (simpleDocBookOnePar): Simple white space clean.
11045 * tabular.[Ch] (docBook): Renamed to docbook and got another
11046 argument to related with the pernicious mixed content.
11048 (docbookRow): Fixed calls for docbook inset method.
11050 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11052 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11053 so it's X11 independent.
11057 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11059 2002-06-15 Lyx Development team <lyx@electronia>
11061 * intl.h: Renamed getTrans to getTransManager.
11063 2002-06-14 Angus Leeming <leeming@lyx.org>
11065 * Makefile.am: nuke forgotten stl_string_fwd.h.
11067 2002-06-12 Angus Leeming <leeming@lyx.org>
11069 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11071 2002-06-13 Angus Leeming <leeming@lyx.org>
11074 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11076 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11078 * kbmap.C (getiso): add support for cyrillic and greek
11080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11084 * BufferView_pimpl.h:
11085 * BufferView_pimpl.C: move bogus scrolling logic
11088 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11091 * BufferView_pimpl.C: view->resize() change
11093 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.C: topCursorVisible
11098 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11102 * lyx_gui.C: move to frontends/
11106 * lyx_main.C: changes from above
11108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11115 * lyx_main.C: minor tidy
11117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView_pimpl.h:
11120 * BufferView_pimpl.C:
11122 * BufferView.C: make painter() const,
11125 * BufferView2.C: use screen() accessor
11128 * lyx_main.C: some minor cleanup
11130 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11132 * BufferView_pimpl.h:
11133 * BufferView_pimpl.C: remove enter/leaveView,
11136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11141 * BufferView_pimpl.h:
11142 * BufferView_pimpl.C: only construct screen once,
11145 * lyxrc.C: remove pointless comment
11147 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11150 * BufferView.C: remove active() and belowMouse()
11152 * BufferView_pimpl.h:
11153 * BufferView_pimpl.C: use workarea() not workarea_,
11154 and make it use a scoped_ptr instead
11156 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11158 * lyx_gui.C: add debug message on BadWindow
11160 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * sp_spell.C: fdopen is not part of the C++ standard.
11164 * paragraph.C (InsetIterator): use >= instead of ==
11166 2002-06-07 Angus Leeming <leeming@lyx.org>
11168 Fixes needed to compile with Compaq cxx 6.5.
11169 * BufferView_pimpl.C:
11176 * lyxtextclasslist.C:
11181 all c-library variables have been moved into namespace std. Wrap
11182 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11187 Add a using std::abs declaration.
11189 * kbmap.h (modifier_pair):
11190 * paragraph.h (InsetTable, InsetList):
11191 * lyxfont.h (FontBits):
11192 type definition made public.
11194 * bufferlist.C (emergencyWriteAll): the compiler complains that
11195 there is more than one possible lyx::class_fun template to choose from.
11196 I re-named the void specialisation as lyx::void_class_fun.
11198 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11200 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11201 the compiler is is unable to find tostr in write_attribute.
11203 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * buffer.C (sgmlError): hide #warning
11207 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * xtl/*: get rid of xtl, which is not in use anyway
11211 * LyXAction.C (init):
11212 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11213 were unimplemented xtl experimentation
11215 2002-06-04 André Pönitz <poenitz@gmx.net>
11217 * lyxfunc.C: disable array operation on simple formulae
11219 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11221 * converter.C: constify a bit
11223 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11225 * lyx_gui.C: check xforms version correctly
11227 2002-04-30 Herbert Voss <voss@lyx.org>
11229 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11232 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11234 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11235 attempt to register it with a VCS)
11237 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * lyx_main.C (init): honor variables LYX_DIR_13x and
11242 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11246 * lyx_main.C: fix a crash on bad command line,
11247 and give a useful exit status on error
11249 * lyxfunc.C (doImport): allow -i lyx to work
11251 2002-03-30 André Pönitz <poenitz@gmx.net>
11253 * lyxfunc.C: mathed font changes
11255 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11270 * trans_mgr.h: srcdocs, and some minor cleanups
11272 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11275 call getFont all the time)
11277 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * switch from SigC signals to boost::signals
11281 2002-05-29 André Pönitz <poenitz@gmx.net>
11283 * paragraph_pimpl.C (getChar): don't call size() too often...
11285 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * paragraph_pimpl.C (insertChar): do not try to update tables when
11288 appending (pos == size())
11290 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11291 in order to reduce drastically the number of comparisons needed to
11292 parse a large document
11294 2002-05-29 André Pönitz <poenitz@gmx.net>
11300 * textclasslist.[Ch]:
11301 * sp_ispell.h: whitespace change
11303 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11306 lyxaction directly now.
11308 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11312 * lyxvc.C: remove unused headers
11314 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11321 * undo_funcs.C: some cleanups. Use shared_ptr
11322 and a template for the undo stacks.
11324 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11326 * BufferView_pimpl.h:
11327 * BufferView_pimpl.C:
11334 * text2.C: use key_state/mouse_state
11336 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11341 * chset.C: change include order
11342 (loadFile): use boost regex and get rid of LRegex and LSubstring
11344 * Makefile.am (BOOST_LIBS): new variable
11345 (lyx_LDADD): use it
11347 * LaTeX.C: change include order.
11348 (scanAuxFile): use boost regex and get rid of LRegex and
11352 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11357 * FontInfo.C: moved to frontends/xforms/
11360 * FontLoader.C: moved into frontends for GUIIzation
11365 * lyxfunc.C: changes from above
11367 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11369 * LColor.C: remove spurious X include
11371 * BufferView_pimpl.C:
11376 * text2.C: move font metrics to frontends/
11378 2002-05-24 Juergen Vigna <jug@sad.it>
11380 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11381 setting the undo_cursor.
11383 * ParagraphParameters.h: include local includes first.
11385 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11387 * BufferView_pimpl.C:
11388 * BufferView_pimpl.h:
11392 * screen.C: move WorkArea into frontends/
11398 * BufferView2.C: move LyXScreen into frontends/
11402 * lyx_gui.C: move lyxlookup into frontends/xforms/
11404 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11407 * BufferView_pimpl.C:
11417 * bufferview_funcs.C:
11430 * vc-backend.C: move LyX/XFormsView into frontends/
11432 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11444 * text2.C: move Painter to frontends/
11446 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11448 * buffer.C: comment out some some code that depend upon lyx_format
11451 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11452 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11454 * buffer.h (NO_COMPABILITY): turn off compability
11456 * ColorHandler.C: include scoped_array.hpp
11458 * font.C: Use more specific smart_ptr header.
11461 * ShareContainer.h: ditto
11462 * lyx_main.h: ditto
11464 * FontInfo.h: ditto
11465 * BufferView_pimpl.h: ditto
11466 * ColorHandler.h: ditto
11468 * kbmap.C (defkey): change call to shared_ptr::reset
11470 2002-05-21 Juergen Vigna <jug@sad.it>
11472 * buffer.C (insertErtContents): fix to insert ert asis if it is
11473 non empty. Skip it completely if it contains only whitespaces.
11475 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11477 * BufferView_pimpl.C:
11478 * BufferView2.C: clear selection on paste (bug 393)
11480 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * DepTable.C: include ctime
11484 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11486 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11488 2002-05-14 Juergen Vigna <jug@sad.it>
11490 * text.C (breakParagraph): fixed function to honor the keepempty
11491 layout in the right maner and also to permit the right breaking
11492 algorithm on empty or non empyt keepempty paragraphs.
11494 * paragraph.C (breakParagraph): we have to check also if the par
11495 is really empty (!size()) for isempty otherwise we do the wrong
11498 2002-05-10 Juergen Vigna <jug@sad.it>
11500 * buffer.[Ch] : The following are only changes to the ert
11501 compatibility read reading old LaTeX layout and font stuff and
11502 convert it to ERTInsets.
11504 * buffer.h: added isErtInset().
11506 * buffer.C (struct ErtComp): add a fromlayout bool to check
11507 if we're inside a LaTeX layout.
11508 (isErtInset): new helper function.
11509 (insertErtContents): look for other ert insets before this one
11510 and insert the contents there, so that we don't have subsequent
11511 ERT insets with nothing between them. This way we create only one
11512 inset with multiple paragraphs. Also check if we don't insert only
11513 spaces ' ' as they are ignored anyway afterwards in the .tex file
11514 so if we have only spaces we will ignore this latex part in the
11516 (parseSingleLyXformat2Token \\layout): better compatibility when
11517 reading layout-latex stuff.
11518 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11520 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11521 stuff after reading the inset only get the information back from
11524 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11526 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11528 * LaTeXFeatures.C (getBabelOptions): New method.
11530 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * BufferView_pimpl.C (Dispatch): work around missing argument for
11535 2002-05-08 Juergen Vigna <jug@sad.it>
11537 * text.C (leftMargin): handle paragraph leftindent.
11539 * paragraph.C (writeFile): write the new \\leftindent tag.
11540 (validate): handle leftindent code.
11541 (TeXEnvironment): handle paragraphleftindent code again.
11543 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11545 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11546 for paragrap_extra indent code and new token \\leftindent.
11547 (latexParagraphs): handle the leftindent as environment.
11549 * ParameterStruct.h: added leftindent support.
11551 * ParagraphParameters.C (leftIndent): added support functions for
11552 the paragraph left indent.
11554 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11557 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11559 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11562 * text.C (computeBidiTables): No bidi in insetERT.
11564 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11567 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * version.C.in: pre 5
11571 2002-05-02 José Matos <jamatos@fep.up.pt>
11572 * buffer.C (makeDocBookFile): white space changes, add newline to
11574 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11576 * tabular.C (docBook): fix typo.
11578 2002-05-03 Juergen Vigna <jug@sad.it>
11580 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11581 change in LyXText as we can not be sure it was not freed.
11582 (drawOneRow): remove unused code.
11584 * text.C (drawInset): redo the calculation of the need_break_row as
11585 it could have a row which was already freed.
11586 (draw): look at the return value of drawInset and return false if
11587 it also returned false.
11588 (paintRowText): look at the return value of draw and return false if
11589 it also returned false.
11591 * lyxtext.h: added bool return type to drawInset() and draw() so that
11592 if we have a change in the row so that the rowbreak has to be redone
11593 we abort drawing as it will be called again.
11595 2002-05-02 Juergen Vigna <jug@sad.it>
11597 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11598 a change in the maintext also if we're inside an inset.
11599 (Dispatch): set the cursor again after a break line and after the
11600 screen has been updated as it could be we're in a different row.
11602 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11603 to set the cursor behind the pargraph with > size().
11604 (setCursor): check also for the same paragraph when checking where
11605 to put the cursor if we have a NFR inset.
11607 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11608 parts of layout read further up as it still was in the wrong
11611 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * screen.C (drawFromTo): change sine fullRebreak always return
11616 * buffer.C (parseSingleLyXformat2Token): reindent some
11618 * BufferView_pimpl.C (update): change since fullRebreak always
11620 (Dispatch): git rid of the last hardcoded "Standard"s.
11622 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11624 * text2.[Ch] (fullRebreak): make it return void now that we always
11627 2002-04-30 Juergen Vigna <jug@sad.it>
11629 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11630 ert compatibility check for "latex" layout.
11632 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11634 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11635 minipages: use col% instead of p%, and also use the current font.
11636 (makeLaTeXFile): Fix use babel condition.
11637 (parseSingleLyXformat2Token): Correct font when reading old floats.
11639 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11641 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11642 inserting list of floats.
11644 2002-04-25 Herbert Voss <voss@lyx.org>
11646 * MenuBackend.C (expand): don't add the graphics extensions to the
11649 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11652 non-existing layout, do not complain if it was the default layout
11653 of the original class (bug #342)
11655 2002-04-24 Juergen Vigna <jug@sad.it>
11657 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11658 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11660 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11662 * buffer.C (getBibkeyList): If using \bibliography, return the
11663 option field with the reference itself. Enables us to provide natbib
11664 support when using \bibliography.
11666 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11668 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11670 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11671 natbib is provided by the LaTeX class.
11673 2002-04-23 Juergen Vigna <jug@sad.it>
11675 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11678 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11680 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11682 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11684 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11685 ensuremath around textordmasculine, textordfeminine and
11688 2002-04-19 Juergen Vigna <jug@sad.it>
11690 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11691 reinitializing the buffer otherwise row-dimensions may be wrong.
11692 (update): reset also the selection cursors if they do exits otherwise
11693 their x/y positions may be wrong.
11695 * text2.C (cursorDown): don't enter the inset if we came from a row
11696 above and are one row over the inset.
11698 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11699 really leaving an inset.
11701 2002-04-18 Juergen Vigna <jug@sad.it>
11703 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11704 of the selected paragraph does not have the selected layout also if
11707 * text2.C (setLayout): fixed bug which did not change last selected
11710 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11711 changed the read and substituted \\end_float with \\end_inset!
11713 * BufferView_pimpl.C (cursorPrevious):
11714 (cursorNext): fixed to make it work with rows heigher than the work
11715 area without moving the cursor only the draw of the row.
11716 (workAreaMotionNotify): fix jumping over high rows.
11718 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11723 2002-04-16 Juergen Vigna <jug@sad.it>
11725 * text2.C (setCursor): set also the irow().
11726 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11728 (cursorDown): support for locking an inset if the x_fix value goes
11729 inside it. That way I can transverse insets too with cursor up/down.
11731 * lyxrow.h: added irow helper function same as other (i) functions.
11733 * BufferView_pimpl.C (cursorPrevious):
11734 (cursorNext): fixed for insets!
11736 2002-04-15 Juergen Vigna <jug@sad.it>
11738 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11739 position otherwise it is wrong in some cases.
11741 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11742 inside the inset before the call.
11744 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11746 * buffer.[Ch] (getBibkeyList): make it const.
11748 2002-04-12 Juergen Vigna <jug@sad.it>
11750 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11752 * text2.C (getCursorX): new helper function
11753 (setCursor): compute also ix_
11754 (setCursorFromCoordinates): set also ix.
11756 * lyxcursor.h: added ix_ and helper functions.
11758 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11760 * buffer.C (insertStringAsLines): dont break paragraph if the this
11761 paragraph is inside an inset which does not permit it!
11763 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11764 also with no chars on this paragraph.
11765 (paintRowText): only paint stuff if it's inside the workarea!
11767 * paragraph.C (breakParagraph): honor keepempty flag and break the
11768 paragraph always below not above.
11770 * BufferView2.C (unlockInset): update the paragraph layout on inset
11771 unlock as we changed paragraph in such a case.
11773 * lyxfind.C (LyXFind): clear the former selection if not found!
11775 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11776 again called in insertChar().
11778 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11779 an inset which uses the whole row!
11780 (rightMargin): ditto.
11781 (insertChar): force a rebreak if we inserted an inset!
11783 2002-03-28 Herbert Voss <voss@lyx.org>
11785 * lyxlength.[Ch]: add inBP() to get the right PS-point
11786 units (BigPoint). With inPixels we have rounding errors
11788 2002-04-11 Juergen Vigna <jug@sad.it>
11790 * text2.C (setCursorFromCoordinates): set iy to the right value.
11791 (setCursor): add check if row->previous exists!
11793 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11794 an old float_type as this was the case in the old code!
11796 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11798 * BufferView2.C (showLockedInsetCursor): use iy
11799 (fitLockedInsetCursor): ditto
11801 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11802 locked insets as there we have the right value now.
11804 * lyxcursor.C: added iy_ variable and iy functions to set to the
11805 baseline of cursor-y of the locked inset.
11807 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11808 (setCursor): fixed for insets which need a full row.
11810 * text.C (rowLastPrintable): don't ignore the last space when before
11811 an inset which needs a full row.
11812 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11813 as last character of a row when before a inset which needs a full row.
11815 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * version.C.in: update date
11819 * text2.C (fullRebreak): try to always return true and see what
11822 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11824 * MenuBackend.C (expand): use Floating::listName
11826 * FloatList.C (FloatList): add listName argument to the built-in
11829 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11830 text associated with the float.
11832 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11836 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * ShareContainer.h: add a couple of missing typenames.
11840 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11842 * lyxrc.C (getDescription): use _() correctly rather than N_().
11844 2002-03-28 Herbert Voss <voss@lyx.org>
11846 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11847 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11849 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11852 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11854 2002-03-29 Juergen Vigna <jug@sad.it>
11856 * lyxfunc.C (dispatch): add a missing fitCursor call.
11858 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11859 it was scrolled by a cursor move, so return the bool status.
11861 * BufferView.C (fitCursor): return the bool flag also to the outside
11862 world as this is needed.
11864 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11866 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11867 call the edit() as it is not needed (and wrong) IMO.
11868 (workAreaButtonPress): set the screen_first variable before evt.
11869 unlock the inset as this may change screen_first and then we have
11870 a wrong y position for the click!
11872 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * MenuBackend.C (expand): another translation that I missed
11876 2002-03-28 Juergen Vigna <jug@sad.it>
11878 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11880 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11882 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11886 * MenuBackend.C (expand): fix export/view/update when there is no
11889 2002-03-27 Herbert Voss <voss@lyx.org>
11891 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11894 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * bufferview_funcs.C (currentState): only show paragraph number
11897 for is DEVEL_VERSION is set.
11899 * lyxfunc.C (dispatch): put warning in INFO channel
11901 * MenuBackend.C (expand): translate the name of floats
11903 * FloatList.C (FloatList): mark the float names for translation
11905 * converter.C (convert): use LibScriptSearch
11907 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * MenuBackend.C (defaults): fix default menu (we might as well get
11912 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11917 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * lyxvc.C: reorder includes.
11921 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11923 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11926 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11928 * CutAndPaste.C: change layouts earlier on paste
11929 to avoid crashing when calling getFont()
11931 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11933 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11936 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * WorkArea.C: remove 'Pending' debug message.
11940 * most files: ws cleanup
11942 * buffer.[Ch]: ws changes
11944 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11946 2002-03-21 Juergen Vigna <jug@sad.it>
11948 * tabular.C (SetMultiColumn): collapse also the contents of the
11949 cells and set the last border right. Added a Buffer const * param.
11951 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11956 2002-03-19 Juergen Vigna <jug@sad.it>
11958 * text2.C (clearSelection): reset also xsel_cache.
11960 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11961 where it needs to be called (John tells us to do so too :)
11962 (selectionLost): reset sel_cache.
11964 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11966 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11968 * text2.C (setCursorIntern): put debuging code in INSETS channel
11970 2002-03-19 André Pönitz <poenitz@gmx.net>
11972 * lyxfunc.C: tiny whitespace change
11974 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * ToolbarDefaults.C (init):
11977 * LyXAction.C (init):
11979 * BufferView_pimpl.C (Dispatch):
11980 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11982 2002-03-19 Allan Rae <rae@lyx.org>
11984 * exporter.C (Export): removeAutoInsets before doing anything else.
11985 While I've just introduced a dependency on BufferView this really is
11986 the best place to clean the buffer otherwise you need to cleanup in
11987 a dozen places before calling export or cleanup in a dozen functions
11990 * converter.C (runLaTeX):
11991 (scanLog): Better handling of removeAutoInsets and screen updates.
11993 * lyxfunc.C (dispatch): small whitespace changes
11995 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * WorkArea.C (C_WorkAreaEvent): return a value.
11998 (event_cb): return 1 if we handled the event, 0 otherwise.
12000 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12002 2002-03-18 Juergen Vigna <jug@sad.it>
12004 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12005 (GetAdditionalWidth): ditto.
12006 (RightLine): ditto.
12009 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12010 inset if we're there actually (probably not used right now but this
12011 is the direction to go for unifying code).
12012 (paste): disable code to clear the selection.
12014 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12015 inside an InsetText and move the check further up as it is in the
12018 * text2.C (pasteSelection): set a selection over the pasted text.
12020 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12022 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12023 and libgraphics to build on Cygwin.
12025 2002-03-15 Juergen Vigna <jug@sad.it>
12027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12028 inserting an Inset into the paragraph. I know this is not the best
12029 fix but we already use current_view in CutAndPaste so we will remove
12030 all of it's using at the same time.
12032 * buffer.C (sgmlError): deactivated function till it is rewritten in
12033 the right mode, now it can create problems.
12035 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12036 before accessing it.
12038 2002-03-14 Juergen Vigna <jug@sad.it>
12040 * undo_funcs.C (textHandleUndo): do the right thing when updating
12041 the inset after the undo/redo.
12043 * text2.C (setCursor): just some testcode for #44 not ready yet.
12045 * undo_funcs.C (textHandleUndo): set the next() and previous()
12046 pointers of the paragraph to 0 before deleting otherwise we have
12047 problems with the Paragraph::[destructor].
12049 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12050 on a paragraph insertion.
12052 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * buffer.C (asciiParagraph): use += operator for char append to
12057 * paragraph.C (getFontSettings): compare >= not just >
12058 (highestFontInRange): ditto
12061 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * paragraph.C: change several algorithm to be more appripriate for
12064 the problem domain. This is lookip in FontList and in the InsetList.
12066 2002-03-13 André Pönitz <poenitz@gmx.net>
12069 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12071 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12076 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12078 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12080 * Painter.C (display): anon helper function, adjust code for this
12082 (pixmap): remove function.
12084 * Painter.h: remove private display variable.
12086 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12088 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12090 * WorkArea.[Ch]: remove figinset_canvas cruft.
12092 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * lyxtextclass.C (operator): add one item cache optimization.
12096 * bufferlist.h: doxy changes
12098 * bufferlist.C: ws changes
12100 * DepTable.[Ch] (ext_exist): place const in the right spot.
12102 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12104 (workAreaExpose): call resizeInsets when the with BufferView changes.
12105 (Dispatch): adjust for protectedBlank removal
12106 (specialChar): call updateInset if the insert went ok.
12108 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12109 specialChar instead.
12111 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12113 * BufferView.h: doxy change
12115 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12117 * lyxtextclass.C (operator[]): remove non-const version
12118 (defaultLayout): remove non-const version
12120 2002-03-12 Juergen Vigna <jug@sad.it>
12122 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12123 did resize the LyXText too.
12125 * buffer.C (readLyXformat2): set layout information on newly allocated
12128 * tabular.C (OldFormatRead): set layout information on the paragraph.
12130 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12132 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12134 2002-03-11 Juergen Vigna <jug@sad.it>
12136 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12138 (resizeCurrentBuffer): force also the insets to resize themselfes.
12139 (moveCursorUpdate): fixed up for InsetText.
12141 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12144 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12145 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12146 value of Dialogs::tooltipsEnabled().
12147 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12149 2002-03-08 Juergen Vigna <jug@sad.it>
12151 * BufferView_pimpl.C (updateInset): update inset inside inset also
12152 if it isn't inside theLockingInset().
12154 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * buffer.C (asciiParagraph): redo some of the word and line length
12158 (getLists): look for Caption instead of caption.
12160 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12162 * buffer.C (Buffer): initialize niceFile to true
12164 (makeLinuxDocFile):
12165 (makeDocBookFile): make sure niceFile is true on exit
12167 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12169 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12171 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12173 * LyXSendto.C: remove.
12174 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12175 * lyx_gui.C: remove now-redundant comment.
12176 * ColorHandler.h: remove forward declaration of class WorkArea.
12177 * lyxfunc.C: remove #include "WorkArea.h".
12179 2002-03-07 Juergen Vigna <jug@sad.it>
12181 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12182 got moved away with the DEPM and also set the inset_owner always
12183 right which before could have been omitted.
12185 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12188 wanted layout is not found.
12190 2002-03-07 Juergen Vigna <jug@sad.it>
12192 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12194 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * paragraph.C (breakParagraph): use default layout not layout of
12198 (Paragraph): clear ParagraphParameters.
12200 2002-03-06 Juergen Vigna <jug@sad.it>
12202 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12203 otherwise it would not be a valid lenght. Fixed a special case in
12204 the minipage compatibility read where we end the document with a
12207 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12208 was set as it could be 0 for InsetTexts first entry.
12210 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12212 * paragraph.C (writeFile): if layout is empty write out
12213 defaultLayoutName().
12215 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12216 file without named layout we set layout to defaultLayoutName().
12218 2002-03-06 Juergen Vigna <jug@sad.it>
12220 * CutAndPaste.C (copySelection): set layout for new paragraph.
12222 * text.C (prepareToPrint): leave ERT inset left aligned
12223 (leftMargin): don't indent paragraphs inside ERT insets
12225 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * paragraph.C (breakParagraph): dont call clear do the work manually
12229 * paragraph.[Ch] (clear): remove function
12231 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * paragraph.C (Paragraph): dont call clear, the work has already
12236 * lyxtextclass.C (operator): assert if n is empty
12238 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12239 work manually instead.
12241 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12243 * BufferView_pimpl.C: protect selectionLost against text == 0
12245 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * text.C (breakParagraph): fix a setting layout to '0' problem.
12249 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12251 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12252 final location of file, for the included files, and graphics.
12254 2002-03-05 Juergen Vigna <jug@sad.it>
12256 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12258 2002-03-04 Juergen Vigna <jug@sad.it>
12260 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12262 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12263 last column of multicolumn cells.
12264 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12266 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12268 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12269 file if it doesn't go to a temporary file.
12271 * buffer.C (sgmlOpenTag):
12272 (sgmlCloseTag): remove extra newline insertion.
12274 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * text.C (getRowNearY): comment out debug msg
12278 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * text2.C: first -> first_y
12282 * text.C (getRowNearY): add some attemts at a possible
12283 optimization, not working.
12285 * tabular.[Ch]: add BufferParams to several function so that newly
12286 created paragraph can be initialized to he default layotu for the
12289 * tabular-old.C (ReadOld): add buf->params to call of Init
12291 * screen.C: rename text->first to text->first_y
12293 * paragraph.C (breakParagraph): always set layout in the broken
12296 * lyxtextclass.C (Read): remove lowercase
12299 (delete_layout): ditto
12301 * lyxtext.h: rename first -> first_y
12303 * lyxlayout.C (Read): remove lowercase
12306 (obsoleted_by): ditto
12308 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12310 * buffer.C (insertErtContents): add params are to InsetERT
12311 (parseSingleLyXformat2Token): add code to check if a paragraphs
12312 layout really exist.
12313 (parseSingleLyXformat2Token): add params to several inset
12315 (asciiParagraph): remove lowercase, do the layout comparisons with
12318 * BufferView_pimpl.C (cursorNext): first -> first_y
12319 (resizeCurrentBuffer): first -> first_y
12320 (updateScrollbar): first -> first_y
12321 (scrollCB): first -> first_y
12322 (workAreaMotionNotify): first -> first_y
12323 (workAreaButtonPress): first -> first_y
12324 (checkInsetHit): first -> first_y
12325 (cursorPrevious): first -> first_y
12326 (cursorNext): first -> first_y
12327 (Dispatch): add buffer_->params to severl inset contructors
12329 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12331 * lyxlayout.C (Read): remove some debug info that I forgot.
12333 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12334 clean up the code slightly.
12335 (makeLinuxDocFile): ditto
12336 (makeDocBookFile): ditto
12338 * text2.C: layout as string
12340 * text.C: layout as string
12342 * paragraph_pimpl.C: layout as string
12344 * paragraph.[Ch]: layout as string
12346 * lyxtextclasslist.[Ch]: layout as string
12348 * lyxtextclass.[Ch]: layout as string
12350 * lyxtext.h: layout as string
12352 * lyxlayout.[Ch]: layout as string
12354 * lyx_cb.C: layout as string
12356 * bufferview_funcs.C: layout as string
12358 * bufferparams.C: layout as string
12360 * buffer.C: layout as string
12362 * LyXView.[Ch]: layout as string
12364 * LaTeXFeatures.[Ch]: layout as string
12366 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12368 * BufferView_pimpl.C: change current_layout to string, remove
12373 (workAreaButtonRelease): layout as string
12375 * BufferView2.C (unlockInset): adjust
12377 * vspace.C (asLatexCommand): use an explict temp variable.
12379 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12381 * Makefile.am: use FRONTEND_*
12383 2002-03-01 Juergen Vigna <jug@sad.it>
12385 * tabular.C (SetWidthOfMulticolCell): changed to something better
12386 I hope but still work in progress.
12387 (recalculateMulticolumnsOfColumn): renamed function from
12388 recalculateMulticolCells as it is more appropriate now.
12389 (SetWidthOfCell): calculate multicols better.
12391 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12393 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12395 * lyxfunc.C (processKeySym): print sequence also if it is
12396 `deleted' (complete)
12398 * kbsequence.C (print): print sequence even if it is deleted
12399 (complete would be a better word, actually).
12401 * lyxfunc.C (dispatch): print complete options after a prefix key
12403 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12405 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12407 * text2.C (setCharFont): eliminate setCharFont code duplication.
12409 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12412 LFUN_TABULAR_FEATURE (bug #177)
12414 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12416 * Makefile.am: remove figure.h
12418 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12420 * Bufferview_pimpl.C:
12432 * text2.C: remove #include "lyx_gui_misc.h".
12434 * LaTeX.C: added #include <cstdio>
12436 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12438 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12439 that the paragraph following this one can have.
12441 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12443 * vspace.C (asLatexCommand): fix bogus gcc warning
12445 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12447 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12449 * text2.C (setLayout): get rid of redundant code
12451 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12453 * text2.C (incDepth): make sure depth cannot be increased beyond
12456 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12458 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12459 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12461 * PainterBase.h (image):
12462 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12463 a LyXImage const *.
12465 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12469 * BufferView_pimpl.C:
12470 * BufferView_pimpl.h:
12490 * sp_spell.C: remove fig inset, and the crap house of
12491 cards that follows it
12493 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12498 * os2_errortable.h:
12499 * nt_defines.h: move .h into support/
12501 * vms_defines.h: remove
12503 * WorkArea.C: add space in debug output
12507 * buffer.C: add WITH_WARNINGS
12511 * bufferlist.C: s/retrive/retrieve/, add docs
12520 * chset.C: add docs
12522 * lyxgui.C: add ID to X error handler
12524 * lyxtestclass.c: fix typo
12526 2002-02-26 Juergen Vigna <jug@sad.it>
12528 * tabular_funcs.C (write_attribute): changed so that some default
12529 attributes are not written at all.
12530 (getTokenValue): set default values before trying to read the
12531 value so we have the return value always set as default if we don't
12532 find the token we search for.
12534 * tabular.C (Write): write bools as bools not as strings!
12536 2002-02-22 Juergen Vigna <jug@sad.it>
12538 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12539 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12541 * text.C (leftMargin): don't add an indent for paragraphs inside
12542 tabular cells (fix #208).
12544 2002-02-21 José Matos <jamatos@fep.up.pt>
12546 * tabular.C (docBook): fixed support for long tables.
12548 2002-02-20 Juergen Vigna <jug@sad.it>
12550 * text2.C (getFont): get the drawing font of the Inset if this
12551 paragraph is inside an inset (only important for InsetERT for now).
12553 * buffer.C (insertErtContents): use new lanugage params in ERT
12556 * CutAndPaste.C: commenting out seemingly uneeded code.
12558 2002-02-19 Allan Rae <rae@lyx.org>
12560 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12561 Iterators might be simple to use but they also get invalidated.
12562 (removeAutoInsets): renamed saved cursor tracking variables and added
12563 some comments to clarify what everything does.
12565 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12572 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12573 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12576 * vc-backend.h: remove #include "support/syscall.h"
12580 * converter.C: rearrange #includes in Lars' approved fashion.
12582 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12583 forward declare class Timeout in the header file.
12585 * XFormsView.C: changes due to the above.
12587 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12588 similar to LyXView.
12590 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12591 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12593 2002-02-18 José Matos <jamatos@fep.up.pt>
12595 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12598 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12600 * a lot of small ws changes
12601 * add a lot of using std::XXX
12602 * use std construcs some places where approp.
12603 * use some exisint stuff from lyxfunctional where approp.
12604 * Make file changes to use partial linking (lets test this now...)
12606 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12610 remove #include "support/syscontr.h" as it's redundant. Always has been.
12618 change Systemcalls::System to Systemcalls::Wait and
12619 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12620 No change of functionality, just reflects the stripped down Systemcalls
12623 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12625 * debug.[Ch]: add a GRAPHICS type to the enum.
12627 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12629 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12631 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12634 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12636 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12637 match the changes below.
12639 * text2.C (toggleInset): if there is not editable inset at cursor
12640 position, try to see if cursor is _inside_ a collapsable inset
12643 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12645 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12646 document menu has a nice checkbox
12648 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * lyxlength.C (asLatexString): change PW to output as percent of
12653 * lengthcommon.C: change '%' to 't%'
12655 * lyxfunc.C (dispatch): a few comments from Martin
12657 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12661 * BufferView_pimpl.h:
12662 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12665 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12667 * vspace.C (inPixels): fix compiler warning
12669 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * lyxfunc.C (getStatus): fix status message for disabled commands.
12673 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12675 * BufferView_pimpl.C: fix crash on close buffer
12676 during selection (#227)
12678 2002-01-27 Herbert Voss <voss@lyx.org>
12680 * buffer.C: link old Figure to new graphic inset
12682 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12684 * FontLoader.C (getFontinfo): Change the latex font names in order
12685 to match the names of type1inst.
12687 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12691 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12692 (extchanged): ditto
12694 (remove_files_with_extension): ditto
12695 (remove_file): ditto
12698 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12699 document is smaller than the work area height. Do not initialize
12700 static variables to 0.
12702 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12704 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12706 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12707 LFUN_LAYOUT_PARAGRAPHS.
12709 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12710 tabular. It is possible to provide a possible cell, which will
12711 typically be the actcell from the corresponding insettabular
12713 * lyxfunc.C (getStatus): small cleanup; disable
12714 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12717 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12721 * paragraph.C (startTeXParParams):
12722 (endTeXParParams): new methods. The LaTeX code to
12723 start/end paragraph formatting
12724 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12725 empty (fixes bug #200)
12727 * vspace.C (inPixels): adapt to the change below
12728 (inPixels): [later] more cleanups (remove unused variables)
12730 * lyxlength.C (inPixels): change to use a width and a height as
12733 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12735 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12736 Replaced with \paperwidth
12738 * DepTable.C (insert): add std:: qualifier
12740 2002-01-18 Allan Rae <rae@lyx.org>
12742 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12745 * text.C (drawInset): Turned out I didn't know enough about how
12746 rebreaking worked. This fixes most of the redraw problems. I see
12747 an occasional cursor trail when a line is broken now and the cursor
12748 placement can seem out by a few pixels also after a rebreak.
12750 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * buffer.C (parseSingleLyXformat2Token): update because minipage
12753 width is now a LyXLength
12755 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12757 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12760 2002-01-17 Juergen Vigna <jug@sad.it>
12762 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12764 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12765 is set correctly and the inset is updated correctly.
12767 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12769 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12770 the beginning of the loop.
12772 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12774 * lyxrc.C: improve help for use_scalable_fonts
12776 2002-01-17 Allan Rae <rae@lyx.org>
12778 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12780 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12782 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12783 make sure to set their inset_owner to the right value (bug #171)
12785 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12788 * DepTable.C: Implement mtime checking to reduce time spent doing
12791 2002-01-16 Juergen Vigna <jug@sad.it>
12793 * tabular.C (GetAdditionalHeight): one of error fixed.
12795 * lyxrc.C (output): small fix in writing use_pspell.
12797 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12799 * sp_base.h: #include LString.h
12801 2002-01-16 Allan Rae <rae@lyx.org>
12803 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12804 Can someone check this please?
12806 * text.C (drawInset): It was possible that p.row would be removed by
12807 breakAgainOneRow upsetting a few other settings. There may be another
12808 small tweak possible by setting need_break_row = 0 when p.row has been
12809 removed but I don't know enough about the logic here.
12811 2002-01-15 Allan Rae <rae@lyx.org>
12813 * text.C (insertChar): removed conditional truism.
12815 * BufferView2.C (removeAutoInsets): More tweaks.
12816 cur_par_prev could be a stray pointer. Check for trailing empty line
12817 in case last line was cur_par and only had an error inset on it.
12819 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12821 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12824 * vc-backend.C (most methods):
12825 * exporter.C (Export):
12826 * converter.C (convert):
12828 * LyXSendto.C (SendtoApplyCB):
12829 * lyxfunc.C (dispatch):
12833 * lyx_cb.C (AutoSave):
12835 * BufferView_pimpl.C (MenuInsertLyXFile):
12836 * buffer.C (runChktex): use Buffer::filePath().
12838 * buffer.h: rename filename to filename_; rename filepath to
12839 filepath_ and make it private
12840 (filePath): new method
12842 * buffer.C (writeFile): use fileName()
12845 * lyx_main.C (init): fix starting of LyX when the binary is a
12846 link from so,ewhere else.
12848 * minibuffer.C: include <cctype> for isprint
12850 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12852 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12853 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12854 name clash with InsetCollapsable's width function.
12856 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * lastfiles.C: include <iterator>
12860 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12862 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12865 * buffer.C (makeLaTeXFile): ditto.
12866 Also make loop operation more transparent.
12868 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12870 * ToolbarDefaults.C: remove trailing comma closing namespace.
12872 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12874 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12877 * trans.C (Load): comment out unused variable, allowed.
12879 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12881 * minibuffer.[Ch] (append_char): new method to recieve input from the
12882 drop-down completion browser. If a key was pressed, then recieve this
12883 char and append it to the existing string.
12884 (peek_event): modify the positioning data passed to the completion
12885 browser so that it can be placed above the minibuffer rather than below.
12886 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * LyXAction.C (init): alloe error-next for readonly documents.
12890 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12893 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12895 * bufferlist.C (readFile): create the buffer _after_ checking that
12898 * lyxfunc.C (verboseDispatch): fix handling of arguments
12900 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12902 * lyxrc.C: use string::erase() instead of initializing to "".
12905 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12907 * BufferView_pimpl.h:
12908 * BufferView_pimpl.C:
12911 * text2.C: tell X when we have made a selection for copying
12913 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * BufferView_pimpl.C (MenuInsertLyXFile):
12916 * lyxfunc.C (menuNew):
12918 (doImport): add shortcuts to directory buttons
12920 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12923 * lyxfunc.C (setStatusMessage):
12924 (getStatusMessage): new methods
12925 (getStatus):use setStatusMessage instead of setErrorMessage
12926 (dispatch): when function is disabled, set error message here
12927 [instead of in getStatus previously]
12929 * BufferView_pimpl.C (workAreaButtonRelease): update
12930 toolbar/menubar here too.
12932 2002-01-13 Allan Rae <rae@lyx.org>
12934 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12935 Now seems indestructible. Remaining task is to audit all other
12936 code affected by deleteEmptyParagraphMechanism. One small quirk
12937 left is that an empty document with an error in the preamble can
12938 be made to report an error but no error box appears. I don't know
12940 (removeAutoInsets): Improved comments.
12942 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12945 * Thesaurus.C: update for Aiksaurus 0.14
12947 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * text2.C (firstParagraph): removed member function, all uses
12950 replaces with ownerParagraph
12951 (redoParagraphs): here
12952 (updateInset): here
12953 (toggleAppendix): here
12954 * BufferView2.C (insertErrors): here
12955 (setCursorFromRow): here
12957 2002-01-13 Allan Rae <rae@lyx.org>
12959 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12960 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12961 There is still a way to segfault this although you may have to do this
12962 multiple times: Have an InsetERT with an unknown command in it.
12963 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12964 <down-arrow>, <Enter> again, View->DVI, BANG!
12966 * text2.C (setCursor):
12967 (deleteEmptyParagraphMechanism):
12968 * lyxtext.h (setCursor):
12969 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12970 Making use of the return value may help fix other bugs.
12972 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12974 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12976 * LyXView.C (updateMenubar): call MenuBar::update here
12977 (updateToolbar): but not here
12978 (showState): do not update toolbar/menubar
12980 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12981 should need to care about that.
12983 * lyxfunc.C (verboseDispatch): simplify a bit
12984 (getStatus): have a version which takes a pseudoaction, and
12985 another which requires a (kb_action,string).
12987 * LyXAction.C (retrieveActionArg): make it work also when action
12988 is not a pseudo-action.
12989 (getActionName): simplify a bit
12992 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12994 * lyxfunc.C (verboseDispatch): new families of methods with
12995 several ways to specify a command and a bool to indicate whether
12996 the command name and shortcut should be displayed in minibuffer
12997 (eventually, we could extend that to a finer bitmask like
12998 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12999 (dispatch): the pristine dispatch command which just, well,
13000 dispatchs! Note it still sets its result to minibuffer; I'm not
13003 * lyxfunc.h: remove setHintMessage
13005 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13007 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * BufferView_pimpl.C (specialChar): delete new inset if we have
13010 not been able to insert it.
13012 * kbmap.C: revert to using int instead of kb_action, since all we
13013 are dealing with is pseudo-actions.
13015 * LyXAction.C (searchActionArg): change to return int instead of
13016 kb_action, since the result is a pseudoaction.
13018 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13020 * buffer.C (insertErtContents): Fix (partially) the font bug.
13022 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13024 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13025 as the other one is broken on my machine!
13027 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13030 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13032 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13034 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13035 reflect their actual use. Provide compatibility code for older lyxrc
13038 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13040 change names of popup font variables in line with the changes to lyxrc.C
13042 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13044 * buffer.C (asciiParagraph): avoid outputing a word twice after
13047 * lyxrc.C (getDescription): document that document_path and
13048 template_path can be empty.
13050 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13052 * LaTeXFeatures.C (getMacros):
13053 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13055 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13057 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13059 (getPackages): rename feature "floats" to "float". Use an array to
13060 iterate over 'simple' features (i.e. just a \usepackage). Add
13061 handling of "amsmath" (renamed from "amsstyle").
13063 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13065 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13068 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13070 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13071 FuncStaus::FuncStatus & FuncStaus::some_method().
13073 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13075 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13076 of the func_satus stuff. Edited and massaged in various ways by
13079 * lyxfunc.C (getStatus): use FuncStatus
13081 2002-01-08 Juergen Vigna <jug@sad.it>
13083 * text.C (nextBreakPoint): use function Inset::isChar().
13085 * paragraph.C (TeXOnePar): use function
13086 Inset::forceDefaultParagraphs.
13088 * buffer.C (latexParagraphs): use function
13089 Inset::forceDefaultParagraphs.
13091 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13093 * lyx_gui.C (init): set the style of the menu popups to
13094 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13096 2002-01-07 Juergen Vigna <jug@sad.it>
13098 * text.C (setHeightOfRow): small fix
13099 (prepareToPrint): don't look at alignment if we don't have the place
13102 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13104 * box.C: New file. Move the Box methods and functions out of box.h,
13105 following Lars' suggestion.
13107 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13109 * box.h: #include "support/LOstream.h", needed for inlined function.
13112 * lyxtextclasslist.C: added some using std declarations.
13114 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13116 * box.h: make signed dimensions to allow insets wider than
13117 the screen (bug #162)
13119 * BufferView_pimpl.C: add some insetHit debug
13121 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13123 * vc-backend.C: add FIXME
13125 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13127 * lyxfunc.C (getStatus): enable code for showing math font status
13130 2002-01-07 Juergen Vigna <jug@sad.it>
13132 * text.C (nextBreakPoint): removed debug output not needed anymore.
13134 2002-01-06 Juergen Vigna <jug@sad.it>
13136 * text.C (nextBreakPoint): fixed up this function we had this bug
13137 since ever but now hopefully we break row better.
13138 (insertChar): we have to check if an inset is the next char as it
13139 could now happen that a large inset is causing a break.
13141 2002-01-05 Juergen Vigna <jug@sad.it>
13143 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13144 if it doesn't like to be drawed.
13146 2002-01-04 Juergen Vigna <jug@sad.it>
13148 * BufferView2.C (lockInset): forgot to set a cursor.
13150 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13152 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13154 * FormMathsPanel.C:
13157 * form_maths_panel.C:
13158 * form_maths_panel.h:
13159 * form_maths_panel.fd: implemented sub- and super- buttons in math
13162 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13163 (or ^ space) to be used as in TeX (req'd by André).
13165 * lyxfunc.C: Allow ^ and _ again to be used both as
13166 super/subscript (mathed) and as themselves (in text).
13168 2002-01-03 Allan Rae <rae@lyx.org>
13170 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13171 "LyX" or the filename of the current buffer if it has one. This is a
13172 modified form of John Levon's patch.
13174 * XFormsView.C (setWindowTitle): also set icon title.
13176 * LyXView.h (setWindowTitle): signature changed.
13177 * XFormsView.h (setWindowTitle): ditto.
13179 2002-01-02 Juergen Vigna <jug@sad.it>
13181 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13183 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13185 * screen.C (topCursorVisible): introduce a temp var for
13186 text->cursor.row(), handle the case where this row is null. (kindo
13189 * text2.C (setCursor): add a couple of asserts.
13191 * paragraph.h (inset_iterator): add -> operator
13193 * paragraph.[Ch] (autoDeleteInsets): remove member function
13195 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13196 cursor pos correctly and handle inset deletion by itself.
13197 (insertErrors): move iterator declaration out of for expression
13199 * lyxtextclass.C: add <algorithm>
13201 * Makefile.am: added the new files to sources, removed layout.C
13203 * layout.C: removed file
13205 * layout.h: remove LYX_DUMMY_LAYOUT
13207 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13211 * lyxtextclass.[Ch]:
13212 * lyxtextclasslist.[Ch]: new files
13214 * include order changes to a lot of files, also changes because of
13217 2001-12-27 Juergen Vigna <jug@sad.it>
13219 * buffer.C (asciiParagraph): more fixes.
13221 * tabular.C (ascii): make ascii export support export of only the
13222 data separated by a column-delimiter.
13223 (ascii): better support for ascii export.
13225 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13227 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * tabular_funcs.C: use a "using std::getline" instead of the
13230 previous fix from Angus (necessary for cxx + lyxstring)
13232 2001-12-24 Juergen Vigna <jug@sad.it>
13234 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13236 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13237 problems. First check a minipage also if we have some ert-contents
13238 (not only on par->size(), second set the right depth of the paragraph
13239 on the relink to the root-paragraph-list!
13241 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13242 which then did not anymore update the main paragraphs on undo/redo!
13244 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13247 code. Support all font-changing funcs (even those which are not in
13248 menu currently). Support for reporting font settings in
13249 mathed (disabled until Andre provides a function on mathed's side).
13251 * func_status.h (toggle): small helper function to set toggle
13254 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13256 * tabular_funcs.C: getline -> std::getline
13258 2001-12-21 Juergen Vigna <jug@sad.it>
13260 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13261 accessed and could be 0 (I couldn't generate this but it seems
13264 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13267 * tabular_funcs.h: here and include iosfwd
13269 2001-12-20 Juergen Vigna <jug@sad.it>
13271 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13272 inside inset but undo_par was.
13274 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13276 * Thesaurus.C: always include <config.h> in sources.
13280 * box.h: do not include <config.h> in header files
13282 * text.C (paintLastRow): remove unused variable
13284 * text.C (transformChar):
13286 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13288 * Painter.C (text):
13289 * font.C (width): rewrite to use uppercase() instead of
13292 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13294 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13296 * lyxfind.C: clean up of find failure position change
13298 2001-12-20 Juergen Vigna <jug@sad.it>
13300 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13302 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13303 (TeXRow): added to LaTeX a single tabular row.
13304 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13305 (Latex): simplified and finally good LT-h/f support.
13306 (various_functions): just small adaptions for LT-h/f support.
13308 * tabular_funcs.[hC]: added and moved here all not classfunctions
13311 2001-12-19 Juergen Vigna <jug@sad.it>
13313 * tabular.[Ch]: better support for longtabular options (not finished
13316 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13318 * text.C (paintLastRow): use the label font instead of the font of
13319 the last character to compute the size of *_BOX. This makes more
13320 sense and avoids a crash with empty paragraphs.
13321 Use Painter::rectangle to draw EMPTY_BOX.
13323 2001-12-19 Juergen Vigna <jug@sad.it>
13325 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13326 the paragraphs if the replaced paragraph is not the first one!
13327 Tried to delete not used paragraphs but does not work yet so for
13328 now it's inside #ifdef's and by default off!
13330 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13332 * MenuBackend.C: include "lyx_main.h" instead of declaring
13333 lastfiles (actually was declared as LastFiles* instead of a
13336 2001-12-17 Juergen Vigna <jug@sad.it>
13338 * tabular.C (AppendColumn): applied John's fix
13340 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13344 * BufferView_pimpl.h:
13345 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13348 * box.h: new start of class for above
13350 * lyxfunc.C: ignore space-only minibuffer dispatches.
13351 Show the command name when it doesn't exist
13353 * minibuffer.C: don't add empty lines to the history
13355 * minibuffer.C: add a space on dropdown completion
13357 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13359 * text.C: fix line above/below drawing in insets
13361 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * lyxlength.C (LyXLength): Initialize private variables.
13365 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13367 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13368 when inserting error insets.
13370 2001-12-13 Juergen Vigna <jug@sad.it>
13372 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13373 actually sometimes the before-paragraph.
13374 (setUndo): don't clear the redostack if we're not actually undoing!
13376 2001-12-06 Juergen Vigna <jug@sad.it>
13378 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13379 and fixed redoing of main paragraph, so we can use it now ;)
13381 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13383 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13385 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13388 2001-12-13 André Pönitz <poenitz@gmx.net>
13391 * undo_func.C: minor cleanup
13393 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13395 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13396 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13397 font in urw-fonts package which is marked as -urw-fontspecific and
13398 does not work (incidentally, changing the encoding in the
13399 fonts.dir of this package to -adobe-fontspecific fixes the
13402 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13403 is a crash when undoing first paragraph (Juergen, please take a
13404 look). THis does not mean the undo fix is wrong, just that it
13407 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13408 the (Paragraph*) version when needed instead of duplicating the
13411 * text.C (workWidth): use Inset::parOwner to find out where the
13412 inset has been inserted. This is a huge performance gain for large
13413 documents with lots of insets. If Inset::parOwner is not set, fall
13414 back on the brute force method
13416 * paragraph_pimpl.C (insertInset):
13417 * paragraph.C (Paragraph):
13418 (cutIntoMinibuffer): set parOwner of insets when
13419 inserting/removing them
13421 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13423 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13429 * mathed/formulabase.C:
13430 * mathed/math_cursor.[Ch]:
13431 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13434 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * lyxlength.[Ch] (operator!=): new function
13438 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13440 * text.C (workWidth): use Inset::parOwner to find out where the
13441 inset has been inserted. This is a huge performance gain for large
13442 documents with lots of insets. If Inset::parOwner is not set, fall
13443 back on the brute force method
13445 * paragraph_pimpl.C (insertInset):
13446 * paragraph.C (Paragraph):
13447 (cutIntoMinibuffer): set parOwner of insets when
13448 inserting/removing them
13450 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13452 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * tabular-old.C (getTokenValue):
13455 * tabular.C (getTokenValue):
13456 (write_attribute): new versions for LyXLength
13457 (everywhere): adjust the use of widths
13459 * tabular.h: change the type of widths from string to LyXLength
13461 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13463 * paragraph.C: fixed missing line number count when exporting
13464 Environments to LaTeX file
13466 * buffer.C: added informational message for checking line numbers.
13468 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13470 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13471 paragraph, do the 'double space' part, but not the 'empty
13474 * text.C (workWidth): small optimization
13475 (getLengthMarkerHeight): use minimal size for negative lengths.
13477 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13479 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13481 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13483 2001-12-11 André Pönitz <poenitz@gmx.net>
13486 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13488 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13490 * text2.C: keep selection on a setFont()
13492 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13494 * lyx_cb.C: another bv->text misuse, from insert label
13496 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13499 * kbsequence.C: re-instate nmodifier mask
13501 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13503 * lyx_main.h: make lyxGUI private.
13505 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13507 * lyxfind.C: place the cursor correctly on failed search
13509 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13511 * text.C (getLengthMarkerHeight): for small heights, the arrows
13512 are not always on top/bottom of the text
13513 (drawLengthMarker): smaller arrows; take the left margin in
13514 account; draw also vfills.
13516 (paintLastRow): remove special code for vfill and standard spaces,
13517 since everything is handled in drawLengthMarker now.
13519 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * buffer.C (insertErtContents): try to handle font and language
13522 interaction a bit better.g
13524 * ColorHandler.C (updateColor): change the hash to cover the whole
13525 LColor enum, ws cleanup
13526 (getGCLinepars): ditto
13527 (getGCLinepars): only lookup in the linecache once.
13529 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13531 * iterators.C (operator++): Make the iterator more robust
13533 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13540 * text.C: better added space drawing
13542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13545 * BufferView2.C: fix layout combo update on inset unlock
13547 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13549 * Makefile.am: don't compile unused files
13551 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13555 * LyXAction.C: remove old LFUN_LAYOUTNO
13557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13559 * paragraph_pimpl.h:
13560 * paragraph_pimpl.C: isTextAt() doesn't need font param
13562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13565 * lyxlex.C: little cleanup
13567 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13569 * BufferView_pimpl.C: fix insertAscii for insets
13571 2001-12-05 Juergen Vigna <jug@sad.it>
13573 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13574 set the right font on the "multi" paragraph paste!
13576 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * lyxlength.C: remove out-commented code.
13584 * BufferView_pimpl:
13598 * vc-backend.C: change "while(" to "while ("
13600 * lyxlength.[Ch]: add zero function to check if length is zero or
13602 * lyxgluelength.C: use it
13604 2001-12-05 Allan Rae <rae@lyx.org>
13606 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13607 Works for 2.95.3, from what I understand of Garst's reports this should
13608 work for other g++ versions. We're screwed if the abs(int) definition
13609 changed between bugfix releases of gcc.
13611 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13613 * text.C: fix chapter label offset !
13615 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13618 * text.C: fix hfill at end of line, clean up
13620 2001-12-04 Juergen Vigna <jug@sad.it>
13622 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13623 that we force an update of the inset and it's owners if neccessary.
13625 2001-12-03 Juergen Vigna <jug@sad.it>
13627 * text.C (rowLast): simplified code
13629 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13631 * lyxfunc.C: fix show options on timeout
13633 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * screen.C (topCursorVisible): scroll half a page when the cursor
13636 reached top of bottom of screen
13638 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13640 * minibuffer.C: deactivate on loss of focus
13642 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13644 * vspace.[Ch] (operator!=): add operator.
13646 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13648 * BufferView_pimpl.C: refuse to open an inset when
13649 there's a selection.
13651 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13653 * BufferView_pimpl.C: allow to click on RHS of full row insets
13655 2001-11-30 Juergen Vigna <jug@sad.it>
13657 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13658 insets for undo reasons.
13660 2001-11-28 André Pönitz <poenitz@gmx.net>
13662 * vspace.[Ch]: cosmetical changes
13664 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13674 * kbsequence.C: part re-write of old kb code
13677 * WorkArea.C: remove Lgb_bug_find_hack
13679 2001-11-30 José Matos <jamatos@fep.up.pt>
13681 * buffer.C (makeDocBookFile): add a comment to point a hack.
13682 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13683 Fixed a double write of labels.
13685 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13688 * LaTeX.h Fixed bug in LaTeX class where it would not
13689 re-run latex if no depfiles were changed, but the .dvi was removed.
13691 2001-11-28 André Pönitz <poenitz@gmx.net>
13693 * all the files from the change on 2001/11/26:
13694 use lyx::layout_type instead of LyXTextClass::size_type
13695 use lyx::textclass_type instead of LyXTextClassList::size_type
13697 2001-11-29 Juergen Vigna <jug@sad.it>
13699 * text.C: added support for paragraph::isFreeSpacing()
13701 * buffer.C: same as above
13703 * paragraph.h: inserted isFreeSpacing() function to enable
13704 FreeSpacing inside InsetERT.
13706 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13707 of the paragraph's in the cut/copy buffer to 0!
13709 * text2.C (removeRow): remove the assert as it can!
13711 * lyxtext.h: added helper function firstRow returning firstrow and
13712 made firstrow private again.
13714 * BufferView2.C (lockInset): don't relock if we're already locked!
13716 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13717 the only paragraph.
13718 (removeRow): added Assert::(firstrow)
13720 * debug.C: forgot to add INSETTEXT here.
13722 2001-11-28 Juergen Vigna <jug@sad.it>
13724 * sp_spell.C (initialize): changed error text to more general
13725 spellchecker command use (not only ispell!)
13727 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13729 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13731 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13733 * vspace.C: initialise lyxgluelength on failure
13735 2001-11-28 Allan Rae <rae@lyx.org>
13737 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13738 declaration & definition that looks like a function declaration.
13740 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * BufferView2.C (copy):
13743 (copyEnvironment): do not clear the selection when doing a copy.
13745 * text.C (paintFirstRow): compilation fix
13747 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13749 * tabular.C (Latex): correct line count when writing latex.
13751 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13753 * paragraph_pimpl.h:
13754 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13757 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13761 * LColor.C: change vfillline->added_space
13763 * text.C: add markers and text for added space
13765 * vspace.C: fix comment
13767 2001-11-28 André Pönitz <poenitz@gmx.net>
13769 * paragraph.C: whitespace changes
13770 * all the other files from the change on 2001/11/26:
13771 change *::pos_type into lyx::pos_type
13773 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13775 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13776 language of the document when inserting error insets.
13778 2001-11-26 André Pönitz <poenitz@gmx.net>
13780 * BufferView_pimpl.[Ch]:
13788 * paragraph_pimpl.[Ch]:
13791 * text2.C: reduce header dependencies, introduce type for positions
13793 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13795 * <various>: change to use Alert.h
13797 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13799 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13800 when encountering an unknown token.
13801 (readLyXformat2): Show an error message if there were unknown tokens.
13803 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13806 * BufferView_pimpl.C:
13810 * text2.C: use par->isInset()
13812 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13814 * paragraph_pimpl.h:
13815 * paragraph_pimpl.C: cleanup
13817 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * text2.C (removeRow):
13820 * text.C (setHeightOfRow): remove useless (and costly) call to
13823 2001-11-20 Allan Rae <rae@lyx.org>
13825 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13826 Now need Inset*::checkInsertChar() to return true for appropriate
13827 cases so that the characters in the minibuffer will actually be
13830 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * text.C: change the order of the includes.
13833 (workWidth): initialize it at once.
13834 (workWidth): make maxw unsigned
13835 (setHeightOfRow): remove unused variable (inset)
13836 (selectSelectedWord): remove unused variable (inset)
13837 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13839 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13842 server is not running.
13844 (closeConnection): add debug info when server is disabled.
13846 * ColorHandler.C (getGCForeground): send debug message to GUI
13849 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13851 * kbmap.C (bind): modify because return conventions of
13852 kb_sequence::parse have changed.
13854 * kbsequence.C (parse): only ignore spaces and not any stupid
13855 control character. This avoids tests like s[i] <= ' ', which are
13856 guaranteed to fail with 8bit characters and signed chars.
13857 Change return code to string::npos when there have been no error
13858 (0 was a bad idea when error is at first character)
13860 2001-11-14 José Matos <jamatos@fep.up.pt>
13863 * buffer.C (simpleDocBookOnePar): removed unused argument.
13865 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13867 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13868 insets which are part of a word. Paragraph::isLetter takes care of
13869 that now. Use Paragraph::isInset to identify insets.
13870 (selectSelectedWord): do not test for hyphenation break.
13872 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13873 that protected spaces are considered as spaces.
13875 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13878 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13881 * lyxserver.C: fix it. and small cleanup.
13883 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13885 * BufferView_pimpl.C: use inline helpers
13888 * LaTeXFeatures.C: fix typos
13891 * Spacing.C: move spacing_string into class
13893 * ToolbarDefaults.C: move stuff into namespace anon
13895 * layout.h: update enum
13897 * lyxfunc.C: use better debug
13899 * minibuffer.h: fix typo
13903 * WorkArea.C: add and use Debug::WORKAREA
13907 * text2.C: code re-organisation, inline helpers
13909 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13911 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13912 std::vector.empty().
13914 2001-11-09 Allan Rae <rae@lyx.org>
13916 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13917 '\n's after tables. Tabular and ERT inset work now makes this no
13920 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13923 * minibuffer.C: fix crash, improve drop-down completion
13925 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13928 * lyxserver.C: invalidate fd's when doing endPipe()
13930 2001-11-08 José Matos <jamatos@fep.up.pt>
13932 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13933 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13936 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13938 2001-11-07 José Matos <jamatos@fep.up.pt>
13941 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13944 * buffer.C (sgmlOpenTag):
13945 * buffer.C (sgmlCloseTag): removed debug info.
13947 * buffer.h (sgmlOpenTag):
13948 * buffer.h (sgmlCloseTag): made public.
13950 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * buffer.C (saveParamsAsDefaults):
13953 * lyx_cb.C (MenuLayoutSave): remove
13955 * LyXAction.C (init):
13957 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13959 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * buffer.C (setPaperStuff): removed from here...
13963 * bufferparams.C (setPaperStuff): ... and moved there.
13965 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13969 * XFormsView.C: add support for drop-down completion
13971 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13973 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13976 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13981 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13983 * lyx_main.C: change ref to known bugs
13985 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13987 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13988 to work around older babel problems.
13990 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13992 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13994 2001-10-24 Juergen Vigna <jug@sad.it>
13996 * tabular-old.C (ReadOld): below variable changes reflected.
13998 * tabular.[Ch]: added ltType struct for longtable header/footer
13999 defines and changed all instances where they are used. Added
14000 future support for double top/bottom rows.
14002 2001-10-24 José Matos <jamatos@fep.up.pt>
14004 * buffer.h (docbookHandleCaption):
14005 * buffer.C (docbookHandleCaption): removed unused function.
14006 (makeDocBookFile): moved docbook supported version to v4.1.
14008 2001-10-24 José Matos <jamatos@fep.up.pt>
14011 * tabular.C (docbookRow): new function to export docbook code of a row.
14012 (DocBook): now honors the longtable flags.
14014 2001-10-23 José Matos <jamatos@fep.up.pt>
14017 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14018 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14020 * buffer.C (makeLinuxDocFile):
14021 (makeDocBookFile): reworked the preamble, more clean, and with
14022 support for lyx defined entities. Changed the document declaration
14023 to be more XML friendly.
14025 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14026 if we need to output XML that should be done with a filter.
14028 2001-10-22 Juergen Vigna <jug@sad.it>
14030 * sp_pspell.h (class PSpell): add alive function needed in the
14031 controller to see if the spellchecker could be started.
14033 2001-10-22 Juergen Vigna <jug@sad.it>
14035 * buffer.C (insertStringAsLines): modify the font for inserting
14036 chars in certain conditions by calling checkInsertChar(font).
14038 2001-10-19 Juergen Vigna <jug@sad.it>
14040 * text.C (workWidth): use getRow instead of wrong algorithm.
14041 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14043 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14048 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14050 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14052 * text.C (workWidth): do not search for the exact row when
14053 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14054 optimization for big documents.
14056 2001-10-18 Juergen Vigna <jug@sad.it>
14058 * text.C (workWidth): new function with added Inset * parameter.
14060 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14064 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14065 change return type of getColumnNearX.
14068 * text.C (changeRegionCase): use uppercase/lowercase instead of
14071 (rightMargin): simplify code by factoring out the uses of
14076 (appendParagraph): use Paragraph::size_type
14078 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14080 * vspace.C (asLatexString): add a missing break
14082 2001-10-15 Herbert Voss <voss@perce.de>
14084 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14086 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14091 2001-10-10 André Pönitz <poenitz@gmx.net>
14093 * lyxfunc.C: removed greek_kb_flag.
14095 2001-10-10 Herbert Voss <voss@perce.de>
14097 * lyx_main.C: delete global string help_lyxdir.
14099 2001-10-09 Herbert Voss <voss@perce.de>
14101 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14103 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14105 * lyx_main.C: added global string help_lyxdir.
14107 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14109 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14111 * lyxrc.C (set_font_norm_type): support iso8859-4
14113 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14115 * LaTeX.C (deplog): add another regex for MikTeX
14117 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14119 * lyxrc.C (set_font_norm_type): support iso8859-3
14121 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14123 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14125 * LaTeXFeatures.C: remove special case of french and index
14127 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14128 before \begin{document}). This solves several incompatibilities.
14130 2001-10-03 Garst Reese <reese@isn.net>
14132 * lyx_cb.C: change CheckTex error msg.
14134 2001-10-03 José Matos <jamatos@fep.up.pt>
14136 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14138 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14140 * .cvsignore: update
14142 * lyx_main.C (commandLineVersionInfo): use new style version info.
14144 * buffer.C (writeFile):
14146 (makeLinuxDocFile):
14147 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14149 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14151 * version.h: update to use stuff in version.C
14153 * version.C.in: new file. Contains version information determined
14154 at compile time. This is a merging of version.h and
14157 2001-10-03 Juergen Vigna <jug@sad.it>
14159 * BufferView_pimpl.C (update): don't change "dirty" status in
14162 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14164 * WorkArea.C (c-tor): re-position version string slightly.
14166 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14168 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14169 revert to previous code.
14171 WorkArea.[Ch]: (show, destroySplash): methods removed.
14173 WorkArea.C: rework code so that it's an amalgam of the codes before and
14174 after the splash screen was moved to WorkArea.
14176 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * vspace.C (inPixels):
14182 * buffer.C (insertStringAsLines):
14183 (asciiParagraph): fix types to be large enough
14185 * lyxlex_pimpl.h: change member status from short to int
14187 * layout.h: fix type of endlabeltype
14190 * kbsequence.C (parse): change return type to string::size_type
14192 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14195 * Bullet.C (bulletSize):
14196 (bulletEntry): do not use short ints as parameters
14198 * BufferView2.C (insertLyXFile): change a char to an int.
14200 * WorkArea.C (WorkArea): remove unneeded floats in computation
14202 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14204 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14206 * paragraph.C (asString): Do not ignore newline/hfill chars when
14207 copying to the clipboard.
14209 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14211 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14212 after a multi-line inset.
14214 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14216 * paragraph.C (validate): Set NeedLyXFootnoteCode
14218 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14220 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14221 and decrease-error to decrease.
14223 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14225 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14226 it more readable (should be equivalent)
14228 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14230 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14232 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14234 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14235 of a cursor (row, etc.) after a character has been deleted
14236 (deleteEmptyParagraphMechanism): call the method above on _all_
14237 cursors held by the LyXText when a double space has been
14240 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14242 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14244 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14246 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14247 background. Use greyOut() and the new show() methods to toggle between
14248 the foreground and background. Add code to remove the splash after
14249 its initial showing.
14251 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14252 (create_forms): no longer call Dialogs::showSplash.
14254 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14256 * .cvsignore: add version_info.h
14258 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14260 * version_info.h.in: new file
14262 * Makefile.am: add version_info.h.in
14264 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14265 version_info.h instead of VERSION_INFO
14267 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14269 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14270 The ERT inset now returns string().
14272 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14274 * lyxtext.h, text.C (selectNextWord): renamed as
14275 selectNextWordToSpellcheck.
14277 * text.C (selectNextWordToSpellcheck): Modified to not select
14278 words inside an ERT inset.
14280 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14282 * lyx_cb.C (MenuLayoutSave): change a bit the question
14284 * sp_base.h: include <sys/types.h>
14286 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14288 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14290 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14292 * several files: fix typos in user-visible strings
14294 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * text2.C (pasteSelection): do not set the selection, since it
14297 will be cleared later. Actually, the intent was to fix the way the
14298 selection was set, but I figured rmoving the code was just as good.
14300 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14302 * FontLoader.C (available): Check if font is available without
14305 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14307 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14309 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14311 * lyxrc.[Ch]: added display_graphics variable and associated code.
14313 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * bufferparams.C (hasClassDefaults): new method. Returns true if
14316 the buffer parameters correspond to known class defaults
14318 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14320 * XFormsView.C (show): set minimum size to the main window.
14322 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14324 * text2.C (copySelection):
14326 * lyxfind.C (LyXReplace):
14327 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14328 LyXText::selectionAsString.
14330 * paragraph.C (asString): add "label" argument to the second form
14332 * text2.C (selectionAsString): add "label" argument and pass it to
14333 Paragraph::asString.
14335 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * lyx_main.C (commandLineHelp): remove version information
14339 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14341 * lyx_main.C: add -version commandline option
14343 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14345 * paragraph.h: make the optional constructor arg required instead.
14346 some modifications to other files because of this.
14348 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14350 * lyxserver.C (C_LyXComm_callback): make it static
14352 * lyx_main.C (error_handler): make it static
14354 * lyx_gui.C (LyX_XErrHandler): make it static
14356 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14358 * WorkArea.C: make the extern "C" methods static.
14360 * Makefile.am (lyx_LDADD): simplify
14362 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14364 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14365 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14367 * LyXAction.C (init):
14368 * lyxfunc.C (dispatch): associated code removal.
14370 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14372 * lyxfont.h (isSymbolFont): shut off warning
14374 * text.C (setHeightOfRow):
14375 (getVisibleRow): fix crash with empty paragraphs which have a
14378 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14380 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14383 2001-09-04 José Matos <jamatos@fep.up.pt>
14386 * tabular.C (docbook): rename docBook method to docbook.
14388 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14390 * Makefile.am: add dependencies to main.o.
14392 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14394 * FontLoader.C (available): Return false if !lyxrc.use_gui
14396 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14398 * FontInfo.C (query):
14399 * converter.C (view):
14400 * importer.C (Import):
14401 * exporter.C (Export): Can not -> cannot.
14403 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14405 * BufferView_pimpl.C: allow to create index inset even if
14408 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14410 * buffer.C (getLists): replace boost::tie code with an explicit pair
14411 as boost::tie can break some compilers.
14413 * iterators.h: Added a std:: declaration to the return type of
14416 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14418 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14421 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14423 * iterators.[Ch]: New files. Provide paragraph iterators.
14425 * buffer.C (changeLanguage): Use paragraph iterators.
14426 (isMultiLingual): ditto
14428 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14430 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14432 * FontLoader.C: Support for cmr font.
14434 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14436 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14437 (available): New method.
14439 * FontInfo.C (getFontname): Use scalable fonts even when
14440 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14443 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14445 * converter.C (Formats::view): reverted! Incorrect fix.
14447 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14449 * converter.C (Formats::view): only output the -paper option
14450 if the dvi viewer is xdvi, thereby fixing bug #233429.
14452 2001-08-23 Herbert Voss <voss@perce>
14454 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14456 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14458 * Spacing.h (Spacing): Set space to Default on in the default
14461 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * vc-backend.h (RCS::versionString): add RCS to version
14464 (CVS::versionString): add CVS to version
14466 * vc-backend.C (scanMaster): do not add CVS to version.
14467 (scanMaster): do not add RCS to version
14469 * lyxvc.C (versionString): new method
14471 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14473 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * Spacing.C (set): initialize fval
14477 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14479 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14482 2001-08-16 Juergen Vigna <jug@sad.it>
14484 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14486 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14488 * BufferView_pimpl.C:
14491 * text2.C: setParagraph takes linespacing now
14493 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14495 * LyxAction.C: add internal LFUN_CITATION_INSERT
14497 * LyXView.C: actually apply fix
14499 * bufferlist.C: fix open non-existent file
14501 * lyxfind.C: fix indentation
14503 * lyxfunc.C: remove unneeded assert, fix typo
14505 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14507 * MenuBackend.C: use "Floatname List"
14509 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14511 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14512 when converting LaTeX layout to insetERT.
14513 Generate a non-collapsed float when reading old float
14515 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14517 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14520 2001-08-13 Juergen Vigna <jug@sad.it>
14522 * text.C (fill): return 0 instead of 20 as this seems to be the more
14525 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14527 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14530 2001-08-13 Juergen Vigna <jug@sad.it>
14532 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14534 (SearchBackward): comment out the unlocking of the inset_owner this
14535 should not be needed!
14537 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14539 * Many files: Remove inherit_language, and add latex_language
14541 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14542 collapsible insets.
14544 2001-08-10 Juergen Vigna <jug@sad.it>
14546 * text.C (prepareToPrint): fixed hfill-width in draw!
14548 * BufferView2.C (selectLastWord): save the selection cursor as this
14549 now is cleared in the function LyXText::clearSelection!
14551 2001-08-08 Juergen Vigna <jug@sad.it>
14553 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14554 BACKSPACE type functions.
14556 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14557 is only cutted from the document but not put in the cut-buffer, where
14558 still the old stuff should be.
14560 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14562 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14564 * tabular.C (SetWidthOfCell): fixed special case where the width
14566 (LeftLine): handle '|' in align_special.
14568 (LeftAlreadyDrawed): ditto
14569 (SetWidthOfCell): ditto
14571 2001-08-07 Juergen Vigna <jug@sad.it>
14573 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14575 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14578 * lyxlex.[hC]: ditto
14580 2001-08-06 Juergen Vigna <jug@sad.it>
14582 * text.C (getVisibleRow): fix up row clearing a bit.
14584 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14586 * minibuffer.C: make sure the X server sees the changes in the input.
14588 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * paragraph.C (getFont): split into...
14591 (getLabelFont): this
14592 (getLayoutFont): and this
14593 * paragraph_pimpl.C (realizeFont): calling this
14595 * text2.C (getFont): split into...
14596 (getLayoutFont): this
14597 (getLabelFont): and this
14598 (realizeFont): all three calling this
14600 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14603 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14607 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14609 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14610 layouts from the Quote inset insertion.
14612 2001-08-03 Juergen Vigna <jug@sad.it>
14614 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14616 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14617 only if status not is already CHANGED_IN_DRAW (second level).
14619 * text.C (draw): don't set the need_break_row when inside an
14622 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * buffer.C (parseSingleLyXformat2Token): handle more latex
14627 * bufferview_funcs.[hC]: change function names to
14628 begin with small char, adjust other files.
14630 2001-08-02 André Pönitz <poenitz@gmx.net>
14633 BufferView_pimpl.C: remove broken special code for math-greek
14635 2001-08-02 Juergen Vigna <jug@sad.it>
14637 * BufferView_pimpl.C (update): redone this function so that we
14638 update the text again if there was a CHANGE_IN_DRAW.
14640 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14641 (drawFromTo): added a new internal bool which is used by draw() and
14643 (general): some cursor drawing problems fixed.
14645 2001-08-01 Juergen Vigna <jug@sad.it>
14647 * lyxfind.C (LyXFind): fixed
14648 (SearchForward): ditto
14649 (SearchBackward): ditto
14651 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14652 spurius drawing of the cursor in the main area.
14654 * text2.C (status): small fix which could lead to a segfault!
14655 (clearSelection): remove unneeded BufferView param.
14657 2001-08-01 André Pönitz <poenitz@gmx.net>
14659 * lyxfunc.C: small change due to changed mathed interface
14661 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14665 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14667 * lyxfunc.c: fail gracefully if file doesn't exist
14672 * BufferView_pimpl.C: IsDirWriteable() proto changed
14674 * LyXView.C: fix updateWindowTitle() to store the last title
14676 2001-07-31 Juergen Vigna <jug@sad.it>
14678 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14679 the font (wrong since using of Paragraph::highestFontInRange).
14681 * paragraph.C (highestFontInRange): added a default_size parameter.
14683 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14684 (setHeightOfRow): reformat
14686 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14688 * converter.[hC] + affected files: move to (inital-char)lowercase
14691 * ParagraphParameters.C (ParagraphParameters): remove commented code
14693 * PainterBase.[Ch]: remove commented code
14695 * LaTeXFeatures.h: add "bool floats" for float.sty
14697 * LaTeXFeatures.C (LaTeXFeatures): init floats
14698 (require): handle float
14699 (getPackages): do it with floats
14701 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * BufferView_pimpl.C (Dispatch): improve handling of
14704 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14706 * commandtags.h: #include lyxfont.h here temporarily to avoid
14709 * bufferlist.h: include LString.h here.
14711 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * text2.C (getStringToIndex): new method.
14715 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14717 * *: Reduced header file dependencies all over.
14719 2001-07-30 Baruch Even <baruch@lyx.org>
14721 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14723 2001-07-29 Baruch Even <baruch@lyx.org>
14725 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14727 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * ParameterStruct.h (endif): add a default constructor to make
14730 sure that all variables is initialized.
14732 * ParagraphParameters.C (ParagraphParameters): adjust
14734 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14736 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14737 index; also, check that there is something to index, and that it
14738 does not span over several paragraphs.
14739 (doubleClick): use WHOLE_WORD_STRICT for double click.
14741 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14743 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14746 2001-07-26 Baruch Even <baruch@lyx.org>
14748 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14749 an InsetFig figure, backwards compatible reading of old figure code.
14751 2001-07-27 Juergen Vigna <jug@sad.it>
14753 * text2.C: font.realize function adaption.
14755 * text.C (draw): add a warnings lyxerr text if needed.
14757 * layout.C: font.realize function adaption.
14759 * language.C: add inherit_language and implement it's handlings
14761 * bufferview_funcs.C (StyleReset): remove language parameter from
14762 font creation (should be language_inherit now).
14764 * bufferparams.C (writeFile): handle ignore_language.
14766 * paragraph.C (getFontSettings): the language has to be resolved
14767 otherwise we have problems in LyXFont!
14769 * lyxfont.C (lyxWriteChanges): added document_language parameter
14770 (update): removed unneeded language parameter
14772 * paragraph.C (validate): fixed wrong output of color-package when
14773 using interface colors for certain fonts in certain environments,
14774 which should not seen as that on the final output.
14776 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14778 * BufferView_pimpl.C:
14783 * LyXAction.C: add thesaurus support
14786 * lyxfind.C: add "once" parameter, for thesaurus, to not
14787 move to the next match
14789 2001-07-26 Juergen Vigna <jug@sad.it>
14791 * lyxfont.C (realize): honor ignore_language too!
14794 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14796 * text.C (draw): one place more for ignore_language to not draw
14799 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14801 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14803 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14805 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14806 the minipage conversion problem.
14808 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14810 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14813 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14815 * BufferView.h: don't forward declare WorkArea
14817 * BufferView.C: don't include WorkArea.h
14819 2001-07-25 André Pönitz <poenitz@gmx.net>
14823 * lyxfunc.C: new LFUN 'math-space'
14825 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14827 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * text2.C (toggleInset): call open/close
14831 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * lyxfunc.C (dispatch): add debug for the disabled case
14835 * font.C (buttonText): make similar to rectText
14837 * buffer.C (readInset): comment out parsing of insetlist and
14840 * PainterBase.C (rectText): small correction
14842 * BufferView_pimpl.C: comment out insettheorem and insetlist
14843 * LyXAction.C: ditto
14844 * commandtags.h: ditto
14846 2001-07-24 Juergen Vigna <jug@sad.it>
14848 * text.C (draw): honor the ignore_language.
14850 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14852 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14854 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14857 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14859 * lyxtext.h: remove unused (and unimplemented) methods
14861 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14863 * text.C (getVisibleRow): honor background color
14866 * Painter.h: remove default color argument for fillRectangle
14868 * text.C (backgroundColor): new method
14870 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14872 * text.C (getVisibleRow): adjust
14874 * font.[Ch] (rectText): new method, metrics
14875 (buttonText): new method, metrics
14877 * PainterBase.[hC]: make rectText and buttonText always draw and take
14880 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14882 * ToolbarDefaults.C (read):
14883 * MenuBackend.C (read): allow escaping in all strings
14885 * BufferView_pimpl.C (insertAndEditInset): new method.
14886 (Dispatch): use insertAndEditInset whenever appropriate.
14888 * BufferView_pimpl.C (insertNote): removed
14890 * BufferView_pimpl.C (smartQuote): new method, moved from
14891 BufferView; if an insetquote cannot be inserted, insert a '"'
14894 * BufferView2.C: remove insertCorrectQuote();
14896 * lyxfunc.C (getStatus): Add support for all remaingin
14897 inset-insert lfuns.
14899 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14901 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14902 command (necessary to pass " as parameter of self-insert.
14904 * text.C (selectWordWhenUnderCursor):
14905 (selectWord): add word_location parameter
14906 (selectWordWhenUnderCursor): same + remove special code for word
14908 (selectNextWord): use kind() to guess type of insetspecialchar,
14911 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14912 (insertErtContents): create ert insets as collapsed.
14913 (readInset): better compatibility code for Info inset.
14915 2001-07-20 Juergen Vigna <jug@sad.it>
14917 * lyxfunc.C (dispatch): use always LyXFind now!
14919 * text2.C (init): add a reinit flag so that the LyXText can be
14920 reinited instead of deleted and reallocated (used in InsetText).
14922 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14928 2001-07-18 Juergen Vigna <jug@sad.it>
14930 * text.C (selectNextWord): handle insets inside inset by calling
14931 always the bv->text functions so that we can go up the_locking_inset!
14933 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14934 in strange locations when inside an inset!
14936 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14937 handling to include insets.
14939 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14941 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * LyXAction.C (init):
14945 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14946 LIGATURE_BREAK, since the name is so stupid.
14948 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14950 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14953 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14955 * sp_form.[Ch]: remove.
14957 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14959 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14962 * src/buffer.C (readInset): ditto.
14964 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14966 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14967 menuSeparator(), endOfSentenceDot(), ldots() and
14968 hyphenationPoint(), which are therefore removed.
14969 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14971 * LyXAction.C (init):
14972 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14974 * paragraph.C (getWord): removed.
14976 * BufferView_pimpl.C (Dispatch): use last word or selection for
14977 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14979 * lyx_main.C (queryUserLyXDir): do not ask before creating
14980 user_dir, except if it has been named explicitely.
14982 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14984 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14985 a document of zero size.
14987 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14989 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14990 approriately in the c-tor and in require().
14991 (getPackages): output the appropriate LaTeX for natbib support.
14993 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14994 variables "use_natbib" and "use_numerical_citations" when reading the
14996 (readInset): read the various natbib cite commands.
14997 (validate): white-space change.
14999 * bufferparams.[Ch]: new variables "bool use_natbib" and
15000 "bool use_numerical_citations".
15001 (writeFile): output them in the LyX file.
15003 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15005 * lyxfunc.C (getStatus): add support for all the inset insertion
15008 * text2.C (insertInset):
15009 * paragraph.C (insetAllowed):
15010 * BufferView_pimpl.C (insertInset): update to take in account the
15011 renaming of insertInsetAllowed
15013 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15015 * text2.C (getInset): new method. returns inset at cursor position.
15017 * BufferView_pimpl.C (Dispatch): changes because of this.
15019 * LyXAction.C (init): rename open-stuff to inset-toggle.
15021 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15023 * text2.C (toggleInset): renamed from openStuff; use
15026 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15028 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15030 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15032 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15034 * buffer.C (readLyXformat2): Add filename to the error dialog
15036 2001-07-18 Juergen Vigna <jug@sad.it>
15038 * tabular.C (GetCellNumber): put an assert here instead of the check!
15040 2001-07-17 Juergen Vigna <jug@sad.it>
15042 * BufferView_pimpl.C (toggleSelection): adapted too.
15044 * text.C (selectNextWord): adapted for use with insets.
15045 (selectSelectedWord): ditto
15047 2001-07-17 Juergen Vigna <jug@sad.it>
15049 * sp_spell.C (PSpell): fix initialitation order.
15051 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15053 * paragraph.C: spacing
15055 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15057 * sp_spell.C: repair language selection for pspell
15059 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * lyxfunc.h: change more methods to begin with lower char.
15063 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15065 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15066 for unknown layouts.
15068 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15070 * buffer.C (readLyXformat2): Generate an error dialog if there are
15073 2001-07-16 Juergen Vigna <jug@sad.it>
15075 * sp_spell.C: always compile ISpell part.
15077 * lyxrc.C: added use_pspell entry and it's handling.
15079 2001-07-13 Juergen Vigna <jug@sad.it>
15081 * sp_spell.C: removed double includes.
15083 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15085 Consistent use of Lsstream.h:
15086 * Lsstream.h: added using std::stringstream for consistencies sake.
15088 * buffer.C: removed using std::stringstream
15090 * lyxfont.C (stateText):
15091 * paragraph.C (asString):
15092 * text.C (selectNextWord, selectSelectedWord):
15093 * text2.C (setCounter):
15094 * vspace.C (asString, asLatexString):
15095 std::ostringstream -> ostringstream.
15097 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15099 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15100 * commandtags.h: add LFUN_HELP_ABOUTLYX
15101 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15103 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15105 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15107 * lyx_gui_misc.C: remove spellchecker
15108 * lyxfunc.C: showSpellchecker
15110 * sp_ispell.h: added
15111 * sp_pspell.h: added
15112 * sp_spell.C: added
15113 * sp_form.[Ch]: removed
15114 * spellchecker.[Ch]: removed
15116 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15118 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15120 (simpleTeXSpecialChars): Simply print the input character without
15121 any special translation if pass_thru is set.
15123 * layout.h: Added bool pass_thru to layout class for being able to
15124 implement pass through of a paragraph for Literate Programming.
15126 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15127 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15128 * layout.C (Read): add "passthru" to list of layout tags and add
15129 code to set the pass_thru boolean when it is read.
15131 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * trans_decl.h: remove allowed from KmodInfo
15135 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15136 remove allowed code
15139 * paragraph_pimpl.C (erase): use boost::prior
15141 * Painter.C (text): use data() instead of c_str() when length is
15143 * WorkArea.C (putClipboard): ditto
15144 * font.h (width): ditto
15146 * BufferView2.C: use it-> instead of (*it). for iterators
15148 * paragraph_pimpl.C: ditto
15149 * paragraph.C: ditto
15150 * minibuffer.C: ditto
15151 * language.C: ditto
15153 * encoding.C: ditto
15154 * counters.C: ditto
15155 * converter.C: ditto
15157 * Variables.C: ditto
15158 * TextCache.C: ditto
15159 * MenuBackend.C: ditto
15160 * LyXAction.C: ditto
15162 * FloatList.C: ditto
15163 * DepTable.C: ditto
15164 * ColorHandler.C (LyXColorHandler): ditto
15166 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15170 * text2.C (openStuff): reintroduce this method (which had been
15171 nuked in NEW_INSETS frenzy).
15173 * lyxfunc.C (Dispatch): when an action has not been handled, use
15174 its name in the error message, not its number.
15176 * paragraph.C (inInset): change method name to begin with lowercase.
15179 * text2.C: updates because of this.
15181 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * ToolbarDefaults.C (add): add spaces in error message
15185 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15187 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15188 (readLyXformat2): rename return_par to first_par, use lyxlex's
15189 pushToken and remove the manual push handling.
15190 (parseSingleLyXformat2Token): add another ert comp. variable:
15191 in_tabular, rename return_par to first_par. handle newlines better
15193 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15195 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15197 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * text2.C (getParFromID): removed
15201 * buffer.C (getParFromID): new method moved form lyxtext.
15202 * BufferView2.C (insertErrors): adjust
15203 (setCursorFromRow): adjust
15204 * BufferView_pimpl.C (restorePosition): adjust
15205 * lyxfunc.C (Dispatch): adjust
15206 * undo_funcs.C (textUndo): adjust
15208 (textHandleUndo): adjust
15209 (textHandleUndo): adjust
15211 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * buffer.C: up' the LYX_FORMAT
15215 * lyxfont.h: turn NO_LATEX on as default
15217 * buffer.C (insertErtContents): new methods of tex style compability.
15218 (parseSingleLyXformat2Token): use it several places.
15219 * tabular.C (OldFormatRead): and here
15221 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * text2.C: remove some commented code.
15226 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15227 * trans.C: changes because of the above.
15229 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15231 * text2.C (setCounter): Fix counters bug with bibliography layout.
15233 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15235 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15236 own member functions
15237 (simpleTeXSpecialChars): ditto
15239 2001-07-06 Juergen Vigna <jug@sad.it>
15241 * a lot of files: changed the access to LyXText::status and the
15242 call of undo-functions.
15244 * undo.[Ch]: added a inset_id to the undo informations.
15246 * undo_funcs.[Ch]: added and moved here all undo functions.
15248 * lyxtext.h: give the status enum a weight, made status_ a private
15249 variable and made accessor functions for it, removed the whole bunch
15250 of undo-functions as they are now in their own file, make some
15251 functions publically available. Added function ownerParagraph with
15254 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15255 made InInset() a const function, added getParFromID() function.
15257 * buffer.[Ch]: added const version for inset_iterator functions,
15258 added getInsetFromID() function.
15260 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15261 changed undo functions for new version.
15263 2001-07-05 Juergen Vigna <jug@sad.it>
15265 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15266 unknow mechanism does not call the proper constructor but only this
15267 one also if I request the other!?
15269 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15273 * text2.C (LyXText): use initialization lists.
15275 * lyxtext.h (Selection): initialize set_ and mark_
15276 (init): remove method
15278 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15280 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15282 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15284 * screen.[Ch]: change method names to begin with lowercase
15286 * BufferView_pimpl.C (updateScrollbar): simplify further and
15287 hopefully make it a bit faster.
15289 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15292 calling directly xforms functions.
15294 * Painter.C (Painter):
15295 * lyx_cb.C (MenuWrite):
15296 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15299 * lyx_gui.C: remove bogus guiruntime extern declaration.
15301 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15303 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15305 (redoDrawingOfParagraph): ditto
15306 (redoParagraphs): ditto
15307 (cutSelection): don't create a object for CutAndPaste use the
15308 static method directly
15309 (pasteSelection): ditto
15311 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15314 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * modifications to some other files because of this.
15318 * Makefile.am (lyx_SOURCES): add XFormsView
15320 * XFormsView.[Ch]: new files
15322 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15323 the main window. Move the gui dependent stuff to XFormsView
15325 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15327 * tabular.C (GetCellInset): update cur_cell also in the row/col
15328 version of this function.
15330 * lyxfunc.C: no need to include figure_form.h here.
15336 * lyxvc.C: no need to include forms.h here.
15338 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15342 * lyxfunc.C (Dispatch):
15344 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15345 constructor argument.
15347 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15349 * paragraph.C (Paragraph): dont't clear, and just set layout.
15350 (makeSameLayout): use params's copy contructor.
15352 * ParagraphParameters.[Ch] (makeSame): delete method
15354 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15356 * Variables.[Ch]: fix indentation, rename set to isSet
15358 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15360 * lyxfunc.C (Dispatch): fix typo
15362 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15367 * bufferlist.C: include assert.h for emergencyWrite().
15369 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15371 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15372 give up at last (bug #425202) !
15374 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15380 * spellchecker.C: strip spellchecker options and bring up
15381 preferences tab instead
15383 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15386 the istringstream constructor
15388 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15390 * paragraph.C (getLayout): fix return value
15392 * paragraph.h: do not declare getLayout as inline.
15394 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15396 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15398 * lyxcursor.h (operator<): new func
15399 (operator>): new func
15400 (operator>=): new func
15401 (operator<=): new func
15403 * text.C (changeCase): use selection.start and selection.end
15404 (changeRegionCase): require from to be <= to. Require par to be a
15407 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15409 2001-06-27 Juergen Vigna <jug@sad.it>
15411 * text.C (cursorLeftOneWord): changed to return the cursor and added
15412 overlay with BufferView * parameter which calls this one.
15414 (selectWord): use new getWord function.
15415 (changeCase): renamed from changeWordCase as and extended to work
15416 also on selections.
15418 * lyxtext.h: added enum word_location
15420 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15421 changeCase as this operates now also on selections.
15423 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15425 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15427 * many files: send debug output to Debug::INFO instead of
15430 * converter.C (View):
15432 (Move): send debug output to Debug::FILES instead of console.
15434 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15436 * lyxfunc.C (getStatus): use func_status
15438 * func_status.h: new header, describing the results of
15439 LyXFunc::getStatus;
15441 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15444 2001-06-25 The LyX Project <jug@sad.it>
15446 * buffer.C (sgmlOpenTag):
15448 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15450 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * text2.C: remove some dead code
15454 * tabular.C (GetCellInset): store the last cell checked (gotten)
15456 * tabular.h: add the helper for the speedup
15458 * lyxtext.h: remove some dead code
15460 2001-06-26 The LyX Project <Asger>
15462 * paragraph.C: Change export to LaTeX of alignment to
15463 \begin{center} and family for better roundtrip work with reLyX.
15465 * Tune the math drawing a bit.
15467 2001-06-25 The LyX Project <Asger>
15469 * LColor.C (LColor): New color for math background. New color
15472 2001-06-25 The LyX Project <jug@sad.it>
15474 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15476 * lyxfunc.C (Open):
15477 * bufferlist.C (newFile): do not restrict to files ending with
15480 * BufferView_pimpl.C (MenuInsertLyXFile):
15482 2001-06-24 The LyX Project <jug@sad.it>
15484 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15487 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * lyxtext.h: rename most methods to begin with a small char.
15490 Lots of changes because of this.
15492 * paragraph.C (Paragraph): do not call fitToSize
15493 (erase): call Pimpl::erase
15494 (insertChar): call Pimpl::insertChar
15495 (insertInset): call Pipl::insertInset
15496 (breakParagraph): do not call fitToSize
15497 (breakParagraphConservative): do not call fitToSize
15498 (fitToSize): remove method
15500 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15502 2001-06-24 The LyX Project <Asger>
15504 * Fix Qt compilation^2
15506 2001-06-24 The LyX Project <jug@sad.it>
15508 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15509 depthHook(getDepth()-1).
15512 * ParagraphParameters.h:
15513 * ParameterStruct.h: change type of depth to unsigned int ==
15514 depth_type. Many adaptations to other files before of that.
15516 2001-06-24 The LyX Project <Asger>
15518 * Fix Qt compilation.
15520 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * paragraph.h: renamed several methods to begin with small letter.
15523 several changes to many parts of the code because of this.
15525 2001-06-23 The LyX Project <jug@sad.it>
15527 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15528 rewritten to discard all double spaces when KeepEmpty is off
15529 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15530 to only handle newlines but not fiddle with spaces and friends.
15532 * lyxfunc.C (MenuNew): when doing 'new from template', use
15533 template_path as default directory
15535 2001-06-23 The LyX Project <Asger>
15537 * Clean-up of header file includes all over
15538 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15540 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15542 * paragraph.h: renamed from lyxparagraph.h
15544 2001-06-23 Asger <lyx@violet.home.sad.it>
15546 * Buffer.h: Removed Buffer::resize
15547 * BufferList.h: Removed BufferList::resize
15548 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15549 the document lazily when we change the width, or the font settings.
15551 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15553 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15555 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15557 * buffer.h: remove out of date comment
15559 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15562 * screen.C: fix "theoretical" GC leak
15564 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * LaTeX.C (scanAuxFile):
15567 (deplog): remove trailing \r when reading stream (useful under
15570 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15572 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15573 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15574 and BufferView::theLockingInset(Inset*), so should use them and not
15575 access bv_->text->the_locking_inset directly.
15577 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15579 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15582 * tex-defs.h: remove old unused file
15584 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15586 * BufferView_pimpl.C: fix typo, remove minibuffer message
15587 when buffer has loaded
15589 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * lyxfunc.C (Dispatch): use stringstream
15592 (MenuNew): use stringstream
15593 (Open): use stringstream
15595 * importer.C (Import): use stringstream
15597 * bufferview_funcs.C (CurrentState): use stringstream
15599 * LaTeX.C (run): use stringstream
15601 * BufferView_pimpl.C (savePosition): use stringstream
15602 (restorePosition): use stringstream
15603 (MenuInsertLyXFile): use stringstream
15605 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15618 * vspace.C: removed // -*- C++ -*- as first line.
15621 * version.h: added // -*- C++ -*- as first line.
15623 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15625 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15627 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15630 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15635 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * gettext.C: include LString.h even when --disable-nls is on.
15639 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15641 * converter.h (Get): changed argument type from int to
15642 FormatList::size_type to avoid unnecessary conversion.
15644 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15647 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15649 * gettext.h: include LString.h even when --disable-nls is on.
15651 2001-06-07 Juergen Vigna <jug@sad.it>
15653 * text.C (BreakAgain): subst spaces with tabs.
15655 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15656 (resizeInsetsLyXText): set force on resizeLyXText.
15658 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * gettext.h (gettext_init):
15661 (locale_init): use a real definition instead of a macro
15663 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15665 * Bufferview_pimpl.C:
15667 * LColor.C: further lcolor tidies
15669 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15671 * BufferView_pimpl.C (updateScrollbar): simplify.
15673 * BufferView2.C: don't include insets/insetinfo.h, change
15674 prototype for insertInset and call the Pimpl version. let
15675 updateInset call Pimpl version.
15677 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15678 gotoInset to BufferView::Pimpl
15680 2001-06-01 Juergen Vigna <jug@sad.it>
15682 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15683 inside a LockingInset (is the update needed at all?).
15685 2001-05-31 Juergen Vigna <jug@sad.it>
15687 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15688 here not the old one otherwise how should we compare it afterwards
15691 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15696 * FontInfo.C: bring C functions into global namespace when
15699 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15701 * LString.h: make sure config.h has been loaded before LString.h.
15703 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15704 (one for each char read by EatLine!).
15706 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15709 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15711 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15712 to the same as the par we break from
15714 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15716 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15718 * MenuBackend.C (expand): also create menu entries for wide
15719 versions of the floats.
15721 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15723 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15725 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15726 frontends/Makefile.am
15732 * tabular.C (getTokenValue): add std::
15734 * tabular-old.C (getTokenValue): add std::
15735 (getTokenValue): ditto
15736 (getTokenValue): ditto
15738 * screen.C (ToggleSelection): adjust
15740 * lyxtext.h: put selection cursors inside a Selection struct.
15742 * lyxfunc.C (moveCursorUpdate): adjust
15744 * lyxfont.C (latexWriteStartChanges): add std::
15746 * lyxfind.C: adjust
15748 * font.h: delete with(char const *, LyXFont const &)
15750 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15752 * FontInfo.C (getFontname): add std::
15754 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15755 (workAreaButtonPress): adjust
15756 (tripleClick): adjust
15758 (moveCursorUpdate): adjust
15761 * BufferView2.C (gotoInset): adjust
15763 2001-05-30 Juergen Vigna <jug@sad.it>
15765 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15766 to check pspell I add this as default as I now have new pspell
15767 libraries and they seem to use this.
15769 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * text2.C (CutSelection): make the cursor valid before the call to
15774 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15777 relied on 0 terminated strings and other horrors. Bug found due to
15778 the new assert in lyxstring!
15780 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15783 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15788 * lyxfunc.C (processKeySym): change method of getting to the
15791 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15792 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15793 * BufferView_pimpl.[Ch]: here as private methods.
15795 2001-05-28 Juergen Vigna <jug@sad.it>
15797 * text.C (SetHeightOfRow): added the update() call again as it is
15798 needed to initialize inset dimensions!
15800 2001-05-16 Juergen Vigna <jug@sad.it>
15802 * text2.C (SetCharFont): Add new function with BufferView * and
15803 bool toggleall parameters for setting insets internal fonts.
15804 (SetFont): Freeze the undo as we may change fonts in Insets and
15805 all this change should be inside only one Undo!
15807 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15808 setting font's in insets as for them we have the SetFont function!
15810 2001-05-15 Juergen Vigna <jug@sad.it>
15812 * text2.C (ClearSelection): to be sure we REALLY don't have any
15815 * tabular.C (TeXCellPreamble): fixed the left border problem for
15818 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15820 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15823 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15825 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15826 LFUN_BREAKPARAGRAPH.
15828 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15829 help test to "internal only", similar for LFUN_INSERT_URL
15831 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15832 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15833 auto_region_delete and deadkeys.
15835 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15838 * LColor.C: remove some dead entries, tidy a little
15840 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15842 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15844 (Dispatch): implement LFUN_ESCAPE
15846 * commandtags.h: add LFUN_ESCAPE
15848 * LyXAction.C (init): add entry for LFUN_ESCAPE
15850 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15851 Remove commented code.
15852 (insertNote): moved here
15853 (open_new_inset): moved here
15855 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15858 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15860 * kbmap.C (findbinding): clean it up and make it work correctly.
15862 * lyx_main.C (init): do not pass argc and argv as parameters
15864 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15866 * buffer.C: fix path for OS/2 & Win32
15870 * lyx_main.C: Added os:: class.
15872 * os2_defines.h: update
15874 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15877 better by trying again with reduced state.
15879 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15881 * lyxrc.C (read): print error about invalid key sequence only when
15882 debugging (because not all latinX keysyms are known to some X
15885 * kbsequence.C (getiso): add a few std:: qualifiers
15886 (getiso): comment out extra return statement.
15888 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15890 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15892 (Dispatch): enhance the accent inset a bit. (not perfect)
15894 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15898 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * bufferlist.C (emergencyWrite): fix assert() call
15902 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15904 * text.C (InsertChar): Added trivial patch to only send the "you
15905 can not do multiple spaces this way" message once during a
15908 2001-05-08 Baruch Even <baruch@lyx.org>
15910 * Makefile.am: Changed order of libraries to get LyX to link properly
15911 with the gnome frontend.
15913 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15915 * LaTeXFeatures.h: add a std:: qualifier
15917 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15919 * paragraph.C (String): use stringstream
15921 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * paragraph.C (writeFile): remove footflag arg
15925 * buffer.C (makeLaTeXFile): use stringstream
15926 (latexParagraphs): remove footnot gurba
15928 * LaTeXFeatures.C (getPackages): use stringstream
15929 (getMacros): likewise
15930 (getTClassPreamble): likewise
15931 (getFloatDefinitions): new method
15933 * paragraph.C (writeFile): reindent
15936 * WorkArea.h: revert the xpos + etc changes.
15938 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15940 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15942 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15943 (pasteSelection): likewise
15944 * text2.C (CreateUndo): likewise
15946 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15948 * minibuffer.C (peek_event): temporarily reduce the functionality
15949 of the minibuffer (to allow args on lfuns)
15951 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15952 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15954 * buffer.C (readInset): add compability reading of old float
15955 lists, add reading of new style float list.
15956 (readInset): avoid reevaluation of inscmd.getCmdName()
15957 (getLists): reindent
15959 * MenuBackend.C (MenuItem): implement parsing of
15960 md_floatlistinsert and md_floatinsert.
15961 (expand::LastFiles): move initalizaton of iterators out of loop,
15962 avoid reevaluation.
15963 (expand::Documents): introduce typdedef vector<string> Strings,
15965 (expand::ExportFormats): introduce typedef vector<Format const *>
15966 Formats, and use it.
15967 (expand): implement FloatListInsert and FloatInsert.
15969 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15970 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15971 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15973 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15975 (Dispatch::LFUN_FLOAT_LIST): implement
15977 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15979 * LaTeX.C (run): Fix problem with --export code.
15981 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15983 * BufferView.[Ch] (workarea): removed.
15984 (getClipboard) new method; wrapper for workarea()->getClipboard()
15986 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15989 * WorkArea.h (width, height, xpos, ypos): These methods all
15990 returned the dimensions of the work_area sub-area of WorkArea,
15991 resulting in a position error if the WorkArea were resized. Now
15992 return the dimensions of the entire WorkArea.
15994 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15996 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15998 * LaTeX.C (deplog): correct the syntax of regex reg1
16000 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * undo.C: remove !NEW_INSETS cruft
16004 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * text2.C: remove !NEW_INSETS cruft
16008 * text.C: remove !NEW_INSETS cruft
16010 * tabular.C: remove !NEW_INSETS cruft
16012 * spellchecker.C: remove !NEW_INSETS cruft
16014 * lyxtext.h: remove !NEW_INSETS cruft
16016 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16018 * lyxfunc.C: remove !NEW_INSETS cruft
16020 * lyxfind.C: remove !NEW_INSETS cruft
16022 * lyx_cb.C: remove !NEW_INSETS cruft
16024 * figureForm.C: remove !NEW_INSETS cruft
16026 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16028 * buffer.[Ch]: remove !NEW_INSETS cruft
16030 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16032 * CutAndPaste.C: remove !NEW_INSETS cruft
16034 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16036 * BufferView2.C: remove !NEW_INSETS cruft
16038 * BufferView.h: remove !NEW_INSETS cruft
16040 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * Lsstream.h: include LString.h before the sstream headers to
16043 fix problem with gcc 2.95.3 and lyxstring
16045 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16047 * lyx_main.C: add using directives when needed for C functions
16048 declared in std:: namespace.
16050 2001-04-27 Juergen Vigna <jug@sad.it>
16052 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16053 (SetHeightOfRow): comment out the update call should not be needed!
16055 2001-04-13 Juergen Vigna <jug@sad.it>
16057 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16058 (LyXTabular): tried to minimize operator= operations (and realized
16059 hopfully Lars wish).
16061 2001-04-27 Juergen Vigna <jug@sad.it>
16063 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16065 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16067 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16069 * buffer.C (readInset): hack to make listof algorithm work
16071 * BufferView_pimpl.C: hack to make listof algorithm work
16073 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * LyXAction.C: removed all !NEW_INSETS cruft
16076 (init): moved lfun_item in method
16078 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16080 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16082 * BufferView2.C (theLockingInset): white space.
16084 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16086 * minibuffer.C: include <iostream>
16088 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16090 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16092 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16094 * text.[Ch] (TransposeChars): new method
16096 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16098 * call message directly through LyXView instead of through LyXFunc
16099 * BufferView2.C: adjust
16100 * BufferView_pimpl.C: adjust
16101 * FontLoader.C: adjust
16103 * bufferview_funcs.C: adjust
16104 * converter.C: adjust
16105 * figureForm.C: adjust
16106 * importer.C: adjust
16108 * lyx_gui_misc.C: adjust
16109 * lyxfunc.C: adjust
16112 + more files in subdirs
16114 * lyxparagraph.h (size): move up int file
16117 * adjust all uses of Assert to lyx::Assert.
16119 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16120 lyxfunctional in namespace lyx
16121 * layout.C (hasLayout): ditto
16124 (delete_layout): ditto
16125 (NumberOfClass): ditto
16126 * converter.C (GetFormat): ditto
16131 * bufferlist.C (getFileNames): ditto
16132 (emergencyWriteAll): ditto
16135 * MenuBackend.C (hasSubmenu): ditto
16138 * BufferView_pimpl.C (getInsetByCode): ditto
16140 2001-04-18 Juergen Vigna <jug@sad.it>
16142 * vspace.C (asLatexString): fixed the 100% problem.
16144 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16146 * lyxfunc.C (Dispatch):
16148 * minibuffer.h: add a few std:: qualifiers
16150 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * minibuffer.[Ch]: reimplement so that commands is initiated and
16153 run from lyxfunc, simplified som handling, and made the completion
16154 and history code for complete. wip.
16156 * lyxfunc.C (processKeySym): call message
16157 (miniDispatch): new temporary method
16158 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16159 (LFUN_MESSAGE): implement
16160 (LFUN_MESSAGE_PUSH): implement
16161 (LFUN_MESSAGE_POP): implement
16162 (initMiniBuffer): the initial/defualt minibuffer message.
16164 * lyxfont.[Ch]: inline some more getters
16166 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16168 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16170 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16171 (AutoSave): use LFUN_MESSAGE
16172 (Reconfigure): ditto
16174 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16176 * figureForm.C: use LFUN_MESSAGE
16178 * converter.C (runLaTeX): use LFUN_MESSAGE
16180 * bufferview_funcs.C: use LFUN_MESSAGE
16182 (changeDepth): ditto
16184 * bufferparams.h: use boost::
16186 * bufferlist.h: inherit privately from noncopyable
16188 * bufferlist.C (loadLyXFile): remove some commented code.
16190 * buffer.C (runChktex): use LFUN_MESSAGE
16192 * ShareContainer.h: inherit privately from noncopyable
16194 * ParagraphParameters.[hC] (depth): inline it.
16196 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16198 (message): new method
16199 (messagePush): ditto
16200 (messagePop): ditto
16201 (show): init minibuffer
16202 (showState): direct call
16204 * LaTeX.[Ch]: inherit privately from noncopyable
16205 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16206 instead of WriteStatus.
16208 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16210 * BufferView_pimpl.C (buffer): don't init minibuffer
16211 (workAreaButtonPress): use LFUN_MESSAGE
16212 (workAreaButtonRelease): ditto
16213 (savePosition): ditto
16214 (restorePosition): ditto
16215 (MenuInsertLyXFile): ditto
16216 (workAreaExpose): don't init minibuffer
16217 (update): remove commented code, simplify
16219 * BufferView2.C (openStuff): use LFUN_MESSAGE
16220 (toggleFloat): ditto
16223 (copyEnvironment): ditto
16224 (pasteEnvironment): ditto
16229 (updateInset): remove some commented code
16231 * lastfiles.h: inherit privately from noncopyable
16234 * lyx_main.h: ditto
16236 * lyxlex_pimpl.h: ditto
16238 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16239 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16240 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16242 * LyXAction.h: inherit privately from noncopyable, add methods
16243 func_begin, func_end, returning iterators to the func map.
16245 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16246 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16247 (func_begin): new method
16248 (func_end): new method
16250 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16252 (copySelection): ditto
16253 (pasteSelection): ditto
16255 * BufferView.C: whitespace change
16256 * BufferView.h: inherit privately from noncopyable
16258 2001-04-16 Allan Rae <rae@lyx.org>
16260 * tabular-old.C (l_getline):
16261 * spellchecker.C (sc_check_word):
16262 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16263 an unrecognised preprocessor directive. So ensure they're wrapped.
16265 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16267 * src/exporter.C (Export): Give an error message when path to file
16270 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16272 * LaTeX.C (deplog): Always check that foundfile exists.
16274 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16277 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16279 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16281 * tabular.[Ch] (getLabelList): implement new method
16283 * minibuffer.h: comment ouf setTiimer
16285 * minibuffer.C (ExecutingCB): constify res
16286 (peek_event): constify s
16287 (Set): constify ntext
16288 (Init): constify nicename
16290 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16292 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16293 (savePosition): use two params to Minibuffer::Set
16294 (restorePosition): ditto
16296 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * lyx_main.C: include language.h
16300 * Makefile.am (lyx_main.o): add language.h
16302 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16308 * CutAndPaste.C: include gettext.h
16310 * lyxfont.h: remove old hack with ON and OFF.
16313 * lyxfont.h: do not include language.h...
16318 * bufferview_funcs.C:
16324 * paragraph.C: ... but do it here instead
16326 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16328 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16330 * tabular.C: small reformat
16332 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16335 (BreakParagraph): ditto
16336 (SetOnlyLayout): ditto
16339 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16342 * lastfiles.C: removed most using decl, add std:: where needed
16344 * buffer.C: ws changes
16346 * MenuBackend.C (class compare_format): put into anon namespace
16347 (expand): constify label, names, action, action2
16350 * text.C (SingleWidth): constify font
16351 (IsBoundary): constify rtl2
16352 (GetVisibleRow): constify ww
16354 * LaTeX.C (deplog): constify logfile
16356 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16358 (workAreaExpose): constify widthChange, heightChange
16360 * lyxrow.C (par): moved
16363 * lyxrow.h: as inlines here
16365 * lyxfont.h (shape): moved from lyxfont.C
16366 (emph): moved from lyxfont.C
16368 * lyxfont.C (LyXFont): use initialization list for all
16370 (shape): move to lyxfont.h as inline
16371 (emph): move to lyxfont.h as inline
16374 2001-04-04 Juergen Vigna <jug@sad.it>
16376 * vspace.C: had to include stdio.h for use of sscanf
16378 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16381 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16382 independent of xforms.
16384 2001-04-02 Juergen Vigna <jug@sad.it>
16386 * spellchecker.C: fixed namespace placing!
16388 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16390 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16391 the LyXParagraph * is 0.
16393 2001-03-29 Juergen Vigna <jug@sad.it>
16395 * vspace.C: added support for %, c%, p%, l%.
16396 (stringFromUnit): added helper function.
16397 (asLatexString): changed to give right results for the %-values.
16399 * buffer.C: convert the widthp in a width%.
16401 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16403 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16406 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16407 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16409 * lyx_cb.[Ch]: see above.
16411 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16415 * lyx.[Ch]: replaced by figure_form.[Ch].
16419 * lyxfunc.C: changed headers associated with above changes.
16421 2001-03-27 Juergen Vigna <jug@sad.it>
16423 * BufferView_pimpl.C: set the temporary cursor right!
16425 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16427 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16429 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16431 * LString.h: removed "using std::getline"!
16433 * BufferView_pimpl.C (Dispatch): changes due to changes in
16434 InsetInclude::Params.
16436 * buffer.C (tag_name): removed redundant break statements as they were
16437 producing lots of warnings with my compiler.
16439 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16441 * LString.h: add "using std::getline" when using the real <string>.
16443 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16445 * buffer.C: removed bitset usage.
16446 PAR_TAG moved to an anonymous name space.
16447 (tag_name): new funtion, also in the anonymous namespace.
16448 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16449 (makeDocBookFile): clean code. Completed transition from string arrays
16451 (SimpleDocBookOnePar): code clean.
16453 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16455 * tabular.C: add some comments.
16457 2001-03-22 Juergen Vigna <jug@sad.it>
16459 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16460 compatibility read a bit and fixed bug with minipage in different
16463 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16465 * buffer.C (pop_tag): removed.
16466 (push_tag): removed.
16467 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16468 array replaced with vector. Added support for CDATA sections.
16469 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16471 (makeDocBookFile): XML conformant declaration of CDATA section,
16472 fixed bug related to <emphasis> in the first paragraph char.
16473 (sgmlOpenTag): exclude empty tags.
16474 (sgmlCloseTag): ditto.
16476 * buffer.h (pop_tag): removed.
16477 (push_tag): removed.
16479 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16481 * language.h (Languages): added size_type and size().
16483 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16485 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16486 response on compability reading of minipages. One probliem is that
16487 the old usage of minipages was «flertydig»
16489 * several files here and in subdirs: don't use static at file
16490 scope use anon namespaces instead.
16492 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16494 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16495 LaTeX output. This is necessary for Literate document
16498 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16500 * buffer.C: insert hfill when needed.
16502 * tabular.C (l_getline): use string::erase, small whitespace change.
16504 * BufferView_pimpl.C: try the anon namespace.
16505 * WorkArea.C: ditto
16507 2001-03-16 Juergen Vigna <jug@sad.it>
16509 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16510 otherwise it won't open options-dialogs.
16512 * buffer.C: honor pextraWidth(p) on converting minipages.
16514 * tabular.C (l_getline): changed the functions to strip trailing \r.
16516 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16518 * BufferView_pimpl.C:
16519 * minibuffer..C: added "using SigC::slot" declaration.
16521 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16523 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16529 * paragraph.C: ditto
16531 * lyxtext.h: NO_PEXTRA
16533 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16535 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16536 * ParameterStruct.h: ditto
16537 * ParagraphParameters.h: ditto
16538 * lyxparagraph.h: ditto
16540 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16542 * buffer.C: add compability for minipage alignment.
16543 (latexParagraphs): remove unwanted pextra check.
16545 * several files: remove CXX_WORKING_NAMESPACES
16547 * buffer.C (pop_tag): tie is in namespace boost
16549 * BufferView.h: noncopyable is in namespace boost
16551 * lyx_main.h: ditto
16554 * lastfiles.h: ditto
16555 * bufferlist.h: ditto
16556 * ShareContainer.h: ditto
16558 * LyXAction.h: ditto
16561 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16563 * Merging changes from BRANCH_MVC back into HEAD.
16565 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16567 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16569 * BufferView_pimpl.C: change from intl.C
16573 * Makefile.am: move combox.*
16579 * intl.C: remove dialog (covered by prefs)
16581 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16583 * lyxfunc.C (Dispatch): removed redundant break statement.
16585 2001-03-14 Juergen Vigna <jug@sad.it>
16587 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16589 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16591 * buffer.C: add hack to fix compability reading of minipages.
16593 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16595 * buffer.C (getLists): Cleanup.
16597 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16599 * lyxfont.C (update): don't honor toggleall on font size.
16601 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16605 * Makefile.am: moved to frontends/xforms/
16609 * BufferView_pimpl.C: changes for moved mathpanel
16611 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16613 * gettext.h: fix gettext_init() in --disable-nls
16615 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16617 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16619 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16622 * lyx.h: strip external form
16624 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16626 * BufferView_pimpl.C: add comment, destroySplash()
16628 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16630 * BufferView_pimpl.C:
16634 * lyxfunc.C: use re-worked insetinclude
16636 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16638 * buffer.C: add using std::stringstream.
16640 * lyx_cb.C: readd using std::ios.
16642 * buffer.C: add using std::map.
16644 * BufferView_pimpl.C: add using std::vector.
16646 * ShareContainer.h: add std:: to swap.
16648 * buffer.h: add some typedefs
16649 * buffer.C (getLists): use them
16650 (getLists): renamed from getTocList.
16651 add a counter for the different float types and use it in the
16653 (getLists): use the same counter for the NEW_INSETS and the "non"
16656 * lyx_cb.h: remove unused items, includes, using etc.
16658 * ShareContainer.h: remove some commented code, add more comments
16659 and "documentation".
16661 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16663 * buffer.C (getTocList): make the list also when NEW_INSETS is
16666 * buffer.h: remove TocType
16668 * buffer.C (getTocList): change to return a map<string,
16669 vector<TocItem> >, implement for dynamic number of list.
16671 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16672 * text2.C (PasteSelection): adjust
16673 * CutAndPaste.C (pasteSelection): adjust
16675 * FloatList.C (FloatList): update from the new_insets branch.
16676 * Floating.[Ch]: ditto
16677 * LaTeXFeatures.C: ditto
16679 * lyxlex_pimpl.C: ditto
16681 * paragraph.C (Last): remove when NEW_INSETS is defined.
16683 * other file: changes because of the above.
16685 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16687 * lyxparagraph.h: rename next to next_, previous to previous_,
16688 make them private for NEW_INSETS. Rename Next() to next(),
16689 Previous() to previous().
16691 * other files: changes because of the above.
16693 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16696 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16699 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16701 * main.C (main): pass lyx_localedir to gettext_init().
16703 * gettext.h: remove locale_init and gettext_init macros
16705 * gettext.C (locale_init): new function
16706 (gettext_init): new function
16708 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16711 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16713 * Moved credits to frontends:
16714 * credits.[Ch]: removed
16715 * credits_form.[Ch]: removed
16716 * lyx_gui_misc.C: remove credits stuff
16719 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16721 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16723 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16724 unneeded destructor.
16726 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16727 a standalone pointer again.
16729 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16731 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16737 * ToolbarDefaults.C:
16746 * BufferView_pimpl.C: use new file dialog in GUII
16749 * lyx_cb.C: remove LayoutsCB to Toolbar
16751 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * ShareContainer.h (get): add std:: qualifier
16755 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16757 * ShareContainer.h: define a proper ShareContainer::value_type
16758 type (and use typename to please compaq cxx)
16760 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16762 * lyxparagraph.h: move serveral local vars to
16763 ParameterStruct/ParagraphParameters., use ShareContainer in
16764 FontTable., make vars in FontTable private and add getter and
16767 * paragraph.C: changes because of the above.
16769 * lyxfont.h: remove copy constructor and copy assignment. (the
16770 default ones is ok), move number inside FontBits. move inlines to
16773 * lyxfont.C: add number to initializaton of statics, move several
16774 inlines here. constify several local vars. some whitespace
16775 cleanup. Dont hide outerscope variables.
16777 * Spacing.h: add two new constructors to match the set methods.
16779 * ShareContainer.h: new file, will perhaps be moved to support
16781 * ParameterStruct.h: new file
16783 * ParagraphParameters.h: new file
16785 * ParagraphParameters.C: new file
16787 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16788 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16790 * BufferView_pimpl.C: ParagraphParameter changes.
16791 * buffer.C: Likewise.
16792 * bufferview_funcs.C: Likewise.
16793 * text.C: Likewise.
16794 * text2.C: Likewise.
16796 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * lyxfind.C (LyXReplace): do not redefine default argument in
16800 (IsStringInText): ditto
16801 (SearchForward): ditto
16802 (SearchBackward): ditto
16804 2001-03-06 Juergen Vigna <jug@sad.it>
16806 * lyxfind.C (IsStringInText): put parentes around expressions.
16808 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16810 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16812 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16814 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16816 * stl_string_fwd.h: add comment
16818 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16821 * tabular.C: remove unused DocBook methods
16827 killed DO_USE_DEFAULT_LANGUAGE
16829 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * lyx_gui.C: do not include language.h.
16833 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16834 arguments in function implementation.
16836 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16838 * BufferView_pimpl.C: add <ctime>
16840 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16842 * BufferView_pimpl.C: add using std::find_if
16844 2001-02-27 José Matos <jamatos@fep.up.pt>
16846 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16849 2001-02-11 José Matos <jamatos@fep.up.pt>
16851 * buffer.C (makeDocBookFile): command styles now have a parameter as
16852 "title" by default.
16854 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16856 * layout_forms.[Ch]: removed
16857 * lyx_cb.[Ch]: out character
16858 * lyx_gui.C: out character
16859 * lyx_gui_misc.C: out character
16860 * bufferview_funcs.C: : out character,
16861 added toggleall as parameter in ToggleAndShow
16863 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16865 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16867 * text2.C (SetCurrentFont): Disable number property at boundary.
16869 2001-02-26 Juergen Vigna <jug@sad.it>
16871 * lyxfunc.C (getStatus): added a string argument override function so
16872 that this is correctly called from LyXFunc::Dispatch if it contains a
16873 do_not_use_argument which is used!
16874 (Dispatch): added check for "custom" export and call appropriate func.
16876 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16878 * lyxrc.C: Add language_command_local, language_use_babel and
16879 language_global_options.
16881 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16883 * buffer.C (makeLaTeXFile): Use language_use_babel and
16884 language_global_options.
16886 2001-02-23 Juergen Vigna <jug@sad.it>
16888 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16889 which works with LyXText and putted it inside BufferView. Here now we
16890 only call for that part the BufferView::Dispatch() function.
16892 * BufferView.C (Dispatch): added.
16894 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16895 functions which needs to use a LyXText over from LyXFunc.
16896 (MenuInsertLyXFile): added
16897 (getInsetByCode): added
16898 (moveCursorUpdate): added
16899 (static TEXT): added
16901 2001-02-22 Juergen Vigna <jug@sad.it>
16903 * BufferView_pimpl.C (update): call a status update to see if LyXText
16906 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16908 * vc-backend.C (revert): implement for CVS
16909 (getLog): implement for CVS
16911 2001-02-20 Juergen Vigna <jug@sad.it>
16913 * text2.C (ClearSelection): added BufferView param for inset_owner call
16915 * lyxfunc.C (TEXT): added this function and use it instead of
16916 directly owner->view()-text of getLyXText().
16918 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16920 * src/layout_forms.C: out preamble
16921 * src/layout_forms.h: out preamble
16922 * src/lyx_cb.C: out preamble
16923 * src/lyx_cb.h: out preamble
16924 * src/lyx_gui.C: out preamble
16925 * src/lyx_gui_misc.C: out preamble
16926 * src/lyxfunc.C: connect with guii preamble
16928 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16930 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16932 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16934 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16935 whether to run bibtex.
16937 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16939 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16941 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16943 * Makefile.am (lyx_SOURCES): removed bibforms.h
16945 * vspace.h: doxygen
16947 * text.C (GetVisibleRow): make several local vars const
16949 * tabular.C: small cleanup.
16951 * lyxserver.C (callback): use compare instead of strncmp
16953 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16954 inlines to after class or to paragraph.C
16956 * lyxfont.h: remove friend operator!=
16958 * converter.h: move friend bool operator< to non friend and after
16961 * combox.h: small cleanup
16963 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16964 to inlines after class def.
16966 * buffer.C (pop_tag): use string operations instead of strcmp
16968 * bmtable.c: doxygen, small cleanup
16970 * LaTeX.h: remove friend operator==
16972 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16984 * BufferView_pimpl.C:
16985 * BufferView.[Ch]: remove cruft
16987 2001-02-14 Juergen Vigna <jug@sad.it>
16989 * lyxfunc.C: removed #if 0 unused code
16991 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16993 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16995 * text2.C (SetSelection): added a BufferView * parameter
16997 2001-02-13 Juergen Vigna <jug@sad.it>
16999 * lyxfunc.C (Dispatch): fixed protected blank problem.
17000 * BufferView2.C (protectedBlank): added LyxText * parameter.
17002 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17003 (AppendColumn): same as above for column_info.
17005 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17006 (moveCursorUpdate): use a LyXText param for support of InsetText.
17008 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17009 (tripleClick): ditto
17011 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17013 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17015 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17017 * text2.C (SetSelection): set correct update status if inset_owner
17018 (ToggleFree): ditto
17020 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17022 * tabular.C: remove some commented code.
17024 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17026 * BufferView_pimpl.C: call hideSplash()
17028 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17031 * bibforms.h: remove
17034 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17035 add LFUN_CHILD_CREATE
17037 * counters.h: fix tiny typo
17042 * lyx.C: move splash to frontends/xforms/
17044 * lyx_gui_misc.C: move Include and Bibform to frontends
17046 * lyxvc.h: clarify comment
17048 * vspace.C: tiny housekeeping
17050 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17052 * text.C (PrepareToPrint): RTL Fix.
17054 * paragraph.C (GetUChar): New method.
17055 (String): Use GetUChar.
17057 * buffer.C (asciiParagraph): Use GetUChar.
17059 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17061 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17063 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17066 * buffer.C: rename to getLogName(), handle
17067 build log / latex log nicely
17069 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17072 * MenuBackend.h: remove support for reference menuitem type.
17074 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17076 * BufferView_pimpl.C: housekeeping
17077 * BufferView_pimpl.h:
17082 * minibuffer.h: move Timeout GUI-I
17084 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17086 * lyxrc.C (read): Update converters data-structures.
17088 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17090 * LaTeX.h (operator!=): add operator != for Aux_Info
17092 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17094 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17096 * LaTeXLog.C: deleted, useful code moved to Buffer
17099 * buffer.C: new function getLatexLogName()
17105 * lyxfunc.C: use frontends for LaTeX and VC logs
17107 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17109 * LaTeX.h: yet another std:: that Allan forgot.
17111 * Variables.C (set): renamed from isset(), because this clashes
17112 with some HP-UX macros (grr).
17114 2001-02-06 Allan Rae <rae@lyx.org>
17116 * LaTeX.h: Another bug fix. Missing std:: this time.
17118 2001-02-04 Allan Rae <rae@lyx.org>
17120 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17121 floats problem. I've left it commented out because it's not quite
17122 correct. It should also test that the current object is a table or
17123 figure inset. But I haven't gotten around to figuring out how to do
17124 that. I *think* it'll be something like: "table" == inset.type()
17126 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17129 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17131 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17132 all the citation/databases/styles in the auxilary file.
17133 (run): Rerun latex if there was a babel language error.
17135 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17137 * text.C (Backspace): Preserve the font when changing newline char
17139 (BreakParagraph): If the cursor is before a space, delete the space.
17141 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17143 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17145 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17146 new argument (code).
17147 (ChangeCitationsIfUnique): New method.
17149 * paragraph.C (GetPositionOfInset): Handle bibkey.
17151 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17153 * BufferView_pimpl.h: change type of Position::par_pos to
17154 LyXParagraph::size_type.
17156 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17158 * BufferView_pimpl.C (savePosition, restorePosition): Write
17159 messages to minibuffer.
17161 2001-01-28 José Matos <jamatos@fep.up.pt>
17163 * buffer.C (makeDocBookFile): adds support for document language.
17164 A silly restriction on the name of LatexCommand types where removed.
17165 Added support for CDATA sections, allows to chars unescaped, used
17166 among others in code, to avoid escape < and >.
17168 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17170 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17171 saved positions instrad of a stack. Furthermore, a position is
17172 stored using paragraph id/paragraph position.
17174 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17175 Remove LFUN_REF_BACK.
17177 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17179 * converter.C (dvipdfm_options): New method.
17181 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17183 * vspace.C (isValidLength): Fix for empty input string.
17185 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17187 * LyXAction.C (init): change description of LFUN_FIGURE to
17190 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * LaTeX.C: add using directive
17194 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17196 * MenuBackend.C (expand): Fix the sorting of the formats.
17198 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17200 * lyx_main.C: tiny error message fix
17202 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17204 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17205 calling fl_initialize(). This fixes the problem with ',' as
17206 decimal separator in text files.
17208 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17210 * trans.C (process): Fix the keymap bug.
17212 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17214 * LaTeX.C (scanAuxFiles): New method. Provides support for
17215 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17216 (scanLogFile) Scan for "run BibTeX" messages.
17218 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17219 OT1 font encoding. Also, load the aecompl package if the ae
17222 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17224 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * texrow.C (increasePos): turn two error messages into debug
17229 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17231 * LaTeX.C (scanAux): Handle the \@input macro.
17232 (runBibTeX): Use scanAux().
17234 * language.C (latex_options_): New field.
17236 * LaTeXFeatures.C (getMacros): Add language macros.
17238 * buffer.C (makeLaTeXFile): Small fix.
17240 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17242 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17244 * text2.C: add a using directive.
17246 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17251 * lyxfunc.C: kill LyXBell.
17253 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17255 * text.C (IsBoundary): Remove the error message
17257 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17259 * lyxrc.C (setDefaults): Correct initialization value for
17262 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17264 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17267 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17268 and GotoNextNote().
17270 * src/LyXAction.C: Added reference-next.
17272 * text.C (InsertChar): Use contains instead of strchr.
17274 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17276 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17278 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17279 alignment commands (when needed).
17281 * text.C (InsertChar): Add ':' to number separator chars.