]> git.lyx.org Git - features.git/blob - src/ChangeLog
Ensure that "paragraphs().size() - 1" can be used meaningfully in a comparison.
[features.git] / src / ChangeLog
1 2005-02-15  Angus Leeming  <leeming@lyx.org>
2
3         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
4         can be used meaningfully in a comparison.
5
6 2005-02-13  André Pönitz  <poenitz@gmx.net>
7
8         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
9         * Cursor.C (dispatch): use fixIfBroken
10         * lyxfunc.C (getStatus): use fixIfBroken
11
12 2005-02-15  Angus Leeming  <leeming@lyx.org>
13
14         * lyx_main.C (error_handler):
15         * lyxfunc.C:
16         * lyxrc.C (setDefaults):
17         s/GetEnv/getEnv/.
18         #include "environment.h".
19
20         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
21
22 2005-02-15  Angus Leeming  <leeming@lyx.org>
23
24         * lyxserver.C (startPipe): squash MSVC warning "local variable
25         'fd' used without having been initialized".
26
27 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * BufferView_pimpl.C: revert accidental commit.
30
31 2005-02-14  André Pönitz  <poenitz@gmx.net>
32
33         * dociterator.[Ch]: new member forwardPosNoDescent(),
34         which doesn't enter nested insets.
35         * text2.C (setFont): use forwardPosNoDescent() instead
36         of ForwardPos() (fixes crash on font change).
37
38 2005-02-13  Angus Leeming  <leeming@lyx.org>
39
40         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
41         only if lyxrc.path_prefix is not empty.
42
43 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
44
45         * bufferparams.C (readGraphicsDriver): prevent crash
46
47 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * text2.C (setCounter): check for inInset() == 0
50
51 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
54         but use update() to get correct screen display; use convert
55         instead of istringstream. 
56         (getStatus): handle LFUN_GOTO_PARAGRAPH 
57
58         * lyxfunc.C (dispatch, getStatus): do not handle
59         LFUN_GOTO_PARAGRAPH here.
60
61 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
62
63         * text3.C (dispatch): size() -> depth()
64
65         * text2.C: remove some debug output
66
67         * paragraph.C: ws changes only
68
69         * lyxfunc.C (getStatus): size() -> depth()
70
71         * dociterator.h (clear, push_back, pop_back, internalData,
72         operator[], resize, empty): new functions
73         Make StableDocIterator and operator== be friends. Don't inherit
74         from std::vector use a privat class variable slices_ instead.
75         Modify to fit.
76
77         * dociterator.C: update because of not inheriting from std::vector
78         anymore. Call explictly to slices_ instead. Use depth() instead of
79         size() and top() instead of back()
80
81         * cursor.C: chagne size() -> depth and back() -> top(). Also
82         remove some direct operator[](i) calls in favour of foo[i]
83         (getFont): remove some dead code
84
85         * bufferview_funcs.C (coordOffset): size() -> depth()
86
87         * buffer.C: ws changes only
88
89         * CutAndPaste.C (eraseSelection): back() -> top()
90
91         * BufferView_pimpl.C (selectionRequested): back() -> top()
92
93         * BufferView.C (setCursor): size() -> depth()
94
95 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
96
97         * text3.C (cursorPrevious): return true if depm changed something
98         (cursorNext): ditto
99         (dispatch): rename sl to oldTopSlice, remove moving use the new
100         NoUpdate func attrib instead. Make sure that needsUpdate is set
101         for function that have NoUpdate, but where depm might have changed
102         the buffer anyway.
103
104         * text2.C (cursorLeft): make us return true if depm changed
105         something
106         (cursorRight): ditto
107         (cursorUpParagraph): ditto
108         (curosrDownParagraph): ditto
109         (cursorUp, cursorDown): ditto, make sure to read comments in code
110         (deleteEmptyParagraphMechanism): remove an assert, also return
111         true if just a single char was deleted.
112
113         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
114         cursor that we modify, to avoid modifying an active cursor before
115         we call setCursor. This allows depm to run. Also return true if
116         depm deleted something.
117
118         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
119         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
120         cursorDownParagraph, cursorPrevious and cursorNext, return true if
121         something was changed in the buffer because of them (ie. depm run)
122
123         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
124         debug messages. Make update by default be false. Make sure that
125         the result of update is retained throught several calls down to
126         dispatch.
127
128         * LyXAction.h: add a new func_attrib: NoUpdate
129
130         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
131         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
132         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
133         and LFUN_WORDLEFT
134         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
135
136 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
139         bv_->owner(), bv_->buffer() by direct references to the private
140         members.
141         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
142         (getStatus): isSavedPosition() is in BufferView::Pimpl.
143         (fitCursor): center() is in BufferView::Pimpl.
144         (getStatus, trackChanges, dispatch): no need for a temporary buf
145         variable
146         (fitCursor, workAreaDispatch): use workarea().workheight()
147
148 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * CutAndPaste.C (pasteSelectionHelper): fix a crash
151
152 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
153
154         * buffer.C: format up to 241.
155         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
156         break if pasting into ERT
157         * lyxfunc.C (getStatus): suppress mathpanel and
158         LFUN_DIALOG_SHOW_NEW_INSET in ERT
159
160 2005-02-01  Angus Leeming  <leeming@lyx.org>
161
162         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
163
164 2005-02-01  Angus Leeming  <leeming@lyx.org>
165
166         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
167         calling fs::is_directory().
168
169 2005-01-31  Angus Leeming  <leeming@lyx.org>
170
171         * lyx_main.C (priv_exec): specify explicitly the relative location
172         of the top level build directory when run in-place.
173
174 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
177         LyXText containing the cursor, not the top-level one.
178
179         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
180         true.
181         (insertStringAsLines): rename par to pit; use temporary variable
182         par to hold a Paragraph; do not store par.layout() in a variable,
183         since the pointer may die when breaking paragraphs; pass pars to
184         breakParagraph() instead of Buffer::paragraphs().
185
186 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
187
188         * lyxlex_pimpl.h: #include <fstream>.
189
190         * BufferView.[Ch] (getLyXText): add a const version.
191
192         * BufferView_pimpl.C: add debug aids.
193
194         * RowList_fwd.h:
195         * buffer.h:
196         * lyxrow.h:
197         * paragraph_funcs.h: add commentary explaining what the class does.
198
199
200         * coordcache.[Ch]: add lots of commentary.
201         (startUpdating, doneUpdating): debug aids.
202         (arrays, insets, parPos, getParPos): accessors to private data.
203
204         * cursor_slice.[Ch] (text): add a const version.
205         * dociterator.[Ch] (text, innerText): add const versions.
206
207         * lyxtext.h (breakParagraph): change the keep_layout arg to a
208         bool.
209
210         * paragraph.C (getRow, pos2ros): add asserts.
211
212         * paragraph.h: add commentary. Lots of.
213
214         * paragraph.[Ch] (metrucs, draw): removed.
215
216         * cursor.C:
217         * rowpainter.[Ch]: const-correct changes.
218
219         * text.C: various obvious clean-ups. Removal of ancient cruft.
220         Bug fixes, even.
221
222 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
223
224         * vc-backend.C (find_file): rewrite to use boost.filesystem
225         (scanMaster): ditto
226
227         * main.C (main): set default name check for boost.filesystem to
228         no check
229
230         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
231         (open): ditto
232         (doImport): ditto
233         (actOnUpdatedPrefs): ditto
234
235         * lyx_main.C (init): rewrite to use boost.filesystem
236         (queryUserLyXDir): ditto
237
238         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
239         (getContentsOfAsciiFile): ditto
240
241         * lastfiles.C (readFile): rewrite to use boost.filesystem
242
243         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
244
245         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
246         (loadLyXFile): ditto
247
248         * buffer.C (Buffer): adjust for destroydir
249         (getLogName): rewrite to use boost.filesystem
250         (setFileName): ditto
251         (save): use fs::copy_file (from fs_extras)
252
253         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
254
255         * LaTeX.C (run): rewrite to use boost.filesystem
256         (scanAuxFiles): ditto
257         (handleFoundFile): ditto
258
259 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
262
263         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
264
265 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
266
267         * lyxlayout.[Ch]: change some vars from float to double
268
269         * buffer.C (readFile): make a local var const
270
271         * Several files: use convert<> instead of atoi,strToXXX and friends
272
273 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * LaTeXFeatures.[Ch]: Add a static list packages_ that
276         holds the contents of packages.lst. New functions getAvailable
277         and isAvailable to parse and check that list, resp.
278
279         * LyXAction.C:
280         * lfuns.h:
281         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
282
283         * bufferparams.[Ch]: new param output_changes.
284
285         * Buffer.C: increase file format to 240.
286         Use output_changes and isVailable.
287
288         * changes.[Ch]:
289         * paragraph.C:
290         * paragraph_pimpl.C: Use output_changes and isVailable.
291
292 2005-01-23  Angus Leeming  <leeming@lyx.org>
293
294         * output_latex.C: #include "insetbibitem.h", rather than
295         forward declare function bibitemWidest.
296
297 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
298
299         * lyx_main.C (init): make it compile on the Mac.
300
301 2005-01-20  Angus Leeming  <leeming@lyx.org>
302
303         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
304         (setLyXMisc): (char string literal) != (char string literal) is
305         performing a comparison on the addresses. Convert one operand
306         explicitly to string to guarantee expected behaviour.
307         From MSVC warning.
308
309 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
310
311         * buffer.C:
312         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
313
314         * output_plaintext.C: remove unneeded #include gzstream.h.
315
316 2005-01-20  Angus Leeming  <leeming@lyx.org>
317
318         * SpellBase.h: rename some of the elements of the Result enum.
319
320         * aspell_local.h:
321         * ispell.h:
322         * pspell.h:
323         * aspell.C (check):
324         * ispell.C (check):
325         * pspell.C (check): ditto
326
327 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
328
329         * buffer.C: add #include <fstream>.
330
331         * lyx_main.C (init): Compile fix.
332
333         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
334
335 2005-01-20  Angus Leeming  <leeming@lyx.org>
336
337         * mover.h: change commentary to reflect the changed meaning of
338         the $$s placeholder.
339
340 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * output_linuxdoc.C (linuxdocParagraphs): silence warning
343
344         * lyxfind.C (MatchString::operator()): remove bogus semicolon
345
346 2005-01-20  Angus Leeming  <leeming@lyx.org>
347
348         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
349         printing diagnostic data by not dereferecing an iterator past the
350         end.
351
352 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
353
354         * buffer.C (readHeader): use "&&" rather than "and".
355
356         * lyxserver.h (inPipeName, outPipeName): make these const.
357
358 2005-01-19  Angus Leeming  <leeming@lyx.org>
359
360         * lyx_main.C (error_handler, init): protect SIGHUP with
361         #ifdef SIGHUP guards.
362
363 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
366
367 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * text.C (setHeightOfRow): add a margin at the top and bottom of
370         the document (bug 1761)
371
372 2005-01-17  Angus Leeming  <leeming@lyx.org>
373
374         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
375         with "python ". Workaround for a brain-dead Windows.
376
377 2005-01-16  Angus Leeming  <leeming@lyx.org>
378
379         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
380         for MacOSX and Windows to use prependEnvPath.
381         Strip out the hard-coded block to add elements to the PATH for
382         MacOSX and replace it with a call to prependEnvPath using the
383         contents of LyXRC::path_prefix.
384         (queryUserLyXDir): strip out the code to run reconfigure, instead
385         returning a boolean indicating the necessity to do so.
386         (reconfigureUserLyXDir): contains the code to reconfigure the
387         user support directory. Is now called after the various LyXRC data
388         files have been read.
389
390         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
391
392 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
393
394         * converter.[Ch] (convert): take a new parameter try_default. Use
395         a default converter (imagemagick) if try_default is true.
396
397 2005-01-13  Angus Leeming  <leeming@lyx.org>
398
399         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
400         os::cygwin_path_fix.
401         (write): output LyXRC::cygwin_path_fix as necessary.
402
403 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
404
405         * lyxrc.h:
406         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
407
408 2005-01-12  Angus Leeming  <leeming@lyx.org>
409
410         * lyx_main.C (init): set the PATH variable to include the
411         directory containing the LyX binary when running on Mac or Windows.
412
413 2005-01-12  Angus Leeming  <leeming@lyx.org>
414
415         * lyx_main.C (init): remove cruft that purports to set the locale
416         dir. It doesn't and is not needed anyway.
417
418 2005-01-10  Angus Leeming  <leeming@lyx.org>
419
420         * Makefile.am: remove the lyx_main.C special casing.
421
422         * BufferView_pimpl.C:
423         * bufferlist.C:
424         * exporter.C:
425         * lyx_cb.C:
426         * lyx_main.C:
427         * lyxfunc.C:
428         * messages.C: use support/package.h to provide the paths to the
429         various directories used by LyX.
430
431 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
434         layout if pasting into an empty paragraph)
435
436 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
437
438         * tex-accent.C: add <string>
439
440 2005-01-06  José Matos  <jamatos@lyx.org>
441
442         * ParagraphParameters.C (write): put every parameter in its own line.
443         * paragraph.C (write): reduce number of consecutive empty lines exported.
444         * buffer.C (LYX_FORMAT): increase file format to 239.
445
446 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
447
448         * everywhere: change support/tostr.h -> support/convert.h
449
450         * tabular.C: make all write_attributes templates, tostr -> convert
451
452         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
453         (emptyTag): and -> &&, and fix type for ret from getChar
454         (getFirstWord): fix type for ret from getChar
455         (onlyText): and -> &&
456         (simpleDocBookOnePar): and not -> && !, fix type for ret from
457         getChar
458
459         * toc.C (goTo, action):
460         * text3.C (dispatch):
461         * text.C (currentState):
462         * tex-accent.C (DoAccent):
463         * sgml.C:
464         * lyxrc.C:
465         * lyxfunc.C (menuNew):
466         * lyxfinc.C (replace):
467         * counters.C (laberItem):
468         * bufferview_funcs.C (font2string):
469         * bufferparams.C (writeFile):
470         * buffer.C (readFile):
471         * Spacing.C (set):
472         * MenuBackend.C: tostr -> convert
473
474         * LaTeX.C (runMessage): fix format
475         (scanAuxFiles): tostr -> convert
476
477         * BufferView_pimpl.C (savePosition): fix format
478         (restorePosition): ditto
479         (dispatch): ditto
480
481 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * Spacing.[Ch]: New method getValueAsString().
484
485         * Spacing.[Ch]:
486         * bufferparams.C:
487         * ParagraphParameters.C:
488         * lyxlayout.C:
489         * text.C:
490         * text3.C: store/read spacing value as string.
491
492         * rowpainter.C: change float value (spacing_val) to double.
493
494         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
495         broken custom document spacing).
496
497 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
498
499         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
500         namespace, also more use of temp references and const
501
502         * cursor.[Ch] (getStatus): move to lyxfunc.C
503
504         * bufferparams.C: reformat slightly
505
506         * bufferview_funcs.C (font2string): constify arg
507
508         * changes.C:
509         * converter.C:
510         * counters.C:
511         * bufferlist.C:
512         * buffer_funcs.C: (many funcs): constify arg on function
513         definitions, also make more local vars const, also add ASSERTS on
514         pointer args.
515
516         * buffer.C (LYX_FORMAT): put const in correct place
517         (many funcs): constify arg on function definitions, also make
518         more local vars const
519
520         * aspell_local.h: remove "struct" from typdef setup
521
522         * aspell.C (check): make word_ok const
523         (nextMiss): simplify slightly
524         (error): ditto
525
526 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * lyxrc.[Ch]: store all float values as strings.
529         use int (not float) for lyxrc.dpi.
530
531 2005-01-04  Angus Leeming  <leeming@lyx.org>
532
533         * lyx_cb.C (Reconfigure):
534         * lyx_main.C (queryUserLyXDir):
535         to run the <system_lyxdir>/configure correctly on Windows, prefix
536         the path to the script with "sh " when generating the string that
537         is passed to system().
538
539 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
540
541         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
542
543 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lyxlength.C (asLatexString): get rid of setprecision
546
547 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * text2.C (setLayout): remove unused variable endpit.
550         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
551
552         * paragraph.C (onlyText): remove unused variable style.
553
554         * cursor.C (bruteFind): remove unused variables beg and end.
555
556         * Makefile.am (dist_noinset_DATA): not needed anymore
557
558         * cheaders/*: remove.
559
560 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
561
562         * text3.C: fix LFUN_MATH_MODE.
563
564 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * buffer_funcs.C (countWords): new function. Counts words between
567         two iterators.
568
569         * BufferView_pimpl.C (getStatus, dispatch): handle
570         LFUN_WORDS_COUNT.
571
572         * LyXAction.C (init):
573         * lfuns.h: add LFUN_WORDS_COUNT.
574
575 2004-12-19  Angus Leeming  <leeming@lyx.org>
576
577         * buffer.C (save): s/slashify_path/internal_path/.
578
579 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
580
581         * lyxfind.C (findChange): do not search for end of pars, because
582         the change tracker cannot handle this (fixes bug 1719).
583
584 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
585
586         * paragraph.[Ch] (autoBreakRows): remove
587
588         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
589
590         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
591         avoid using the paragraph one
592
593         * text2.C (LyXText, insertStringAsLines): adjust
594
595 2004-12-16  Angus Leeming  <leeming@lyx.org>
596
597         * bufferlist.C:
598         * lyx_main.C:
599         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
600
601 2004-12-14  Angus Leeming  <leeming@lyx.org>
602
603         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
604
605         * bufferlist.C (emergencyWrite):
606         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
607         GetEnvPath("HOME").
608
609 2004-12-14  Angus Leeming  <leeming@lyx.org>
610
611         * main.C: (main): no longer pass pointers to os::init.
612
613 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
614
615         * undo.C (textUndoOrRedo): simplify logic, fix a crash
616         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
617
618 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * lyxfunc.C:
621         * text3.C: remove selection_possible global flag
622
623 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
624
625         * text2.C (getSelectionSpan): remove
626         (changeDepth, changeDepthAllowed): adjust
627
628 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
629
630         * Makefile.am (BOOST_LIBS): use boost variables
631
632 2004-12-03  José Matos  <jamatos@lyx.org>
633
634         * buffer.C: format up to 238.
635
636 2004-12-03  José Matos  <jamatos@lyx.org>
637
638         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
639
640 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * cursor.C (goUpDown): remove call to idxUpDown2
643
644 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
645
646         * tabular.[Ch]: use size_t-like types for cell, row and column
647         indices
648
649 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * lyxfunc.C (getStatus): do not lose previous information when
652         calling BufferView::getStatus; do not set a default "Command
653         disabled" message at the beginning, but just before returning.
654
655 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
656
657         * cursor.h (getStatus): add better comment from src/cursor.C
658
659 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * text3.C (getStatus): return false when the lfun is not handled
662
663 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * broken_headers.h: remove
666
667         * Makefile.am (lyx_SOURCES): remove broken_headers.h
668
669 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
672         offset_ref accessors
673
674         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
675         top_y_, merge fitcursor with update
676         (updateScrollbar, scrollDocView, fitCursor, center, update): new
677         coord scheme
678         (metrics): introduce
679         (workAreaDispatch): adapt to new coord scheme
680         (redoCurrentBuffer): remove
681
682         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
683
684         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
685         CurStatus enum.
686
687         * coordcache.[Ch]: add paragraph cache and helpers
688
689         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
690         adjust everywhere
691
692         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
693         (targetX, setTargetX): introduce
694
695         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
696         baseline -> ascent, as the rest of lyx
697
698         * lyxtext.h: remove redoParagraphs, updateParPositions,
699         fullRebreak, redoParagraphInternal. move dist to anon namespace in
700         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
701         have ascent/descent (ascent is ascent of first par)
702
703         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
704         step of BufferView
705
706         * paragraph.[Ch]: unify dimension handling with the rest of lyx
707
708         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
709
710         * pariterator.C: fix infinite loop introduced in par->pit renaming
711
712         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
713         in insets and LyXText, draw two off-screen paragraphs using
714         NullPainter, and adapt to new coord scheme
715
716         * text.C:
717         * text2.C:
718         * text3.C: adapt lfun handlers to the new coord scheme, which
719         means: there's only guaranteed coord information for onscreen pars
720         plus one above and one below. This implies that one can do search
721         from y coordinates in the range [-1,workHeight]
722
723 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
724
725         * rename a lot of InsetOld to InsetBase
726
727 2004-11-25  Angus Leeming  <leeming@lyx.org>
728
729         * BufferView_pimpl.C:
730         * lyx_cb.C:
731         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
732
733 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
736         call BufferView::getStatus if LCursor::getStatus did nothing
737         (setStatusMessage, getStatusMessage): removed.
738
739         * FuncStatus.C (message): new methods. Used to provide an error
740         message indicating why a command is disabled.
741         (clear, |=, FuncStatus): update for message.
742
743 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * lyxfunc.C (dispatch): always call sendDispatchMessage
746
747 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
748
749         * BufferView.C:
750         * BufferView_pimpl.C:
751         * CutAndPaste.C:
752         * FontIterator.C:
753         * buffer.C:
754         * cursor.C:
755         * cursor_slice.[Ch]:
756         * dociterator.[Ch]:
757         * lyxfind.C:
758         * paragraph_funcs.C:
759         * pariterator.C:
760         * rowpainter.C:
761         * text.C:
762         * text2.C:
763         * text3.C:
764         * undo.C: par->pit renaming
765
766 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
767
768         * tabular.C (cellstruct): use initialization, store a shared_ptr
769         to insettext instead of the insettext directly, adjust to fit.
770         (operator=):  new function
771         (swap): new function
772         (rowstruct): use initialization
773         (columnstruct): use initialization
774         (ltType): use initialization
775
776
777         * lyxlength.h (swap): new function
778
779         * LColor.[Ch] (operator=): use the common semantics
780
781 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * lyxfind.C (findNextChange): update the bufferview after setting
784         the selection.
785
786 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
789         number of InsetOptArgs has already been inserted.
790
791         * output_latex.C (latexOptArgInsets): new method. This outputs all
792         the optarg insets, up to the limit defined in the layout file.
793         (optArgInset): removed
794         (TeXOnePar): call latexOptArgInsets; correctly update texrow
795
796 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * paragraph.C (isLetter): remove special spellchecker-related
799         code; return true also for digits
800         (isWord, isKomma): remove
801
802         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
803         * lyxfind.C (MatchString()): use isLetter instead of isWord
804
805 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * pariterator.h (operatir=): comment out un-implemented member
808         function.
809
810         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
811         static cast.
812
813 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * lyxfont.h: include LColor.h to satisfy concept checks.
816
817 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
818
819         * pariterator.h: add typdefs for value_type, difference_type,
820         pointer and reference to satisfy concept checks. Also add default
821         constructor for same reason.
822
823         * pariterator.C (operator++): add post-increment operator to
824         satisfy concept checks.
825
826         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
827         checks.
828
829         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
830
831         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
832         checks. Also rename base_type to BaseType to follow naming
833         standard better.
834
835         * FloatList.h: include Floating.h to satisfy concept checks.
836
837 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * lyxfunc.C (getStatus): when the origin of the request is menu or
840         toolbar, and the LyXView does not have focus, do as if there was
841         no buffer (bug 1720)
842
843         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
844         FuncRequest to individual entries of LFUN_SEQUENCE
845
846 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * output_latex.C (TeXOnePar): override runparams.moving_arg
849         according to the needprotect value of the current paragraph (bug
850         1739)
851
852         * paragraph.C (simpleTeXOnePar): no need to override
853         runparams.moving_args here
854
855 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
856
857         * vspace.C: fix off-by-one-error, related to fix #1682
858
859 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
860
861         * lengthcommon.C: a more general fix for bug 1682
862
863 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * text.C (backspace): fix crash
866
867 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
868
869         * format.[Ch] (getFormatFromFile): new method
870         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
871
872 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
873
874         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
875
876 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyxfunc.C (dispatch): remove the verbose argument
879         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
880         instead
881
882         * kbmap.C (defkey): set the origin of func to KEYBOARD
883
884         * MenuBackend.C (MenuItem):
885         * ToolbarBackend.C (add): set the origin of func to UI
886
887         * funcrequest.[Ch]: add origin member, which indicates which part
888         of LyX requests an action
889
890 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * converter.C (move): don't lie in the error message
893         * converter.h (isReachable, move): document
894
895 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
896
897         * buffer.C: remove unused using lyx::support::atoi
898         * paragraph_funcs.C: ditto
899
900 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
901
902         * bufferlist.C (exists): use bind and equal_to instead of
903         compare_memfun
904         (getBuffer): ditto
905         * lyxtextclasslist.C (NumberOfClass): ditto
906
907         * cursor.C (insert): use for_each instead of explicit for loop
908
909         * bufferlist.C (getFileNames): use std::transform and
910         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
911
912         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
913         for loop
914
915         * buffer.C (changeLanguage): use for_each instead of explicit for
916         loop
917         (hasParWithID): implement using getParFromID
918
919         * LaTeXFeatures.C: ws change only
920
921         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
922         to cleanup a bit.
923
924         * BufferView_pimpl.C (trackChanges): use for_each instead of
925         expilicit for loop
926
927 2004-11-04  André Pönitz  <poenitz@gmx.net>
928
929         * undo.h:
930         * undo.C (textUndoOrRedo): fix crash when creating undo information.
931
932         * dociterator.C (asDocIterator): use hard assert again.
933
934 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * lyxlength.C (asLatexString): rewrite so that it does not use
937         snprintf anymore
938
939 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * text3.C (specialChar, dispatch): make sure cursor moves to the
942         right after inserting an inset
943
944 2004-11-02  José Matos  <jamatos@lyx.org>
945
946         * output_docbook.C (docbook):
947         * paragraph.C (getID):
948         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
949         garantee that the output is always legal.
950
951         * tabular.C (docbook):
952         * outputprams.[Ch]: remove mixed contents.
953
954 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
955
956         * text2.C (setCounter): prevent endless loop
957
958 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * exporter.C (copyFile): use the mover instead of support::copy()
961         * exporter.C (Export): pass format and latex name to copyFile()
962         * exporter.h (addExternalFile): document
963         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
964
965 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
966
967         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
968
969 2004-10-30  José Matos  <jamatos@lyx.org>
970
971         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
972         text and no inset or font change. This allows to use CDATA
973         sections just for the whole paragraph.
974
975 2004-10-30  José Matos  <jamatos@lyx.org>
976
977         * paragraph.C (getFirstWord): remove unused variable.
978
979 2004-10-30  José Matos  <jamatos@lyx.org>
980
981         * paragraph.C (getFirstWord): the content should always be escaped
982         there.
983         (simpleDocBookOnePar):
984         * output_docbook.C (makeEnvironment): replace reference to CDATA
985         to style pass_thru.
986
987 2004-10-30  José Matos  <jamatos@lyx.org>
988
989         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
990
991 2004-10-30  José Matos  <jamatos@lyx.org>
992
993         * output_docbook.C (makeParagraphs):
994         * paragraph.[Ch] (emptyTag): for docbook and company, if the
995         standard paragraph has only a given type of content drop the wrapper.
996
997 2004-10-29  José Matos  <jamatos@lyx.org>
998
999         * output_docbook.C (makeEnvironment):
1000         * sgml.C (openTag):
1001         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1002
1003 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1004
1005         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1006         (cleanID): sanitize any id.
1007
1008 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1009
1010         * buffer.C, lyxlex_pimpl.C:
1011         * lyxlex_pimpl.C (setFile):
1012         s/getExtFromContents/getFormatFromContents/
1013
1014 2004-10-28  José Matos  <jamatos@lyx.org>
1015
1016         * output_docbook.C (makeEnvironment): move id to broadest possible
1017         scope.
1018
1019         * sgml.C (openTag): apply substitution of <> for all attributes.
1020
1021 2004-10-28  José Matos  <jamatos@lyx.org>
1022
1023         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1024         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1025         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1026
1027         * sgml.[Ch]: new version for open and closeTag for paragraph and
1028         for strings. Now they handle the ids of paragraphs.
1029
1030 2004-10-26  Angus Leeming  <leeming@lyx.org>
1031
1032         * Makefile.am: add mover.[Ch].
1033
1034         * converter.C (convert, move): use the new Movers to move external
1035         files to the temp directory.
1036
1037         * lyx_main.C (init): ensure that the global system_movers data
1038         is initialised.
1039
1040         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1041         preferences file.
1042
1043         * mover.[Ch]: new files, defining a Mover as a utility to move an
1044         external file between directories and, if necessary, manipulate this
1045         file using a helper script.
1046
1047 2004-10-25  José Matos  <jamatos@lyx.org>
1048
1049         * output_docbook.C (makeCommand): merge two if's that tested the
1050         same condition.
1051
1052 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * sgml.C (escapeString): fix warning in a better way
1055
1056 2004-10-25  José Matos  <jamatos@lyx.org>
1057
1058         * sgml.C (escapeString): import the require boosts header file for
1059         tie, and avoid a signed unsigned comparison.
1060
1061 2004-10-25  José Matos  <jamatos@lyx.org>
1062
1063         * sgml.h: add #include <string>
1064
1065 2004-10-25  José Matos  <jamatos@lyx.org>
1066
1067         * sgml.[Ch] (escapeString): new function to escape all the string.
1068
1069 2004-10-24  José Matos  <jamatos@lyx.org>
1070
1071         * paragraph.[Ch] (getFirstWord): new function to get the first
1072         word. Useful for description.
1073         (simpleDocBookOnePar): remove depth argument, add another that
1074         says where to start the paragraph.
1075
1076         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1077         use the new functions to fix cleanly the support for descriptions.
1078
1079 2004-10-24  José Matos  <jamatos@lyx.org>
1080
1081         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1082         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1083         * output_linuxdoc.C (linuxdocParagraphs):
1084         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1085         add buffer as argument.
1086
1087 2004-10-24  José Matos  <jamatos@lyx.org>
1088
1089         * output_docbook.C (makeEnvironment, searchEnvironment): place
1090         CDATA inside paragraphs and fix scope for listitems.
1091
1092 2004-10-24  José Matos  <jamatos@lyx.org>
1093
1094         * output_docbook.C: remove using statement for stack.
1095
1096 2004-10-23  José Matos  <jamatos@lyx.org>
1097
1098         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1099         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1100         docbook. The new scheme is recursive and makes use of iterators, the
1101         same as latex export works.
1102         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1103         directly with the paragraph contents. This code was moved up to
1104         output_docbook.C (docbookParagraphs).
1105         * sgml.C (openTag, closeTag): removed unneeded newlines.
1106         (closeEnvTags) removed.
1107
1108 2004-10-23  André Pönitz  <poenitz@gmx.net>
1109
1110         * undo.C (textUndoOrRedo):
1111         * dociterator.C (asDocIterator): work around crash
1112
1113         * cursor.C (getStatus): replace ASSERT by more verbose error message
1114           and manual correction of the problem. Should increase stability
1115           while providing more sensible information.
1116
1117 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1120
1121         * bufferlist.C (previous, next): new methods
1122
1123         * lfuns.h:
1124         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1125
1126 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1127
1128         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1129         entities to preamble.
1130
1131 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * messages.C (Pimpl): strip off translation context information
1134
1135 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1138         the cursor is correct (bug 1694)
1139
1140 2004-10-13  José Matos  <jamatos@lyx.org>
1141
1142         * output_docbook.C (docbookParagraphs): fix closing tags in the
1143         end of the document.
1144
1145 2004-10-09  José Matos  <jamatos@lyx.org>
1146
1147         * buffer.C: format up to 237.
1148         * bufferparams.C (write): use tostr to convert booleans to strings.
1149
1150 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1153
1154 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * LaTeX.C: implement use of babel language in xindy.
1157
1158 2004-10-05  José Matos  <jamatos@lyx.org>
1159
1160         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1161         Add new translators to help reading and writing the lyx file.
1162
1163 2004-10-05  José Matos  <jamatos@lyx.org>
1164
1165         * ParagraphParameters.C (read):
1166         * text.C (readParToken): replace nexToken by more appropriate lex
1167         methods.
1168
1169 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1170
1171         * LaTeX.C (runMakeIndex):
1172         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1173         (usually 'makeindex') configurable.
1174
1175         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1176         with a variable rather than with a number.
1177
1178 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1179
1180         * output_latex.C (TeXOnePar): make sure font setting is the first
1181         thing that gets output (and the last at the end). Should fix bug
1182         1404.
1183
1184 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * pch.h: use proper signal include
1187
1188         * LaTeX.h: Use preferred calling of Boost.Signal
1189         * buffer.h: ditto
1190
1191 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1192
1193         * pch.h: dont include <boost/function/function0.hpp>
1194
1195         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1196
1197         * paragraph_pimpl.h: remove usage of ShareContainer
1198
1199         * paragraph_pimpl.C: remove initialization of ShareContainer.
1200
1201 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         Fix bug #1666
1204
1205         * BufferView.C (putSelectionAt): change the semantics when
1206         backwards == true: now, this just swaps cursor and anchor wrt the
1207         forward case
1208
1209         * BufferView.h (putSelectionAt): add some documentation
1210
1211         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1212         make sure backwardChar is done at least once (to avoid getting
1213         stuck)
1214         (findNextChange): use putSelectionAt in the forward direction
1215         (operator()): use Paragraph::isWord
1216
1217 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1218
1219         * Spacing.C (set): c_str fix
1220
1221 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * lyx_cb.C (Reconfigure): quote the name of configure script in
1224         case it contains spaces
1225
1226 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1227
1228         * client: new dir
1229
1230         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1231         (BOOST_LIBS): use top_buildir when looking for the file
1232
1233 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1234
1235         * pch.h: do not use include boost/format.hpp, multiple symbols
1236                 will result (gcc bug)
1237
1238
1239 2004-08-23  José Matos  <jamatos@lyx.org>
1240
1241         * bufferparams.C (readToken): fix reading of the author field.
1242
1243 2004-08-20  José Matos  <jamatos@lyx.org>
1244
1245         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1246
1247 2004-08-20  José Matos  <jamatos@lyx.org>
1248
1249         * lyxlex.[Ch] (findToken): remove function.
1250
1251         * ParagraphParameters.C (findToken):
1252         * bufferparams.C (findToken): replace call for previous function
1253         with local copy. This local function has one more argument, the
1254         read string argument.
1255
1256 2004-08-16  José Matos  <jamatos@lyx.org>
1257
1258         * ParagraphParameters.C (write):
1259         * Spacing.C (writeFile):
1260         * bufferparams.C (writeLaTeX):
1261         * lyx_cb.C (Reconfigure):
1262         * paragraph.C (write):
1263         * tabular.C (write): remove unnecessary space at end of line.
1264
1265
1266 2004-08-16  José Matos  <jamatos@lyx.org>
1267
1268         * text.C (readParagraph): remove debug message.
1269
1270 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1273         crash
1274
1275         * output_plaintext.C (asciiParagraph): set depth correctly
1276
1277         * outputparams.h: add member depth
1278
1279         * paragraph_funcs.C (ownerPar): remove.
1280
1281         * text2.C (setCounter): remove first_pit; comment out some
1282         non-working code that uses ownerPar
1283
1284         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1285         uses ownerPar
1286
1287 2004-08-16  José Matos  <jamatos@lyx.org>
1288
1289         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1290         For the same level of importance use the same chanel to report problems.
1291         (read): add code to deal with \begin_body and \end_body.
1292
1293
1294 2004-08-15  José Matos  <jamatos@lyx.org>
1295
1296         * lyxlex.C (getString): fix comment, buffer::readBody is now
1297         buffer:readDocument.
1298
1299         * tex-strings.C (string_papersize): Default -> default,
1300         Custom -> custom, for consistency with other options.
1301
1302 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1303
1304         * pch.h: new file
1305
1306         * Makefile.am: support pch
1307
1308 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * text.C (readParToken): remove the static LyXFont variable and
1311         pass it as a parameter instead. This fixes a nasty bug where an
1312         inset will be inserted with a bad font in some situations
1313         (readParagraph): adapt
1314
1315         * text2.C (setCounter): reduce number of calls to pars_[pit]
1316
1317         * text.C (singleWidth): add an assert, fix a test
1318
1319         * rowpainter.C (paintText): reduce number of calls to singleWidth
1320
1321         * paragraph.C (isHfill):
1322         (isNewline): ws only
1323
1324 2004-08-14  André Pönitz  <poenitz@gmx.net>
1325
1326         * text.C:
1327         * text2.C:
1328         * rowpainter.C:
1329         * lyxtext.h (several functions): use a Paragraph & argument
1330         instead of par_type
1331
1332 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1335
1336         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1337
1338         * text.C (singleWidth): remove useless test
1339
1340 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * tabular.h: remove bogus comments
1343
1344         * tabular.C (getDescentOfRow):
1345         (isPartOfMultiColumn): add assertions
1346
1347         * lyxlength.C (inPixels): remove #warning
1348
1349 2004-08-14  André Pönitz  <poenitz@gmx.net>
1350
1351         * paragraph.h: inline getChar()
1352
1353         * BufferView.h: remove unused declarations
1354
1355 2004-08-14  José Matos  <jamatos@lyx.org>
1356
1357         * Buffer.[Ch] (readDocument): new name for old readBody.
1358         * Buffer.C: new file format, new keywords: \begin_document,
1359         \begin_header, \begin_body, \end_body.
1360
1361         * bufferparams.C (readToken): replace all calls to lex.nextToken
1362         by lex.next(). Do the same to eatLine except where really needed.
1363
1364         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1365         line when writing to the lyx file.
1366
1367         * output_plaintext.C (asciiParagraph): fix Bibliography style
1368         handling.
1369
1370         * text.C (read): fix end of file handling.
1371
1372 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * MenuBackend.C (Menu::operator[]): new method to access
1375         individual menu items
1376         (Menu::hasFunc): new method. search for an item that corresponds
1377         to a given func
1378         (MenuBackend::specialMenu): new method
1379         (MenuBackend::expand): if a special menu has been set, skip
1380         entries whose func() appears in this menu
1381
1382 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1383
1384         * text3.C: use Debug::DEBUG a bit more
1385
1386         * text.C (leftMargin): try to simplify a tiny bit change var x to
1387         l_margin. Dont output the wide margins always.
1388         (rightMargin): no margin in inner texts
1389
1390         * rowpainter.h (nestMargin): new func
1391         (changebarMargin): new func
1392         (rightMargin): new func
1393
1394         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1395         now functions.
1396         (paintLast): ditto
1397
1398         * factory.C (createInset): modify setDrawFrame
1399
1400         * cursor.C: use Debug::DEBUG a bit more
1401
1402 2004-08-14  André Pönitz  <poenitz@gmx.net>
1403
1404         * coordcache.[Ch]:
1405         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1406         cache for all insets in (at least partially) visible (top-level)
1407         paragraphs.
1408
1409         * BufferView_pimpl.C: reset external coord cache before every update.
1410         This means the coord cache only contains valid entries.
1411
1412 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1413
1414         bug 1096
1415         * BufferView_pimpl.C (getInsetByCode): move function out of class
1416         and change in to a template in anon namespace. Also fix to do what
1417         suits us better.
1418
1419 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1420
1421         bug 1305
1422         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1423         of char
1424         (breakParagraph): rename par to par_offset and use a local
1425         reference. Add code to keep the language over a rebreak.
1426         (breakParagraphConservative): rename par to par_offset, use a
1427         local reference
1428         (mergeParagraph): ditto
1429         (outerHook): ditto
1430         (isFirstInSequence): ditto
1431         (outerFont): rename pit to par_offset
1432
1433         * paragraph.C: ws change
1434         * paragraph.h: ditto
1435         * text3.C: ditto
1436         * text.C: ditto
1437
1438 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1441         treatment for ']'
1442
1443         * paragraph.C (simpleTeXOnePar): when we have a \item with
1444         optional argument, enclose the argument with curly brackets (in
1445         case it contains a closing square bracket)
1446
1447         * text2.C (editXY):
1448         * text2.C (editXY):
1449         * text3.C (checkInsetHit): constify
1450
1451 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1454         documents (bug 1629)
1455
1456 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         Fix toggling of collapsable insets with the mouse (bug 1558)
1459
1460         * lyxfunc.C (dispatch): adapt to LCursor changes
1461
1462         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1463         make sure that dispatch is not invoked twice
1464
1465         * cursor.C (needsUpdate): new method
1466         (dispatch): return void
1467         (result): new method, to access the DispatchResult of the cursor.
1468
1469 2004-08-13  José Matos  <jamatos@lyx.org>
1470
1471         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1472
1473 2004-08-13  André Pönitz  <poenitz@gmx.net>
1474
1475         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1476
1477         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1478           multiple cells
1479
1480 2004-08-12  André Pönitz  <poenitz@gmx.net>
1481
1482         * text3.C: take out the 'cursor right' form insertInset and only
1483         do it in those places when it is really needed. Fixes crash on
1484         C-m...
1485
1486 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1489
1490         * BufferView_pimpl.C (setBuffer): initialize the current font of
1491         the underlying LyXText
1492
1493 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         * kbsequence.C (print): use UI native formatting for menu
1496         shortcuts
1497
1498         * text.C (insertChar): call Paragraph::insertChar with a font
1499         argument (cosmetic)
1500
1501         * paragraph.C (insertInset, insertChar): the version that takes a
1502         LyXFont argument is now a wrapper around the other one (the
1503         opposite used to be true).
1504
1505         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1506         argument. Font setting is done in Paragraph now.
1507
1508 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1509
1510         * outputparams.h: add new members intitle and lang.
1511
1512         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1513         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1514
1515 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1516
1517         * text3.C (dispatch): remove special handling of button 4 and 5,
1518         it is now taken care of in the frontend code.
1519
1520 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1521
1522         * Spacing.h: add <string> (STLPort compile fix)
1523
1524 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1525
1526         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1527
1528 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1529
1530         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1531         to bool.
1532
1533         * converter.C (showMessage): inherit from unary_function, make
1534         operator() const.
1535
1536         * buffer.C (writeFile): initialize retval
1537
1538         * InsetList.h: rename private variable list to list_
1539         * InsetList.[Ch]: adjust accordingly.
1540
1541 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1542
1543         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1544         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1545         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1546         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1547         * ParagraphParameters.C, LaTeXFeatures.C: replace
1548         "support/std_sstream.h" with <sstream>
1549
1550 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1551
1552         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1553         * lyxsocket.C (LyXServerSocket): ditto
1554         (serverCallback): ditto
1555
1556 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1557
1558         * LaTeXFeatures.C: check release date when loading jurabib.
1559
1560 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1561
1562         * lyxserver.C (startPipe): call register_socket_callback
1563         (endPipe): call unregister_socket_callback
1564
1565 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1566
1567         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1568         (LyXServerSocket): register the callback
1569         (LyXServerSocket): unregister the callback
1570         (fd): delete function
1571         (serverCallback): improve error checking and setup the callbacks.
1572         (dataCallback): change arg to fd.
1573         (writeln): new func (copied fro the client socket) used for server
1574         write to client.
1575         (LyXDataSocket): simplify
1576         (~LyXDataSocket): close ann unregiser callback
1577         (server): delete function
1578         (fd): delete function
1579         (readln): small changes, improve some std::string usage
1580         (writeln): constify a bit
1581
1582 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1583
1584         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1585         Qt frontend
1586
1587 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1590         after it has been populated
1591
1592 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * text2.C (insertInset): move cursor when inserting inset.
1595
1596 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * kbmap.C (findbindings): a couple of new methods. returns a
1599         container of kb_sequence objects. The real work is done by the
1600         private recursive version
1601         (printbindings): uses findbindings to print out a bracketed list
1602         of bindings (renamed from findbinding).
1603
1604         * MenuBackend.C (binding): use kb_keymap::findbindings
1605
1606         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1607
1608 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1609
1610         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1611
1612 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * paragraph.C (isWord): return true on insets that report
1615         isLetter().
1616
1617         * text.C (getWord): use Paragraph::isWord to decide what is in a
1618         word and what is not; fix bug 1609.
1619
1620 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1621
1622         * tex-strings.C: add "none" to string_paperpackages[], fixes
1623         off-by-one-error in the paperpackage selection.
1624
1625         * lyxlex.[Ch]:
1626         * tex-strings.[Ch]: char const * string[n]
1627         -> char const * const string[]
1628
1629 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630
1631         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1632         command, return early.
1633
1634 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1635
1636         * debug.h: add DEBUG to enum and fix size of ANY.
1637
1638         * debug.C: add support for Debug::DEBUG
1639         (showTags): cast errorTags.level to unsigned int
1640
1641         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1642         (redoCurrentBuffer): ditto
1643         (updateScrollbar): ditto
1644         * cursor.C (dispatch): ditto
1645         * text2.C (setLayout): ditto
1646         (setFont): ditto
1647         (updateCounters): ditto
1648         (editXY): ditto
1649         (deleteEmptyParagraphMechanism): ditto
1650
1651 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1652
1653         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1654         annotations to cleanup the Makefile slightly.
1655
1656 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * lyxrc.C: do not set user_email to a default value but use empty
1659         instead. The entry used to be translated, which does not work
1660         since at the point where lyxrc is constructed there is no
1661         translation service available
1662
1663         * messages.C (getLocaleDir): remove and use directly
1664         lyx_localedir() instead
1665
1666 2004-06-02  Angus Leeming  <leeming@lyx.org>
1667
1668         Fix crash caused by dereferencing null pointer 'exportdata' in
1669         OutputParams by creating a new ExportData variable on the heap,
1670         storing it in a boost::shared_ptr.
1671         The crash was triggered when generating an Instant Preview
1672         of an external inset.
1673
1674         * Makefile.am: add outputparams.C
1675
1676         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1677         (c-tor): allocate memory to it.
1678
1679         * exporter.C (c-tor): associated changes.
1680
1681 2004-06-01  Angus Leeming  <leeming@lyx.org>
1682
1683         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1684         contains data before calling isInset(0). (Bug 1513.)
1685
1686 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1687
1688         * exporter.C (checkOverwrite): new method
1689         * exporter.C (copyFile): new method
1690         * exporter.C (Export): copy referenced files to the document dir
1691         * exporter.[Ch]: new class ExportedFile
1692         * exporter.[Ch]: new class ExportData. Contains currently the
1693         names of referenced external files
1694         * outputparams.h: add exportdata member.
1695
1696 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1697
1698         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1699         version.C-tmp
1700
1701 2004-05-19  Angus Leeming  <leeming@lyx.org>
1702
1703         * LaTeXFeatures.C:
1704         * ToolbarBackend.C:
1705         * bufferparams.C:
1706         * lyxfunc.C: small changes due to the introduction of namespace
1707         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1708
1709 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1710
1711         * text3.C (dispatch): supress update when only moving the cursor
1712         * cursor.C (selHandle): remove commented code
1713
1714 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * paragraph.C (startTeXParParams): correct column count
1717         * CutAndPaste.C (pasteSelection): remove const_cast
1718         * output_docbook.C (docbookParagraphs): remove const_cast
1719         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1720         const_cast and return ParagraphList::const_iterator
1721         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1722         * output_plaintext.C (writeFileAscii): remove const_cast
1723         * paragraph.[Ch] (simpleTeXOnePar): make const
1724         * paragraph_funcs.C (outerPar): use const iterators
1725         * paragraph_pimpl.C (validate): use const iterators
1726         * text.C (setHeightOfRow): use const iterators
1727
1728 2004-05-17  Angus Leeming  <leeming@lyx.org>
1729
1730         * lfuns.h:
1731         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1732
1733         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1734         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1735         if the citation engine has changed.
1736
1737 2004-05-14  José Matos  <jamatos@lyx.org>
1738
1739         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1740         if the textclass does not provide it. Have it different for sgml and
1741         xml.
1742         support the language of document.
1743         * output_docbook.C (docbookParagraphs):
1744         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1745         first anchor as the id of the paragraph, remove special case code.
1746         * sgml.C (escapeChar): escape only < & >.
1747
1748 2004-05-14  Angus Leeming  <leeming@lyx.org>
1749
1750         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1751         dependencies on src/frontends/controllers/biblio.h. Define a
1752         CiteEngine_enum wrapper class to enable the enum to be forward
1753         declared.
1754
1755 2004-05-12  Angus Leeming  <leeming@lyx.org>
1756
1757         * buffer.C: up LYX_FORMAT to 234.
1758         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1759         use_numerical_citations with a single biblio::CiteEngine cite_engine
1760         variable.
1761         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1762
1763 2004-05-13  José Matos  <jamatos@lyx.org>
1764
1765         * converter.h:
1766         * converter.C (Converter, readFlags): add xml member.
1767         * outputparams.h: add XML flavor.
1768         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1769
1770 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * lyxfunc.C (dispatch):
1773         (getStatus): fix handling of LFUN_SEQUENCE
1774
1775 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * debug.C (showLevel): do not forget the end-of-line marker
1778
1779 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1780
1781         * kbmap.C (read): do not stop parsing a bind file when an error
1782         occurs (bug 1575)
1783
1784 2004-04-29  Angus Leeming  <leeming@lyx.org>
1785
1786         * cursor.C:
1787         * factory.C:
1788         * pariterator.C:
1789         * text2.C: wrap a bunch of #warning statements
1790         inside #ifdef WITH_WARNINGS blocks.
1791
1792 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1793
1794         * buffer.C: increment format to 233.
1795
1796 2004-04-28  Angus Leeming  <leeming@lyx.org>
1797
1798         * BufferView_pimpl.C:
1799         * lyxfunc.C:
1800         * text3.C:
1801         s/updateToolbar()/updateToolbars()/
1802         s/Toolbar.h/Toolbars.h/
1803
1804 2004-04-28  Angus Leeming  <leeming@lyx.org>
1805
1806         * BufferView.[Ch] (c-tor):
1807         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1808         No longer passes these data to the WorkArea generator.
1809
1810 2004-04-28  Angus Leeming  <leeming@lyx.org>
1811
1812         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1813
1814 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1815
1816         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1817
1818 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1819
1820         * output_latex.C (TeXEnvironment): make sure that there is a line
1821         break before \end{foo} for the last paragraph of a document
1822         (TeXOnePar): if the paragraph is at the end of the document (or
1823         inset) and the language has to be reset, then make sure that the
1824         line break is _before_ the language command, not after (fixes bug
1825         1225); also make sure that the language reset command is the first
1826         thing after the paragraph (to ensure proper nesting of
1827         environments and thus fix bug 1404)
1828
1829 2004-04-21  John Levon  <levon@movementarian.org>
1830
1831         * ToolbarBackend.h:
1832         * ToolbarBackend.C: make "name" be a programmatic name
1833         and a gui_name field.
1834
1835         * lyxfunc.C: display the minibuffer on M-x
1836
1837 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1840         (bug 1526)
1841
1842 2004-04-19  Angus Leeming  <leeming@lyx.org>
1843
1844         * BufferView_pimpl.C (setBuffer): changed preview interface.
1845
1846         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1847         possible values.
1848
1849 2004-04-19  John Levon  <levon@movementarian.org>
1850
1851         * BufferView_pimpl.C:
1852         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1853
1854 2004-04-05  Angus Leeming  <leeming@lyx.org>
1855
1856         * text.C (redoParagraphs): add call to updateCounters(), thereby
1857         fixing the missing "Figure #:" label from the caption of a
1858         figure float.
1859
1860 2004-04-13  Angus Leeming  <leeming@lyx.org>
1861
1862         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1863         cursor is clicked out of an inset.
1864
1865 2004-04-13  Angus Leeming  <leeming@lyx.org>
1866
1867         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1868         than an InsetOld one.
1869
1870 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1871
1872         * format.[Ch]: add editor to Format
1873         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1874         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1875
1876 2004-04-08  André Pönitz  <poenitz@gmx.net>
1877
1878         * metricsinfo.h: remove PainterInfo::width member
1879
1880 2004-04-08  Angus Leeming  <leeming@lyx.org>
1881
1882         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1883         "\providecommand" rather than "\newcommand", thereby preventing
1884         clashes with packages that define "\boldsymbol" themselves.
1885         Eg, beamer.
1886
1887 2004-04-08  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1890         thereby squashing an unnecessary warning.
1891
1892 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1893
1894         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1895         setBuffer()
1896
1897 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1898
1899         * BufferView.C (setCursor): call redoParagraph (some insets could
1900         have been opened)
1901         (putSelectionAt): remove the 'double update' trick
1902
1903         * BufferView_pimpl.C (fitCursor): call refreshPar
1904         (workAreaDispatch): remove an uneeded update call
1905         (dispatch): remove some manual update calls
1906
1907         * cursor.[Ch]: remove cached_y_, updatePos
1908         (selHandle): set noUpdate when appropriate
1909
1910         * lyxfunc.C (dispatch): track if we need an update
1911
1912         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1913
1914         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1915         (paintSelection): cheap optimization, do not call cursorX when not
1916         needed
1917         (paintPars): change signature
1918         (refreshPar): add
1919         (paintText): adjust
1920         (paintTextInset): adjust
1921
1922         * text.C: adjust
1923
1924 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         * lengthcommon.C: compilation fix: remove explicit array size from
1927         unit_name[] and friends
1928
1929 2004-04-05  Angus Leeming  <leeming@lyx.org>
1930
1931         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1932
1933         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1934         present only for the preferences dialog.
1935         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1936
1937 2004-04-05  Angus Leeming  <leeming@lyx.org>
1938
1939         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1940         to enable the frontends to export changes to lyxrc correctly.
1941
1942         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1943
1944 2004-04-07  André Pönitz  <poenitz@gmx.net>
1945
1946         * cursor.[Ch] (selClear, adjust): remove math
1947
1948         * cursor_slice.C: more agressive assert
1949
1950         * lyxfunc.C:
1951         * BufferView_pimpl.C: rework mouse event dispatch
1952
1953         * dociterator.C:
1954         * paragraph.C:
1955         * text2.C:
1956         * text3.C: adjust
1957
1958 2004-04-05  André Pönitz  <poenitz@gmx.net>
1959
1960         * cursor.[Ch] (valign, halign...): remove unneeded functions
1961
1962 2004-04-05  Angus Leeming  <leeming@lyx.org>
1963
1964         * lyxlength.[Ch] (unit_name et al.): const-correct.
1965
1966 2004-04-05  Angus Leeming  <leeming@lyx.org>
1967
1968         * BufferView_pimpl.C:
1969         * buffer.C:
1970         * counters.C:
1971         * cursor.C:
1972         * lyxfunc.C
1973         * paragraph.C:
1974         * pariterator.C:
1975         * text.C:
1976         * text2.C:
1977         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1978
1979 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1982
1983 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1984
1985         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1986         * BufferView_pimpl.[Ch] (getStatus)
1987         * BufferView.[Ch] (getStatus): add
1988         * lyxfunc.C (getStatus): move lfuns handled in
1989         BufferView::dispatch to te function above
1990         * Cursor.C (setSelection): set selection() = true
1991
1992 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1993
1994         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1995
1996 2004-03-31  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyxfunc.C (dispatch): Fall through to the generic
1999         Dialogs::show("preamble").
2000
2001 2004-03-31  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxfunc.C (dispatch): Fall through to the generic
2004         Dialogs::show("spellchecker").
2005
2006 2004-03-31  Angus Leeming  <leeming@lyx.org>
2007
2008         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2009         preferences dialog.
2010
2011 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * BufferView.C
2014         * cursor.[Ch]
2015         * dociterator.[Ch]:
2016         * insetiterator.[Ch]:
2017         * lyxfind.C:
2018         * lyxfunc.C:
2019         * pariterator.[Ch]:
2020         * text2.C:
2021         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2022
2023 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2026         insets where we are putting the cursor.
2027
2028 2004-03-31  Angus Leeming  <leeming@lyx.org>
2029
2030         * lfuns.h:
2031         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2032
2033         * lyxrc.[Ch] (read, write): overloaded member functions taking
2034         a std::[io]stream arguments.
2035
2036         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2037
2038 2004-03-31  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2041         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2042
2043         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2044         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2045
2046 2004-03-31  Angus Leeming  <leeming@lyx.org>
2047
2048         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2049         the LFUN_ALL_INSETS_TOGGLE code.
2050
2051 2004-03-30  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2054         has died. Fall through to the generic Dialogs::show("document").
2055
2056 2004-03-30  Angus Leeming  <leeming@lyx.org>
2057
2058         * lfuns.h:
2059         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2060         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2061
2062         * lyxfunc.C (getStatus, dispatch): define the actions for these
2063         lfuns. Little more than a cut and pste job from ControlDocument.C
2064
2065         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2066
2067 2004-03-30  Angus Leeming  <leeming@lyx.org>
2068
2069         * lfuns.h:
2070         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2071         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2072
2073         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2074         open/closed state of ollapsable insets. Usage:
2075
2076         all-inset-toggle <state> <name>, where
2077         <state> == "open" || "closed" || "toggle" and
2078         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2079
2080         * lyxtext.h, text2.C (toggleInset): removed.
2081
2082         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2083         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2084         now passes LFUN_INSET_TOGGLE to the found inset.
2085
2086         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2087         is now invoked as "all-insets-toggle toggle branch".
2088
2089 2004-03-30  Angus Leeming  <leeming@lyx.org>
2090
2091         * dociterator.C:
2092         * insetiterator.C:
2093         * pariterator.[Ch]: added/corrected header blurb.
2094
2095 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * dociterator.[Ch]: add an inset_ member
2098         (backwardPos): implemented
2099         (backwardPos, forwardPos): use inset_ when the stack is empty.
2100         (doc_iterator_begin, doc_iterator_end): implemented
2101         * pariterator.[Ch]: adjust, add begin, end
2102         * insetiterator.[Ch]: adjust, add begin, end
2103         * cursor.C:
2104         * document.C:
2105         * BufferView.C:
2106         * BufferView_pimpl.C:
2107         * CutAndPaste.C: adjust
2108
2109 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2110
2111         * buffer.C: increment file format to 232.
2112         * LaTeXFeatures.C: add bibtopic package.
2113         * bufferparams.[Ch]: param \use_bibtopic.
2114
2115         * lyxrc.[Ch]: add lyxrc bibtex_command
2116         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2117
2118         * buffer.C: increment file format to 231.
2119
2120 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2121
2122         * dociterator.C: implement forwardPar
2123         * iterators.[Ch]: remove, replaced by
2124         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2125         * BufferView.C:
2126         * BufferView_pimpl.C:
2127         * CutAndPaste.C:
2128         * buffer.C:
2129         * bufferview_funcs.C:
2130         * cursor.C:
2131         * lyxfind.C
2132         * lyxfunc.C
2133         * paragraph_funcs.C
2134         * toc.C:
2135         * Makefile.am: adjust
2136
2137 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2138
2139         * CutAndPaste.C (pasteSelection): fix 2 crashes
2140         (eraseSelection): fix a crash
2141         * paragraph_funcs.C: remove a warning
2142
2143 2004-03-28  Angus Leeming  <leeming@lyx.org>
2144
2145         * lfuns.h:
2146         * LyXAction.C (init): new LFUN_PRINT.
2147
2148         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2149
2150 2004-03-27  Angus Leeming  <leeming@lyx.org>
2151
2152         * lfuns.h:
2153         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2154
2155         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2156
2157 2004-03-27  Angus Leeming  <leeming@lyx.org>
2158
2159         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2160         insetlist always contains non-null pointers to insets.
2161
2162 2004-03-26  Angus Leeming  <leeming@lyx.org>
2163
2164         * src/BufferView_pimpl.C:
2165         * src/CutAndPaste.C:
2166         * src/buffer.C:
2167         * src/iterators.C:
2168         * src/output_plaintext.C:
2169         * src/outputparams.h:
2170         * src/paragraph_funcs.C:
2171         * src/rowpainter.C:
2172         * src/text.C:
2173         * src/text2.C:
2174         * src/frontends/controllers/ControlErrorList.C:
2175         * src/frontends/gtk/FileDialogPrivate.C:
2176         * src/frontends/gtk/GPainter.C:
2177         * src/frontends/gtk/GToolbar.C:
2178         * src/frontends/qt2/QRef.C:
2179         * src/mathed/math_scriptinset.C: squash compiler warnings.
2180
2181 2004-03-26  Angus Leeming  <leeming@lyx.org>
2182
2183         * ispell.C (LaunchIspell::start):
2184         * lyx_cb.C (AutoSaveBuffer::start):
2185         invoke run(DontWait) rather than runNonBlocking().
2186
2187 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2190
2191 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * kbsequence.C (print): adjust
2194
2195         * kbmap.C (printKeySym): rename and change signature
2196         (printKey): use LyXKeySym::print()
2197
2198 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2199
2200         * undo.C: add using std::advance to compile for stlport
2201
2202 2004-03-24  Angus Leeming  <leeming@lyx.org>
2203
2204         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2205         it leads to a crash when no buffer is present.
2206
2207 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208             Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * lyxfunc.C (dispatch):
2211         * bufferparams.C (readToken): use the new LColor::setColor
2212
2213         * LColor.[Ch] (setColor): new version that takes two strings as
2214         argument and creates a new color entry if necessary
2215
2216 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2217
2218         * buffer.C (makeLaTeXFile): if the main latex file that is
2219         processed is usually a subdocument of some master, then pretend
2220         for a while that it is actually the master
2221
2222 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2223
2224         * buffer.C (getLabelList):
2225         (getBibkeyList): use getMasterBuffer()
2226         (getMasterBuffer): new method. Returns the main document in the
2227         case where one is using included documents.
2228
2229 2004-03-25  André Pönitz  <poenitz@gmx.net>
2230
2231         * Makefile.am:
2232         * iterators.[Ch]:
2233         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2234
2235         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2236
2237         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2238         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2239
2240         * ParameterStruct.h: merge with ParagraphParameters
2241
2242         * lyxtext.h: remove LyXText::parOffset() and getPar()
2243
2244         * text3.C: Remove all 'manual' update calls. We do now one per user
2245         interaction which is completely sufficient.
2246
2247         * Bidi.C:
2248         * BufferView.[Ch]:
2249         * BufferView_pimpl.C:
2250         * FontIterator.[Ch]:
2251         * MenuBackend.C:
2252         * ParagraphParameters.[Ch]:
2253         * buffer.C:
2254         * buffer.h:
2255         * bufferlist.C:
2256         * cursor.[Ch]:
2257         * cursor_slice.[Ch]:
2258         * dociterator.[Ch]:
2259         * errorlist.[Ch]:
2260         * factory.C:
2261         * lfuns.h:
2262         * lyxfind.C:
2263         * lyxfunc.C:
2264         * output_docbook.[Ch]:
2265         * output_latex.[Ch]:
2266         * output_linuxdoc.[Ch]:
2267         * output_plaintext.[Ch]:
2268         * paragraph.[Ch]:
2269         * paragraph_funcs.[Ch]:
2270         * paragraph_pimpl.[Ch]:
2271         * rowpainter.C:
2272         * tabular.[Ch]:
2273         * text.C:
2274         * text2.C:
2275         * toc.C:
2276         * undo.[Ch]: adjust
2277
2278         * frontends/controllers/ControlDocument.C:
2279         * frontends/controllers/ControlErrorList.C:
2280         * frontends/controllers/ControlSpellchecker.C:
2281         * insets/inset.C:
2282         * insets/inset.h:
2283         * insets/insetbase.h:
2284         * insets/insetbibitem.C:
2285         * insets/insetbox.C:
2286         * insets/insetbranch.C:
2287         * insets/insetcaption.C:
2288         * insets/insetcharstyle.C:
2289         * insets/insetcharstyle.h:
2290         * insets/insetcollapsable.C:
2291         * insets/insetcollapsable.h:
2292         * insets/insetert.C:
2293         * insets/insetfloat.C:
2294         * insets/insetfoot.C:
2295         * insets/insetmarginal.C:
2296         * insets/insetnote.C:
2297         * insets/insetoptarg.C:
2298         * insets/insettabular.C:
2299         * insets/insettext.C:
2300         * insets/insettext.h:
2301         * insets/insetwrap.C:
2302         * mathed/math_mboxinset.C:
2303         * mathed/math_nestinset.C:
2304         * mathed/math_scriptinset.C:
2305         * mathed/math_scriptinset.h:
2306         * support/types.h:
2307
2308 2004-03-24  Angus Leeming  <leeming@lyx.org>
2309
2310         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2311         deal with any child processes that have finished but are waiting to
2312         communicate this fact to the rest of LyX.
2313
2314 2004-03-24  Angus Leeming  <leeming@lyx.org>
2315
2316         64-bit compile fixes.
2317
2318         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2319         (c-tor): pass lyx::pos_types rather than ints.
2320
2321         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2322         lyx::pos_type.
2323
2324         * text.C (Delete): compile fix.
2325         (getPar): ensure that function declaration is the same as that in
2326         the header file.
2327
2328 2004-03-23  Angus Leeming  <leeming@lyx.org>
2329
2330         * ispell.C (LaunchIspell):
2331         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2332         a boost::shred_ptr rather than a std::auto_ptr.
2333
2334 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2337         handle LFUN_FILE_INSERT_*
2338
2339         * lyxrc.C (setDefaults, getDescription, output, read):
2340         * lyxrc.h: remove ps_command
2341
2342 2004-03-22  Angus Leeming  <leeming@lyx.org>
2343
2344         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2345         Ensure that error_handler is processed once only and that all data
2346         is saved before attempting to output any warning messages.
2347
2348         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2349
2350 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2353
2354 2004-03-19  André Pönitz  <poenitz@gmx.net>
2355
2356         * cursor.[Ch] (reset): take main text inset as argument
2357
2358         * BufferView: adjust
2359         * BufferView_pimpl.C: adjust
2360
2361         * paragraph.[Ch]: fix completely broken operator=()
2362
2363 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364
2365         * LColor.C (getFromLyXName): make sure that the color name is used
2366         as lowercase.
2367
2368 2004-03-17  Angus Leeming  <leeming@lyx.org>
2369
2370         * lfuns.h:
2371         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2372
2373         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2374         dialog and to kill a forked process.
2375
2376 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2377
2378         * text2.C (setCursorFromCoordinates): fix font problem
2379
2380 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2383         bogus "rebuild cursor" code
2384
2385 2004-03-11  André Pönitz  <poenitz@gmx.net>
2386
2387         * buffer.[Ch]: use InsetText instead of LyXText as container for
2388         the main lyx text.
2389
2390         * dociterator.[Ch]: drop the BufferView * member which is not needed
2391         anymore after the change to buffer.C
2392
2393         * paragraph_funcs.C:
2394         * text.C:
2395         * text2.C:
2396         * BufferView.[Ch]:
2397         * BufferView_pimpl.[Ch]:
2398         * cursor.[Ch]:
2399         * cursor_slice.[Ch]: adjust
2400
2401         * text3.C: fix bug in mathDispatch
2402
2403 2004-03-08  André Pönitz  <poenitz@gmx.net>
2404
2405         * undo.[Ch]: use 'StableDocumentIterator' as base for
2406         the Undo struct.
2407
2408 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2409
2410         * LaTeXFeatures.C:
2411         * bufferparams.[Ch]: add jurabib support and param.
2412
2413         * LaTeX.C: add FIXME/comment.
2414
2415 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2416
2417         * buffer.C: increment file format to 230.
2418
2419 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * cursor.C (dispatch): avoid infinite loops
2422
2423 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * rowpainter.C (paintSelection): fix x coordinates
2426
2427 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2428
2429         * text.C (rowBreakPoint): fix breaking before displayed insets
2430
2431 2004-03-01  André Pönitz  <poenitz@gmx.net>
2432
2433         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2434
2435         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2436
2437         * Makefile.am:
2438         * BufferView.C:
2439         * BufferView_pimpl.C:
2440         * buffer.C:
2441         * lyxfind.C:
2442         * lyxfunc.C:
2443         * text.C:
2444         * text2.C:
2445         * text3.C: adjust
2446
2447 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * lyxtext.h:
2450         * text.C:
2451         * text2.C:
2452         * rowpainter.C:
2453         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2454         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2455
2456 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2457
2458         * Bidi.[Ch] (computeTables): const correctness
2459         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2460         fill_hfill, fill_label_hfill and x from Row
2461         * lyxtext.h: prepareToPrint returns a RowMetrics
2462         * rowPainter.C: adjust
2463         * text.C (prepareToPrint): use width, not textWidth. adjust
2464         (redoParagraphInternal, cursorX): adjust
2465         * text2.C (getColumnNearX): adjust
2466         (init): put a default value to the top LyXText::width
2467
2468 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2471
2472 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2473
2474         * lyxtext.h: add FontIterator class
2475
2476         * text.C (FontIterator, operator*, operator->, operator++): add
2477         (rowBreakPoint, setRowWidth): adjust (fixing a
2478         rebreaking bug)
2479
2480 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2481
2482         * BufferView_pimpl.C (workAreaDispatch): allow also
2483         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2484
2485 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2486
2487         * text.C (rowBreakPoint): fix a bug showing with very large insets
2488
2489 2004-02-25  André Pönitz  <poenitz@gmx.net>
2490
2491         * text3.C:
2492         * cursor.[Ch]: move some mathed specific code to mathed
2493
2494 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2495
2496         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2497         use_tempdir in preferences
2498         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2499         tempfile creation
2500         * lyx_main.C: ensure that tempdir is valid
2501         * lyxlex.h: correct typo
2502         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2503         * paragraph.[Ch] (isMultiLingual): make const
2504         * cursor.[Ch] (openable): make const
2505
2506 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2507
2508         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2509
2510 2004-02-20  André Pönitz  <poenitz@gmx.net>
2511
2512         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2513
2514         * cursor.[Ch]: prepare for localized getStatus()
2515
2516         * lyxtext.h:
2517         * tabular.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2521
2522 2004-02-20  André Pönitz  <poenitz@gmx.net>
2523
2524         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2525
2526 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * text2.C (setCursorFromCoordinates): switch to absolute coords
2529         (cursorUp): adjust
2530         (cursorDown): adjust
2531         * text3.C (dispatch): adjust
2532
2533 2004-02-16  André Pönitz  <poenitz@gmx.net>
2534
2535         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2536           insets/ChangeLog)
2537
2538         * cursor_slice.[Ch]: remove unneeded acessor function
2539
2540         * lyxtext.h: rename rtl() to isRTL()
2541
2542         * rowpainter.C:
2543         * tabular.C:
2544         * text.C:
2545         * text2.C:
2546         * text3.C: adjust
2547
2548 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * rowpainter.C (paintSelection): coord fix
2551
2552 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2553
2554         * Spacing.C: compile fix
2555
2556 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * cursor.C (dispatch): restore current_ before returning
2559
2560 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * text2.C (cursorUp, cursorDown): fix coords
2563         (moveUp): fix crash
2564
2565 2004-02-12  André Pönitz  <poenitz@gmx.net>
2566
2567         * lyxtext.h:
2568         * text.C:
2569         * text2.C:
2570         * text3.C: add LCursor & parameter to most cursor movement functions
2571           remove usage of LyXText::cursorRow() and cursorPar()
2572
2573         * cursor.[Ch]: add textRow() needed members
2574
2575         * BufferView.C:
2576         * BufferView_pimpl.C:
2577         * paragraph.[Ch]:
2578         * BufferView.C:
2579         * BufferView_pimpl.C: adjust
2580
2581 2004-02-11  André Pönitz  <poenitz@gmx.net>
2582
2583         * lyxfunc.C:
2584         * BufferView.[Ch]:
2585         * BufferView_pimpl.C: shift undo/redo handling
2586
2587         * cursor.[Ch]: fix mathed crash
2588
2589         * lyxfind.C:
2590         * lyxtext.h: move selectionAsText to LCursor
2591
2592         * output_latex.C:
2593         * paragraph.C:
2594         * text.C:
2595         * text2.C:
2596         * text3.C: adjust
2597
2598         * rowpainter.C: fix excessive drawing
2599
2600 2004-02-06  André Pönitz  <poenitz@gmx.net>
2601
2602         * BufferView.[Ch]:
2603         * BufferView_pimpl.[Ch]:
2604         * text3.C: move some text specific LFUN handling
2605
2606 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * text3.C (checkInsetHit): adjust coords
2609         * text2.C (getColumnNearX): adjust coords
2610         (edit): adjust coords
2611         * text.C (getRowNearY): add two asserts
2612
2613 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2614
2615         * converter.C:
2616         * format.C: add using std::distance to compile on gcc 2.95/stlport
2617
2618 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2619
2620         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2621
2622 2004-02-04  André Pönitz  <poenitz@gmx.net>
2623
2624         * BufferView.[Ch] (insertInset):
2625         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2626
2627         * text2.C:
2628         * text3.C: adjust
2629
2630 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2633         on the default clause of the switch
2634         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2635         wasn't catched by LCursor::dispatch
2636
2637 2004-02-03  André Pönitz  <poenitz@gmx.net>
2638
2639         * BufferView.C:
2640         * cursor.[Ch]: some additional asserts
2641
2642         * undo.[Ch]: remove LyXText dependency in interface
2643
2644         * lyxfunc.C: adjust
2645
2646         * lyxtext.h (firstPar, lastPar): remove dead functions
2647
2648         * text.C:
2649         * text2.C:
2650         * text3.C:
2651         * paragraph.[Ch]: adjust
2652
2653 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2654
2655         * lyxfind.C (find): fix argument order in call to ::find
2656
2657 2004-02-02  André Pönitz  <poenitz@gmx.net>
2658
2659         * cursor.[Ch]: remove direct access to anchor
2660
2661         * text.C: remove findText() hack
2662
2663 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2664
2665         * iterators.[Ch] (lockPath): remove in favour of...
2666         * BufferView.[Ch] (setCursor): this addition
2667         * BufferView.C (putSelectionAt): adjust
2668         * undo.C (performUndoOrRedo): adjust
2669         * lyxfunc.C (dispatch): adjust
2670
2671 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2672
2673         * iterators.C (lockPath): add a missing slice
2674         * undo.C (performUndoOrRedo): remove redundant positioning code
2675
2676 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2677
2678         * vc-backend.C (scanMaster): ";" -> ';'
2679
2680 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2681
2682         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2683         std::binary_function
2684
2685         * lyxtextclass.C (compare_name): rename to...
2686         (LayoutNamesEqual): ...this
2687
2688         * lyxlex_pimpl.C (compare_tags): inherit from
2689         std::binary_function, put back into anon namespace
2690
2691         * lyxfind.C (MatchString): inherig from std::binary_function
2692         (findChange): use empty() istead of !size()
2693
2694         * format.C (FormatNamesEqual): new functor
2695         (getFormat): use it
2696         (getNumber): use it
2697         (add): use it
2698         (erase): use it
2699         (setViewer): use it
2700
2701         * converter.C (compare_Converter): rename to...
2702         (ConverterEqual): ...this, and fixup a bit.
2703         (getConverter): use it, and make function const
2704         (getNumber): use it, and make function const
2705         (add): use it
2706         (erase): use it:
2707
2708         * bufferlist.C: add using boost::bind
2709
2710         * MenuBackend.C (MenuNamesEqual): new functor
2711         (hasMenu): use it, and make function const
2712         (hasSubmenu): use nested bind to get rid of compare_memfun.
2713
2714 2004-01-30  André Pönitz  <poenitz@gmx.net>
2715
2716         * BufferView_pimpl.C:
2717         * cursor.C:
2718         * cursor.h:
2719         * cursor_slice.[Ch]:
2720         * lyxfunc.C:
2721         * lyxtext.h:
2722         * paragraph_funcs.C:
2723         * paragraph_funcs.h:
2724         * rowpainter.C:
2725         * text.C:
2726         * text2.C:
2727         * text3.C: move some of the edit(x,y) handling to the insets
2728         some coordinate changes.
2729
2730 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2731
2732         * text.C: add using statements for std::advance and std::distance
2733
2734         * paragraph.C: add using statement for std::distance
2735
2736         * lyxfind.C: add using statement for std::advance
2737
2738         * cursor.C (region): remove std:: from swap
2739         (openable): use nucleus in stead of operator->
2740
2741         * BufferView.C: add using statements for std::distance and std::swap
2742
2743 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2744
2745         * iterators.C: Remove the pimple, move the needed structures to
2746         the header file. Create accessor for the positions stack.
2747         (asPosIterator): remove function
2748
2749         * PosIterator.C (PosIterator): move constructors to top of file
2750         (PosIterator): reimplement the constructor taking a ParIterator in
2751         terms of setFrom.
2752         (setFrom): new function
2753         (operator!=): inline it
2754
2755 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2756
2757         * lyxfind.C (replaceAll): use std::advance
2758
2759         * iterators.h: inherit from std::iterator.
2760
2761         * PosIterator.C (advance, distance): remove
2762         * PosIterator.h: interit from std::iterator.
2763
2764 2004-01-26  André Pönitz  <poenitz@gmx.net>
2765
2766         * BufferView.[Ch]:
2767         * BufferView_pimpl.[Ch]:
2768         * InsetList.[Ch]:
2769         * PosIterator.[Ch]:
2770         * buffer.h:
2771         * bufferview_funcs.C:
2772         * cursor.[Ch]:
2773         * cursor_slice.h:
2774         * factory.[Ch]:
2775         * iterators.[Ch]:
2776         * lyxfind.C:
2777         * lyxfunc.C:
2778         * lyxtext.h:
2779         * output_docbook.C:
2780         * output_latex.C:
2781         * output_linuxdoc.C:
2782         * output_plaintext.C:
2783         * paragraph.[Ch]:
2784         * paragraph_funcs.[Ch]:
2785         * paragraph_pimpl.[Ch]:
2786         * rowpainter.C:
2787         * tabular.C:
2788         * tabular.h:
2789         * text.C:
2790         * text2.C:
2791         * text3.C: more IU:  dumps most of the rest of the mathcursor
2792     implementation into cursor.[Ch]; "globalize" a bit of it.
2793
2794 2004-01-25  Angus Leeming  <leeming@lyx.org>
2795
2796         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2797
2798 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2799
2800         * LaTeXFeatures.h: add nice_ and nice() const
2801         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2802
2803 2004-01-20  André Pönitz  <poenitz@gmx.net>
2804
2805         * BufferView.[Ch]:
2806         * BufferView_pimpl.C:
2807         * PosIterator.C:
2808         * bufferview_funcs.C:
2809         * cursor.[Ch]:
2810         * cursor_slice.[Ch]:
2811         * factory.C:
2812         * iterators.C:
2813         * lyx_cb.C:
2814         * lyxfind.C:
2815         * lyxfunc.C:
2816         * lyxtext.h:
2817         * rowpainter.C:
2818         * text.C:
2819         * text2.C:
2820         * text3.C:
2821         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2822           LCursor and mathcursor parts to LCursor and InsetBase.
2823
2824 2004-01-15  André Pönitz  <poenitz@gmx.net>
2825
2826         * cursor_slice.[Ch]: add a few covienience functions
2827
2828         * funcrequest.[Ch]: remove BufferView * member
2829
2830         * BufferView_pimpl.C:
2831         * cursor.C:
2832         * factory.[Ch]:
2833         * lyxfind.[Ch]:
2834         * lyxfunc.C:
2835         * lyxtext.h:
2836         * text3.C:
2837         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2838
2839 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2842         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2843
2844 2004-01-13  André Pönitz  <poenitz@gmx.net>
2845
2846         * textcursor.[Ch]:
2847         * lyxtext.h: hide cursor and selection anchor behind accessor function
2848
2849         * BufferView.C:
2850         * BufferView_pimpl.[Ch]:
2851         * PosIterator.C:
2852         * bufferview_funcs.C:
2853         * cursor.h:
2854         * lyxfind.C:
2855         * lyxfunc.C:
2856         * text.C:
2857         * text2.C:
2858         * text3.C:
2859         * undo.C: adjust
2860
2861         * cursor.h:
2862         * cursor_slice.[Ch]: some integer type changes for inset unification
2863
2864         * lyxcursor.[hC]: remove, it's CursorSlice now.
2865
2866         * Makefile.am:
2867         * BufferView_pimpl.[Ch]:
2868         * bufferview_funcs.C:
2869         * cursor_slice.C:
2870         * lyxtext.h:
2871         * text.C:
2872         * text2.C:
2873         * text3.C:
2874         * textcursor.[Ch]: adjust
2875
2876 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * text2.C (undoSpan): add and use
2879         * text.C (breakParagraph): use undoSpan (fix bug 578)
2880         * lyxtext.h: adjust
2881
2882 2004-01-08  Angus Leeming  <leeming@lyx.org>
2883
2884         * BufferView_pimpl.C (MenuInsertLyXFile):
2885         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2886         * lyxfunc.C (menuNew, open, doImport):
2887         FileFilterList change to the FileDialog open and save functions.
2888
2889 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2890
2891         * ShareContainer.h: make isEqual and isUnique adaptable
2892
2893         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2894
2895 2004-01-07  Angus Leeming  <leeming@lyx.org>
2896
2897         * LyXAction.C:
2898         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2899
2900         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2901
2902         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2903         functions replacing find, replace and replaceAll.
2904
2905         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2906         LFUN_WORDFIND(FORWARD|BACKWARD).
2907
2908 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2909
2910         * text.C (breakParagraph): remove an outdated #warning
2911
2912 2004-01-07  André Pönitz  <poenitz@gmx.net>
2913
2914         * lyxfind.C: somewhat clearer logic
2915
2916         * text.C: prevent crash in cursorX on unitialized row cache
2917
2918 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * lyxcursor.[Ch] (operator>): add
2921         * textcursor.C (selStart, selEnd): use std::min and std::max
2922
2923 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2924
2925         * Chktex.C: include boost/format.hpp
2926
2927 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2928
2929         * InsetList.C: replace functor MathcIt with adaptable functor
2930         InsetTablePosLess
2931         (insetIterator): modify accordingly
2932
2933         * BranchList.h: move the BranchNamesEqual functor here from...
2934         * BranchList.C: ... to here
2935
2936         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2937         SameName and match.
2938         (add): replace a finding loop with std::find_if.
2939
2940 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * output_docbook.C: moving LatexParam functionality into
2943         .layout files
2944
2945 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2946
2947         * buffer.C: increment format to 229.
2948
2949 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2950
2951         * LaTeXFeatures.C:
2952         * lyx_sty.[Ch]: remove minipageindent_def
2953
2954         * LyXAction.C:
2955         * factory.C:
2956         * lfuns.h:
2957         * lyxfunc.C:
2958         * text3.C: remove LFUN_INSET_MINIPAGE
2959
2960 2003-12-28  Angus Leeming  <leeming@lyx.org>
2961
2962         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2963
2964 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * text2.C (setParagraph): fix off-by-one crash
2967
2968 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * output_docbook.C: header stuff for AGU
2971
2972 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * text2.C (redoCursor): remove
2975         * text.C:
2976         * text3.C:
2977         * BufferView_pimpl.C: remove calls to redoCursor and
2978         setCursor(cursor.par(), cursor.pos()) all around
2979
2980 2003-12-15  Angus Leeming  <leeming@lyx.org>
2981
2982         * buffer.C: up the format to 228.
2983
2984 2003-12-15  André Pönitz  <poenitz@gmx.net>
2985
2986         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2987         slices
2988
2989         * Makefile.am:
2990
2991         * BufferView_pimpl.C:
2992         * cursor.[Ch]:
2993         * lyxcursor.[Ch]:
2994         * rowpainter.[Ch]:
2995         * lyxtext.h:
2996         * text.C:
2997         * text2.C:
2998         * text3.C: adjust
2999
3000 2003-12-15  Angus Leeming  <leeming@lyx.org>
3001
3002         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3003         than getFromGUIName to manipulate the color.
3004
3005 2003-12-14  Angus Leeming  <leeming@lyx.org>
3006
3007         * BranchList.[Ch]: minimize the API.
3008         (Branch::getBranch, getColor): now return a 'const &'.
3009         (Branch::setSelected) now returns a bool set to true if the
3010         selection status changes.
3011         (BranchList::clear, size, getColor, setColor, setSelected,
3012         allBranches, allSelected, separator): removed.
3013         (BranchList::find): new functions, returning the Branch with
3014         the given name.
3015         (BranchList::add, remove): return a bool indicating that
3016         the operation was successful.
3017
3018         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3019         new InsetBranch::isBranchSlected member function.
3020
3021         * LColor.[Ch]: mimimize the API.
3022         (fill): renamed as addColor and made private.
3023         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3024         versions of these functions taking a string arg have been removed.
3025
3026         * bufferparams.C (readToken):
3027         * lyxfunc.C (dispatch):
3028         * lyxrc.C (read): changes due to the altered BranchList and
3029         LColor APIs.
3030
3031         * factory.C (createInset, readInset): changes due to altered
3032         InsetBranch c-tor.
3033
3034 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3035
3036         * factory.C:
3037         * lyxfunc.C: remove insetminipage. "minipage-insert"
3038         now produces a frameless minipage box inset.
3039
3040 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * textcursor.[Ch] (selStart,selEnd): add new methods
3043         remove selection::start, end, use LyXCursor::operator<
3044         * lyxcursor.[Ch] (operator<): add
3045         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3046         * BufferView.[Ch] (unsetXSel): add
3047         * text2.C (clearSelection): use unsetXSel,adjust
3048         * text.C: adjust
3049         * text3.C: adjust
3050         * rowpainter.C: adjust
3051         * bufferview_funcs.C (put_selection_at): adjust
3052
3053 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3054
3055         * BufferView_pimpl.C: small coord. correction
3056
3057 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3058
3059         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3060         dragging over the splash screen.
3061
3062 2003-12-11  Angus Leeming  <leeming@lyx.org>
3063
3064         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3065         as it is now handled in LyXText::dispatch.
3066
3067         * text3.C (doInsertInset): remove a level of nesting.
3068
3069 2003-12-11  Angus Leeming  <leeming@lyx.org>
3070
3071         * factory.C (createInset): changes due to the changed interface to
3072         InsetCommandMailer::string2params.
3073
3074 2003-12-10  Angus Leeming  <leeming@lyx.org>
3075
3076         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3077         'dialog-show-new-inset <inset name>'
3078
3079 2003-12-10  Angus Leeming  <leeming@lyx.org>
3080
3081         * buffer.C: up the format to 227.
3082
3083         * factory.C: the box inset is now identified simply by 'Box'.
3084
3085 2003-12-10  Angus Leeming  <leeming@lyx.org>
3086
3087         * buffer.C: up the format to 226.
3088
3089         * factory.C: the note inset is now identified simply by 'Note'.
3090
3091 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3092
3093         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3094         when a pit is enough. Standarize a couple of loops.
3095
3096 2003-12-05  Angus Leeming  <leeming@lyx.org>
3097
3098         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3099         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3100         data to the re-worked "log" dialog.
3101
3102 2003-12-03  André Pönitz  <poenitz@gmx.net>
3103
3104         * PosIterator.C:
3105         * iterators.C:
3106         * lyxtext.h:
3107         * output_latex.C:
3108         * paragraph_funcs.C:
3109         * text.C:
3110         * text2.C: use Inset::getText instead of Inset::getParagraph
3111
3112 2003-12-03  André Pönitz  <poenitz@gmx.net>
3113
3114         * buffer.[Ch]:
3115         * lyxtext.h:
3116         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3117         InsetText::read() as LyXText::read()
3118
3119 2003-12-02  Angus Leeming  <leeming@lyx.org>
3120
3121         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3122         type. Add a comment in the implementation that the function uses
3123         the stream's bad() function rather than fail() as the std::streams
3124         would do.
3125
3126 2003-12-02  André Pönitz  <poenitz@gmx.net>
3127
3128         * lyxlex.[Ch]: make interface more similar to std::stream
3129
3130         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3131
3132 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3133
3134         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3135
3136 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3137
3138         * vspace.[Ch]: remove VSpace::NONE
3139
3140 2003-12-01  André Pönitz  <poenitz@gmx.net>
3141
3142         * buffer.[Ch]:
3143         * lyxtext.h: move ParagraphList member to LyXText
3144         rename LyXText::ownerParagraphs to LyXText::paragraph
3145
3146         * CutAndPaste.C:
3147         * bufferview_funcs.C:
3148         * iterators.[Ch]:
3149         * lyx_cb.C:
3150         * paragraph.C:
3151         * rowpainter.C:
3152         * tabular.C:
3153         * text.C:
3154         * text2.C:
3155         * text3.C: adjust
3156
3157         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3158
3159         * undo.C: fix cursor positioning
3160
3161 2003-12-01  John Levon  <levon@movementarian.org>
3162
3163         * BufferView_pimpl.C: fix a crash on exit with
3164         a buffer open
3165
3166 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3167
3168         * BranchList.C: fix setSelected() method.
3169
3170 2003-11-28  André Pönitz  <poenitz@gmx.net>
3171
3172         * ParagraphParameters.[Ch]:
3173         * ParameterStruct.h: remove space above/below from Paragraph to
3174          InsetVSpace
3175
3176         * BufferView_pimpl.C:
3177         * factory.C:
3178         * lyxfunc.C:
3179         * lyxtext.h:
3180         * output_latex.C:
3181         * paragraph.C:
3182         * paragraph_funcs.C:
3183         * rowpainter.[Ch]:
3184         * text.C:
3185         * text2.C:
3186         * text3.C: adjust
3187
3188 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3189
3190         * factory.C: Syntax change for CharStyles
3191
3192 2003-11-28  André Pönitz  <poenitz@gmx.net>
3193
3194         * BufferView.[Ch]:
3195         * BufferView.[Ch]:
3196         * buffer.[Ch]:
3197         * buffer.[Ch]: move LyXText member
3198
3199 2003-11-28  André Pönitz  <poenitz@gmx.net>
3200
3201         * BufferView.[Ch]: make LyXText * text a private member
3202
3203         * BufferView_pimpl.C:
3204         * cursor.C:
3205         * iterators.C:
3206         * lyx_cb.C:
3207         * lyxfind.C:
3208         * lyxtext.h:
3209         * rowpainter.[Ch]:
3210         * text.C:
3211         * text2.C:
3212         * undo.C: adjust
3213
3214         * output_plaintext.C: cleanup
3215
3216 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3217
3218         * buffer.C:
3219         * lyxtextclass.[Ch]: parametrize SGML document header
3220
3221 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3222
3223         * converter.[Ch]:
3224         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3225         getFlavor().
3226
3227 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * text2.C (setFont): rework using PosIterator (no more recursive)
3230         (setCharFont): no more needed
3231         (setLayout): no more selection cursors fiddling (done by redoCursor)
3232         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3233         destroy remaining ones)
3234
3235 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3236
3237         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3238         * lyxtext.h: ditto
3239         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3240         selection cursors
3241         * lyxfunc.C: adjust
3242         * text3.C: adjust + re-allow multi par depth changes
3243         * textcursor.C: simplify a bit
3244
3245 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3246
3247         * src/buffer.C:
3248         * src/lyxlayout.C:
3249         * src/lyxlayout.h:
3250         * src/lyxtext.h:
3251         * src/output_docbook.C:
3252         * src/output_latex.C:
3253         * src/paragraph.C:
3254         * src/paragraph.h:
3255         * src/sgml.C:
3256         * src/sgml.h:
3257         * src/text2.C: Introducing a number of tags parametrizing various
3258         XML formats that we may want to support
3259
3260 2003-11-25  André Pönitz  <poenitz@gmx.net>
3261
3262         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3263
3264         * lyxtext.h (leftMargin/rightMargin): simplify interface
3265
3266         * rowpainter.C:
3267         * text.C:
3268         * text2.C:
3269         * text3.C: adjust
3270
3271 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3272
3273         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3274         master file to any child files. Fixes bug 546.
3275
3276 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3279
3280 2003-11-24  André Pönitz  <poenitz@gmx.net>
3281
3282         * rowpainter.C: simplification
3283
3284         * text2.C (updateCounters): remove call to redoParagraph on
3285         changed labels as this is far too expensive.
3286
3287 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * converter.C (convert): fix a crash: this function gets
3290         called with buffer == 0 from importer code.
3291
3292 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3293
3294         * text3.C (cursorPrevious): make sure that we do not compare
3295         iterators form different containers.
3296         (cursorNext): ditto
3297
3298         * rowpainter.C (paintSelection): make sure that we do not compare
3299         iterators from different containers.
3300
3301         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3302         iterators from different ParagraphList containers.
3303         [NEXT] ditto
3304
3305         * text2.C (LyXText): change order of initialization slightly
3306         (operator=): new function. copy all variables except cache_par_
3307         (moveUp): make sure that we do not compare iterators from
3308         different ParagraphList constainers.
3309         (moveDown): ditto
3310
3311         * text.C (firstPar): new function
3312         (lastPar): new function
3313         (endPar): new function
3314
3315         * lyxtext.h: move things around and group public functions, public
3316         variables, private functions, private variables
3317
3318 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3319
3320         * factory.C: change call to InsetERT constructor to avoid
3321         additional invocation of method status
3322         * text2.C (toggleInset): remove redundant update() call
3323         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3324         instead of a Bufferview pointer
3325
3326 2003-11-21  André Pönitz  <poenitz@gmx.net>
3327
3328         * rowpainter.C: simplification
3329
3330 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * text3.C (dispatch): make possible to extend a word/row selection
3333         with the mouse
3334
3335 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3336
3337         * lyxtext.h: x0_,y0_ -> xo_,yo_
3338         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3339         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3340         * rowpainter.C (paintRows): paint full paragraphs
3341
3342 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3343
3344         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3345         screen coordinates)
3346
3347 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3348
3349         * lyxtext.h: add x0_, y0_
3350         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3351         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3352
3353 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * text2.C (setCursorIntern): move the x_target update here *
3356         * text3.C: change some bv() to true/false in calls to
3357         cursorUp/Down/Right/Left
3358         * cursor.C: use helper function.
3359
3360 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3361
3362         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3363         * paragraph_funcs.[Ch]: correct comment
3364         * rowpainter.C: do not paint selections away from bv->cursor()
3365         Fix a long standing selection painting bug.
3366         * text3.C: generalize mouse-selection code to LyXTexts other that
3367         top one
3368         * textcursor.C: do not use y coords if we can use par offsets
3369
3370 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3371
3372         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3373         cursor position after e.g. inset insert)
3374
3375 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * lyxfind.C (replace): adjust to locking removal + some
3378         code simplification
3379
3380 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3383         of the path
3384
3385 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3386
3387         * lyxlayout.[Ch]:
3388         * output_docbook.C: XML sanitation: new layout
3389         parameters InnerTag and CommandDepth
3390
3391 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3392
3393         * BufferView_pimpl.C:
3394         * factory.C:
3395         * text3.C: Fix the insertion and modification of button-style
3396         insets
3397
3398 2003-11-13  André Pönitz  <poenitz@gmx.net>
3399
3400         * InsetList.[Ch]: remove deleteLyXText
3401
3402         * paragraph.[Ch]: cache beginOfBody position
3403
3404         * Bidi.C:
3405         * text.C:
3406         * text2.C:
3407         * text3.C: remove superfluous update() calls
3408
3409         * vspace.C: cleanup
3410
3411 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3412
3413         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3414         * BufferView.C (fitLockedInsetCursor): remove
3415         * cursor.[Ch] (getDim): add
3416         * text.C (getRowNearY): add faster version
3417         * text3.C: remove some update calls
3418
3419 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * LaTeXFeatures.C:
3422         * LyXAction.C:
3423         * MenuBackend.C:
3424         * MenuBackend.h:
3425         * dispatchresult.h:
3426         * factory.C:
3427         * lfuns.h:
3428         * lyxfunc.C:
3429         * lyxtextclass.C:
3430         * lyxtextclass.h:
3431         * text3.C: The Character Style /XML short element patch.
3432
3433 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3434
3435         * text3.C:
3436         * factory.C: Small step to solving 'unable to insert some insets'
3437         problem
3438
3439 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3440
3441         * cursor.[Ch] (updatePos): new function for updating the y
3442         position of the tip inset
3443         * bufferview_funcs.C (put_selection_at):
3444         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3445
3446 2003-11-11  André Pönitz  <poenitz@gmx.net>
3447
3448         * text.C: remove big comment on invalid Paragraph pointers as it is
3449         not valid anymore
3450
3451 2003-11-11  André Pönitz  <poenitz@gmx.net>
3452
3453         * text_funcs.[Ch]: merge with ...
3454
3455         * text.C: ... this
3456
3457         * lyxtext.h:
3458         * text2.C:
3459         * text3.C: adjust
3460
3461         * Makefile.am: remove text_funcs.[Ch]
3462
3463 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * cursor.C (getPos): return absolute cached y coord
3466
3467         * BufferView_pimpl.C (fitCursor): new simplistic code
3468         (workAreaDispatch): add a fitCursor call
3469
3470 2003-11-10  André Pönitz  <poenitz@gmx.net>
3471
3472         * BufferView.[Ch]:
3473         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3474
3475 2003-11-10  André Pönitz  <poenitz@gmx.net>
3476
3477         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3478         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3479         indicate that the cursor needs to leave an inset
3480
3481         * lyxtext.h: remove inset locking
3482
3483         * cursor.[Ch]: re-implement functionality provided by inset locking
3484
3485         * BufferView.[Ch]:
3486         * BufferView_pimpl.[Ch]:
3487         * LyXAction.C:
3488         * bufferview_funcs.[Ch]:
3489         * factory.C:
3490         * funcrequest.[Ch]:
3491         * iterators.C:
3492         * lyx_cb.C:
3493         * lyxfind.C:
3494         * lyxfunc.C:
3495         * text.C:
3496         * text2.C:
3497         * text3.C:
3498         * undo.C: adjust
3499
3500 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * PosIterator.[Ch]: replace the stack with a vector, add inset
3503         accesor
3504         * iterators.[C]: adjust
3505
3506 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3507
3508         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3509         replaced
3510         * paragraph_funcs.C (readParToken): put the correct id in the
3511         error item, not the id of the top paragraph
3512
3513 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3516         * bufferview_funcs.C (put_selection_at): use the above
3517
3518 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3521
3522 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523
3524         * output_linuxdoc.h:
3525         * output_plaintext.h:
3526         * output.h:
3527         * output_docbook.h: add #include statements
3528
3529 2003-11-05  José Matos  <jamatos@lyx.org>
3530
3531         * output_docbook.[Ch]:
3532         * output_latex.[Ch]:
3533         * output_linuxdoc.[Ch]:
3534         * output_plaintext.[Ch]: New files for output formats.
3535         * output.[Ch]: New file for helper functions.
3536
3537         * buffer.[Ch]:
3538         * paragraph_funcs.[Ch]: output functions moved to new files.
3539
3540         * outputparams.h: rename of latexrunparams.h
3541
3542         * LaTeX.[Ch]:
3543         * buffer.[Ch]:
3544         * bufferlist.[Ch]:
3545         * converter.[Ch]:
3546         * exporter.C:
3547         * paragraph.[Ch]:
3548         * paragraph_funcs.[Ch]:
3549         * paragraph_pimpl.[Ch]:
3550         * tabular.[Ch]: rename ascii to plaintext
3551         and LatexRunParams to OutputParams.
3552
3553 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * iterators.[Ch] (text): require bv argument
3556         * undo.C (recordUndo):
3557         * lyxfunc.C (dispatch):
3558         * bufferview_funcs.C (put_selection_at): adjust
3559
3560 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3561
3562         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3563
3564 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3567         nestings
3568
3569 2003-11-04  André Pönitz  <poenitz@gmx.net>
3570
3571         * cursor.[Ch]: restructure
3572
3573         * BufferView.[Ch]:
3574         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3575
3576         * iterators.[Ch] (asCursor): remove
3577
3578         * lfuns.h: remove LFUN_INSET_EDIT
3579
3580         * lyxfunc.C:
3581         * tabular.C:
3582         * text.C:
3583         * text2.C:
3584         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3585
3586 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * lyxfind.[Ch]: complete overhaul
3589         * BufferView_pimpl.C:
3590         * lyxfunc.C: adjust
3591         * paragraph.[Ch] (insert): add
3592
3593 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3594
3595         * BufferView.[Ch]:
3596         * lyxtext.h:
3597         * text.C: remove dead spellcheck code
3598
3599 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * dispatchresult.h: add a val setter
3602
3603         * cursor.C (dispatch): use a tempvar for data_[i]
3604
3605 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3606
3607         * PosIterator.[Ch]: compile fix
3608
3609 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * text.C (cursorPar): deactivate the cursor cache
3612
3613 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3616
3617 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * text3.C (dispatch): adjust for new DisptchResult semantics.
3620
3621         * lyxfunc.C (dispatch): handle update when return from
3622         Cursor::dispatch, adjust for new DispatchResult semantics.
3623
3624         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3625         DispatchResult(true) mean to not update. Add class functions for
3626         setting dispatched and update, as well as reading.
3627
3628         * cursor.C (dispatch): don't handle update here
3629
3630 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3633         * trans_mgr.C: adjust
3634
3635         * paragraph_funcs.C (readParToken): exception safety
3636
3637         * lyxvc.h: store the vcs pointer in a scoped_ptr
3638         * lyxvc.C: adjust
3639
3640         * lyxsocket.C (serverCallback): exception safety
3641
3642         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3643
3644         * ispell.C (clone): make it return a auto_ptr
3645
3646         * factory.C (createInset): exception safety
3647         (readInset): exception safety
3648
3649         * bufferlist.C (newBuffer): exception safety
3650
3651         * Thesaurus.C (Thesaurus): use initialization for aik_
3652
3653         * MenuBackend.C (expandToc): exception safety.
3654
3655 2003-11-03  André Pönitz  <poenitz@gmx.net>
3656
3657         * buffer.C:
3658         * buffer.h:
3659         * bufferview_funcs.C: remove getInsetFromId()
3660
3661         * lyxcursor.[Ch]:
3662         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3663
3664         * lyxfunc.C:
3665         * text2.C:
3666         * text3.C: adjust
3667
3668 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3669
3670         * PosIterator.C (distance, advance): new
3671         * bufferview_funcs.[Ch] (put_selection_at): new
3672         * iterators.[Ch] (lockPath): new
3673
3674 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * iterators.[Ch] (asPosIterator): added
3677         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3678         * PosIterator.[Ch]: added
3679
3680 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text3.C:
3683         * lyxfunc.C:
3684         * cursor.C (dispatch):
3685         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3686
3687         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3688         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3689         contructor, add a class function dispatched. Remove operator>=
3690
3691 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * debug.C: only use the default constructor for debugstream
3694         (lyxerr) here.
3695
3696         * main.C (main): include debug.h and setup the lyxerr streambuf
3697         here.
3698
3699 2003-10-31  José Matos  <jamatos@lyx.org>
3700
3701         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3702
3703         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3704         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3705         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3706         * paragraph_pimpl.C (simpleTeXSpecialC):
3707         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3708         add LatexRunParams argument.
3709
3710         * exporter.C (Export): change call accordingly.
3711
3712         * latexrunparams.h: add new member to take care of the other backends.
3713 2003-10-30  José Matos  <jamatos@lyx.org>
3714
3715         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3716         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3717         factorise code for paragraph output.
3718         * buffer.[Ch]:
3719         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3720         move functions.
3721
3722 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * text3.C (dispatch):
3725         * lyxfunc.C (dispatch):
3726         * cursor.C (dispatch):
3727         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3728
3729         * dispatchresult.h: make the dispatch_result_t ctor explicit
3730
3731 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3732
3733         * sgml.[Ch]:
3734         * buffer.C: small refactoring of docbook stuff
3735
3736 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3739         meaning.
3740
3741 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3744         operator dispatch_result_t, and operators for == != and >=
3745
3746         * cursor.C (dispatch): adjust for operator dispatch_result_t
3747         removal. comment out call to update
3748
3749         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3750
3751 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3752
3753         * text3.C:
3754         * text2.C:
3755         * text.C:
3756         * lyxtext.h:
3757         * lyxfunc.C:
3758         * cursor.C:
3759         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3760         (dispatch):
3761
3762         * dispatchresult.h: new file, DispatchResult broken out of
3763         insets/insetbase.h
3764
3765         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3766
3767 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * text.C (rowBreakPoint): put a hack inside #if 0
3770
3771 2003-10-28  André Pönitz  <poenitz@gmx.net>
3772
3773         * lyxtext.h:
3774         * metricsinfo.C:
3775         * paragraph_funcs.C:
3776         * rowpainter.C:
3777         * text.C:
3778         * text2.C: general cleanup (lots of small stuff)
3779
3780 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * text2.C (cursorEnd): simple fix to the "end key goes to one
3783         before the end on last row" bug
3784
3785 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * text.C (backspace): fix the "zombie characters"
3788
3789 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3792
3793 2003-10-27  André Pönitz  <poenitz@gmx.net>
3794
3795         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3796
3797         * factory.C: handle new InsetPagebreak, InsetLine
3798
3799         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3800         and move handling into new InsetPagebreak, InsetLine
3801
3802         * BufferView_pimpl.C:
3803         * LyXAction.C:
3804         * ParagraphParameters.C:
3805         * ParameterStruct.h:
3806         * lyxfunc.C:
3807         * lyxtext.h:
3808         * paragraph.C:
3809         * paragraph.h:
3810         * paragraph_funcs.C:
3811         * paragraph_pimpl.C:
3812         * rowpainter.C:
3813         * text.C:
3814         * text2.C:
3815         * text3.C: adjust
3816
3817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text.C:
3820         * lyxrow_funcs.[Ch]:
3821         * Bidi.C:
3822         * paragraph.C:
3823         * lyxtext.h:
3824         * rowpainter.C:
3825         * text2.C:
3826         * text3.C: remove lastPos uses in favour of Row::endpos
3827
3828 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3829
3830         * undo.C (performUndoOrRedo): fix two crashes by setting a
3831         cursor by hand and reordering some calls. Use bv->lockInset instead
3832         of inset->edit because the latter loses cursor information
3833
3834 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3835
3836         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3837         by Martin
3838         (rowBreakPoint): fix width. change point to point + 1.
3839         Add a missing check.
3840
3841 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * MenuBackend.C:
3844         * lyxfunc.C: fix (at least partly) the problems
3845         with the Nav menu and headers inside branch insets
3846         reported by Kayvan
3847
3848 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * paragraph.C (getChar): add strong asserts
3851
3852         * lyxrow_funcs.C (lastPos): remove hideous hack
3853
3854         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3855         (fill): adjust to that (avoid an infinite loop)
3856
3857 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3860
3861 2003-10-23  André Pönitz  <poenitz@gmx.net>
3862
3863         * RowList_fwd.h: change list<> to vector<> to gain speed
3864         after suggestion from Alfredo
3865
3866 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3867
3868         * lyxtext.h: move the bidi stuff from here...
3869         * text.C: and here
3870         * text2.C: and here
3871         * Bidi.[Ch]: ... to here
3872
3873 2003-10-23  André Pönitz  <poenitz@gmx.net>
3874
3875         * lyxtext.h:
3876         * text.C (isLastRow, isFirstRow): new functions
3877
3878         * paragraph.h: new width cache member
3879
3880         * rowpainter.C: replace RowList::iterator with Row & where possible
3881
3882         * lyxfunc.C: replace several view()->text with a single call
3883
3884         * toc.C: fix 'unused' warning
3885
3886 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3889         when woring with stream::pos_type
3890         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3891
3892 2003-10-22  André Pönitz  <poenitz@gmx.net>
3893
3894         * lyxtext.h:
3895         * text.C: use Row & instead of RowList::iterator
3896
3897         * lyxrow.h: rename end() to endpos()
3898
3899         * rowpainter.C:
3900         * text.C:
3901         * text2.C: adjust
3902
3903 2003-10-22  Angus Leeming  <leeming@lyx.org>
3904
3905         * buffer.[Ch] (fully_loaded): new member function, returning true
3906         only when the file has been loaded fully.
3907         Used to prevent the premature generation of previews and by the
3908         citation inset to prevent computation of the natbib-style label.
3909
3910         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3911         templates are all set up.
3912
3913         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3914
3915 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3916
3917         * text.C: fixed an "oops" in the "is a bit silly"
3918         bug fix
3919
3920 2003-10-21  André Pönitz  <poenitz@gmx.net>
3921
3922         * FuncStatus.[Ch]: small stuff, whitespace
3923
3924         * lyxfont.[Ch]: operator<<() for debug reasons
3925
3926         * lyxfunc.C:
3927         * lyxrow_funcs.C:
3928         * lyxtext.h: whitespace, spelling
3929
3930         * paragraph.C: naming of variables
3931
3932         * text.C:
3933         * text2.C: small stuff
3934
3935
3936 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3937
3938         * text.C: (1) finish off the inset display() work;
3939         (2) fix the "is a bit silly" bug (accessing char
3940         past end of par).
3941
3942 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3943
3944         * text.C: re-introduce display() for insets, fixing the
3945         various bugs (stretch of line above, math inset
3946         positioning, ...)
3947
3948 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3949
3950         * text.C (rightMargin): remove spurious semicolon
3951
3952         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3953         1415)
3954
3955 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3956
3957         * text3.C: fix one crash due to wrong cursor def
3958
3959 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * vc-backend.C (scanMaster): make the regex static
3962
3963         * LaTeX.C (scanAuxFile): make the regexs static
3964
3965         * text3.C (doInsertInset, dispatch, dispatch):
3966         * text2.C (cursorUp, cursorDown):
3967         * text.C (selectNextWordToSpellcheck):
3968         * BufferView_pimpl.C (dispatch):
3969         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3970
3971 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3972
3973         * lyxsocket.C: include <cerrno>
3974
3975 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * lyxfunc.C (dispatch): remove textcache stuff
3978
3979         * bufferlist.C (release): remove textcache stuff
3980         (closeAll): ditto
3981
3982         * TextCache.C: delete file
3983         * TextCache.h: delete file
3984
3985         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3986
3987         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3988         delete of the bv_->text.
3989         (resizeCurrentBuffer): remove texcache stuff
3990         (workAreaResize): ditto
3991
3992 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3995         action.
3996
3997 2003-10-16  André Pönitz  <poenitz@gmx.net>
3998
3999         * lyxrow.[Ch]:
4000         * paragraph.h:
4001         * rowpainter.C:
4002         * text.C:
4003         * text2.C:
4004         * text3.C: speed up by storing y positions per paragraph plus per-row
4005         offset instead of having a 'full' y position in the row.
4006
4007 2003-10-15  André Pönitz  <poenitz@gmx.net>
4008
4009         * iterators.[Ch]:
4010         * iterators.[Ch]:
4011         * undo.[Ch]: make undo aware of inner insets
4012
4013 2003-10-14  Angus Leeming  <leeming@lyx.org>
4014
4015         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4016         static member functions LyX::ref() and LyX::cref.
4017         (lastfiles): new accessor functions for the new lastfiles_ member var.
4018         (addLyXView, views_): add a new LyXView to the list of views_.
4019         (updateInset): loop over all LyXViews to call their own updateInset
4020         member function, returning a pointer to the Buffer owning the inset.
4021
4022         * BufferView_pimpl.C (loadLyXFile):
4023         * MenuBackend.C (expandLastfiles):
4024         * bufferlist.C (MenuWrite, QuitLyX):
4025         lastfiles is no longer a global variable.
4026         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4027
4028         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4029         static function. Access through LyX::cref().emergencyCleanup().
4030
4031 2003-10-14  André Pönitz  <poenitz@gmx.net>
4032
4033         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4034
4035         * undo.[Ch]: restoring part of 'undo in insets'
4036
4037         * Makefile.am:
4038         * undo_funcs.[Ch]: merge with undo.[Ch]
4039
4040         * tabular.C: small cleansing stuff
4041
4042 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4043
4044         * paragraph_funcs.C (readParToken): report unknown insets as error
4045         boxes. Use the outer paragraph as location (also for unknown
4046         tokens).
4047
4048         * factory.C (readInset): do not abort on reading an unknown inset.
4049         Eat it and return 0.
4050
4051 2003-10-13  Angus Leeming  <leeming@lyx.org>
4052
4053         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4054
4055         * lyxrc.C: displayTranslator is now a function,
4056         declared in GraphicsTypes.h.
4057
4058 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4059
4060         * format.C: new placeholder $$a to pass the socket address.
4061
4062         * bufferlist.[Ch]: new function getBufferFromTmp.
4063
4064         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4065           files in the temporary dir.
4066
4067 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4068
4069         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4070
4071         * Makefile.am: add lyxsocket.[Ch].
4072
4073         * lyx_main.C (error_handler): handle SIGPIPE.
4074
4075 2003-10-13  André Pönitz  <poenitz@gmx.net>
4076
4077         * BufferView_pimpl.C:
4078         * lyxtext.h:
4079         * text.C:
4080         * text2.C:
4081         * text3.C:
4082         * undo_funcs.[Ch]: use paroffset_type instead of
4083           ParagraphList::iterators to prevent multiple conversion
4084           (and get a more robust interface)
4085
4086 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4089         * lyxtext.h: ditto
4090         * text3.C (dispatch): ditto
4091
4092 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4095         move the onlyfile, use onlyfile instead of foundfile in a couple
4096         of places.
4097
4098         * DepTable.C (update): flush the error stream a bit more
4099
4100 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * lyxserver.C (callback): adjust
4103
4104         * lyxfunc.C (getStatus): add a missing brace in commented code
4105         (ensureBufferClean): reindent
4106         (dispatch): delete version taking a string
4107
4108 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * LaTeX.C (deplog): move found file handlig from here...
4111         (handleFoundFile): .. to new function here.
4112         (deplog): make sure to discover several files mentioned on the
4113         same log line.
4114
4115 2003-10-10  André Pönitz  <poenitz@gmx.net>
4116
4117         * lyxfunc.C:
4118         * lyxtext.h:
4119         * tabular.C:
4120         * text.C:
4121         * text2.C:
4122         * text3.C: fix some of the tabular crashes
4123
4124 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4125
4126         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4127
4128         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4129
4130 2003-10-09  André Pönitz  <poenitz@gmx.net>
4131
4132         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4133
4134         * BufferView.C:
4135         * BufferView_pimpl.C:
4136         * bufferview_funcs.C:
4137         * lyx_cb.C:
4138         * lyxcursor.C:
4139         * lyxfind.C:
4140         * lyxfunc.C:
4141         * lyxtext.h:
4142         * text.C:
4143         * text2.C:
4144         * text3.C:
4145         * text_funcs.[Ch]:
4146         * textcursor.[Ch]:
4147         * undo_funcs.C: adjust
4148
4149 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * text2.C (incrementItemDepth): new function, use a backtracking
4152         algorithm to discover the correct item depth.
4153         (resetEnumCounterIfNeeded): new function, use a backtracking
4154         algorithm to discover if counter reset is needed.
4155         (setCounter): use them. Simplify a bit. Add different labels for
4156         different item depths for itemize.
4157
4158         * paragraph.C (Paragraph): remove initialization of enumdepth
4159         (operator=): ditto
4160
4161         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4162         enumerate and itemize. Change the type of itemdepth to signed char.
4163
4164 2003-10-08  André Pönitz  <poenitz@gmx.net>
4165
4166         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4167           thing assignable.
4168         * text.C:
4169         * text2.C: adjust
4170
4171         * tabular.[Ch]: fix crash after 'row-insert'
4172
4173 2003-10-08  Angus Leeming  <leeming@lyx.org>
4174
4175         Fix doxygen warnings.
4176
4177         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4178         Remove CutAndPaste:: prefix from header file declaration.
4179
4180         * LColor.h (fill): remove LColor:: prefix from declaration.
4181
4182         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4183         use lyx::depth_type rather than Paragraph::depth_type so that
4184         header file and .C file match.
4185
4186         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4187
4188         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4189         * aspell.C: \file aspell_local.C -> \file aspell.C
4190         * gettext.C: \file gettext.C -> \file src/gettext.C
4191         * gettext.h: \file gettext.h -> \file src/gettext.h
4192         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4193         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4194         * text.C: \file text.C -> \file src/text.C
4195
4196         * toc.C: move comment so that doxygen is not confused.
4197
4198 2003-10-07  Angus Leeming  <leeming@lyx.org>
4199
4200         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4201
4202 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4203
4204         * aspell.C:
4205         * aspell_local.h: add forgotten std::string's.
4206
4207 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4208
4209         * LaTeXFeatures.C:
4210         * LyXAction.C:
4211         * factory.C:
4212         * lfuns.h:
4213         * lyxfunc.C:
4214         * text3.C: The Box patch. Fancybox support, minipage, parbox
4215
4216 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4217
4218         * CutAndPaste.h:
4219         * DepTable.h:
4220         * FloatList.h:
4221         * LaTeXFeatures.h:
4222         * ParagraphParameters.h:
4223         * TextCache.h:
4224         * Thesaurus.h:
4225         * bufferlist.h:
4226         * exporter.h:
4227         * importer.h:
4228         * lastfiles.h:
4229         * lyxfind.h:
4230         * lyxfont.h:
4231         * lyxlex.h:
4232         * lyxtextclasslist.h:
4233         * messages.h:
4234         * paragraph.h:
4235         * paragraph_pimpl.C:
4236         * textcursor.h: add <string> and other small fixes to make Lars'
4237         std::string patch compile with STLport.
4238
4239 2003-10-06  Angus Leeming  <leeming@lyx.org>
4240
4241         * LColor.h: Add missing #include <string>.
4242
4243 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * All most all file in all subdirs: Make <string> be the prefered
4246         way of getting to std::string, add using declarations.
4247
4248 2003-10-06  André Pönitz  <poenitz@gmx.net>
4249
4250         * metricsinfo.C: initialize LyXFont before changing attribute.
4251         (fixes the 'math in \emph is upright' bug)
4252
4253 2003-10-06  André Pönitz  <poenitz@gmx.net>
4254
4255         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4256
4257 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4258
4259         * graph.C:
4260         * paragraph_pimpl.C: Small fixes to build using STLport
4261
4262 2003-10-02  André Pönitz  <poenitz@gmx.net>
4263
4264         * lyxfunc.C:
4265         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4266
4267 2003-10-01  André Pönitz  <poenitz@gmx.net>
4268
4269         * factory.C: assert early
4270
4271 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4272
4273         * lyx_main.C: remove the global debug object
4274
4275         * debug.h: adjust for new debugstream
4276
4277         * debug.C: adjust for new debugstream and keep the global debug
4278         object here.
4279
4280 2003-09-22  Angus Leeming  <leeming@lyx.org>
4281
4282         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4283         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4284         an incomplete class LyXFont.
4285
4286 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4287
4288         * factory.C: bug fix in branches
4289
4290 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * lyxfunc.C (processKeySym): adjust
4293         (dispatch): adjust
4294         (dispatch): change arg name from ev to func, adjust
4295         (sendDispatchMessage): ditto
4296
4297         * lyx_main.C (defaultKeyBindings): adjust keybindings
4298         (deadKeyBindings): ditto
4299
4300         * kbsequence.C (addkey): return a FuncRequest
4301
4302         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4303
4304         * kbmap.C (bind): take a FuncRequest as arg, adjust
4305         (read): adjust
4306         (lookup): adjust
4307         (defkey): change to take a FuncRequest as arg, adjust
4308         (findbinding): take a FuncRequest as arg, adjust.
4309
4310         * funcrequest.h (operator=): added
4311
4312         * funcrequest.C (FuncRequest): default kb_action changed from
4313         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4314
4315         * buffer.C (dispatch): simplify
4316         (dispatch): adjust to take a FuncRequest as arg, adjust
4317
4318         * boost.C (assertion_failed): change assertion message slightly
4319
4320         * ToolbarBackend.C (read): simplify
4321
4322         * MenuBackend.C (binding): adjust call to findbinding, add a
4323         message if no binding is found.
4324         (read): simplify
4325         (expandToc): correct by adding a empty FuncRequest
4326
4327         * LyXAction.C: include <boost/assert.hpp>
4328         (isPseudoAction): delete function
4329         (LookupFunc): change name to...
4330         (lookupFunc): this. change return type to FuncRequest.
4331         (getActionName): take kb_action as arg, simplify
4332         (funcHasFlag): add an assert, simplify.
4333
4334 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * toc.C (action): return a FuncRequest, simplify
4337
4338         * lyxfunc.C (processKeySym): adjust
4339         (getStatus): delete version that takes an int.
4340         (getStatus): adjust
4341         (dispatch): delete version that takes action as int
4342         (dispatch): adjust
4343         (sendDispatchMessage): simplify and adjust
4344
4345         * funcrequest.C (getArg): take unsigned int as arg
4346
4347         * ToolbarBackend.C (read): adjust
4348         (add): delete version that takes func as a string.
4349         (getIton): take a FuncRequest as arg
4350
4351         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4352         action.
4353
4354         * MenuBackend.C (MenuItem): add a new construct that only takes a
4355         Kind, simplify the constructor use for submenus.
4356         (add): adjust
4357         (expandLastfiles): adjust
4358         (expandDocuments): adjust
4359         (expandFormats): adjust
4360         (expandFloatListInsert): adjust
4361         (expandFloatInsert): adjust
4362         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4363
4364         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4365         Remove class variables lyx_pseudo_map and lyx_arg_map
4366
4367         * LyXAction.C (searchActionArg): delete function
4368         (getPseudoAction): delete function
4369         (retrieveActionArg): delete function
4370         (LookupFunc): make it return kb_action, simplify.
4371         (getActionName): simplify
4372
4373         * factory.C (createInset): fix new bug
4374
4375 2003-09-19  Angus Leeming  <leeming@lyx.org>
4376
4377         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4378         masterFilename_ parameter in the include inset.
4379
4380         * factory.C (createInset): changes due to the changes to InsetInclude.
4381
4382 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4383
4384         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4385
4386 2003-09-18  Angus Leeming  <leeming@lyx.org>
4387
4388         * buffer.C:
4389         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4390         Inset::fillWithBibKeys.
4391         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4392
4393 2003-09-18  Angus Leeming  <leeming@lyx.org>
4394
4395         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4396         variables.
4397         (ctor): pass and store a 'Buffer const &'
4398         (buffer): new member function.
4399
4400         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4401         '*this' to the LaTeXFeatures ctor.
4402
4403 2003-09-18  Angus Leeming  <leeming@lyx.org>
4404
4405         * LColor.h:
4406         * lyxfont.C:
4407         * lyxfont.h:
4408         * lyxtext.h:
4409         * text.C: rename EnumLColor as LColor_color.
4410
4411 2003-09-18  Angus Leeming  <leeming@lyx.org>
4412
4413         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4414         remove #include "insets/insetbase.h" from cursor.h.
4415
4416 2003-09-18  Angus Leeming  <leeming@lyx.org>
4417
4418         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4419         InsetOld_code to remove #include "inset.h".
4420
4421         * iterators.C: add #include "insets/inset.h"
4422
4423 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4424
4425         * BufferView.C: remove more locking stuff that apparently doesn't
4426         do anything sensible.
4427
4428 2003-09-16  André Pönitz  <poenitz@gmx.net>
4429
4430         * paragraph.[Ch]:
4431         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4432           performance boost.
4433
4434 2003-09-16  Angus Leeming  <leeming@lyx.org>
4435
4436         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4437
4438         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4439         arg/return type.
4440
4441         * paragraph.h: remove #include "lyxfont.h". Forward declare
4442         LyXFont_size.
4443
4444 2003-09-16  Angus Leeming  <leeming@lyx.org>
4445
4446         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4447         of support/textutils.h.
4448         (isWord): move the contents of support/textutils.h's IsWordChar here.
4449
4450         * buffer.C:
4451         * lyxfind.C:
4452         * rowpainter.C:
4453         * text.C:
4454         * text2.C: add #include "paragraph.h".
4455
4456         * rowpainter.C:
4457         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4458
4459 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * main.C:
4462         * lyx_main.C:
4463         * lyx_cb.C:
4464         * buffer.C:
4465         * LaTeX.C: use namespace alias for lyx::support::os
4466
4467 2003-09-16  Angus Leeming  <leeming@lyx.org>
4468
4469         * bufferparams.C:
4470         * bufferview_funcs.C:
4471         * factory.C:
4472         * lyxfunc.C:
4473         * paragraph_pimpl.C:
4474         * rowpainter.C:
4475         * text.C: add #include "LColor.h".
4476
4477 2003-09-16  Angus Leeming  <leeming@lyx.org>
4478
4479         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4480         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4481         return LyXFont &.
4482         Store the FontBits::color variable as an int rather than as an
4483         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4484         file.
4485
4486         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4487         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4488         string calls together.
4489
4490         * lyxrc.C: add #include "LColor.h".
4491
4492 2003-09-15  Angus Leeming  <leeming@lyx.org>
4493
4494         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4495         a cow_ptr.
4496
4497 2003-09-15  Angus Leeming  <leeming@lyx.org>
4498
4499         * LColor.h: add an EnumLColor wrapper for LColor::color.
4500
4501         * lyxfont.[Ch] (color, setColor, realColor):
4502         * lyxtext.h, text.C (backgroundColor):
4503         pass EnumLColor args to/from the functions, rather than LColor::color
4504         ones.
4505
4506         * lyxfont.h:
4507         * lyxtext.h: forward declare EnumLColor.
4508
4509         * lyx_main.C: add #include "LColor.h".
4510
4511 2003-09-15  Angus Leeming  <leeming@lyx.org>
4512
4513         * .cvsignore: add lyx-gtk.
4514
4515 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * Chktex.C
4518         * LaTeX.C
4519         * LaTeXFeatures.C
4520         * ParagraphParameters.C
4521         * Spacing.C
4522         * buffer.C
4523         * bufferparams.C
4524         * bufferview_funcs.C
4525         * chset.C
4526         * counters.C
4527         * funcrequest.C
4528         * lyxfont.C
4529         * lyxgluelength.C
4530         * lyxlength.C
4531         * paragraph.C
4532         * paragraph_funcs.C
4533         * text3.C
4534         * vc-backend.C: remove usage of STRCONV
4535
4536 2003-09-15  Angus Leeming  <leeming@lyx.org>
4537
4538         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4539         explicitly define the color passed to the painter.
4540
4541 2003-09-15  Angus Leeming  <leeming@lyx.org>
4542
4543         * bufferparams.C (BufferParams): reorder member initializers to avoid
4544         compiler warning.
4545
4546 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4549         * text.C (updateRowPositions): remove an unusual nop
4550
4551 2003-09-12  André Pönitz  <poenitz@gmx.net>
4552
4553         * BufferView_pimpl.C:
4554         * Bullet.C:
4555         * layout.h:
4556         * lyxfunc.C:
4557         * lyxlayout.[Ch]:
4558         * lyxtextclass.C:
4559         * rowpainter.C:
4560         * text.C:
4561         * text2.C:
4562         * Counters.[Ch]: finish the 'automatic counters' job
4563
4564 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4565
4566         * aspell.C: include <boost/assert.cpp> (compile fix)
4567
4568 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4569
4570         * boost.C (assertion_failed): use lyx::support::abort instead of
4571         assert.
4572
4573 2003-09-10  Angus Leeming  <leeming@lyx.org>
4574
4575         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4576         with their _fwd progeny.
4577
4578 2003-09-09  Angus Leeming  <leeming@lyx.org>
4579
4580         134 files throughtout the source tree: replace 'using namespace abc;'
4581         directives with the appropriate 'using abc::xyz;' declarations.
4582
4583 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4584
4585         * boost.C (emergencyCleanup): moved here from LAssert.c
4586         (assertion_failed): new function, called by BOOST_ASSERT
4587
4588         * several files: change Assert to BOOST_ASSERT
4589
4590 2003-09-09  Angus Leeming  <leeming@lyx.org>
4591
4592         * buffer.[Ch]: Add an Impl class and move Buffer's member
4593         variables into it. As a result move several header files out of
4594         buffer.h.
4595
4596         Add header files to lots of .C files all over the tree as a result.
4597
4598 2003-09-09  Angus Leeming  <leeming@lyx.org>
4599
4600         * buffer.[Ch]: make Buffer's member variables private. Add
4601         accessor functions.
4602
4603         Lots of changes all over the tree as a result.
4604
4605 2003-09-08  Angus Leeming  <leeming@lyx.org>
4606
4607         * graph.C: #include <config.h>.
4608
4609 2003-09-08  Angus Leeming  <leeming@lyx.org>
4610
4611         * BranchList.C:
4612         * BufferView.C:
4613         * BufferView_pimpl.C:
4614         * CutAndPaste.C:
4615         * DepTable.C:
4616         * LaTeX.C:
4617         * LaTeXFeatures.C:
4618         * LyXAction.C:
4619         * MenuBackend.C:
4620         * TextCache.C:
4621         * aspell.C:
4622         * buffer.C:
4623         * bufferlist.C:
4624         * changes.C:
4625         * chset.C:
4626         * converter.C:
4627         * counters.C:
4628         * debug.C:
4629         * graph.C:
4630         * ispell.C:
4631         * lyx_cb.C:
4632         * lyxfind.C:
4633         * lyxfunc.C:
4634         * lyxlex_pimpl.C:
4635         * lyxrc.C:
4636         * lyxrow.C:
4637         * paragraph.C:
4638         * rowpainter.C:
4639         * texrow.C:
4640         * text.C:
4641         * text2.C:
4642         * toc.C: remove redundant using directives.
4643
4644 2003-09-07  Angus Leeming  <leeming@lyx.org>
4645
4646         * LaTeXFeatures.h: remove #include "support/types.h".
4647         * ToolbarBackend.h: remove #include <algorithm>.
4648         * changes.h: remove #include <ctime>.
4649         * debug.h: remove #include <iosfwd>.
4650         * graph.h: remove #include "support/std_string.h".
4651         * lyx_main.h: remove #include <csignal>.
4652         * lyxlex_pimpl.h: remove #include <fstream>.
4653         * sgml.h: remove #include <algorithm>, <utility>.
4654         * toc.h: remove #include "support/std_ostream.h".
4655         Add #include <iosfwd>.
4656
4657 2003-09-07  Angus Leeming  <leeming@lyx.org>
4658
4659         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4660
4661         * converter.h: forward declare LatexRunParams.
4662         * encoding.h: remove #include "lyxrc.h".
4663         * lyxtext.h: remove #include "LColor.h".
4664         * lyxtextclass.h: remove #include "support/types.h".
4665         * trans.h: remove #include "tex-accent.h".
4666         * trans_mgr.h: remove #include "tex-accent.h".
4667         * insets/inset.h: remove #include "support/types.h", <vector>.
4668         * insets/insetcollapsable.h: remove #include "LColor.h".
4669         * insets/insetinclude.h: remove #include "dimension.h".
4670         * insets/insetlatexaccent.h: remove #include "dimension.h".
4671         * insets/insetoptarg.h:: remove #include "insettext.h".
4672         * insets/insettext.h: remove #include "dimension.h",
4673         <boost/shared_ptr.hpp>
4674
4675         * insets/renderers.h: add #include "dimension.h".
4676         * insets/updatableinset.h: add #include "support/types.h".
4677
4678         * many .C files: Associated changes.
4679
4680 2003-09-06  Angus Leeming  <leeming@lyx.org>
4681
4682         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4683         one, inside testInvariant.
4684
4685         * PrinterParams.C: new file.
4686         * PrinterParams.[Ch]: move the function bodies out of line.
4687
4688 2003-09-06  Angus Leeming  <leeming@lyx.org>
4689
4690         * ParagraphParameters.h: forward declare ParameterStruct rather than
4691         including its header file.
4692         (depth): moved out-of-line.
4693
4694 2003-09-06  Angus Leeming  <leeming@lyx.org>
4695
4696         * BufferView_pimpl.h:
4697         * kbmap.h:
4698         * kbsequence.h:
4699         * lyxfunc.h: forward declare LyXKeySym rather than
4700         #include "frontends/LyXKeySym.h".
4701
4702         * BufferView_pimpl.C:
4703         * kbmap.C:
4704         * kbsequence.C:
4705         * lyxfunc.C: associated changes.
4706
4707 2003-09-06  Angus Leeming  <leeming@lyx.org>
4708
4709         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4710         As a result, can remove the #include "insets/inset.h" from BufferView.h
4711
4712 2003-09-06  Angus Leeming  <leeming@lyx.org>
4713
4714         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4715         As a result, can remove the #include "insets/inset.h" from BufferView.h
4716
4717 2003-09-06  Angus Leeming  <leeming@lyx.org>
4718
4719         * buffer_funcs.C:
4720         * buffer.h:
4721         * bufferlist.C:
4722         * BufferView.C:
4723         * bufferview_funcs.C:
4724         * BufferView_pimpl.C:
4725         * CutAndPaste.C:
4726         * lyx_cb.C:
4727         * lyxfunc.C:
4728         * paragraph.h:
4729         * ParagraphParameters.C:
4730         * tabular.C:
4731         * text3.C:
4732         * toc.C:
4733         * undo_funcs.C:
4734         * frontends/controllers/ControlDocument.C:
4735         * insets/insetcaption.C: rearrange the #includes into some sort of
4736         coherent order.
4737
4738         * buffer.h: remove #includes ErrorList.h, undo.h
4739
4740 2003-09-06  Angus Leeming  <leeming@lyx.org>
4741
4742         * support/types.h: add a 'depth_type' typedef, used to store the
4743         nesting depth of a paragraph.
4744
4745         * paragraph.h:
4746         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4747         defining explicitly.
4748
4749         * buffer.h:
4750         * paragraph_funcs.h:
4751         * ParagraphParameters.h:
4752         * sgml.h: use lyx::depth_type rather than Paragraph or
4753         ParameterStruct's depth_type.
4754
4755         * buffer.h
4756         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4757
4758         * BufferView.C:
4759         * BufferView_pimpl.C:
4760         * CutAndPaste.C:
4761         * ParagraphParameters.C:
4762         * buffer_funcs.C:
4763         * bufferlist.C:
4764         * bufferview_funcs.C:
4765         * lyx_cb.C:
4766         * lyxfunc.C:
4767         * tabular.C:
4768         * text3.C:
4769         * toc.C:
4770         * undo_funcs.C:
4771         * frontends/LyXView.C:
4772         * frontends/controllers/ControlDocument.C:
4773         * frontends/controllers/ControlErrorList.C:
4774         * insets/insetbibitem.C:
4775         * insets/insetbranch.C:
4776         * insets/insetcaption.C:
4777         * insets/insetcollapsable.C:
4778         * insets/insetenv.C:
4779         * insets/insetert.C:
4780         * insets/insetfloat.C:
4781         * insets/insetfoot.C:
4782         * insets/insetfootlike.C:
4783         * insets/insetnewline.C:
4784         * insets/insetquotes.C:
4785         * insets/insettabular.C:
4786         * insets/insettext.C:
4787         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4788
4789         * frontends/controllers/ControlChanges.C: #include "changes.h".
4790
4791 2003-09-06  Angus Leeming  <leeming@lyx.org>
4792
4793         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4794         than #including paragraph.h.
4795
4796         * ParagraphList.h:
4797         * RowList.h: deleted. Superfluous.
4798
4799         * CutAndPaste.h:
4800         * iterators.h:
4801         * lyxcursor.h:
4802         * lyxtext.h:
4803         * text_funcs.h:
4804         * undo.h:
4805         * undo_funcs.h:
4806         * insets/inset.h:
4807         * insets/insettext.h: use ParagraphList_fwd.h rather than
4808         ParagraphList.h.
4809
4810         * paragraph.h: don't forward declare ParagraphList.
4811
4812         * buffer.h:
4813         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4814         rather than ParagraphList.h. paragraph.h is still needed for the
4815         Paragraph::depth_type parameters.
4816
4817         * textcursor.h: enable it to compile stand-alone in light of the
4818         above changes.
4819
4820         * bufferview_funcs.C:
4821         * iterators.C:
4822         * lyxfunc.C:
4823         * lyxrow_funcs.C:
4824         * paragraph.C:
4825         * rowpainter.C:
4826         * text.C:
4827         * text2.C:
4828         * text3.C:
4829         * text_funcs.C:
4830         * textcursor.C:
4831         * undo.C:
4832         * frontends/controllers/ControlParagraph.C:
4833         * frontends/controllers/ControlTabular.C:
4834         * insets/insetmarginal.C:
4835         * insets/insetminipage.C:
4836         * insets/insetnote.C:
4837         * insets/insetoptarg.C: add header files needed to compile again.
4838
4839 2003-09-06  Angus Leeming  <leeming@lyx.org>
4840
4841         * RowList_fwd.h: new file, forward-declaring Row rather than
4842         #including lyxrow.h.
4843
4844         * lyxrow_funcs.h:
4845         * lyxtext.h:
4846         * paragraph.h:
4847         * insets/insettext.h: use it instead of RowList.h
4848
4849         * bufferview_funcs.C:
4850         * lyxfunc.C:
4851         * lyxrow_funcs.C:
4852         * paragraph.C:
4853         * rowpainter.C:
4854         * text.C:
4855         * text2.C:
4856         * text3.C: #include "RowList.h".
4857
4858 2003-09-05  Angus Leeming  <leeming@lyx.org>
4859
4860         * factory.C (createInset):
4861         * vspace.C (c-tor): replace sscanf call with an istringstream.
4862         * ispell.C: re-add missing HP/UX headers.
4863         * lyxserver.C: re-add missing  os2 headers.
4864
4865 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4866
4867         * BranchList.C:
4868         * graph.C:
4869         * ispell.C:
4870         * lastfiles.C:
4871         * lyx_cb.C:
4872         * lyxserver.C:
4873         * texrow.C:
4874         * text3.C: re-add missing system headers, needed for 2.95.2.
4875
4876 2003-09-05  Angus Leeming  <leeming@lyx.org>
4877
4878         Changes most place everywhere due to the removal of using directives
4879         from support/std_sstream.h.
4880
4881 2003-09-05  Angus Leeming  <leeming@lyx.org>
4882
4883         Replace LString.h with support/std_string.h,
4884         Lsstream.h with support/std_sstream.h,
4885         support/LIstream.h with support/std_istream.h,
4886         support/LOstream.h with support/std_ostream.h.
4887
4888         Changes resulting throughout the tree.
4889
4890 2003-09-05  Angus Leeming  <leeming@lyx.org>
4891
4892         * sgml.h: ensure that the header file can be compiled stand-alone.
4893         * *.C: strip out redundant #includes. (320 in total.)
4894
4895 2003-09-04  Angus Leeming  <leeming@lyx.org>
4896
4897         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4898         here (from getPackages).
4899
4900         * debug.[Ch]: add a new EXTERNAL tag.
4901
4902 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4903
4904         * text2.C (cursorEnd): simplify
4905         (setCursor): adjust
4906         (getColumnNearX): adjust
4907
4908         * text.C (computeBidiTables): adjust
4909         (fill): adjust
4910
4911         * rowpainter.C (paintChars): adjust
4912         (paintSelection): adjust
4913         (paintChangeBar): adjust
4914         (paintText): adjust
4915
4916         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4917         lastPos instead.
4918         (numberOfSeparators): adjust
4919
4920 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4921
4922         * LyXAction.C:
4923         * box.[Ch]:
4924         * lfuns.h:
4925         * lyxfunc.C:
4926         * text3.C: Restricts the mouse click functionality
4927         of insets like bibtex, include, toc and floatlist to the visible
4928         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4929         up the dialogs. Cursor has to be in front of the inset (i.e.
4930         start of row) for this to function.
4931
4932 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4933
4934         * bufferview_funcs.C (currentState): output row information
4935
4936 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4937
4938         * bufferview_funcs.C (currentState): output paragraph position
4939
4940 2003-09-04  Angus Leeming  <leeming@lyx.org>
4941
4942         * FloatList.h: move out #include "Floating.h".
4943         * LaTeX.h: move out #include "DepTable.h".
4944         * LyXAction.h: move out #include "funcrequest.h".
4945         * buffer.h: move out #include "author.h", "iterators.h".
4946         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4947         * lyx_main.h: move out #include "errorlist.h".
4948         * lyxfunc.h: move out #include "FuncStatus.h".
4949         * lyxtext: move out #include "lyxcursor.h".
4950         * paragraph_pimpl.h: move out #include "counters.h".
4951
4952 2003-09-03  Angus Leeming  <leeming@lyx.org>
4953
4954         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4955         preamble_snippets list, enabling us to add snippets to the preamble
4956         only if the snippet was not there already.
4957
4958 2003-09-04  Angus Leeming  <leeming@lyx.org>
4959
4960         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4961
4962 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4965         update
4966
4967 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4968
4969         * BranchList.C: point fix, earlier forgotten
4970
4971 2003-09-02  Angus Leeming  <leeming@lyx.org>
4972
4973         * box.C (contains): renamed from 'contained' after a fantastic
4974         amount of hot air.
4975
4976 2003-09-02  John Levon  <levon@movementarian.org>
4977
4978         * BufferView.C:
4979         * lyxcursor.h:
4980         * lyxcursor.C:
4981         * lyxfunc.C:
4982         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4983
4984 2003-09-02  John Levon  <levon@movementarian.org>
4985
4986         * text2.C: simplification of cursorEnd(), including partial
4987         fix for bug 1376
4988
4989 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * buffer.C (readFile): add a space
4992
4993 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4996
4997 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * buffer.C (readFile): new function, take a filename and a
5000         ParagraphList::iterator
5001         (readFile): adjust
5002         (readFile): adjust, make it private. don't use setStream, make
5003         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5004         always contain the filename.
5005
5006         * BufferView.C (insertLyXFile): simplify and make it work for
5007         gzipped files.
5008
5009 2003-08-30  John Levon  <levon@movementarian.org>
5010
5011         * Makefile.am: fix dist (from Kayvan)
5012
5013 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * most files: change to use const Buffer refs
5016
5017 2003-08-27  André Pönitz  <poenitz@gmx.net>
5018
5019         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5020         on top of ownerPar().
5021
5022 2003-08-27  John Levon  <levon@movementarian.org>
5023
5024         * funcrequest.C: properly initialise POD members
5025
5026 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5027
5028         * lyxtext.h (top_y): move top_y from here
5029         * text.C:
5030         * text2.C:
5031         * text3.C:
5032         * BufferView.[Ch]:
5033         * BufferView_pimpl.[Ch]: to here
5034         * frontends/screen.C:
5035         * insets/insettabular.C:
5036         * insets/insettext.C: adjust
5037         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5038
5039 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * BufferView.[Ch]:
5042         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5043
5044 2003-08-26  André Pönitz  <poenitz@gmx.net>
5045
5046         * paragraph_func.[Ch] (outerPar): new function
5047
5048         * paragraph.C:
5049         * paragraph_funcs.C:
5050         * paragraph_funcs.h:
5051         * paragraph_pimpl.C:
5052         * text2.C: remove Inset::par_owner
5053
5054 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5055
5056         * lyxrow_funcs.C:
5057         * lyxtext.h:
5058         * text.C:
5059         * text2.C: eliminates the needFullRow/display() stuff
5060         altogether, putting the logic in metrics/draw in the insets.
5061
5062 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * text2.C (redoParagraphInternal, redoParagraphs):
5065         * text.C (redoParagraph): add a call to updateRowPositions at the
5066         end of each 'metrics-like' call. Remove all others.
5067         (getRow): remove the 'y-computing' version.
5068         (getRowNearY): do not compute nor return the real y. Solve the
5069         'y < 0' problem and simplify.
5070
5071 2003-08-22  Angus Leeming  <leeming@lyx.org>
5072
5073         * *.[Ch]: clean-up of licence and author blurbs.
5074         Also move config.h out of a few .h files and into a few .C files.
5075
5076 2003-08-22  André Pönitz  <poenitz@gmx.net>
5077
5078         * lyxrow.[Ch]: add x_ and *fill_ members
5079
5080         * lyxtext.h:
5081         * text.C:
5082         * rowpainter.C:
5083         * text2.C: adjust/remove prepareToPrint() calls
5084
5085 2003-08-22  André Pönitz  <poenitz@gmx.net>
5086
5087         * lyxrow.[Ch]: add  end_ member
5088
5089         * lyxrow_funcs.C: use LyXRow::end_
5090
5091         * lyxtext.h (singleWidth): add LyXFont parameter
5092
5093         * rowpainter.C:
5094         * text2.C: adjust LyXText::singleWidth() calls
5095
5096         * text.C (redoParagraph): simplify row breaking logic
5097
5098
5099 2003-08-19  André Pönitz  <poenitz@gmx.net>
5100
5101         * funcrequest.C: initialize button_ member
5102
5103         * text3.C:
5104         * rowpainter.[Ch]: interface consolidation
5105
5106 2003-08-18  André Pönitz  <poenitz@gmx.net>
5107
5108         * BufferView.C:
5109         * BufferView_pimpl.C:
5110         * lyxfind.C:
5111         * paragraph_funcs.C:
5112         * rowpainter.C:
5113         * text3.C: remove LyXScreen::draw() and fitCursor calls
5114
5115         * BranchList.h: remove spurious semicolons
5116
5117         * MenuBackend.C: fix branchlist related crash
5118
5119 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * BranchList.[Ch]:
5122         * InsetList.[Ch]:
5123         * LColor.[Ch]:
5124         * LyXAction.C:
5125         * Makefile.am:
5126         * MenuBackend.[Ch]:
5127         * bufferparams.[Ch]:
5128         * factory.C:
5129         * lfuns.h:
5130         * lyxfunc.C:
5131         * text3.C: implements the 'branch inset'
5132         idea. This allows the output of various versions of a document
5133         from a single source version, selectively outputing or suppressing
5134         output of parts of the text.
5135         This implementation contains a 'branch list editor' in a separate
5136         tab of the document settings dialog. Branches are user definable
5137         and have a "display colour" to distinguish them on-screen.
5138
5139         ColorHandler was somewhat cleaned up.
5140         (1) make possible a dynamically growing LColor list by allowing
5141         the graphic context cache to grow along (vector);
5142         (2) eliminate an IMHO unnecessary step in colour allocation.
5143
5144 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5145
5146         * BufferView_pimpl.C: compile fix
5147
5148 2003-08-15  André Pönitz  <poenitz@gmx.net>
5149
5150         * rowpainter.C: remove extra metrics calls
5151
5152         * lyxtext.h: merge the two constructors into a single one,
5153           pass reference to owner's par list
5154
5155         * BufferView_pimpl.C:
5156         * text.C:
5157         * text2.C: adjust
5158
5159 2003-08-15  André Pönitz  <poenitz@gmx.net>
5160
5161         * lyxrow_funcs.[Ch]:
5162         * lyxtext.h:
5163         * paragraph.h:
5164         * paragraph_funcs.C:
5165         * rowpainter.C:
5166         * text.C:
5167         * text2.C:
5168         * text3.C:
5169         * text_funcs.C: split LyXText::rowlist_ into individual
5170         Paragraph::rows_ chunks
5171
5172         * BufferView.[Ch]:
5173         * BufferView_pimpl.[Ch]:
5174         * lyxfind.C:
5175         * lyxtext.h:
5176         * text3.C: remove toggleSelection()
5177
5178 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5179
5180         * bufferlist.C: beautify two alerts (shorter text of buttons)
5181         * buffer.C: Remove redundant ' ' from message
5182         * tabular.h:
5183         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5184         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5185         rename VALIGN_CENTER to VALIGN_MIDDLE
5186
5187 2003-08-11  André Pönitz  <poenitz@gmx.net>
5188
5189         * lyxtext.h (getPar):
5190         * text.C: new function
5191
5192 2003-08-11  André Pönitz  <poenitz@gmx.net>
5193
5194         * Makefile.am:
5195         * tracer.[Ch]: remove unneeded files
5196
5197         * InsetList.[Ch]: remove resizeInsetsLyXText()
5198
5199         * lyxtext.h:
5200         * text.C:
5201         * text2.C:
5202         * text3.C: merge insertParagraphs() and appendParagraph()
5203         remove breakAgain(), update()
5204
5205         * BufferView_pimpl.[Ch]:
5206         * bufferview_funcs.[Ch]:
5207         * lyxfunc.C:
5208         * paragraph.[Ch]:
5209         * rowpainter.C:
5210         * tabular.C: adjust after text & InsetList changes.
5211
5212 2003-08-08  André Pönitz  <poenitz@gmx.net>
5213
5214         * text.C (insertChar, backspace): replace rowlist fiddling
5215         with rebreak of full par
5216
5217         * lyxtext.h:
5218         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5219         checkParagraph, updateInset): removed
5220
5221 2003-08-07  André Pönitz  <poenitz@gmx.net>
5222
5223         * paragraph.C:
5224         * text3.C: merge some LFUN handlers, remove dead code
5225
5226 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5227
5228         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5229
5230 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * text2.C (DEPM): fix part of bug 1255 and 1256
5233
5234 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5235
5236         * BufferView_pimpl.C (workAreaDispatch): change to use
5237         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5238         that are no mouse related.
5239
5240 2003-08-05  André Pönitz  <poenitz@gmx.net>
5241
5242         * BufferView.[Ch]:
5243         * BufferView_pimpl.[Ch]:
5244         * bufferview_funcs.C:
5245         * text2.C:
5246         * text3.C: rip out "deep update"
5247
5248         * textcursor.[Ch] (last_sel_cursor): remove unused member
5249
5250 2003-08-04  André Pönitz  <poenitz@gmx.net>
5251
5252         * BufferView.[Ch]:
5253         * BufferView_pimpl.[Ch]:
5254         * ParagraphParameters.C:
5255         * bufferview_funcs.C:
5256         * lyx_cb.C:
5257         * lyxfind.C:
5258         * lyxfunc.C:
5259         * text.C:
5260         * text2.C:
5261         * text3.C: replace "complicated" BufferView::update(...) calls with
5262         simpler ones.
5263
5264         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5265
5266 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5267
5268         * Makefile.am (lyx_SOURCES): add paper.h
5269
5270 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5271
5272         * Makefile.am: move things around so that both lyx-qt and
5273         lyx-xforms can be built (according to --with-frontend). Then lyx
5274         is a symbolic link to lyx-[firstfrontend]
5275
5276 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5277
5278         * Always use std::endl with lyxerr
5279
5280 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5281
5282         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5283
5284 2003-08-01  André Pönitz  <poenitz@gmx.net>
5285
5286         * BufferView.[Ch]:
5287         * BufferView_pimpl.[Ch]:
5288         * lyxfunc.C:
5289         * text3.C: merge BufferView::repaint() and BufferView::update()
5290
5291 2003-08-01  José Matos  <jamatos@lyx.org>
5292
5293         * buffer.[Ch]: file_format is no longer a buffer data element.
5294
5295 2003-08-01  André Pönitz  <poenitz@gmx.net>
5296
5297         * BufferView.C:
5298         * lyxtext.h:
5299         * text.C:
5300         * text2.C: make redoParagraph more independent of current cursor
5301
5302         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5303         * text.C:
5304         * text2.C: remove unneeded members
5305
5306 2003-07-30  André Pönitz  <poenitz@gmx.net>
5307
5308         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5309
5310         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5311           create a single function...
5312
5313         * paragraph_funcs.C (moveItem): ... here.
5314
5315         * text.C:
5316           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5317
5318 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * LColor.[Ch]: Add comment and greyedout logical colors.
5321
5322 2003-07-30  André Pönitz  <poenitz@gmx.net>
5323
5324         * tabular.C: don't use Assert too heavily. This crashes where it
5325           shouldn't
5326
5327 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5330         is disabled (bug 1232)
5331
5332 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5333
5334         * factory.C: limited 'arg' scope
5335
5336 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5337
5338         * factory.C: fixed Note submenu issues
5339
5340 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5341
5342         * factory.C: submenu for Note/Comment/Greyedout
5343
5344 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5345
5346         * lyx_main.C (LyX):
5347         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5348
5349 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5350
5351         * LaTeXFeatures.C:
5352         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5353         greyedout. Patch provided by Jürgen Spitzmüller.
5354
5355 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5356
5357         * kbmap.C (read): fix error message when reading bind files
5358
5359 2003-07-29  Angus Leeming  <leeming@lyx.org>
5360
5361         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5362         certainly does not do what it purports to do. I am doing it, and
5363         us, a favour by killing it.
5364
5365 2003-07-28  José Matos  <jamatos@lyx.org>
5366
5367         * buffer.C (readBody, do_writeFile):
5368         * paragraph.C(readParagraph): \end_document replaces \the_end.
5369
5370 2003-07-29  André Pönitz  <poenitz@gmx.net>
5371
5372         * BufferView.[Ch]:
5373         * BufferView_pimpl.[Ch]:
5374         * lyxfunc.C:
5375         * text2.C:
5376         * text3.C:
5377         * textcursor.[Ch]: remove toggleToggle & Co
5378
5379 2003-07-28  José Matos  <jamatos@fep.up.pt>
5380
5381         * buffer.C (readParagraph):
5382         * params_func (readParToken, readParagraph):
5383         * paragraph.C (write): \layout -> \begin_layout.
5384
5385 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxlex_pimpl.C (setFile): clean up slightly.
5388
5389         * bufferparams.h: add compressed var
5390
5391         * buffer_funcs.C (readFile): adjust for LyXLex change
5392         (newFile): ditto + simplify
5393
5394         * buffer.C (writeFile): handle writing of compressed files
5395
5396         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5397         Check if the file is compressed and set a bufferparm if so.
5398
5399         * Makefile.am (lyx_LDADD): remove explicit -lz
5400
5401 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5402
5403         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5404         makeDocBookFile): put the real LyX version in the first line of
5405         the file
5406
5407         * version.h:
5408         * version.C.in: remove lyx_docversion
5409
5410         * tabular.C (write_attribute): add a template-based version to
5411         write enums properly
5412
5413 2003-07-28  André Pönitz  <poenitz@gmx.net>
5414
5415         * lyxtext.h:
5416         * text.C:
5417         * text2.C:
5418         * text3.C: use doubles again for x-coordinates. They are needed.
5419
5420 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * messages.C (getLocaleDir): use lyx_localedir()
5423
5424         * lyxlex_pimpl.C (setFile): compress stuff
5425
5426         * buffer.C (writeFile): add some compression stuff
5427         (do_writeFile): new func, dont call expliti close... will this
5428         breake anything?
5429
5430         * Makefile.am (lyx_LDADD): add -lz
5431
5432 2003-07-28  José Matos  <jamatos@fep.up.pt>
5433
5434         * buffer.C: increment file format.
5435         * paragraph_funcs (readParagraph, readParToken):
5436         * paragraph.C (readParagraph): add \end_layout.
5437
5438 2003-07-27  Angus Leeming  <leeming@lyx.org>
5439
5440         * Makefile.am: remove special casing for configure-time setting of
5441         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5442
5443         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5444         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5445
5446 2003-07-26  André Pönitz  <poenitz@gmx.net>
5447
5448         * paragraph_func.[Ch]:
5449         * paragraph.C (realizeFont): inline it whereever it is used
5450
5451         * rowpainter.C:
5452         * text.C:
5453         * text2.C:
5454         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5455
5456
5457 2003-07-26  André Pönitz  <poenitz@gmx.net>
5458
5459         *       lyxtext.h:
5460         * text.C:
5461         * text2.C: get rid of LyXText::need_break_row
5462
5463 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * toc.[Ch]: put namespace toc inside namespace lyx
5466
5467         * MenuBackend.C (expandToc2): adjust for lyx::toc
5468         (expandToc): ditto
5469
5470         * lyxfunc.C (dispatch): adjust for lyx::find
5471
5472         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5473         lyx::find instead. Reorganize a bit.
5474         (LyXReplace): rename to replace
5475         (LyXFind): rename to find
5476
5477         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5478         (dispatch): ditto
5479
5480 2003-07-26  André Pönitz  <poenitz@gmx.net>
5481
5482         * text.C (setHeightOfRow): restrict scope of temporary variable
5483
5484         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5485           code (never has been used?)
5486
5487 2003-07-27  Asger Alstrup  <alstrup@local>
5488
5489         * text.C (fill): Optimise algorithm to exploit that we can reuse
5490         the LyXFont for many characters.
5491         (setHeightOfRow): Same thing.
5492         (rowBreakPoint): Same thing.
5493
5494 2003-07-26  Asger Alstrup  <alstrup@local>
5495
5496         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5497
5498         * text.C (singleWidth): Spurious font copying in hot-spot
5499         singleWidth avoided. Reorder tests for arabic for efficiency.
5500
5501         * text.C (fill): handle empty paragraphs better.
5502
5503 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5504
5505         * ispell.C:
5506         * encoding.h: add includes
5507
5508         * lyxrc.C: remove reading of bind files
5509
5510         * lyx_main.C (init): setup bindings and menus only if we have a
5511         gui.
5512
5513         * kbmap.C (read): new method. Do the actual reading of bind
5514         files.
5515
5516         * converter.C (dvipdfm_options):
5517         * bufferparams.C:
5518         * lyxrc.C (read):
5519         (output): adapt PAPER_* enums.
5520
5521         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5522
5523         * bufferparams.h: remove paper-related enums from there
5524
5525         * paper.h: New file. A trivial header file to hold paper-related
5526         enums. It should later expand to contain many paper-related
5527         horrors access.
5528
5529         * lyxrc.C: declare extern displayTranslator
5530
5531 2003-07-27  José Matos  <jamatos@fep.up.pt>
5532
5533         * tabular.[Ch] (linuxdoc): add support for tables and figures
5534         (linuxdoc).
5535
5536 2003-07-27  José Matos  <jamatos@fep.up.pt>
5537
5538         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5539         consistency in both functions.
5540         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5541
5542 2003-07-26  Asger Alstrup  <alstrup@local>
5543
5544         * rowpainter.C (paintRows): Change algorithm to work directly on
5545         the insets rather than asking every character in the document
5546         whether its an inset.
5547
5548 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5549
5550         * buffer.C (openFileWrite): factorize some code
5551
5552 2003-07-26  Angus Leeming  <leeming@lyx.org>
5553
5554         * lyx_cb.C:
5555         * lyx_main.[Ch]: replace occurances of system_tempdir with
5556         os::getTmpDir().
5557
5558 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * rename Inset to InsetOld
5561
5562 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5563
5564         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5565         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5566         which I think is a bit clearer. EDIT is gone, since it was
5567         premature optimisation, and broken for mathed anyway.
5568         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5569         with cursor positioning in insets as well (math insets still do not
5570         work, but that's a different story anyway.) It mysteriously
5571         crashes sometimes with undo in the first paragraph, but I'm fairly
5572         confident that this is a compiler bug.
5573
5574 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * paragraph.C (Paragraph): adjust for new clone return type
5577         (operator==): ditto
5578         (copyIntoMinibuffer): ditto
5579
5580 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5581
5582         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5583         by not having a special case, and always doing a full rebreak of
5584         the document after undo.
5585
5586 2003-07-23  Angus Leeming  <leeming@lyx.org>
5587
5588         * factory.C (createInset): InsetExternal::setParams now takes a
5589         Buffer const * arg.
5590
5591 2003-07-23  Angus Leeming  <leeming@lyx.org>
5592
5593         * factory.C (createInset): changed interface to the external and
5594         graphics mailers' string2params functions.
5595
5596 2003-07-23  Angus Leeming  <leeming@lyx.org>
5597
5598         * factory.C (createInset): pass a
5599         Buffer const * parameter to InsetExternalMailer's string2params.
5600
5601 2003-07-22  John Levon  <levon@movementarian.org>
5602
5603         * Thesaurus.h: include the right aiksaurus header
5604
5605 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5606
5607         * MenuBackend.C (expand): check menu shortcuts unconditionally
5608
5609 2003-07-21  Angus Leeming  <leeming@lyx.org>
5610
5611         * factory.C (createInset): pass a
5612         buffer_path parameter to InsetGraphicsMailer's string2params.
5613
5614 2003-07-21  Angus Leeming  <leeming@lyx.org>
5615
5616         * BufferView_pimpl.C (buffer):
5617         * buffer.C (d-tor):
5618         * lyx_main.C (LyX):
5619         * lyxfunc.C (dispatch):
5620         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5621         rather than the grfx shortcut.
5622
5623 2003-07-21  André Pönitz  <poenitz@gmx.net>
5624
5625         * rowpainter.C: remove unused variables
5626
5627         * tabular_funcs.C:
5628         * tabular_funcs.h: move to tabular.C
5629         * Makefile.am: adjust
5630
5631         * tabular.[Ch]: basic optical cleaning
5632
5633         * author.h: pass references, not values
5634
5635 2003-07-18  André Pönitz  <poenitz@gmx.net>
5636
5637         * lyxtext.h:
5638         * metricsinfo.C:
5639         * metricsinfo.h:
5640         * rowpainter.C:
5641         * text.C:
5642         * text2.C:
5643         * text3.C: two-phase drawing for InsetText and InsetTabular
5644         some float -> int changes.
5645
5646 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * lyx_main.C: fix the fix
5649
5650 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * lyx_main.C: fix a crash in batch mode if no files specified
5653         * converter.C: ws
5654
5655 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5656
5657         * format.[Ch] (papersize): moved to BufferParams
5658         * converter.[Ch] (dvips_options): moved to BufferParams
5659         (dvipdfm_options): moved to anon namespace
5660         * bufferparams.[Ch]: added above functions.
5661
5662 2003-07-17  André Pönitz  <poenitz@gmx.net>
5663
5664         * lyxtext.h:
5665         * rowpainter.C:
5666         * text2.C: don't call inset->update() anymore
5667
5668         * metricsinfo.[Ch]: add convenience constructor
5669
5670 2003-07-16  André Pönitz  <poenitz@gmx.net>
5671
5672         * lyxcursor.[Ch]:
5673         * lyxfunc.[Ch]:
5674         * text.C:
5675         * text2.C: replace the LyXCursor::irow_ member with
5676          on-demand computation of the value
5677
5678 2003-07-16  John Levon  <levon@movementarian.org>
5679
5680         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5681
5682 2003-07-15  André Pönitz  <poenitz@gmx.net>
5683
5684         * text.C:
5685         * text2.C: remove no more needed refresh_row
5686
5687 2003-07-15  André Pönitz  <poenitz@gmx.net>
5688
5689         * lyxtext.h:
5690         * rowpainter.C:
5691         * text2.C:
5692         * text3.C: refresh_status tristate -> need_update bool
5693
5694 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5695
5696         * lyxtext.h (init): remove reinit argument (act as if always true)
5697         * text2.C: adjust to that
5698
5699 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5700
5701         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5702         * text3.C: use it to delete selections in some cases
5703         (bugs 441, 673, 702, 954).
5704
5705 2003-07-14  André Pönitz  <poenitz@gmx.net>
5706
5707         * rowpainter.[Ch]: reduce interface
5708
5709 2003-07-14  André Pönitz  <poenitz@gmx.net>
5710
5711         * BufferView_pimpl.C:
5712         * text2.C: adjust after removing unused BufferView * argument
5713
5714 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5715
5716         * text2.C (init): fix a crash fired on resize
5717
5718 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * buffer.[Ch]: added new closing signal
5721         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5722         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5723         BufferView::Pimpl via the closing the signal
5724
5725 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5726
5727         * buffer.[Ch]: take out all bv-related from buffer
5728         * BufferView.C:
5729         * BufferView_pimpl.[Ch]: connect to new signals
5730         * CutAndPaste.C: removed useless asserts
5731         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5732         * lyxvc.[Ch]:
5733         * vc-backend.[Ch]:
5734         * lyxfunc.C: moved view-related funciontality from vc here
5735         * paragraph.C: removed outdated comments
5736         * text.C: ws
5737
5738 2003-07-10  André Pönitz  <poenitz@gmx.net>
5739
5740         * BufferView_pimpl.C:
5741         * tabular.h:
5742         * tabular_funcs.C:
5743         * text.C:
5744         * text2.C: remove InsetText::InnerCache, clean up consequences
5745
5746 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5747
5748         * ispell.C: fix two typos in error messages
5749
5750 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5751
5752         * Extend Note inset to other forms of annotation like Comment
5753         and Greyedout. Right button click gives dialog.
5754
5755         Files modified or added (+):
5756
5757         * insetnote.[Ch]
5758         * FormNote.[Ch]      +
5759         * ControlNote.[Ch]   +
5760         * form_note.fd       +
5761         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5762         frontends/controllers
5763         * xforms/Dialogs.C
5764         * factory.C
5765
5766 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5767
5768         * aspell.C: add missing namespace lyx::support
5769
5770 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * BufferView.[Ch] (newFile): Add
5773         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5774         * LaTeX.[Ch] (message): added this signal and use it
5775         * buffer.[Ch] (busy, message): added these signals and use them
5776         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5777         * converter.C:
5778         * exporter.C:
5779         * format.C:
5780         * importer.C: use buffer signals instead of direct bv calling
5781         * lyx_cb.[Ch] (ShowMessage): removed
5782         * lyx_main.C:
5783         * lyxfunc.C:
5784         * paragraph_funcs.C:
5785         * text2.C: use buffer signals
5786
5787 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * introduce namespace lyx::graphics
5790
5791 2003-07-02  André Pönitz  <poenitz@gmx.net>
5792
5793         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5794
5795 2003-07-01  André Pönitz  <poenitz@gmx.net>
5796
5797         * text.C:
5798         * text2.C:
5799         * text3.C:
5800         * text_funcs.[Ch]:
5801         * textcursor.h:
5802         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5803           text*.C to text_func.C
5804
5805 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * introduce namespace lyx::support
5808
5809 2003-06-30  André Pönitz  <poenitz@gmx.net>
5810
5811         * Chktex.C:
5812         * funcrequest.C:
5813         * lyxtext.h:
5814         * text.C: re-enable --with-included-string
5815
5816 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * textcursor.C: add <config.h>
5819
5820         * text.C (getWord): remove const from word_location arg
5821
5822         * lyxvc.C (getLogFile): fix const type order
5823
5824         * lyxtext.h: remove const from word_location arg, add arg name
5825
5826         * lyxlayout.h: currect type on labeltype.
5827
5828         * importer.C: correct \file
5829
5830         * converter.C (intToFormat): use std:: on ret val, ws changes
5831
5832         * bufferlist.h: correct \file
5833
5834         * buffer.C (makeLinuxDocFile): fix const type order
5835         (makeDocBookFile): ditto
5836         (fillWithBibKeys): use std:: on stdlib args.
5837
5838         * CutAndPaste.C: fix authors.
5839         (availableSelections): use std:: on return vector
5840
5841 2003-06-27  André Pönitz  <poenitz@gmx.net>
5842
5843         * BufferView_pimpl.C:
5844         * bufferview_funcs.C:
5845         * lyxcursor.C:
5846         * lyxcursor.h:
5847         * lyxfunc.C:
5848         * lyxtext.h:
5849         * rowpainter.C:
5850         * text.C:
5851         * text2.C:
5852         * text3.C: remove LyXCursor::row_ member
5853
5854         * lyxtext.h:
5855         * text.C: rename fullRebreak() to partialRebreak() and implement
5856           a fullRebreak() that really bereks fully
5857
5858         * textcursor.h: new struct for cursor-related data
5859
5860 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5861
5862         * lyx_main.C (LyX): get full path of document loaded on the
5863         command line
5864
5865 2003-06-26  André Pönitz  <poenitz@gmx.net>
5866
5867         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5868           remove unused/broken operator>,<,>=.
5869
5870         *       text.C: remove only use of broken operator<= in an Assert().
5871
5872 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5873
5874         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5875         moved errorlist_.clear to showErrorList
5876
5877 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5878
5879         * converter.C (scanLog, runLaTeX):
5880         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5881         move the bv->showErrorList call to the callers
5882         * lyxfunc.C: i.e. here...
5883         * text2.C: and here
5884         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5885         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5886         namespace, the second to...
5887         * buffer_funcs (BufferFormat, parseErrors): added
5888         * errorlist.C (ErrorList(TeXErrors const &)): removed
5889
5890 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5891
5892         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5893
5894 2003-06-24  "Garst R. Reese" <reese@isn.net>
5895
5896         * debug.C: fix typo
5897
5898 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5899
5900         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5901
5902         * version.C.in: change docversion to 1.4
5903
5904 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * buffer.C: fix a bug just introduced
5907
5908 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5909
5910         * buffer.[Ch]: added the parseError signal and use it, removed
5911         sgmlError
5912         * BufferView.[Ch] (addError): moved to ...
5913         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5914         to the Buffer::parseError signal to catch (guess what) parse errors
5915         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5916
5917 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5918
5919         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5920         ability to create a buffer and to return an existing one from
5921         the list. Moved these functions to...
5922         * buffer_funcs.[Ch]: added
5923         * BufferView.[Ch] (loadLyXFile): added
5924         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5925         job removed from bufferlist::loadLyXFile.
5926         * buffer.C (setReadOnly): make it work without view
5927         (i.e added an if (users))
5928
5929 2003-06-19  Angus Leeming  <leeming@lyx.org>
5930
5931         * lfuns.h:
5932         * LyXAction.C (init):
5933         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5934         with LFUN_DIALOG_SHOW <name> <data>.
5935
5936 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5937
5938         * CutAndPaste.C (availableSelections): small compilation fix for
5939         ancient (gcc 2.9x) compilers
5940
5941 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * text3.C (cursorNext): add tmp var
5944
5945         * text2.C (updateCounters): for function calling out of for clause
5946         (replaceSelectionWithString): ditto
5947         (insertStringAsParagraphs): ditto
5948         (getColumnNearX): add tmp var
5949         (setCursorFromCoordinates): add tmp var
5950         (cursorDownParagraph): add tmp var
5951         (deleteEmptyParagraphMechanism): add tmp var
5952
5953         * text.C (insertChar): add tmp var
5954
5955         * rowpainter.C (paintDepthBar): add tmp var
5956
5957         * CutAndPaste.C (availableSelections): potentially check all
5958         paragraphs in a cut to fill the shown strings.
5959
5960 2003-06-18  André Pönitz  <poenitz@gmx.net>
5961
5962         * kbmap.[Ch]: use vector<> instead of list<>
5963
5964 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5965
5966         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5967         pasteSelection with index
5968
5969         * text2.C (pasteSelection): modify, call pasteSelection with index
5970
5971         * paragraph.C (asString): reimplement version with no interval to
5972         call the one with interval.
5973
5974         * lyxtext.h: add index arg to pasteSelection
5975
5976         * MenuBackend.C (MenuItem): handle PasteRecent
5977         (Menu::read::Menutags): add md_pasterecent
5978         (read): handle it
5979         (expandPasteRecent): new function
5980         (expand): use it
5981
5982         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5983
5984         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5985         the limited stack
5986         (availableSelections): new function
5987
5988 2003-06-17  Angus Leeming  <leeming@lyx.org>
5989
5990         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5991
5992 2003-06-17  Angus Leeming  <leeming@lyx.org>
5993
5994         * lfuns.h:
5995         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5996
5997         * lyxfunc.C (dispatch): invoke it.
5998
5999 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6000
6001         * iterators.C (operator++, ParPosition): reintroduce some
6002         const_cast for the benefit of older compilers.
6003
6004 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6005
6006         * text3.C (dispatch): do not modify clipboard when doing
6007         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6008         LFUN_DELETE_SKIP on a selection selection
6009
6010 2003-06-16  André Pönitz  <poenitz@gmx.net>
6011
6012         * BufferView.C:
6013         * buffer.C:
6014         * buffer.h:
6015         * paragraph.C:
6016         * tabular.[Ch]: IU of clone() and getLabelList();
6017
6018 2003-06-13  André Pönitz  <poenitz@gmx.net>
6019
6020         * tabular.h: compactification
6021
6022 2003-06-12  André Pönitz  <poenitz@gmx.net>
6023
6024         * tabular.C:
6025         * tabular.h:
6026         * tabular_funcs.h: some renaming plus whitespace
6027
6028 2003-06-12  André Pönitz  <poenitz@gmx.net>
6029
6030         * BufferView.C:
6031         * BufferView_pimpl.C:
6032         * CutAndPaste.C:
6033         * buffer.C:
6034         * iterators.[Ch]:
6035         * lyxfunc.C:
6036         * text.C:
6037         * toc.C: Return a Paragraph & for ParIterator::operator*()
6038
6039 2003-06-11  John Levon  <levon@movementarian.org>
6040
6041         * lyx_main.C:
6042         * ToolbarBackend.h:
6043         * ToolbarBackend.C: add "Toolbars" section and
6044         put the flags there
6045
6046 2003-06-10  Angus Leeming  <leeming@lyx.org>
6047
6048         * lfuns.h:
6049         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6050
6051         * lyxfunc.C (dispatch): invoke it.
6052
6053 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * main.C: protect <ios> with HAVE_IOS
6056         (main): protect sync_with_stdio with HAVE_IOS
6057
6058 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6059
6060         * text2.C (cutSelection): adjust
6061         (pasteSelection): adjust
6062
6063         * messages.C: handle get of empty string
6064
6065         * main.C (main): use sync_with_stdio(false)
6066
6067         * lyxfunc.C (dispatch): adjust
6068
6069         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6070         (WriteAs): remove unneeded BufferView arg.
6071
6072         * bufferparams.h: use correct types on papersize, papersize2 and
6073         paperpackage.
6074
6075         * bufferparams.C (readToken): adjust for type
6076         (writeLaTeX): add missing cases to switch.
6077
6078         * bufferlist.C (quitWriteBuffer): adjust
6079         (close): adjust
6080
6081         * buffer.C (asciiParagraph): remove some commented code.
6082
6083         * CutAndPaste.C: remove current_view extern variable.
6084         (cutSelection): add BufferParams arg.
6085         (eraseSelection): add BufferParams arg.
6086         (pasteSelection): add Buffer const & arg
6087
6088 2003-06-07  John Levon  <levon@movementarian.org>
6089
6090         * buffer.C:
6091         * paragraph_funcs.C:
6092         * paragraph_pimpl.C:
6093         * text.C:
6094         * text2.C:
6095         * paragraph.h:
6096         * paragraph.C: allow InsetERT to freely space lines,
6097         and some consolidation of code
6098
6099 2003-06-06  José Matos  <jamatos@fep.up.pt>
6100
6101         * buffer.C (makeDocBookFile): fix bug #821
6102
6103 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6106
6107 2003-06-04  Angus Leeming  <leeming@lyx.org>
6108
6109         * buffer.C: bump format to 224.
6110
6111 2003-06-05  André Pönitz  <poenitz@gmx.net>
6112
6113         * text2.C (redoParagraphs): remove two const_cast<>
6114
6115 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6116
6117         * ParagraphList.h: remove last remnants of NO_STD_LIST
6118
6119 2003-06-03  Angus Leeming  <leeming@lyx.org>
6120
6121         * factory.C (createInset): small change to the way InsetExternal's params
6122         are set.
6123
6124 2003-06-04  André Pönitz  <poenitz@gmx.net>
6125
6126         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6127
6128         * paragraph_pimpl.h:
6129         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6130
6131         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6132
6133         * undo_funcs.C: make some simple cases of undo work again
6134
6135 2003-06-03  John Levon  <levon@movementarian.org>
6136
6137         * ispell.C: HPUX doesn't have sys/select.h
6138         (from Albert Chin)
6139
6140 2003-06-03  John Levon  <levon@movementarian.org>
6141
6142         * CutAndPaste.C: update tabular and include inset
6143         buffer references
6144
6145         * buffer.h:
6146         * paragraph.h:
6147         * paragraph.C: remove owningBuffer(), don't pass Buffer
6148         to clone()
6149
6150         * factory.C: insetGraphicsParams changed
6151
6152 2003-06-02  John Levon  <levon@movementarian.org>
6153
6154         * LyXAction.C:
6155         * factory.C:
6156         * lfuns.h:
6157         * lyxfunc.C:
6158         * text3.C: remove insetparent
6159
6160 2003-06-02  John Levon  <levon@movementarian.org>
6161
6162         * buffer.h:
6163         * buffer.C: fix inset_iterator.end(), move out of line
6164         (bug 1149)
6165
6166 2003-06-01  John Levon  <levon@movementarian.org>
6167
6168         * text3.C: use a proper cut/paste when doing inset
6169         insert (from Jürgen Spitzmüller)
6170
6171 2003-06-01  John Levon  <levon@movementarian.org>
6172
6173         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6174
6175 2003-05-30  André Pönitz  <poenitz@gmx.net>
6176
6177         * rowpainter.C: unify second drawing phase
6178
6179 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * trans_mgr.C: remove one case of current_view
6182
6183         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6184
6185         * paragraph_funcs.h: remove paragraph.h include
6186
6187         * paragraph.h: delete NO_STD_LIST stuff
6188
6189         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6190
6191         * buffer.h: remove paragraph.h include
6192
6193         * ParagraphList.C: delete file
6194
6195         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6196
6197         * toc.C (getTocList): adjust
6198
6199         * paragraph_pimpl.C (validate): adjust
6200
6201         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6202
6203         * paragraph.C (Paragraph): adjust
6204         (getPositionOfInset): use const_iterator, adjust
6205         (bibitem): use const_iterator, adjust
6206         (setInsetOwner): adjust
6207
6208         * iterators.C (operator++): adjust
6209
6210         * InsetList.[Ch]: Replace selfmade iterator with standard
6211         vector::iterator also introduce const_iterator. Remove getPos,
6212         getInset and setInset from InsetTable. Adjust accordingly.
6213
6214         * BufferView.C (lockInset): adjust
6215         (ChangeInsets): adjust
6216
6217         * tabular.[Ch]: delete commented same_id functions
6218
6219 2003-05-28  John Levon  <levon@movementarian.org>
6220
6221         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6222
6223 2003-05-28  André Pönitz  <poenitz@gmx.net>
6224
6225         * metricsinfo.[Ch]: remove 'fullredraw' member
6226
6227 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6228
6229         * lyxtextclass.C (operator): remove caching.
6230
6231 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * text3.C: adjust
6234
6235         * text2.C (cursorBottom): adjust
6236         (setCounter): use ParagraphList::find, adjust
6237
6238         * text.C (workWidth): use ParagraphList::find, adjust
6239
6240         * lyxcursor.C (LyXCursor): adjust
6241
6242         * buffer.C (inset_iterator): adjust
6243
6244         * ParagraphList.h: make iterator(value_type) private, make
6245         ParagraphList a friend of iterator.
6246
6247         * ParagraphList.C (find): new function
6248
6249         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6250
6251 2003-05-27  André Pönitz  <poenitz@gmx.net>
6252
6253         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6254
6255 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6256
6257         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6258
6259 2003-05-26  John Levon  <levon@movementarian.org>
6260
6261         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6262
6263 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * remove same_id from function signatures, adjust.
6266
6267 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6270
6271         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6272
6273         * paragraph.C (Paragraph): get rid of same_ids parameter
6274
6275         * ParagraphList.C (insert): adjust
6276         (push_back): adjust
6277
6278 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * paragraph_funcs.C (breakParagraph): adjust
6281         (breakParagraphConservative): adjust
6282
6283         * buffer.C (readParagraph): adjust
6284
6285         * ParagraphList.C (insert): take a reference instead of a pointer
6286         (insert): adjust
6287
6288         * paragraph.[Ch] (id): new function
6289
6290         * bufferlist.C (newFile): adjust
6291
6292         * ParagraphList.C (ParagraphList): adjust
6293         (assign): adjust
6294         (push_back): take a reference instead of a pointer.
6295
6296         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6297
6298         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6299         instead.
6300
6301         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6302         set else use old code.
6303
6304         * ParagraphList.C: remove all NO_NEXT code and only compile this
6305         code of NO_STD_LIST is set.
6306
6307 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * BufferView_pimpl.C:
6310         * TextCache.C:
6311         * TextCache.h:
6312         * bufferlist.C:
6313         * errorlist.h:
6314         * format.C:
6315         * format.h:
6316         * graph.C:
6317         * lyxfunc.C:
6318         * lyxrc.C:
6319         * graphics/GraphicsConverter.C:
6320         * graphics/PreviewLoader.C: header adjustment
6321
6322 2003-05-23  Angus Leeming  <leeming@lyx.org>
6323
6324         * LaTeXFeatures.[Ch] (useBabel): new method.
6325         * bufferparams.C (writeLaTeX): use it.
6326
6327 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6328
6329         * ParagraphList.h (set): remove unused function.
6330
6331 2003-05-23  André Pönitz  <poenitz@gmx.net>
6332
6333         * BufferView.C:
6334         * BufferView_pimpl.C:
6335         * buffer.C:
6336         * buffer.h:
6337         * lyxfunc.C:
6338         * undo_funcs.C: setUndo reworked
6339
6340         * iterators.[Ch]: add access to topmost ParagraphList
6341
6342         * lyxtext.[Ch] (workWidth): add a const
6343
6344 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6345
6346         * texrow.[Ch] (increasePos): remove function
6347         * exporter.C (export): removed unused var and outdated comment
6348
6349 2003-05-23  Angus Leeming  <leeming@lyx.org>
6350
6351         * latexrunparams.h: rename fragile as moving_arg.
6352         * paragraph.C (simpleTeXOnePar): ditto.
6353         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6354
6355 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6358         (createUndo): ditto
6359         (textUndoOrRedo): comment out a currently unused var.
6360
6361         * paragraph.h (NO_NEXT): enable NO_NEXT
6362
6363         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6364
6365         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6366
6367         * exporter.C (Export): adjust for removeAutoInsets removal.
6368
6369         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6370
6371         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6372
6373         * BufferView.[Ch] (removeAutoInsets): delete function
6374
6375 2003-05-22  Angus Leeming  <leeming@lyx.org>
6376
6377         * latexrunparams.h: add a free_spacing variable.
6378
6379         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6380         to pass moving_arg, as the data is stored in runparams.fragile.
6381
6382         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6383         to Inset::latexOptional or to simpleTeXOnePar.
6384
6385         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6386         free_spacing arg to Inset::latexOptional.
6387
6388         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6389         free_spacing arg.
6390
6391 2003-05-22  Angus Leeming  <leeming@lyx.org>
6392
6393         * latexrunparams.h: add fragile and use_babel variables.
6394
6395         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6396         * buffer.C (makeLaTeXFile): store this returned value in
6397         runparams.use_babel, thus passing it to the inset::latex methods.
6398
6399         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6400         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6401
6402         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6403         longer has a fragile arg, as it is stored in runparams.fragile.
6404
6405         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6406         moving_arg parameter as the data is stored in runparams.fragile.
6407
6408         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6409         a fragile parameter as the data is stored in runparams.fragile.
6410
6411 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6414
6415 2003-05-22  Angus Leeming  <leeming@lyx.org>
6416
6417         * latexrunparams.h: add a 'bool nice' which defaults to false.
6418
6419         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6420         now encapsulated within runparams.
6421
6422         * bufferlist.C (updateIncludedTeXfiles):
6423         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6424
6425 2003-05-22  Angus Leeming  <leeming@lyx.org>
6426
6427         * latexrunparams.h: new file containing struct LatexRunParams.
6428         * Makefile.am: add new file.
6429
6430         * LaTeX.[Ch] (c-tor, run):
6431         * buffer.[Ch] (makeLaTeXFile):
6432         * bufferlist.[Ch] (updateIncludedTeXfiles):
6433         * converter.C (convert, scanLog):
6434         * converter.[Ch] (runLaTeX):
6435         * exporter.C (Export):
6436         * paragraph.[Ch] (simpleTeXOnePar):
6437         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6438         * paragraph_funcs.[Ch] (latexParagraphs):
6439         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6441         pass around a LatexRunParams parameter.
6442
6443 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * paragraph.[Ch]: remove unused constructor
6446
6447         * ParagraphList.C (erase): new function, taking two iterators
6448
6449 2003-05-22  André Pönitz  <poenitz@gmx.net>
6450
6451         * undo_funcs.C: remove duplicated code
6452
6453         * iterator.[Ch]: operator=
6454
6455 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * tabular.C (SetMultiColumn): ws changes
6458
6459         * rowpainter.C (paintFirst): get rid of a ->previous
6460
6461         * lyx_cb.C (getPossibleLabel): parlist simplification
6462
6463         * BufferView.C (ChangeInsets): simplify slightly.
6464
6465 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6466
6467         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6468         * lfuns.h: new LFUN_SPACE
6469         * lyxfunc.C: protected space has a new lfun
6470         * paragraph_funcs.C: read new space insets
6471         * text3.C:
6472         * factory.C: handle new space insets
6473
6474 2003-05-22  André Pönitz  <poenitz@gmx.net>
6475
6476         * BufferView.C:
6477         * BufferView_pimpl.C:
6478         * buffer.[Ch]:
6479         * lyxfunc.C:
6480         * undo_funcs.C: return a ParIterator from getParFromID.
6481
6482         * iterators.[Ch]: add two const's
6483
6484 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * toc.C (getTocList): adjust
6487
6488         * iterators.[Ch]: rework for parlist
6489
6490         * buffer.C (par_iterator_begin): adjust
6491         (par_iterator_end): adjust
6492
6493         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6494
6495         * BufferView.C (removeAutoInsets): adjust
6496         (ChangeInsets): adjust
6497
6498 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * text.C (top_y): fix bug 1110
6501
6502 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * errorlist.[Ch]: added
6505         * buffer.C:
6506         * BufferView.[Ch]:
6507         * BufferView_pimpl.C:
6508         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6509         instead
6510
6511 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * Makefile.am: ensure that lyx is relinked upon changes to the
6514         various "convenience" libs.
6515
6516 2003-05-20  Angus Leeming  <leeming@lyx.org>
6517
6518         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6519         files are compiled in alphabetical order again.
6520
6521         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6522
6523 2003-05-19  Angus Leeming  <leeming@lyx.org>
6524
6525         * gettext.[Ch]: remove "char const * _(char const *)".
6526
6527 2003-05-19  André Pönitz  <poenitz@gmx.net>
6528
6529         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6530
6531         * Makefile.am:
6532         * BufferView.C:
6533         * DepTable.h:
6534         * LaTeXFeatures.C:
6535         * buffer.C:
6536         * lyxfont.C:
6537         * lyxlex.h:
6538         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6539
6540 2003-05-19  André Pönitz  <poenitz@gmx.net>
6541
6542         * buffer.C:
6543         * lyxlayout.[Ch]:
6544         * lyxtextclass.[Ch]:
6545         * paragraph.C:
6546         * paragraph_funcs.[Ch]:
6547         * text2.C:
6548         * text3.C: more insetenv work
6549
6550 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * ParagraphParameters.C (params2string): small bug fixed
6553
6554 2003-05-16  André Pönitz  <poenitz@gmx.net>
6555
6556         * debug.C:
6557         * bufferview_funcs.C: patch from Kornel Benko to prevent
6558           crash when _(...) is called twice in a statement
6559
6560 2003-05-16  André Pönitz  <poenitz@gmx.net>
6561
6562         * BufferView.C:
6563         * lyxfunc.C:
6564         * text.C:
6565         * text2.C:
6566         * text3.C:
6567         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6568
6569 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6570
6571         * lyx_main.C (init): remove spurious static_cast
6572
6573 2003-05-14  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView.C: fix format string
6576
6577 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6578
6579         * BufferView.[Ch] (insertErrors): removed
6580         * BufferView.[Ch] (showErrorList): added
6581         * buffer.C (runChkTeX):
6582         * converter.C (scanLog): call showErrorList instead of inserterrors
6583
6584 2003-05-13  André Pönitz  <poenitz@gmx.net>
6585
6586         * BufferView_pimpl.C:
6587         * buffer.C:
6588         * bufferview_func.C:
6589         * MenuBackend.C:
6590         * lyxfunc.C:
6591         * lyxrc.C:
6592         * tex-accent.C:
6593         * text3.C:
6594         * toc.C:
6595         * tabular_funcs.h: tostr() from its own header
6596
6597         * ParagraphParameters.C:
6598         * ToolbarBackend.C:
6599         * bufferparams.C:
6600         * format.C:
6601         * lyxlex_pimpl.C:
6602         * text3.C: STRCONV()
6603
6604 2003-05-12  André Pönitz  <poenitz@gmx.net>
6605
6606         * BufferView.C:
6607         * BufferView_pimpl.C:
6608         * CutAndPaste.C:
6609         * LaTeX.C:
6610         * LaTeXFeatures.C:
6611         * ParagraphParameters.C:
6612         * buffer.C:
6613         * bufferlist.C:
6614         * bufferparams.C:
6615         * bufferview_funcs.C:
6616         * converter.C:
6617         * counters.C:
6618         * debug.C:
6619         * exporter.C:
6620         * format.C:
6621         * importer.C:
6622         * lyx_cb.C:
6623         * lyx_main.C:
6624         * lyxfont.C:
6625         * lyxfunc.C:
6626         * lyxvc.C:
6627         * paragraph.C:
6628         * paragraph_funcs.C:
6629         * tabular.C:
6630         * tabular_funcs.C:
6631         * text2.C:
6632         * text3.C:  boost::format -> bformat  all over the place
6633
6634
6635 2003-05-09  André Pönitz  <poenitz@gmx.net>
6636
6637         * LColor.[Ch]: Pimpl the #include <map> away
6638
6639 2003-05-09  John Levon  <levon@movementarian.org>
6640
6641         * bufferlist.C: never remove emergency saves
6642
6643 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * Makefile.am: better lib building
6646
6647 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6650         instead.
6651         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6652         (simpleTeXSpecialChars): adjust
6653         (simpleTeXSpecialChars): adjust
6654         * paragraph.C (simpleTeXOnePar): adjust
6655         * buffer.C (makeLaTeXFile): adjust
6656
6657         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6658
6659         * text2.C (changeDepth): parlist cleanup
6660         (getColumnNearX): ditto
6661
6662         * rowpainter.C (getLabelFont): parlist cleanup
6663
6664         * bufferlist.C (newFile): parlist cleanup
6665
6666         * CutAndPaste.C (eraseSelection): parlist cleanup
6667
6668         * BufferView_pimpl.C (trackChanges): parlist cleanup
6669         (dispatch): ditto
6670
6671         * BufferView.C (lockInset): parlist cleanup.
6672         (ChangeInsets): ditto
6673
6674 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * CutAndPaste.h: Update file header.
6677
6678         * CutAndPaste.C: Update file header.
6679         Store the parts cut out of the Document in a limited_stack.
6680         (copySelection): adjust
6681         (pasteSelection): new function, takes the index in the limited stack.
6682         (nrOfParagraphs): adjust
6683         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6684         simplify error inset insertion.
6685         (checkPastePossible): adjust
6686
6687 2003-05-06  John Levon  <levon@movementarian.org>
6688
6689         * text2.C: don't cast wrap inset to float
6690
6691 2003-05-05  André Pönitz  <poenitz@gmx.net>
6692
6693         * iterator.C:
6694         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6695
6696         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6697           few naked Paragraph *.
6698
6699 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6700
6701         * bufferparams.C: Output warning if a document with missing
6702         TeX document class is loaded
6703         * exporter.C: Disable TeX exports if the document class is missing
6704         * lyxtextclass.C:
6705         * lyxtextclass.h:
6706         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6707         isTeXClassAvailable()
6708
6709 2003-05-03  John Levon  <levon@movementarian.org>
6710
6711         * BufferView.h:
6712         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6713         explicit cursor show/hide
6714
6715         * BufferView_pimpl.h:
6716         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6717         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6718
6719         * lyxfunc.C: hide cursor before dispatching.
6720
6721         * lyx_cb.C:
6722         * lyxfind.C:
6723         * text.C:
6724         * text3.C: remove explicit cursor hides
6725
6726 2003-05-02  André Pönitz  <poenitz@gmx.net>
6727
6728         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6729
6730         * undo_funcs.C:
6731         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6732           linked lists
6733
6734         * text2.C: tiny whitespace
6735
6736 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * undo_funcs.C: almost only ws changes.
6739
6740         * ParagraphList.C (splice): just return if pl is empty.
6741
6742 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * ParagraphList.C (splice): new function.
6745
6746         * CutAndPaste.C (pasteSelection): use it
6747
6748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * CutAndPaste.C (pasteSelection): remove the last next and
6751         previous from this file.
6752
6753 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * CutAndPaste.C (pasteSelection): more clean up, user proper
6756         ParagraphList functions for pasteing.
6757
6758         * ParagraphList.C (insert): new function, three arg insert
6759
6760 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * ParagraphList.C (insert): new function, three arg insert
6763
6764         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6765         not on paragraphs.
6766
6767 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6770
6771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6774
6775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6778         (copySelection): clean up a bit.
6779         (pasteSelection): use make_pair
6780
6781         * ParagraphList.C (ParagraphList): implement copy constructor
6782         (operator=): implement, base on copy constructor.
6783         (assign): new func
6784
6785         * paragraph.C (erase): return a bool
6786
6787         * paragraph_pimpl.C (erasePos): remove function, move contents...
6788         (erase): ... here. Return a bool.
6789         (erase): call erase instead of erasePos.
6790
6791 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6792
6793         * ParagraphList.h: define PitPosPair
6794         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6795         ParagraphList, fix a bug on pasting multiple pars
6796         * text2.C: change interface to C&P
6797
6798 2003-04-30  André Pönitz  <poenitz@gmx.net>
6799
6800         * undo_func.C: revert part of yesterday's patch 2
6801
6802 2003-04-30  John Levon  <levon@movementarian.org>
6803
6804         * LColor.C: s/tabular/table/
6805
6806 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * text3.C (dispatch): do not convert iterator -> pointer
6809         * undo_funcs.C (setCursorParUndo): ditto
6810         * text_funcs.C (transposeChars): ditto
6811
6812         * text2.C (setLayout): ws changes only
6813
6814         * text.C (breakParagraph): do not convert iterator -> pointer
6815         (insertChar): ditto
6816         (acceptChange): ditto
6817         (rejectChange): ditto
6818         (changeCase): ditto
6819         (Delete): ditto
6820         (backspace): ditto
6821
6822         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6823         pointer
6824
6825 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6826
6827         * text3.C (gotoInset): YABG (yet another bad getChar)
6828
6829 2003-04-29  André Pönitz  <poenitz@gmx.net>
6830
6831         * paragraph.h: make operator= private unimplemented as long as
6832           it is unusable
6833
6834         * ParagraphList.C: whitespace
6835
6836         * paragraph.[Ch]:
6837         * paragraph_pimpl.[Ch]:
6838         * paragraph_funcs.C:
6839         * CutAndPaste.C:
6840         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6841
6842         * text2.C:
6843           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6844
6845 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6848         * paragraph.[Ch] (erase):
6849         * paragraph_pimpl.[Ch] (erase): change return type and value
6850         * text2.C (cutSelection): some rework
6851
6852 2003-04-28  John Levon  <levon@movementarian.org>
6853
6854         * bufferlist.C: changes for unsaved changes dialog
6855
6856 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * bufferlist.C (newFile): set language (messages_) for new
6859         documents also.
6860
6861         * buffer.C (readFile): ws changes only.
6862
6863 2003-04-28  André Pönitz  <poenitz@gmx.net>
6864
6865         * undo_funcs.C:
6866         * lyxfunc.C:
6867         * buffer.[Ch]:
6868         * BufferView_pimpl.C:
6869         * BufferView.C: getParFromID related ParagraphList::iterator changes
6870
6871 2003-04-28  André Pönitz  <poenitz@gmx.net>
6872
6873         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6874           Changes
6875
6876 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * messages.C: remove one more localedir class variable.
6879
6880 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * messages.C (getLocaleDir): singleton generation function
6883         (Pimpl): use it.
6884         (Messages): add a default constructor.
6885
6886         * main.C (main): do not setup localedir here, do not call
6887         gettext_init.
6888
6889         * gettext.C (_): use it.
6890         (gettext_init): delete funciton
6891
6892 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * gettext.C (getLyXMessages): new singleton generating function.
6895
6896         * buffer.C (updateDocLang): adjust
6897
6898         * Makefile.am (messages.o): add target
6899         (main.o): remove target
6900
6901 2003-04-27  John Levon  <levon@movementarian.org>
6902
6903         * bufferlist.C:
6904         * lyx_cb.C:
6905         * lyxfunc.C:
6906         * lyxvc.C: specify cancel button in Alert::prompt
6907
6908 2003-04-26  John Levon  <levon@movementarian.org>
6909
6910         * text3.C:
6911         * lyxfunc.C:
6912         * lfuns.h:
6913         * LyXAction.C: add LFUN_INSET_SETTINGS
6914
6915         * lyxfunc.C: don't enable tabular-feature when there's
6916         just any locking inset
6917
6918 2003-04-26  John Levon  <levon@movementarian.org>
6919
6920         * bufferlist.C: re-add Cancel to buffer close question
6921
6922         * lyxfunc.C: fix import UI a bit
6923
6924 2003-04-25  John Levon  <levon@movementarian.org>
6925
6926         * gettext.C: remove the broken asserts for now
6927
6928 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * messages.C: make case where setlocale cannot comply work better.
6931
6932         * buffer.C (updateDocLang): new function
6933         (changeLanguage): use it
6934         (readFile): use it
6935
6936         * text2.C (setCounter): use B_ a bit.
6937
6938         * lyxlayout.C (Read): be sure to trim the label strings.
6939
6940         * messages.C (Messages): fix typo in comment
6941
6942         * buffer.C (readFile): set message_ after file is loaded.
6943         (makeDocBookFile): remove double return
6944         (changeLanguage): reset message_ upon language change.
6945         (B_): new func, use this to get translated buffer strings.
6946
6947         * main.C: add myself and Jean Marc as authors.
6948
6949 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * messages.[hC]: pimplify Messages, and three different pimpls to be
6952         used in different circumstances.
6953
6954         * gettext.[Ch]: change for use with new message code.
6955
6956 2003-04-24 André Pönitz <poenitz@gmx.net>
6957
6958         * factory.C: support for eqref
6959
6960 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * messages.[Ch]: add missing char
6963
6964         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6965
6966         * messages.[Ch]: New files
6967
6968 2003-04-18  John Levon  <levon@movementarian.org>
6969
6970         * BufferView.h:
6971         * BufferView.C:
6972         * BufferView_pimpl.C:
6973         * lfuns.h:
6974         * LyXAction.C:
6975         * lyxtext.h:
6976         * text2.C: remove layout-copy/paste (bug 778)
6977
6978 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6979
6980         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6981
6982 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6983
6984         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6985         if they succeed. Act accordingly.
6986
6987 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * text2.C (setCharFont): adjust
6990         (setCounter): adjust
6991         (insertStringAsLines): adjust
6992
6993         * text.C (leftMargin): adjust
6994         (setHeightOfRow): adjust
6995
6996         * rowpainter.C (paintFirst): adjust
6997         (paintLast): adjust
6998
6999         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7000         (outerHook): ditto
7001         (isFirstInSequence): ditto
7002         (getEndLabel): ditto
7003         (outerFont): adjust
7004
7005         * paragraph.C (getParLanguage): comment out some hard stuff.
7006
7007         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7008         (sgmlError): ditto
7009         (simpleDocBookOnePar): ditto
7010         (makeDocBookFile): use ParagraphList::iterator
7011
7012         * CutAndPaste.C (pasteSelection): adjust
7013
7014 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * text2.C (getFont): adjust
7017         (getLayoutFont): adjust
7018         (getLabelFont): adjust
7019
7020         * paragraph_funcs.C (TeXOnePar): adjust
7021
7022         * buffer.C (simpleLinuxDocOnePar): adjust
7023         (simpleDocBookOnePar): adjust
7024
7025         * CutAndPaste.C (pasteSelection): adjust
7026
7027         * BufferView.C (getEncoding): adjust
7028
7029         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7030
7031 2003-04-16  John Levon  <levon@movementarian.org>
7032
7033         * lyxfind.C: use parlist stuff for search/changes
7034
7035 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7038
7039         * text2.C (deleteEmptyParagraphMechanism): adjust
7040
7041         * text2.[Ch] (ownerParagraph): delete func (both of them
7042
7043 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7046
7047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * ParagraphList.C: prepare for NO_NEXT
7050
7051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * text2.C (getFont): adjust
7054         (getLayoutFont): adjust
7055         (getLabelFont): adjust
7056
7057         * paragraph.C (getFont): adjust
7058         (getLabelFont): adjust
7059         (getLayoutFont): adjust
7060
7061         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7062
7063 2003-04-15  John Levon  <levon@movementarian.org>
7064
7065         From Angus Leeming
7066
7067         * lyx_main.C: handle Include in .ui files
7068
7069 2003-04-15  John Levon  <levon@movementarian.org>
7070
7071         * MenuBackend.C: make the doc files length shorter
7072
7073         * ToolbarBackend.h:
7074         * ToolbarBackend.C: handle toolbar placement flags,
7075         Minibuffer
7076
7077 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7080         adjust
7081
7082         * paragraph_funcs.C (TeXOnePar): adjust
7083
7084         * paragraph.C (getLabelFont): add outerfont arg, adjust
7085         (getLayoutFont): ditto
7086         (simpleTeXOnePar): adjust
7087
7088         * paragraph_pimpl.C (realizeFont): delete func
7089
7090 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7091
7092         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7093         row argument, constify cur argument.
7094
7095 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * text2.C (getFont): adjust
7098         (getLayoutFont): adjust
7099         (getLabelFont): adjust
7100
7101         * paragraph_funcs.C (TeXOnePar): adjust
7102         (outerFont): new func...
7103         (realizeFont): ...moved out from here, changed this to facilitate
7104         transition
7105
7106         * paragraph.C (getFont): take outerfont as arg, adjust
7107         (simpleTeXOnePar): add outerfont arg, adjust
7108
7109         * buffer.C (simpleLinuxDocOnePar): adjust
7110         (simpleDocBookOnePar): adjust
7111
7112         * CutAndPaste.C (pasteSelection): adjust
7113
7114         * BufferView.C (getEncoding): adjust
7115
7116 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * text2.C (setCharFont): adjust
7119         (setCounter): adjust
7120
7121         * text.C (leftMargin): adjust
7122         (setHeightOfRow): adjust
7123
7124         * rowpainter.C (paintFirst): adjust
7125         (paintLast): adjust
7126
7127         * paragraph_pimpl.C (realizeFont): adjust
7128
7129         * paragraph.C (isFirstInSequence): move from here...
7130         * paragraph_funcs.C (isFirstInSequence): ...to here
7131
7132         * paragraph.C (outerHook): move from here...
7133         * paragraph_funcs.C (outerHook): ...to here
7134
7135         * paragraph.C (depthHook): move from here...
7136         * paragraph_funcs.C (depthHook): ...to here
7137
7138         * paragraph.C (getEndLabel): move from here...
7139         * paragraph_funcs.C (getEndLabel): ...to here
7140
7141         * text2.C (realizeFont): move from here...
7142         * paragraph_funcs.C (realizeFont): ...to here
7143
7144 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7147
7148 2003-04-14  Angus Leeming  <leeming@lyx.org>
7149
7150         * LColor.[Ch]: scrap LColor mathcursor.
7151
7152 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * lyxlex.[Ch] (text): delete function
7155         * trans.C (Load): adjust
7156         * paragraph_funcs.C (readParToken): adjust
7157
7158 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7161         vector<char> instead of a char[].
7162
7163         * lyxlex_pimpl.C (getString): adjust
7164         (next): adjust
7165         (lex): use getString
7166         (eatLine): adjust
7167         (nextToken): adjust
7168
7169         * lyxlex.C (text): use pimpl_->getString()
7170         (getBool): ditto
7171         (findToken): ditto
7172
7173 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7176         (makeFontEntriesLayoutSpecific): temp var for par.size()
7177         (setLayout): temp var for ownerParagraphs().end()
7178         (fullRebreak): temp var for rows().end()
7179         (selectionAsString): temp var for boost::next(startpit), realize
7180         that the while really is a regular for loop.
7181         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7182         setCursor in one place.
7183         (setParagraph): temp vr for ownerParagraphs().end()
7184         (updateCounters): make the while loop a for loop
7185         (cutSelection): temp var for ownerParagraphs().end()
7186         (updateInset): make the do {} while() a regular for loop
7187         (getCursorX): use temp vars
7188         (setCurrentFont): use temp vars
7189         (getColumnNearX): use temp vars
7190
7191 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * text.C (transformChar): use temp var for getChar
7194         (computeBidiTables): use temp var for row->par()
7195         (fill): move temp vars for row->par() and pit->layout() earlier in
7196         the function.
7197         (labelFill): use temp var for row->par()
7198         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7199         asc and desc, realize that pit never changes and that firstpit is
7200         just a duplicate and not needed. Exchange rit->par() with pit in a
7201         lot of places.
7202         (breakAgain): use a temp var for boost::next(rit)
7203         (breakAgainOneRow): ditto
7204         (breakParagraph): use a temp var for rows().begin()
7205         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7206         (cursorRightOneWord): use temp var for cursor.par() and
7207         cursor.pos(), remove usage of tmpcursor.
7208         (cursorLeftOneWord): use temp var for cursor.par() and
7209         cursor.pos() only set cur at end of function.
7210
7211 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * text.C, text2.C: exchange all usage of Paragraph::next with
7214         boost::next(ParagraphList::iterator)
7215
7216         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7217
7218         * text2.C (cursorTop): simplify implementation
7219         (cursorBottom): ditto
7220         (setParagraph): use ParagraphList::iterator
7221         (setCurrentFont): adjust
7222         (getColumnNearX): adjust
7223         (cursorRight): adjust
7224         (cursorLeft): remove usage of Paragraph::previous
7225         (cursorUpParagraph): ditto
7226         (deleteEmptyParagraphMechanism): slight cleanup
7227
7228         * text.C (isBoundary): take a Paragraph const & instead of a
7229         pointer as arg.
7230         (addressBreakPoint): ditto
7231         (leftMargin): remove usage of Paragraph::previous.
7232         (setHeightOfRow): ditto
7233         (cursorLeftOneWord): ditto
7234         (selectNextWordToSpellcheck): ditto
7235         (Delete): ditto
7236         (backspace): ditto
7237         (breakParagraph): remove one usage of Paragraph::next
7238         (redoParagraph): ditto
7239         (acceptChange): ditto
7240         (insertChar): adjust
7241         (rowBreakPoint): adjust
7242
7243         * bufferview_funcs.C (toggleAndShow): adjust
7244
7245 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7246
7247         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7248         methods to access it.
7249         * lyxtext.h:
7250         * text.C: Added updateRowPositions to compute all row positions.
7251         Make top_y and getRowNearY() to use the cached y position
7252
7253 2003-04-11  John Levon  <levon@movementarian.org>
7254
7255         * text.C (rowBreakPoint): reintroduce the labelEnd
7256         checks, code copied from the row fill stuff. Deep voodoo.
7257
7258         * text.C (fill): add a comment and debugging for the
7259         next poor soul.
7260
7261 2003-04-11  John Levon  <levon@movementarian.org>
7262
7263         * text.C: make sure fullrow insets get wrapped to the next line,
7264         even when they're in a manual label
7265
7266 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * text2.C (insertParagraph): make it take ParagraphList::iterator
7269         as arg.
7270         (setLayout): make it return ParagraphList::iterator
7271         (redoParagraphs): ditto
7272         (setCounter): ditto
7273         (checkParagraph): ditto
7274
7275         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7276
7277         * text2.C: adjust several funcs.
7278         (realizeFont): take a ParagraphList::iterator as arg.
7279         (getLayoutFont): ditto
7280         (getLabelFont): ditto
7281         (setCharFont): ditto
7282
7283         * text.C: adjust several funcs.
7284
7285 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7286
7287         * text.C (selectNextWordToSpellcheck): don't accidentally
7288         skip insets
7289
7290 2003-04-10  John Levon  <levon@movementarian.org>
7291
7292         * ToolbarBackend.C (getIcon): special handling for
7293         LFUN_MATH_DELIM
7294
7295 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7296
7297         * text2.C (cursorRight): a getChar assert fixed
7298
7299 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * text2.C (getFont): change to take a ParagraphList::iterator
7302         instead of Paragraph*
7303         Adjust several functions.
7304
7305         * text.C (transformChar): change to take a ParagraphList::iterator
7306         instead of Paragraph*
7307         (singleWidth): ditto
7308         Adjust several functions.
7309
7310         * rowpainter.C: adjust several functions
7311         * rowpainter.h:store a ParagraphList::iterator and not a
7312         Paragraph&.
7313
7314
7315 2003-04-09  John Levon  <levon@movementarian.org>
7316
7317         * lyxfunc.C:
7318         * lfuns.h:
7319         * LyXAction.h:
7320         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7321         and the "help" bits as well
7322
7323 2003-04-09  John Levon  <levon@movementarian.org>
7324
7325         * ToolbarBackend.h:
7326         * ToolbarBackend.C: allow multiple toolbars
7327
7328 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * undo_funcs.C (setCursorParUndo): adjust
7331
7332         * text_funcs.C (transposeChars): adjust
7333
7334         * text3.C (gotoNextInset): adjust
7335         (dispatch): adjust
7336
7337         * text2.C (setLayout): adjust
7338         (changeDepth): adjust
7339         (setFont): adjust
7340         (redoParagraphs): adjust
7341         (selectionAsString): adjust
7342         (setParagraph): adjust
7343         (insertInset): adjust
7344         (cutSelection): adjust
7345         (copySelection): adjust
7346         (pasteSelection): adjust
7347         (insertStringAsLines): adjust
7348         (updateInset): adjust
7349         (setCursor): change to take a ParagraphList::iterator parameter
7350         (setCursorIntern): change to take a ParagraphList::iterator parameter
7351         (setCurrentFont): adjust
7352         (cursorLeft): adjust
7353         (cursorRight): adjust
7354         (deleteEmptyParagraphMechanism): adjust
7355
7356         * text.C (breakParagraph): adjust
7357         (insertChar): adjust
7358         (acceptChange): adjust
7359         (rejectChange): adjust
7360         (selectNextWordToSpellcheck): adjust
7361         (changeCase): adjust
7362         (Delete): adjust
7363         (backspace): adjust
7364
7365         * lyxfind.C (SearchForward): adjust
7366         (SearchBackward): adjust
7367         (nextChange): adjust
7368
7369         * lyxcursor.C (par): adjust
7370
7371         * lyxcursor.h: store a ParagraphList::iterator instead of a
7372         Paragraph*
7373
7374         * lyx_cb.C (getPossibleLabel): adjust
7375
7376         * bufferview_funcs.C (toggleAndShow): adjust
7377
7378         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7379         (dispatch): adjust
7380
7381         * BufferView.C (removeAutoInsets): adjust
7382         (lockedInsetStoreUndo): adjust
7383
7384 2003-04-09  John Levon  <levon@movementarian.org>
7385
7386         * ToolbarBackend.C: try icon without argument
7387         if with argument fails
7388
7389 2003-04-08  John Levon  <levon@movementarian.org>
7390
7391         * ToolbarBackend.h:
7392         * ToolbarBackend.C: add getIcon(), handle tooltip,
7393         and change from "Icon" to "Item".
7394
7395 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7396
7397         * BufferView.C (lockInset): another bad getchar crunched
7398
7399 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7402         again)
7403
7404 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * lyxfind.C (searchForward, searchBackwards): bug 782
7407
7408 2003-04-07  John Levon  <levon@movementarian.org>
7409
7410         * paragraph.C: remove dead comment
7411
7412         * text.C: remove troublesome depth-fiddling code
7413         in leftMargin() and rightMargin() (bug 1017)
7414
7415         * text.C: fix breaking of rows in nested lists
7416         (bug 1004)
7417
7418         * text2.C (updateCounters): fix up depth values
7419         (bug 1013)
7420
7421 2003-04-07  John Levon  <levon@movementarian.org>
7422
7423         * BufferView_pimpl.C: clear message when doc finishes resizing,
7424         and after a mouse event
7425
7426         * lyxfunc.C: clear message after exiting inset
7427
7428 2003-04-07  John Levon  <levon@movementarian.org>
7429
7430         * bufferview_funcs.C: show math status not outside
7431         status in the statusbar
7432
7433 2003-04-07  John Levon  <levon@movementarian.org>
7434
7435         * lyxfunc.C: note status changed after a depth change
7436
7437 2003-04-04  Angus Leeming  <leeming@lyx.org>
7438
7439         * LaTeX.h: move AuxInfo operator==, != out of line.
7440         Remove LaTeX virtual destructor; nothing derives from it.
7441         Move operator()() out of public area and rename it startscript().
7442         Change protected for private.
7443
7444 2003-04-04  Angus Leeming  <leeming@lyx.org>
7445
7446         * lyxfunc.C:
7447         * text2.C: remove unneeded #includes.
7448
7449 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7450
7451         * text2.C (dEPM): fix the heigth of the next row
7452
7453 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7454
7455         * text.C: squashed an invalid getChar requester + some ws changes
7456
7457 2003-04-03  John Levon  <levon@movementarian.org>
7458
7459         * bufferview_funcs.h:
7460         * bufferview_funcs.C:
7461         * lyxfunc.C:
7462         * lyxtext.h:
7463         * text2.C: make getStatus work for the env depth lfuns
7464
7465 2003-04-03  John Levon  <levon@movementarian.org>
7466
7467         * bufferview_funcs.h:
7468         * bufferview_funcs.C:
7469         * lyxfunc.C:
7470         * lyxtext.h:
7471         * text2.C: parlistize decDepth(), by merging it with incDepth()
7472
7473 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * lyxrow.h: store a ParagraphList::iterator instead of a
7476         Paragraph* and adjust other class functions to suit.
7477
7478         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7479         above.
7480
7481 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7482
7483         * text2.C (setCursor): do not anchor to cursor row for the time being
7484
7485 2003-04-02  John Levon  <levon@movementarian.org>
7486
7487         * LyXAction.C:
7488         * lfuns.h:
7489         * lyx_main.C:
7490         * lyxtext.h:
7491         * text.C:
7492         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7493
7494 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * paragraph.h: make ParagraphList and ParagraphList::iterator
7497         friends of Paragraph.
7498
7499         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7500
7501         * ParagraphList.C: Use the private next_ and previous_ from
7502         Paragraph.
7503
7504 2003-04-01  John Levon  <levon@movementarian.org>
7505
7506         * ToolbarBackend.h:
7507         * ToolbarBackend.C:
7508         * Makefile.am: rename, remove defaults gunk
7509
7510         * MenuBackend.h:
7511         * MenuBackend.C: remove defaults gunk
7512
7513         * Languages.h:
7514         * Languages.C: remove defaults gunk
7515
7516         * lyx_main.h:
7517         * lyx_main.C: error out if files couldn't be found.
7518
7519 2003-04-02  John Levon  <levon@movementarian.org>
7520
7521         * text2.C: make incDepth() use parlist
7522
7523 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * undo_funcs.C (firstUndoParagraph): adjust
7526
7527         * text3.C (gotoInset): adjust
7528         (dispatch): adjust, and rewrite loop.
7529
7530         * text2.C (init): adjust, and rewrite loop.
7531         (redoParagraphs): adjust
7532         (updateInset): adjust, and rewrite loop.
7533         (deleteEmptyParagraphMechanism): adjust
7534
7535         * tabular.C (LyXTabular): adjust
7536         (SetMultiColumn): adjust
7537         (TeXRow): adjust
7538
7539         * lyxtext.[Ch] (ownerParagraph): delete function
7540         (ownerParagraphs): new function returns a ParagraphList.
7541
7542         * BufferView.C (removeAutoInsets): adjust
7543         (insertErrors): adjust
7544         (setCursorFromRow): adjust
7545
7546 2003-04-01  Angus Leeming  <leeming@lyx.org>
7547
7548         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7549         in the frontends.
7550
7551 2003-04-02  John Levon  <levon@movementarian.org>
7552
7553         * lyxtext.h:
7554         * text.C:
7555         * Makefile.am:
7556         * text_funcs.h:
7557         * text_funcs.C: make transposeChars a free function
7558
7559         * lyxrow_funcs.C: remove wrong comment
7560
7561 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * lyxtext.h: adjust
7564         * rowpainter.C: adjust
7565         * text.C: adjust
7566         * text2.C: adjust
7567         * text3.C: adjust
7568
7569         * lyxrow_funcs. [Ch]: new files
7570
7571         * lyxrow.[Ch]: remove next and previous pointers
7572         (next,previous): remove accessor functions
7573         (isParEnd): move to lyxrow_funcs
7574         (lastPos): move to lyxrow_funcs
7575         (nextRowIsAllInset): move to lyxrow_funcs
7576         (lastPrintablePos): move to lyxrow_funcs
7577         (numberOfSeparators): move to lyxrow_funcs
7578         (numberOfHfills): move to lyxrow_funcs
7579         (numberOfLabelHfills): move to lyxrow_funcs
7580         (hfillExpansion): move to lyxrow_funcs
7581
7582         * lyxfunc.C: adjust
7583
7584         * bufferview_funcs.C (toggleAndShow): adjust
7585
7586         * RowList.h: Remove class RowList from file leave just a
7587         std::list<Row>.
7588
7589         * RowList.C: delete file
7590
7591         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7592         and lyxrow_funcs.h
7593
7594 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * text3.C (cursorPrevious): adjust
7597         (cursorNext): adjust
7598         (dispatch): adjust
7599
7600         * text2.C (redoHeightOfParagraph): adjust
7601         (redoDrawingOfParagraph): adjust
7602         (setCursor): adjust
7603
7604         * text.C (breakParagraph): adjust
7605         (insertChar): adjust
7606         (backspace): adjust
7607
7608         * rowpainter.C (RowPainter): adjust
7609         (leftMargin): simplify and adjust
7610         (most rowpainter functions): adjust.
7611
7612         * rowpainter.h: store the row as RowList::iterator not as Row*
7613
7614         * lyxcursor.C (row): taka RowList::iterator as arg
7615         (irow): ditto
7616
7617         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7618         of Row*.
7619
7620 2003-04-01  Angus Leeming  <leeming@lyx.org>
7621
7622         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7623         stuff like bool Bool.
7624
7625 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7626
7627         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7628         rewrite a loop
7629
7630 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7633         RowList::iterator.
7634
7635         * lyxtext.h (rows): drop one version and leve a const variant that
7636         returns a RowList::iterator.
7637
7638 2003-03-31  Angus Leeming  <leeming@lyx.org>
7639
7640         * text.C (fill): ensure that the signature is the same as that in the
7641         header file.
7642
7643 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7644
7645         * text2.C (redoParagraphs): adjust
7646         (updateCounters): adjust
7647         (checkParagraph): adjust
7648         (getColumnNearX): adjust and reformat a bit.
7649
7650         * text.C (top_y): adjust
7651         (workWidth): adjust
7652         (leftMargin): adjust
7653         (prepareToPrint): adjust
7654         (getRow): adjust
7655         (getRowNearY): adjust
7656
7657         * lyxtext.h: make rowlist_ mutable.
7658
7659         * RowList.h: add const_iterator
7660         * RowList.C: adjust for RowList::const_iterator.
7661
7662         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7663         adjust.
7664
7665 2003-03-31  John Levon  <levon@movementarian.org>
7666
7667         * lyxrc.h:
7668         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7669
7670         * lyx_main.C: set default fonts from using lyx_gui funcs
7671
7672         * exporter.C: pdf_mode moved from lyxrc
7673
7674         * lyx_cb.C:
7675         * lyxfunc.C: changes from above
7676
7677 2003-03-31  John Levon  <levon@movementarian.org>
7678
7679         * lyx_main.C: fix to the last fix
7680
7681 2003-03-31  John Levon  <levon@movementarian.org>
7682
7683         * bufferlist.C: "Load original" -> "Load Original"
7684
7685         * converter.C:
7686         * exporter.C:
7687         * importer.C:
7688         * lyx_main.C:
7689         * format.C: more Alert cleanups
7690
7691 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * text2.C (removeParagraph): make it take a RowList::iterator as
7694         arg, adjust.
7695         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7696         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7697
7698         * text.C (anchor_row): make it take a RowList::iterator as arg,
7699         adjust.
7700         (computeBidiTables): make it take a const reference to Row instead
7701         of Row pointer, adjust.
7702         (leftMargin): make it take a RowList::iterator as arg, adjust.
7703         (rowBreakPoint): adjust
7704         (breakAgainOneRow): make it take a RowList::iterator as arg,
7705         adjust.
7706         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7707
7708         * bufferview_funcs.C (toggleAndShow): adjust
7709
7710 2003-03-30  John Levon  <levon@movementarian.org>
7711
7712         * Makefile.am:
7713         * BoostFormat.h:
7714         * boost-inst.C: moved to support
7715
7716         * several files: changes as a result
7717
7718 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7719
7720         * text2.C (LyXText): adjust.
7721         (init): adjust
7722         (removeRow): make it take a RowList::iterator as arg, adjust.
7723         (fullRebreak): adjust
7724         (deleteEmptyParagraphMechanism): adjust
7725         (clearPaint): adjust
7726         (postPaint): adjust
7727
7728         * text.C (top_y): adjust
7729         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7730         (breakAgain): make it take a RowList::iterator as arg, adjust.
7731         (breakParagraph): adjust
7732         (insertChar): adjust
7733         (backspace): adjust
7734
7735         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7736         need_break_row, and refresh_row.
7737
7738         * text3.C (dispatch): adjust
7739
7740         * text2.C (checkParagraph): adjust
7741         (setCursor): adjust
7742         (setCursorFromCoordinates): adjust
7743
7744         * text.C (top_y): adjust
7745         (workWidth): adjust
7746         (getRow): make it return a RowList::iterator, adjust
7747         (getRowNearY): make it return a RowList::iterator, adjust
7748
7749         * text2.C (init): adjust
7750         (insertRow): remove function
7751         (insertParagraph): adjust
7752         (redoParagraphs): adjust
7753         (fullRebreak): adjust
7754         (updateCounters): adjust
7755
7756         * text.C (top_y): rewrite to use RowList iterators.
7757         (top_y): adjust
7758         (setHeightOfRow): rewrite to sue RowList iterators.
7759         (appendParagraph): adjust
7760         (breakAgain): adjust
7761         (breakAgainOneRow): adjust
7762         (breakParagraph): adjust
7763         (getRow): adjust
7764         (getRowNearY): adjust, and remove commented code.
7765
7766         * lyxtext.h (firstRow): delete function
7767         (lastRow): delete function
7768         (rows): new function (const and non-const versions.)
7769         (insertRow): delete function
7770
7771         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7772
7773 2003-03-29  John Levon  <levon@movementarian.org>
7774
7775         * BufferView_pimpl.C: always update scrollbar top
7776         because pasting text when we're anchored could mean we
7777         miss an update altogether
7778
7779 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * text2.C (init): use rowlist_.end() and not 0.
7782         (insertRow): change to take a RowList::iterator as arg, adjust
7783         for this.
7784         (insertParagraph): change to take a RowList::iterator as arg,
7785         adjust for this.
7786         (redoParagraphs): remove some debug msgs.
7787
7788         * text.C (appendParagraph): change to take a RowList::iterator
7789         arg, adjust for this.
7790         (breakAgain): add an assert
7791         (breakAgainOneRow): ditto
7792
7793 2003-03-29  John Levon  <levon@movementarian.org>
7794
7795         * text2.C: do not clear selection after inc/decDepth
7796         (bug 550)
7797
7798 2003-03-29  John Levon  <levon@movementarian.org>
7799
7800         * BufferView.C:
7801         * buffer.C: fix broken strerrors according to Lars
7802
7803 2003-03-29  John Levon  <levon@movementarian.org>
7804
7805         * converters.C: more Alert cleanups
7806
7807 2003-03-29  John Levon  <levon@movementarian.org>
7808
7809         * bufferview_funcs.C: remove pointless Alert
7810
7811         * buffer.C: fix confusing error message when
7812         a template is chmoded 000
7813
7814 2003-03-29  John Levon  <levon@movementarian.org>
7815
7816         * BufferView.C:
7817         * BufferView.h:
7818         * BufferView_pimpl.C: Alert fixes
7819
7820         * Makefile.am:
7821         * tabular.C:
7822         * tabular-old.C: remove unused table compat reading
7823
7824 2003-03-29  John Levon  <levon@movementarian.org>
7825
7826         * BufferView.C:
7827         * buffer.C:
7828         * lyx_cb.h:
7829         * lyx_cb.C: more Alert cleanups
7830
7831         * lyxfunc.C: don't allow chktex if not latex document
7832
7833 2003-03-29  John Levon  <levon@movementarian.org>
7834
7835         * lyx_cb.C:
7836         * BufferView.C:
7837         * buffer.C: warnings pushed down from support/,
7838         kill err_alert
7839
7840 2003-03-29  John Levon  <levon@movementarian.org>
7841
7842         * lyxfunc.C: safety check for C-r (revert)
7843
7844 2003-03-29  John Levon  <levon@movementarian.org>
7845
7846         * bufferlist.h:
7847         * bufferlist.C: several UI fixes using Alert::prompt.
7848         Fix the pointless looping quit code. Fix stupid revert
7849         behaviour (bug 938)
7850
7851         * lyxvc.h:
7852         * lyxvc.C:
7853         * lyx_cb.C: use Alert::prompt
7854
7855         * lyx_main.C: remove a silly question
7856
7857         * lyxfunc.C: remove a couple of silly questions,
7858         use Alert::prompt
7859
7860 2003-03-28  John Levon  <levon@movementarian.org>
7861
7862         * text2.C: fix bug 974 (End on empty par)
7863
7864 2003-03-28  John Levon  <levon@movementarian.org>
7865
7866         * BufferView_pimpl.C:
7867         * LyXAction.C:
7868         * lfuns.h: remove do-nothing math greek lfuns
7869
7870 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * lyxgluelength.h (isValidGlueLength): add default arg on
7873         parameter 2. Remove default arg from friend in class.
7874
7875         * lyxlength.h (isValidLength): add default arg on parameter 2.
7876         Remove default arg from friend in class.
7877
7878         * text2.C (LyXText): adjust, initialize refresh_row.
7879         (init): adjust
7880         (removeRow): adjust
7881         (insertRow): adjust
7882         (insertParagraph): adjst
7883         (redoParagraphs): adjust
7884         (fullRebreak): adjust
7885         (updateCounters): adjust
7886         (deleteEmptyParagraphMechanism): first attempt at fixing a
7887         crashing bug.
7888
7889         * text.C (top_y): adjust
7890         (setHeightOfRow): adjust
7891         (getRow): adjust
7892         (getRowNearY): adjust
7893
7894         * lyxtext.h: include RowList.h
7895         (~LyXText): not needed anymore, deleted.
7896         (firstRow): modify for RowList
7897         (lastRow): new function
7898         Delete firstrow and lastrow class variables, add a Rowlist
7899         rowlist_ class variable.
7900
7901         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7902         paragraph is empty.
7903
7904         * RowList.C (insert): fix case where it == begin().
7905
7906 2003-03-26  Angus Leeming  <leeming@lyx.org>
7907
7908         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7909         the thesaurus dialog.
7910
7911 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7914
7915         * RowList.[Ch]: new files
7916
7917         * ParagraphList.C (erase): handle the case where it == begin
7918         correctly.
7919
7920 2003-03-25  John Levon  <levon@movementarian.org>
7921
7922         * Makefile.am:
7923         * aspell_local.h:
7924         * aspell.C: add new aspell support
7925
7926         * lyxrc.h:
7927         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7928         have it accessible.
7929
7930 2003-03-25  Angus Leeming  <leeming@lyx.org>
7931
7932         * lfuns.h:
7933         * LyXAction.C (init): new LFUN_INSET_INSERT.
7934
7935         * BufferView_pimpl.C (dispatch): split out part of the
7936         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7937
7938         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7939         LFUN_INSET_APPLY.
7940
7941 2003-03-25  Angus Leeming  <leeming@lyx.org>
7942
7943         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7944
7945 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7946
7947         * text2.C:
7948         * text3.C: remove useless row->height(0)
7949
7950 2003-03-25  John Levon  <levon@movementarian.org>
7951
7952         * lyxtext.h:
7953         * text2.C:
7954         * text3.C: rename the refreshing stuff to better names
7955
7956 2003-03-24  John Levon  <levon@movementarian.org>
7957
7958         * BufferView_pimpl.h:
7959         * BufferView_pimpl.C: update layout choice on a mouse
7960         press/release
7961
7962 2003-03-23  John Levon  <levon@movementarian.org>
7963
7964         * Makefile.am: fix commandtags.h reference
7965
7966 2003-03-22  John Levon  <levon@movementarian.org>
7967
7968         * BufferView_pimpl.C:
7969         * lyxtext.h:
7970         * rowpainter.C:
7971         * rowpainter.h:
7972         * text.C:
7973         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7974
7975 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7976
7977         * lyxtext.h:
7978         * text.C: take the rtl methods out of line
7979
7980 2003-03-21 André Pönitz <poenitz@gmx.net>
7981
7982         * metricsinfo.[Ch]: new files containing structures to be passed around
7983         during the two-phase-drawing...
7984
7985 2003-03-21 André Pönitz <poenitz@gmx.net>
7986
7987         * lyxtextclass.C: read 'environment' tag.
7988
7989 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7990
7991         * text2.C (removeRow): fix bug 964
7992
7993 2003-03-20  John Levon  <levon@movementarian.org>
7994
7995         * rowpainter.C:
7996         * text.C:
7997         * text2.C: paint cleanups. Inset::update() dropped font
7998         parameter
7999
8000 2003-03-19  John Levon  <levon@movementarian.org>
8001
8002         * lyxfunc.C: only fitcursor/markDirty if available()
8003
8004 2003-03-19  John Levon  <levon@movementarian.org>
8005
8006         * commandtags.h: rename to ...
8007
8008         * lfuns.h: ... this, and renumber / cleanup
8009
8010 2003-03-19  John Levon  <levon@movementarian.org>
8011
8012         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8013         fit the cursor after an lfun
8014
8015         * BufferView.h:
8016         * BufferView.C:
8017         * BufferView_pimpl.h:
8018         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8019
8020         * LyXAction.C: layout-character should have ReadOnly
8021
8022         * ParagraphParameters.C:
8023         * buffer.C:
8024         * bufferview_funcs.C:
8025         * lyx_cb.C:
8026         * lyxfind.C:
8027         * lyxtext.h:
8028         * text.C:
8029         * text2.C:
8030         * text3.C:
8031         * undo_funcs.C: changes from above
8032
8033 2003-03-18  John Levon  <levon@movementarian.org>
8034
8035         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8036         remove it from update()
8037
8038         * lyxfunc.C: update layout choice after an lfun
8039
8040         * text3.C: remove extra updateLayoutChoice()s
8041
8042 2003-03-18  John Levon  <levon@movementarian.org>
8043
8044         * text.C: top_y change means full repaint, fix
8045         a drawing bug with cursor movement
8046
8047 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8048
8049         * lyxtext.h:
8050         * text.C:
8051         * text2.C: anchor row on setCursor
8052
8053 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8054
8055         * lyxtext.h: remove almost all mutable keywords
8056         * text.C:
8057         * text2.C:
8058         * text3.C: remove const keywords accordingly
8059
8060 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8063         anon namespace
8064         (TeXEnvironment): ditto
8065         (TeXOnePar): ditto
8066
8067 2003-03-17  John Levon  <levon@movementarian.org>
8068
8069         * text.C (rowBreakPoint): remove attempt to fix displayed
8070         math insets inside a manual label
8071
8072 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * lyxtext.h: remove BufferView* as first arg from almost all class
8075         functions.
8076         * other files: adjust.
8077
8078 2003-03-17  John Levon  <levon@movementarian.org>
8079
8080         * lyxtext.h:
8081         * undo_funcs.C:
8082         * text2.C: more paint cleanups
8083
8084         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8085
8086         * rowpainter.h:
8087         * rowpainter.C: remove "smart" background painting code
8088
8089 2003-03-16  John Levon  <levon@movementarian.org>
8090
8091         * lyxtext.h:
8092         * text.C:
8093         * text2.C:
8094         * text3.C: add helper functions for setting refresh_row/y
8095
8096 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8097
8098         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8099         newline inset which *can* get inserted in the pass_thru layouts.
8100         This is primarily for literate documents.
8101
8102 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8103
8104         * buffer.C: increment LYX_FORMAT to 223
8105
8106 2003-03-14 André Pönitz <poenitz@gmx.net>
8107
8108         * textclass.h: prepare for environment handling, ws changes
8109         * lyxlayout.C: read latexheader and latexfooter tags
8110
8111 2003-03-14  John Levon  <levon@movementarian.org>
8112
8113         * text2.C: rewrite ::status() a bit
8114
8115 2003-03-13  John Levon  <levon@movementarian.org>
8116
8117         * lyxtext.h: add some docs
8118
8119 2003-03-13  John Levon  <levon@movementarian.org>
8120
8121         * lyxtext.h:
8122         * text.C:
8123         * text2.C:
8124         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8125
8126 2003-03-13  John Levon  <levon@movementarian.org>
8127
8128         * text3.C: fix appendix redrawing
8129
8130 2003-03-13  John Levon  <levon@movementarian.org>
8131
8132         * text.C (setHeightOfRow):
8133         * rowpainter.h:
8134         * rowpainter.C: make appendix mark have the text
8135           "Appendix" so the user knows what it is
8136
8137         * LColor.h:
8138         * LColor.C: s/appendixline/appendix/ from above
8139
8140 2003-03-13  John Levon  <levon@movementarian.org>
8141
8142         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8143
8144         * text.C: fix a getChar(pos) bug properly
8145
8146 2003-03-13  Angus Leeming  <leeming@lyx.org>
8147
8148         * commandtags.h:
8149         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8150         Probably only temporary. Let's see how things pan out.
8151
8152         * BufferView.C (unlockInset):
8153         * BufferView_pimpl.C (fitCursor):
8154         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8155
8156         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8157         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8158
8159         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8160         new functions that convert ParagraphParameters to and from a string.
8161
8162         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8163         BufferView::Pimpl's dispatch.
8164         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8165
8166 2003-03-13 André Pönitz <poenitz@gmx.net>
8167
8168         * lyxfunc.C:
8169         * text3.C:
8170         * factory.C: make it aware of InsetEnv
8171
8172 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * text2.C (setCursor): never ask for one past last
8175         (setCursor): add some debugging messages.
8176
8177         * text.C (singleWidth): never ask for one past last
8178         (singleWidth): ditto
8179         (leftMargin): ditto
8180         (rightMargin): ditto
8181         (rowBreakPoint): ditto
8182         (setHeightOfRow): ditto
8183         (prepareToPrint): ditto
8184
8185         * rowpainter.C (paintBackground): never ask for one past last
8186         (paintText): never ask for one past last
8187
8188         * paragraph_pimpl.C (getChar): make the assert stricter, never
8189         allow the one past last pos to be taken
8190
8191         * paragraph.C (getChar): ws changes only
8192
8193         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8194         (numberOfSeparators): ditto
8195         (numberOfHfills): ditto
8196
8197 2003-03-12  John Levon  <levon@movementarian.org>
8198
8199         * author.h:
8200         * author.C:
8201         * bufferparams.h:
8202         * bufferparams.C:
8203         * paragraph_funcs.C: fix per-buffer authorlists
8204
8205 2003-03-12  John Levon  <levon@movementarian.org>
8206
8207         * text.C: fix newline in right address
8208
8209 2003-03-12  Angus Leeming  <leeming@lyx.org>
8210
8211         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8212         duplicate those in LyXFunc::dispatch.
8213
8214         * commandtags.h:
8215         * LyXAction.C:
8216         * ToolbarDefaults.C:
8217         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8218         Add LFUN_FONTFREE_UPDATE.
8219
8220         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8221         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8222
8223         * bufferview_func.[Ch]: several new functions to facilliate
8224         transfer of data to and from the character dialog.
8225
8226 2003-03-12  John Levon  <levon@movementarian.org>
8227
8228         * buffer.C:
8229         * paragraph.h:
8230         * paragraph.C:
8231         * paragraph_funcs.C:
8232         * paragraph_pimpl.C:
8233         * sgml.C:
8234         * tabular.C:
8235         * text.C:
8236         * text3.C: remove META_NEWLINE in favour of an inset
8237
8238         * rowpainter.h:
8239         * rowpainter.C: remove paintNewline (done by inset)
8240
8241 2003-03-12  John Levon  <levon@movementarian.org>
8242
8243         * paragraph_pimpl.C: complain about bad getChar()s
8244         for a while at least
8245
8246 2003-03-12  John Levon  <levon@movementarian.org>
8247
8248         * buffer.h:
8249         * buffer.C: move paragraph read into a separate function,
8250         a little renaming to reflect that.
8251
8252         * bufferparams.h:
8253         * bufferparams.C: remove the author_ids map, not necessary now
8254
8255         * factory.h:
8256         * factory.C: moved Buffer::readInset to here
8257
8258         * paragraph_funcs.h:
8259         * paragraph_funcs.C: readParagraph free function moved from
8260         buffer.C
8261
8262         * tabular.C: name change
8263
8264 2003-03-12  John Levon  <levon@movementarian.org>
8265
8266         * buffer.C:
8267         * ParagraphParameters.C: move par params input to
8268         a read() method
8269
8270         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8271         behave like a normal read from the stream wrt reading
8272         a line vs. a \\token
8273
8274 2003-03-12  John Levon  <levon@movementarian.org>
8275
8276         * paragraph.C:
8277         * ParagraphParameters.h:
8278         * ParagraphParameters.C: move output code to a
8279         ::write() method
8280
8281 2003-03-12  John Levon  <levon@movementarian.org>
8282
8283         * BufferView.C (insertLyXFile):
8284         * buffer.h:
8285         * buffer.C:
8286         * tabular.C: use a parlist iterator for creating the
8287           document.
8288
8289 2003-03-12  John Levon  <levon@movementarian.org>
8290
8291         * buffer.C: make current_change static local not
8292           static file-scope
8293
8294 2003-03-12  John Levon  <levon@movementarian.org>
8295
8296         * buffer.C: fix insertStringAsLines for change tracking
8297
8298 2003-03-12  John Levon  <levon@movementarian.org>
8299
8300         * BufferView.C:
8301         * tabular.C:
8302         * buffer.h:
8303         * buffer.C:
8304         * bufferparams.h:
8305         * bufferparams.C: move author list into params. Rename some
8306           functions. Move the header reading into a separate token
8307           loop. Move the header token reading into BufferParams.
8308
8309 2003-03-12  John Levon  <levon@movementarian.org>
8310
8311         * changes.C: put debug inside lyxerr.debugging() checks
8312
8313 2003-03-11 André Pönitz <poenitz@gmx.net>
8314
8315         * factory.C: make it aware of InsetHFill
8316
8317 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8318
8319         * buffer.C (latexParagraphs): move function from here...
8320         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8321         args.
8322
8323 2003-03-10  Angus Leeming  <leeming@lyx.org>
8324
8325         * LyXAction.C (init): fix bug in poplating array with multiple entries
8326         with the same LFUN (spotted by JMarc).
8327
8328 2003-03-10  John Levon  <levon@movementarian.org>
8329
8330         * text.C:
8331         * text2.C: move getColumnNearX() near its
8332         only call site
8333
8334 2003-03-10  John Levon  <levon@movementarian.org>
8335
8336         * text.C: fix break before a minipage
8337
8338 2003-03-10  John Levon  <levon@movementarian.org>
8339
8340         * text.C: fix the last commit
8341
8342 2003-03-09  John Levon  <levon@movementarian.org>
8343
8344         * lyxtext.h:
8345         * text.C:
8346         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8347         bug 365 (don't break before insets unless needed). Don't
8348         return a value > last under any circumstances.
8349
8350 2003-03-09  Angus Leeming  <leeming@lyx.org>
8351
8352         * BufferView_pimpl.C (trackChanges, dispatch): call
8353         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8354
8355 2003-03-09  Angus Leeming  <leeming@lyx.org>
8356
8357         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8358         than Dialogs::showAboutlyx().
8359
8360 2003-03-09  Angus Leeming  <leeming@lyx.org>
8361
8362         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8363         than Dialogs::showTabularCreate().
8364
8365 2003-03-09  John Levon  <levon@movementarian.org>
8366
8367         * lyxtext.h:
8368         * text.C:
8369         * text2.C: 3rd arg to nextBreakPoint was always the same.
8370           Use references.
8371
8372 2003-03-08  John Levon  <levon@movementarian.org>
8373
8374         * lyxrow.C:
8375         * paragraph.C:
8376         * paragraph.h:
8377         * rowpainter.C:
8378         * text.C:
8379         * text2.C: Remove the "main" bit from the "main body"
8380           notion.
8381
8382 2003-03-08  John Levon  <levon@movementarian.org>
8383
8384         * text.C (leftMargin): The left margin of an empty
8385         manual label paragraph should not include the label width
8386         string length.
8387
8388         * text.C (prepareToPrint): don't attempt to measure hfills
8389         for empty manual label paragraphs - the answer should be 0
8390
8391 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * CutAndPaste.C: remove commented code and reindent.
8394
8395 2003-03-08  John Levon  <levon@movementarian.org>
8396
8397         * lyxfunc.h:
8398         * lyxfunc.C: move reloadBuffer()
8399
8400         * BufferView.h:
8401         * BufferView.C: to here
8402
8403         * lyxvc.C: add comment
8404
8405         * vc-backend.h:
8406         * vc-backend.C: call bv->reload() to avoid
8407           getStatus() check on MENURELOAD
8408
8409 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8410
8411         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8412         to an old format .dep file.
8413
8414 2003-03-07  Angus Leeming  <leeming@lyx.org>
8415
8416         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8417         when the LFUN_MOUSE_RELEASE should have been handled by
8418         inset->localDispatch.
8419
8420 2003-03-07  Angus Leeming  <leeming@lyx.org>
8421
8422         * BufferView_pimpl.C (dispatch):
8423         * LyXAction.C (init):
8424         * ToolbarDefaults.C (init):
8425         * commandtags.h:
8426         * lyxfunc.C (getStatus):
8427         remove LFUN_INSET_GRAPHICS.
8428
8429         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8430
8431 2003-03-07  Angus Leeming  <leeming@lyx.org>
8432
8433         * commandtags.h:
8434         * LyXAction.C (init):
8435         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8436
8437         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8438
8439         * commandtags.h:
8440         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8441
8442         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8443         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8444
8445 2003-03-07  Angus Leeming  <leeming@lyx.org>
8446
8447         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8448         remove "ert".
8449
8450 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * ParagraphList.C (front): new function
8453         (back): implement
8454
8455 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8456
8457         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8458         and top_row_offset_. removed var first_y.
8459         * text.C (top_y):
8460         * text2.C (LyXText, removeRow):
8461         * text3.C:
8462         * BufferView_pimpl.C:
8463         use these methods instead of using first_y
8464
8465 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text2.C (pasteSelection): adjust for checkPastePossible
8468
8469         * CutAndPaste.C: remove Paragraph * buf and replace with
8470         ParagraphList paragraphs.
8471         (DeleteBuffer): delete
8472         (cutSelection): change the tc type to textclass_type
8473         (copySelection): change the tc type to textclass_type
8474         (copySelection): adjust for ParagraphList
8475         (pasteSelection): change the tc type to textclass_type
8476         (pasteSelection): adjust for Paragraphlist
8477         (nrOfParagraphs): simplify for ParagraphList
8478         (checkPastePossible): simplify for ParagraphList
8479         (checkPastePossible): remove unused arg
8480
8481         * ParagraphList.C (insert): handle the case where there are no
8482         paragraphs yet.
8483
8484         * CutAndPaste.h: make CutAndPaste a namespace.
8485
8486         * text3.C (dispatch): adjust
8487
8488         * text.C (breakParagraph): add a ParagraphList as arg
8489
8490         * paragraph_funcs.C (breakParagraph): change to take a
8491         BufferParams and a ParagraphList as args.
8492         (breakParagraphConservative): ditto
8493         (mergeParagraph): ditto
8494         (TeXDeeper): add a ParagraphList arg
8495         (TeXEnvironment): ditto
8496         (TeXOnePar): ditto
8497
8498         * buffer.C (readLyXformat2): adjust
8499         (insertStringAsLines): adjust
8500         (latexParagraphs): adjust
8501
8502         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8503         (cutSelection): adjust
8504         (pasteSelection): adjust
8505
8506         * BufferView_pimpl.C (insertInset): adjust
8507
8508 2003-03-05  Angus Leeming  <leeming@lyx.org>
8509
8510         * commandtags.h:
8511         * LyXAction.C (init):
8512         * BufferView_pimpl.C (dispatch):
8513         * lyxfunc.C (getStatus):
8514         remove LFUN_CHILD_INSERT.
8515
8516         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8517
8518 2003-03-05  Angus Leeming  <leeming@lyx.org>
8519
8520         * commandtags.h:
8521         * LyXAction.C (init):
8522         * src/factory.C (createInset):
8523         * lyxfunc.C (getStatus):
8524         * text3.C (dispatch):
8525         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8526
8527         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8528
8529 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * ParagraphList.C (insert): handle insert right before end()
8532         (erase): fix cases where it can be first or last paragraph.
8533
8534 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8537         Paragraph::next and Paragraph::previous
8538         (TeXOnePar): ditto
8539
8540         * text.C (breakParagraph): adjust
8541
8542         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8543         BufferParams& as arg.
8544         (breakParagraph): use ParagraphList::insert
8545         (breakParagraphConservative): take a Buffer* instead of a
8546         BufferParams& as arg.
8547         (breakParagraphConservative): use ParagraphList::insert.
8548
8549         * buffer.C (insertStringAsLines): un-const it
8550         (insertStringAsLines): adjust
8551
8552         * ParagraphList.C (insert): new function
8553
8554         * CutAndPaste.C (pasteSelection): adjust
8555
8556         * text.C (backspace): adjust
8557
8558         * tabular.C (SetMultiColumn): adjust
8559
8560         * CutAndPaste.C (cutSelection): adjust
8561         (pasteSelection): adjust
8562
8563         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8564         Buffer const * as arg
8565
8566         * ParagraphList.C (erase): new function
8567         * paragraph_funcs.C (mergeParagraph): use it
8568         (mergeParagraph): make it take a Buffer* instead of a
8569         BufferParams* as arg
8570
8571         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8572         as arg
8573         (breakParagraphConservative): ditto
8574
8575         * paragraph.h: remove the breakParagraph friend
8576
8577         * paragraph.C (eraseIntern): new function
8578         (setChange): new function
8579
8580         * paragraph_funcs.C (mergeParagraph): make it take a
8581         ParagraphList::iterator instead of a Paragraph *, adjust
8582         accordingly.
8583
8584         * paragraph.h: move an #endif so that the change tracking stuff
8585         also works in the NO_NEXT case.
8586
8587 2003-03-04  Angus Leeming  <leeming@lyx.org>
8588
8589         * commandtags.h:
8590         * LyXAction.C: new LFUN_INSET_MODIFY.
8591
8592         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8593         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8594
8595 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * several files: ws changes only
8598
8599         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8600         (TeXEnvironment): ditto
8601         (TeXDeeper): ditto
8602
8603         * buffer.C (makeLaTeXFile): adjust
8604         (latexParagraphs): make it take ParagraphList::iterator as args
8605
8606 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * buffer.C (latexParagraphs): adjust
8609
8610         * paragraph.C (TeXOnePar): move function...
8611         (optArgInset): move function...
8612         (TeXEnvironment): move function...
8613         * paragraph_pimpl.C (TeXDeeper): move function...
8614         * paragraph_funcs.C: ...here
8615
8616         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8617
8618 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * buffer.C (readInset): remove compability code for old Figure and
8621         InsetInfo insets
8622
8623 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * buffer.C: ws changes
8626         (readInset):
8627
8628         * BufferView_pimpl.C: ditto
8629         * author.C: ditto
8630         * buffer.h: ditto
8631         * bufferlist.h: ditto
8632         * changes.h: ditto
8633         * lyxfunc.C: ditto
8634
8635 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8636
8637         * converter.[Ch]: split into itself +
8638         * graph.[Ch]
8639         * format.[Ch]
8640         * Makefile.am: += graph.[Ch] + format.[Ch]
8641         * MenuBackend.C
8642         * buffer.C
8643         * exporter.C
8644         * importer.C
8645         * lyx_main.C
8646         * lyxfunc.C
8647         * lyxrc.C: added #include "format.h"
8648
8649 2003-02-27  Angus Leeming  <leeming@lyx.org>
8650
8651         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8652           a label.
8653
8654         * factory.C (createInset): add "label" to the factory.
8655
8656         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8657           string and do no more.
8658
8659 2003-02-27  Angus Leeming  <leeming@lyx.org>
8660
8661         * commandtags.h:
8662         * LyXAction.C (init):
8663         * factory.C (createInset):
8664         * BufferView_pimpl.C (dispatch):
8665           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8666
8667         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8668
8669         * lyxfunc.C (dispatch):
8670         * text3.C (dispatch): pass name to params2string.
8671
8672 2003-02-26  Angus Leeming  <leeming@lyx.org>
8673
8674         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8675           blocks together.
8676           Rearrange the ~includes. Strip out the unnecessary ones.
8677
8678         * factory.C (createInset): reformat.
8679           create new insets for the various LFUN_XYZ_APPLY lfuns.
8680
8681 2003-02-26  John Levon  <levon@movementarian.org>
8682
8683         * lyxrow.h:
8684         * lyxrow.C: add isParStart,isParEnd helpers
8685
8686         * paragraph.h: make isInserted/DeletedText take refs
8687
8688         * paragraph_funcs.h:
8689         * paragraph_funcs.C: remove #if 0'd code
8690
8691         * lyxtext.h:
8692         * text3.C:
8693         * text2.C:
8694         * text.C: use lyxrow helpers above.
8695           Move draw and paint routines to RowPainter.
8696           Make several methods use refs not pointers.
8697           Make backgroundColor() const.
8698           Add markChangeInDraw(), isInInset().
8699           Merge changeRegionCase into changeCase.
8700           Make workWidth() shouldn't-happen code into an Assert.
8701
8702         * rowpainter.h:
8703         * rowpainter.C: new class for painting a row.
8704
8705         * vspace.h:
8706         * vspace.C: make inPixels take a ref
8707
8708 2003-02-26  Angus Leeming  <leeming@lyx.org>
8709
8710         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8711         LFUN_REF_APPLY.
8712
8713 2003-02-25  John Levon  <levon@movementarian.org>
8714
8715         * ispell.C: give the forked command a more accurate name
8716
8717 2003-02-22  John Levon  <levon@movementarian.org>
8718
8719         * toc.h:
8720         * toc.C: make TocItem store an id not a Paragraph *
8721           (bug #913)
8722
8723 2003-02-21  Angus Leeming  <leeming@lyx.org>
8724
8725         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8726           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8727           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8728           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8729           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8730           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8731
8732         * BufferView_pimpl.C (dispatch):
8733         * LyXAction.C (init):
8734         * factory.C (createInset):
8735         * lyxfunc.C (getStatus, dispatch):
8736         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8737
8738 2003-02-21  Angus Leeming  <leeming@lyx.org>
8739
8740         * BufferView_pimpl.C (MenuInsertLyXFile):
8741         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8742         * lyxfunc.C (menuNew, open, doImport):
8743           no longer pass a LyXView & to fileDlg.
8744
8745 2003-02-21  Angus Leeming  <leeming@lyx.org>
8746
8747         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8748         * LyXAction.C: change, BIBKEY to BIBITEM.
8749         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8750         Change InsetBibKey to InsetBibitem.
8751         Change BIBKEY_CODE to BIBITEM_CODE.
8752         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8753         * factory.C: replace insetbib.h with insetbibitem.h.
8754         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8755         * paragraph.C: replace insetbib.h with insetbibitem.h.
8756         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8757         Change bibkey() to bibitem().
8758         * text.C: remove insetbib.h.
8759         * text2.C: replace insetbib.h with insetbibitem.h.
8760         change bibkey() to bibitem().
8761         * text3.C: remove insetbib.h.
8762         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8763
8764 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8765
8766         * lyxrc.C (output): enclose user email in quotes (in case there are
8767         several words)
8768
8769 2003-02-18  John Levon  <levon@movementarian.org>
8770
8771         * buffer.h: add std::
8772
8773 2003-02-17  John Levon  <levon@movementarian.org>
8774
8775         * SpellBase.h:
8776         * ispell.h:
8777         * ispell.C:
8778         * pspell.h:
8779         * pspell.C: reworking. Especially in ispell, a large
8780           number of clean ups and bug fixes.
8781
8782         * lyxfunc.C: fix revert to behave sensibly
8783
8784 2003-02-17 André Pönitz <poenitz@gmx.net>
8785
8786         * LyXAction.C:
8787         * commandtags.h: new LFUN_INSERT_BIBKEY
8788
8789         * layout.h:
8790         * lyxlayout.C:
8791         * buffer.C:
8792         * factory.C:
8793         * text.C:
8794         * text2.C:
8795         * text3.C:
8796         * paragraph.[Ch]:
8797         * paragraph_func.C: remove special bibkey handling
8798
8799 2003-02-17  John Levon  <levon@movementarian.org>
8800
8801         * text.C (Delete): fix case where delete at the end of
8802           the very first paragraph would not merge the pars
8803
8804 2003-02-17  John Levon  <levon@movementarian.org>
8805
8806         * lyxrow.C: fix lastPrintablePos()
8807
8808 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8809
8810         * bufferparams.C (writeLaTeX): add a std:here
8811
8812         * buffer.C: and remove a using directive there
8813
8814 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * buffer.C (makeLaTeXFile): move the code that generates the
8817           preamble...
8818
8819         * bufferparams.C (writeLaTeX): ... in this new method
8820
8821         * LaTeXFeatures.C (getEncodingSet): make const
8822           (getLanguages): make const
8823
8824         * MenuBackend.C (binding): returns the binding associated to this
8825           action
8826           (add): sets the status of each item by calling getStatus. Adds
8827           some intelligence.
8828           (read): add support for OptSubMenu
8829           (expand): remove extra separator at the end of expanded menu
8830
8831 2003-02-15  John Levon  <levon@movementarian.org>
8832
8833         * BufferView.C:
8834         * BufferView_pimpl.C:
8835         * bufferlist.h:
8836         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8837           inset code that had no actual effect. Remove unneeded status
8838           code.
8839
8840 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8843           in preamble
8844
8845 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8846
8847         * text.C (drawLengthMarker): also draw an arrow marker for
8848           symbolic lengths (medskip...)
8849
8850 2003-02-14  John Levon  <levon@movementarian.org>
8851
8852         * tabular.h:
8853         * tabular.C: better method names
8854
8855 2003-02-14  John Levon  <levon@movementarian.org>
8856
8857         * BufferView_pimpl.C:
8858         * bufferlist.C:
8859         * buffer.C:
8860         * converter.C:
8861         * lyx_cb.C:
8862         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8863           it's a more accurate name. Remove some pointless uses.
8864
8865 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8866
8867         * text2.C (LyXText): change order of initilizers to shut off
8868           warnings
8869
8870 2003-02-14  John Levon  <levon@movementarian.org>
8871
8872         * buffer.C: use ParIterator for getParFromID()
8873
8874         * paragraph.h:
8875         * paragraph.C:
8876         * paragraph_pimpl.h:
8877         * paragraph_pimpl.C: remove unused getParFromID()
8878
8879 2003-02-14  John Levon  <levon@movementarian.org>
8880
8881         * buffer.C: remove some very old #if 0'd parse code
8882
8883 2003-02-13  John Levon  <levon@movementarian.org>
8884
8885         * text.h:
8886         * text.C:
8887         * text2.C: move hfillExpansion(), numberOfSeparators(),
8888           rowLast(), rowLastPrintable(), numberofHfills(),
8889           numberOfLabelHfills() ...
8890
8891         * lyxrow.h:
8892         * lyxrow.C: ... to member functions here.
8893
8894         * paragraph.h:
8895         * paragraph.C:
8896         * lyxtext.h:
8897         * text.C: remove LyXText::beginningOfMainBody(), and call
8898           p->beginningOfMainBody() directly. Move the check for
8899           LABEL_MANUAL into the latter.
8900
8901         * text.h:
8902         * text.C:
8903         * text2.C:
8904         * vspace.C:
8905         * BufferView.h:
8906         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8907
8908         * text.h:
8909         * text.C:
8910         * text2.C:
8911         * text3.C:
8912         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8913           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8914
8915 2003-02-13  John Levon  <levon@movementarian.org>
8916
8917         * CutAndPaste.C: remove debug
8918
8919 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * paragraph.C (asString): remove two unused variables
8922
8923         * lyxtextclass.C (readTitleType):
8924           (Read):
8925           (LyXTextClass): handle new members titletype_ and titlename_
8926
8927         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8928
8929 2003-02-09  John Levon  <levon@movementarian.org>
8930
8931         * buffer.h:
8932         * buffer.C: replace hand-coded list with a map for the dep clean
8933
8934 2003-02-08  John Levon  <levon@movementarian.org>
8935
8936         * LaTeX.C: consolidate code into showRunMessage() helper
8937
8938 2003-02-08  John Levon  <levon@movementarian.org>
8939
8940         * lyxfind.C:
8941         * lyxtext.h:
8942         * text2.C:
8943         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8944           and pass the size in explicitly
8945
8946         * BufferView_pimpl.h:
8947         * BufferView_pimpl.C:
8948         * BufferView.h:
8949         * BufferView.C: add getCurrentChange()
8950
8951         * BufferView_pimpl.h:
8952         * BufferView_pimpl.C: handle change lfuns
8953
8954         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8955           for changes. Mark pasted paragraphs as new.
8956
8957         * support/lyxtime.h:
8958         * support/lyxtime.C:
8959         * DepTable.C: abstract time_t as lyx::time_type
8960
8961         * LColor.h:
8962         * LColor.C: add colours for new text, deleted text, changebars
8963
8964         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8965           package use "usenames" option.
8966
8967         * commandtags.h:
8968         * lyxfunc.C:
8969         * LyXAction.C: add change lfuns
8970
8971         * Makefile.am:
8972         * author.h:
8973         * author.C: author handling
8974
8975         * buffer.h:
8976         * buffer.C: add a per-buffer author list, with first entry as
8977           current author. Handle new .lyx tokens for change tracking. Output
8978           author list to .lyx file. Output dvipost stuff to .tex preamble.
8979           Bump lyx format to 222.
8980
8981         * bufferlist.h:
8982         * bufferlist.C: add setCurrentAuthor() to reset current author details
8983           in all buffers.
8984
8985         * bufferparams.h:
8986         * bufferparams.C: add param for tracking
8987
8988         * bufferview_funcs.C: output change info in minibuffer
8989
8990         * Makefile.am:
8991         * changes.h:
8992         * changes.C: add change-tracking structure
8993
8994         * debug.h:
8995         * debug.C: add CHANGES debug flag
8996
8997         * lyxfind.h:
8998         * lyxfind.C: add code for finding the next change piece
8999
9000         * lyxrc.h:
9001         * lyxrc.C: add user_name and user_email
9002
9003         * lyxrow.h:
9004         * lyxrow.C: add a metric for the top of the text line
9005
9006         * lyxtext.h:
9007         * text.C: implement accept/rejectChange()
9008
9009         * lyxtext.h:
9010         * text.C: paint changebars. Paint new/deleted text in the chosen
9011         colours. Strike through deleted text.
9012
9013         * paragraph.h:
9014         * paragraph.C:
9015         * paragraph_pimpl.h:
9016         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9017           in the current change to the insert functions. Rework erase to
9018           mark text as deleted, adding an eraseIntern() and a range-based
9019           erase(). Implement per-paragraph change lookup and
9020           accept/reject.
9021
9022         * paragraph_funcs.C: Fixup paste for change tracking.
9023
9024         * tabular.C: mark added row/columns as new.
9025
9026         * text.C: fix rowLast() to never return -1. Don't allow
9027           spellchecking of deleted text. Track transpose changes. Don't
9028           allow paragraph break or merge where appropriate.
9029
9030         * text2.C: leave cursor at end of selection after a cut.
9031
9032 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9033
9034         * text.C (getLengthMarkerHeight):
9035         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9036         visible on screen too.
9037
9038 2003-02-07  John Levon  <levon@movementarian.org>
9039
9040         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9041
9042 2003-02-05  Angus Leeming  <leeming@lyx.org>
9043
9044         * lyxserver.C (read_ready): revert my patch of 11 September last year
9045         as it sends PC cpu through the roof. Presumably this means that
9046         the lyxserver will no longer run on an Alpha...
9047
9048 2003-01-30  Angus Leeming  <leeming@lyx.org>
9049
9050         * factory.C (createInset): create an InsetCommandParam of type "index"
9051         and use it to 'do the right thing'.
9052
9053         * text2.C (getStringToIndex): ensure that cursor position is always
9054         reset to the reset_cursor position.
9055
9056 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9057
9058         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9059         disabled.
9060
9061 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9062
9063         * bufferview.C:
9064         * lyxcb.C:
9065         * lyxfunc.C: Output messages with identical spelling, punctuation,
9066         and spaces
9067
9068 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9069
9070         * MenuBackend.C (expandFormats): List only viewable export formats
9071         in "View" menu
9072
9073         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9074         message
9075
9076         * lyxfunc.C (getStatus): Make sure that formats other than
9077         "fax" can also be disabled
9078
9079 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9080
9081         * text3.C (dispatch): put the lfuns that insert insets in 3
9082         groups, and call doInsertInset with appropriate arguments.
9083         (doInsertInset): new function, that creates an inset and inserts
9084         it according to some boolean parameters.
9085
9086 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * buffer.C (readFile): remember to pass on 'par' when calling
9089         readFile recursively.
9090
9091 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9092
9093         * MenuBackend.C (expandFormats): add "..." to import formats.
9094
9095 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9096
9097         * paragraph.C (asString): Remove XForms RTL hacks.
9098
9099 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9100         * buffer.C: fix typo
9101
9102 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * Makefile.am (LIBS): delete var
9105         (lyx_LDADD): add @LIBS@ here instead.
9106
9107 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9108
9109         * Clarify the meaning of "wheel mouse jump"
9110
9111 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9114         tabular in a float
9115
9116 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * importer.C (Loaders): do not preallocate 3 elements in the
9119         vector, since one ends up with 6 elements otherwise
9120
9121 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9122
9123         * DepTable.C (write): write the file name as last element of the
9124         .dep file (because it may contain spaces)
9125         (read): read info in the right order
9126
9127 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9128
9129         * paragraph_pimpl.C (simpleTeXBlanks):
9130         (simpleTeXSpecialChars):
9131         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9132
9133         * tabular.C (latex): add some missing case statements. Reindent.
9134
9135         * MenuBackend.C (expandToc): remove unused variable.
9136
9137 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9138
9139         * LColor.C:
9140         * LaTeX.C:
9141         * LyXAction.C:
9142         * MenuBackend.C:
9143         * buffer.C:
9144         * exporter.C:
9145         * lyxfunc.C:
9146         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9147         and the like.
9148
9149 2003-01-05  John Levon  <levon@movementarian.org>
9150
9151         * BufferView.h:
9152         * BufferView.C: add getEncoding()
9153
9154         * kbsequence.h:
9155         * kbsequence.C: do not store last keypress
9156
9157         * lyxfunc.h:
9158         * lyxfunc.C: store last keypress here instead. Pass encoding
9159           to getISOEncoded()
9160
9161 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9162
9163         * lyx_main.C (init): remove annoying error message when following
9164         symbolic links (bug #780)
9165
9166 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9167
9168         * text.C (insertChar):
9169         * lyxrc.C (getDescription): remove extra spaces
9170
9171 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9172
9173         * lyxrc.C (getDescription): remove extra spaces
9174
9175 2002-12-20  John Levon  <levon@movementarian.org>
9176
9177         * text3.C: hack fix for page up/down across tall rows
9178
9179 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9182         not been invoked
9183
9184 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9185
9186         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9187         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9188         thesaurus is not compiled in
9189
9190 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9191
9192         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9193
9194 2002-12-16  Angus Leeming  <leeming@lyx.org>
9195
9196         * lyxrc.[Ch]:
9197         * lyx_main.C (init): remove override_x_deadkeys stuff.
9198
9199 2002-12-12  John Levon  <levon@movementarian.org>
9200
9201         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9202           insert. Only remove shift modifier under strict
9203           circumstances.
9204
9205 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * MenuBackend.C (expandToc): fix crash.
9208
9209 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9210
9211         * MenuBackend.C (expandToc): gettext on float names.
9212
9213 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9214
9215         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9216         implement bool empty() [bug 490]
9217
9218 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9219
9220         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9221
9222 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * several files: ws changes
9225
9226 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * text2.C (setCounter): clean up a bit, use boost.format.
9229         (updateCounters): initialize par upon declaration.
9230
9231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9232         if the layout exists. We do not just store the layout any more.
9233         (SwitchLayoutsBetweenClasses): use boost.format
9234
9235 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * converter.C (convert): if from and to files are the same, use a
9238         temporary files as intermediary
9239
9240 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9241
9242         * commandtags.h:
9243         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9244
9245 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9246
9247         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9248
9249 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * tabular.C (asciiPrintCell): use string(size, char) instead of
9252         explicit loop.
9253
9254         * sgml.C (openTag): fix order of arguments to string constructor
9255         (closeTag): ditto
9256
9257         * lyxfunc.C (dispatch): use boost.format
9258
9259         * lots of files: change "c" -> 'c'
9260
9261 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9262
9263         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9264
9265 2002-11-25  Angus Leeming  <leeming@lyx.org>
9266
9267         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9268
9269         * lyx_main.C (init): compile fix.
9270
9271 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * lyx_cb.C (start): boost.formatify
9274         do not include <iostream>
9275
9276         * lengthcommon.C: ws only
9277
9278         * boost-inst.C,BoostFormat.h: add more explict instantations
9279
9280 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * lots of files: handle USE_BOOST_FORMAT
9283
9284 2002-11-21  John Levon  <levon@movementarian.org>
9285
9286         * pspell.C: fix compile
9287
9288 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * lyxfunc.C (dispatch): use boost::format
9291         (open): ditto
9292         (doImport): ditto
9293
9294         * lyxfont.C (stateText): use boost::format
9295
9296         * lyx_main.C (LyX): use boost::format
9297         (init): ditto
9298         (queryUserLyXDir): ditto
9299         (readRcFile): ditto
9300         (parse_dbg): ditto
9301         (typedef boost::function): use the recommened syntax.
9302
9303         * importer.C (Import): use boost::format
9304
9305         * debug.C (showLevel): use boost::format
9306
9307         * converter.C (view): use boost::format
9308         (convert): ditto
9309         (move): ditto
9310         (scanLog): ditto
9311
9312         * bufferview_funcs.C (currentState): use boost::format
9313
9314         * bufferlist.C (emergencyWrite): use boost::format
9315
9316         * buffer.C (readLyXformat2): use boost::format
9317         (parseSingleLyXformat2Token): ditto
9318
9319         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9320
9321         * LaTeX.C (run): use boost::format
9322
9323         * Chktex.C (scanLogFile): use boost::format
9324
9325         * BufferView_pimpl.C (savePosition): use boost::format
9326         (restorePosition): ditto
9327         (MenuInsertLyXFile): ditto
9328
9329         * BoostFormat.h: help file for explicit instation.
9330
9331 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9332
9333         * tabular.C (latex): Support for block alignment in fixed width
9334         columns.
9335
9336 2002-11-17  John Levon  <levon@movementarian.org>
9337
9338         * BufferView_pimpl.C:
9339         * lyx_cb.C:
9340         * lyxfunc.C: split filedialog into open/save
9341
9342 2002-11-08  Juergen Vigna  <jug@sad.it>
9343
9344         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9345         by my last patch (hopefully).
9346
9347 2002-11-08  John Levon  <levon@movementarian.org>
9348
9349         * iterators.h:
9350         * iterators.C:
9351         * buffer.h:
9352         * buffer.C:
9353         * paragraph.h:
9354         * paragraph.C:
9355         * toc.h:
9356         * toc.C: ParConstIterator, and use it (from Lars)
9357
9358 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9359
9360         * lyxtextclass.[Ch]: revise and add doxygen comments
9361
9362 2002-11-07  John Levon  <levon@movementarian.org>
9363
9364         * text.C: fix progress value for spellchecker
9365
9366         * toc.C: fix navigate menu for insetwrap inside minipage
9367
9368         * paragraph_funcs.C: added FIXME for suspect code
9369
9370 2002-11-07  John Levon  <levon@movementarian.org>
9371
9372         * BufferView_pimpl.C: fix redrawing of insets
9373           on buffer switch
9374
9375 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9376
9377         * text2.C (updateCounters): fix bug 668
9378
9379 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9380
9381         * text3.C (dispatch): Do not make the buffer dirty when moving the
9382         cursor.
9383
9384 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9385
9386         * vc-backend.C: STRCONV
9387         (scanMaster): ditto
9388
9389         * text2.C (setCounter): STRCONV
9390
9391         * paragraph.C (asString): STRCONV
9392
9393         * lyxlength.C (asString): STRCONV
9394         (asLatexString): ditto
9395
9396         * lyxgluelength.C (asString): STRCONV
9397         (asLatexString): ditto
9398
9399         * lyxfunc.C (dispatch): STRCONV
9400         (open): ditto
9401
9402         * lyxfont.C (stateText): STRCONV
9403
9404         * importer.C (Import): STRCONV
9405
9406         * counters.C (labelItem): STRCONV
9407         (numberLabel): ditto
9408         (numberLabel): remove unused ostringstream o
9409
9410         * chset.C: STRCONV
9411         (loadFile): ditto
9412
9413         * bufferview_funcs.C (currentState): STRCONV
9414
9415         * buffer.C (readFile): STRCONV
9416         (asciiParagraph): ditto
9417         (makeLaTeXFile): ditto
9418
9419         * Spacing.C (writeEnvirBegin): STRCONV
9420
9421         * LaTeXFeatures.C (getLanguages): STRCONV
9422         (getPackages): ditto
9423         (getMacros): ditto
9424         (getBabelOptions): ditto
9425         (getTClassPreamble): ditto
9426         (getLyXSGMLEntities): ditto
9427         (getIncludedFiles): ditto
9428
9429         * LaTeX.C: STRCONV
9430         (run): ditto
9431         (scanAuxFile): ditto
9432         (deplog): ditto
9433
9434         * LString.h: add the STRCONV macros
9435
9436         * BufferView_pimpl.C (savePosition): STRCONV
9437         (restorePosition): ditto
9438         (MenuInsertLyXFile): ditto
9439
9440         * vc-backend.C (scanMaster): change from submatch[...] to
9441         submatch.str(...)
9442
9443         * funcrequest.C: include config.h
9444
9445         * factory.C: include config.h
9446
9447         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9448
9449         * box.C: include config.h
9450
9451         * LaTeX.C (scanAuxFile): change from submatch[...] to
9452         submatch.str(...)
9453         (deplog): ditto
9454
9455 2002-10-25  Angus Leeming  <leeming@lyx.org>
9456
9457         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9458
9459         * ispell.[Ch] (setError): new method.
9460         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9461         Use setError() insetead of goto END.
9462
9463         * lyx_cb.C (AutoSave): move out child process into new class
9464         AutoSaveBuffer.
9465
9466 2002-10-30  John Levon  <levon@movementarian.org>
9467
9468         * text3.C: make start appendix undoable
9469
9470 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * lyxlength.C (inPixels): Fix returned value.
9473
9474         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9475         environment.
9476
9477 2002-10-24  Angus Leeming  <leeming@lyx.org>
9478
9479         * lyxgluelength.h: no need to forward declare BufferParams
9480         or BufferView, so don't.
9481
9482 2002-10-21  John Levon  <levon@movementarian.org>
9483
9484         * BufferView.C: menuUndo ->undo, redo
9485
9486         * BufferView.h: document, remove dead, make some methods private
9487
9488         * paragraph_funcs.h:
9489         * paragraph_funcs.C:
9490         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9491
9492         * buffer.h:
9493         * buffer.C:
9494         * sgml.h:
9495         * sgml.C: move sgml open/close tag into sgml.C
9496
9497         * bufferview_funcs.h: unused prototype
9498
9499         * lyxfunc.h:
9500         * lyxfunc.C: remove unused
9501
9502         * lyxtext.h:
9503         * text.C: remove unused
9504
9505 2002-10-21  John Levon  <levon@movementarian.org>
9506
9507         * BufferView.h:
9508         * BufferView.C:
9509         * BufferView_pimpl.h:
9510         * BufferView_pimpl.C: fix mouse wheel handling based on
9511           patch from Darren Freeman
9512
9513 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9514
9515         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9516
9517 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * lyxlength.C (inPixels): Fix hanfling of negative length.
9520         Fix LyXLength::MU case.
9521
9522 2002-10-16  John Levon  <levon@movementarian.org>
9523
9524         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9525
9526 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9527
9528         * converter.C (view): add support for $$i (file name) and $$p
9529         (file path) for the viewer command. If $$i is not specified, then
9530         it is appended to the command (for compatibility with old syntax)
9531
9532 2002-10-14  Juergen Vigna  <jug@sad.it>
9533
9534         * undo_funcs.C (textHandleUndo): alter the order in which the
9535         new undopar is added to the LyXText, as we have to set first
9536         the right prev/next and then add it as otherwise the rebuild of
9537         LyXText is not correct. Also reset the cursor to the right paragraph,
9538         with this IMO we could remove the hack in "redoParagraphs()".
9539
9540 2002-10-09  Angus Leeming  <leeming@lyx.org>
9541
9542         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9543         to turn off an optimisation if a new inset is to be inserted.
9544
9545 2002-10-11 André Pönitz <poenitz@gmx.net>
9546
9547         * lyxtext.h: make some functions public to allow access
9548         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9549
9550 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9551
9552         * text3.C (dispatch): when changing layout, avoid an infinite loop
9553         [bug #652]
9554
9555 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9556
9557         * lyxrc.C (read): treat a viewer or converter command of "none" as
9558         if it were empty.
9559
9560         * MenuBackend.C (expandFormats): for an update, also allow the
9561         formats that are not viewable
9562
9563         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9564         script if it is newer than the lyxrc.defaults in user directory
9565
9566 2002-10-07 André Pönitz <poenitz@gmx.net>
9567
9568         * text.C: Vitaly Lipatov's small i18n fix
9569
9570 2002-09-25  Angus Leeming  <leeming@lyx.org>
9571
9572         * ispell.h: doxygen fix.
9573
9574 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * buffer.h (readFile): Add a new argument to the method, to allow
9577         reading of old-format templates.
9578
9579 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9580
9581         * toc.C (getTocList): Get TOC from InsetWrap.
9582
9583 2002-09-16  John Levon  <levon@movementarian.org>
9584
9585         * lyxfunc.C: check tabular for cut/copy too
9586
9587 2002-09-12  John Levon  <levon@movementarian.org>
9588
9589         * LyXAction.C: tidy
9590
9591         * factory.h:
9592         * factory.C: add header
9593
9594         * paragraph_funcs.h:
9595         * paragraph_funcs.C: cleanup
9596
9597 2002-09-11  John Levon  <levon@movementarian.org>
9598
9599         * PrinterParams.h: odd/even default to true
9600
9601 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9602
9603         * PrinterParams.h: update printer parameters for new xforms dialog
9604
9605 2002-09-11  Angus Leeming  <leeming@lyx.org>
9606
9607         * lyxserver.C (read_ready): re-write to make it more transparent
9608         and to make it work in coherent fashion under Tru64 Unix.
9609
9610 2002-09-11  André Pönitz <poenitz@gmx.net>
9611
9612         * commandtags.h:
9613         * LyXAction.C:
9614         * text3.C: implement LFUN_WORDSEL
9615
9616 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9617
9618         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9619         make floatlist_ a boost::shared_ptr<FloatList>
9620
9621         * lyxtextclass.C: include FloatList.h
9622         (LyXTextClass): initialize floatlist_
9623         (TextClassTags): add TC_NOFLOAT
9624         (Read): match "nofloat" to TC_NOFLOAT and use it.
9625         (readFloat): modify call to floatlist_
9626         (floats): ditto
9627         (floats): ditto
9628
9629         * FloatList.[Ch] (FloatList): remove commented out float
9630         initialization.
9631         (erase): new function
9632
9633 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9634
9635         * MenuBackend.C (expandToc): fix crash when there is no document
9636         open
9637
9638 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9639
9640         * many files: Add insetwrap.
9641
9642 2002-09-09  John Levon  <levon@movementarian.org>
9643
9644         * text2.C: remove confusing and awkward depth wraparound
9645
9646 2002-09-09  John Levon  <levon@movementarian.org>
9647
9648         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9649
9650         * buffer.h:
9651         * buffer.C: remove getIncludeonlyList()
9652
9653         * paragraph.C:
9654         * lyxfunc.C: remove headers
9655
9656 2002-09-09  Juergen Vigna  <jug@sad.it>
9657
9658         * text.C (getColumnNearX): fix form Michael this is most
9659         probably a cut&paste bug.
9660
9661 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9662
9663         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9664
9665         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9666         references, ws changes.
9667
9668         * text2.C (init): update counters after init
9669         (insertParagraph): no need to set counter on idividual paragraphs.
9670         (setCounter): access the counters object in the textclass object
9671         on in the buffer object.
9672         (updateCounters): ditto
9673
9674         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9675         shared_ptr<Counters> to avoid loading counters.h in all
9676         compilation units.
9677         (LyXTextClass): initialize ctrs_
9678         (TextClassTags): add TC_COUNTER, and ...
9679         (Read): use it here.
9680         (CounterTags): new tags
9681         (readCounter): new function
9682         (counters): new funtion
9683         (defaultLayoutName): return a const reference
9684
9685         * counters.C (Counters): remove contructor
9686         (newCounter): remove a couple of unneeded statements.
9687         (newCounter): simplify a bit.
9688         (numberLabel): some small formatting changes.
9689
9690         * buffer.[Ch]: remove all traces of counters, move the Counters
9691         object to the LyXTextClass.
9692
9693 2002-09-06  Alain Castera  <castera@in2p3.fr>
9694
9695         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9696         package to set the horizontal alignment on fixed width columns.
9697
9698         * lyx_sty.C:
9699         * lyx_sty.h: added tabularnewline macro def.
9700
9701         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9702
9703 2002-09-06  John Levon  <levon@movementarian.org>
9704
9705         * LyXAction.C: tooltips for sub/superscript
9706
9707         * MenuBackend.C: a bit more verbose
9708
9709         * lyxfunc.C: tiny clean
9710
9711         * undo_funcs.C: document undo_frozen
9712
9713 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * counters.C (Counters): add missing algorithm counter.
9716
9717         * text2.C (setCounter): lookup the counter with layouts latexname
9718         instead of by section number.
9719         (setCounter): use a hackish way to lookup the correct enum
9720         counter.
9721         a float name->type change
9722         reset enum couners with counter name directly instead of depth value.
9723
9724         * counters.C (Counters): remove the push_backs, change to use the
9725         float type not the float name.
9726         (labelItem): remove unused string, float name->type change
9727
9728         * counters.h: don't include vector, loose the enums and sects vectors
9729
9730 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9733         (Read): add float->TC_FLOAT to textclassTags
9734         (Read): and handle it in the switch
9735         (readFloat): new function
9736
9737         * FloatList.C (FloatList): comment out the hardcoded float
9738         definitions.
9739
9740         * lyxlayout.h: ws change.
9741
9742 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9743
9744         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9745
9746 2002-09-03  Angus Leeming  <leeming@lyx.org>
9747
9748         * BufferView_pimpl.h: qualified name is not allowed in member
9749         declaration: WorkArea & Pimpl::workarea() const;
9750
9751         * factory.C: added using std::endl directive.
9752
9753         * text3.C: added using std::find and std::vector directives.
9754
9755 2002-08-29  André Pönitz <poenitz@gmx.net>
9756
9757         * lyxtext.h:
9758         * text2.C: remove unused member number_of_rows
9759
9760         * Makefile.am:
9761         * BufferView2.C: remove file, move contents to...
9762         * BufferView.C: ... here
9763
9764         * BufferView_pimpl.C:
9765         * factory.C: move more inset creation to factory
9766
9767         * vspace.C: avoid direct usage of LyXText, ws changes
9768
9769         * BufferView.[Ch]:
9770                 don't provide direct access to WorkArea, use two simple
9771                 acessors haveSelction() and workHeight() instead
9772
9773
9774 2002-08-29  John Levon  <levon@movementarian.org>
9775
9776         * BufferView_pimpl.C (dispatch): do not continue when
9777           no buffer
9778
9779 2002-08-28  André Pönitz <poenitz@gmx.net>
9780
9781         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9782
9783         * BufferView.h:
9784         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9785
9786 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9787
9788         * buffer.C: increment LYX_FORMAT to 221
9789
9790         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9791         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9792
9793         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9794
9795         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9796
9797 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * factory.C (createInset): use LyXTextClass::floats
9800
9801         * MenuBackend.C (expandFloatListInsert):
9802         (expandFloatInsert):
9803         (expandToc):
9804
9805         * text2.C (setCounter):
9806
9807         * LaTeXFeatures.C (useFloat):
9808         (getFloatDefinitions):
9809
9810         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9811
9812         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9813         floatlist_, with accessor floats().
9814
9815         * FloatList.h: remove global FloatList
9816
9817 2002-08-26  André Pönitz <poenitz@gmx.net>
9818
9819         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9820
9821         * BufferView.h:
9822         * BufferView2.C:
9823         * BufferView_pimpl.C:
9824         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9825
9826 2002-08-25  John Levon  <levon@movementarian.org>
9827
9828         * LyXAction.C: fix margin note description
9829
9830 2002-08-24  John Levon  <levon@movementarian.org>
9831
9832         * buffer.C:
9833         * bufferlist.C:
9834         * bufferview_funcs.C:
9835         * lyxfont.C:
9836         * undo_funcs.C: cleanups
9837
9838         * lyxfunc.C: disable CUT/COPY when no selection
9839
9840 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9841
9842         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9843         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9844
9845         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9846         Add backward compatibility to "mono", "gray" and "no".
9847
9848 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9849
9850         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9851         (and file_format >= 200).
9852
9853 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9856
9857 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9860
9861 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9862
9863         * BufferView_pimpl.C:
9864         * LyXAction.C:
9865         * buffer.C:
9866         * commandtags.h:
9867         * lyxfunc.C:
9868         * paragraph.[Ch]:
9869         * text2.C:
9870         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9871         inset and code to make it  work with the paragraph code. The inset
9872         can be anywhere in the paragraph, but will only do the expected
9873         thing in LaTeX if the layout file contains the parameter line
9874                         OptionalArgs    1
9875         (or more generally, a nonzero value) for that layout.
9876
9877 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9878
9879         * paragraph.h: remove the declaration of undefined counters class
9880         function.
9881
9882 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9883
9884         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9885         Dr. Richard Hawkins.
9886
9887 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * paragraph_funcs.h: remove some unneeded includes
9890
9891         * text.C (backspace): pasteParagraph now in global scipe
9892
9893         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9894         (pasteSelection): ditto
9895
9896         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9897         * paragraph_funcs.C (pasteParagraph): ... here
9898
9899 2002-08-20  André Pönitz <poenitz@gmx.net>
9900
9901         * commandtags.h: new LFUNs for swapping/copying table row/colums
9902
9903         * LyXAction.C:
9904         * lyxfunc.C: support for new lfuns
9905
9906 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9907
9908         * tabular.C:
9909         * buffer.[Ch]: remove NO_COMPABILITY stuff
9910
9911 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * boost.C (throw_exception): new file, with helper function for
9914         boost compiled without exceptions.
9915
9916         * paragraph.h:
9917         * lyxlength.C:
9918         * buffer.C:
9919         * ParameterStruct.h:
9920         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9921
9922         * bufferlist.C (emergencyWriteAll): use boost bind
9923
9924         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9925
9926         * text.C: include paragraph_funcs.h
9927         (breakParagraph): breakParagraph is now in global scope
9928
9929         * paragraph_funcs.[Ch]: new files
9930
9931         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9932         global scope
9933
9934         * buffer.C: include paragraph_funcs.h
9935         (insertStringAsLines): breakParagraph is now in global scope
9936
9937         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9938         paragraph_funcs.C
9939
9940         * CutAndPaste.C: include paragraph_funcs.h
9941         (cutSelection): breakParagraphConservative is now in global scope
9942         (pasteSelection): ditto
9943
9944         * buffer.h: declare oprator== and operator!= for
9945         Buffer::inset_iterator
9946
9947         * bufferlist.C (emergencyWrite): don't use fmt(...)
9948
9949         * text3.C: add using std::endl
9950
9951         * BufferView.C (moveCursorUpdate): remove default arg
9952
9953 2002-08-20  André Pönitz <poenitz@gmx.net>
9954
9955         * buffer.[Ch]: move inline functions to .C
9956
9957         * BufferView2.C:
9958         * BufferView_pimpl.C:
9959         * text.C:
9960         * buffer.[Ch]: use improved inset_iterator
9961
9962         * buffer.C:
9963         * paragraph.[Ch]: write one paragraph at a time
9964
9965 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9968         style if style is not specified.
9969
9970 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * text2.C (setCounter): when searching for right label for a
9973         caption, make sure to recurse to parent insets (so that a caption
9974         in a minipage in a figure float works) (bug #568)
9975
9976 2002-08-20  André Pönitz <poenitz@gmx.net>
9977
9978         * text3.C: new file for LyXText::dispatch() and helpers
9979
9980         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9981
9982         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9983
9984 2002-08-19  André Pönitz <poenitz@gmx.net>
9985
9986         * lyxtext.h:
9987         * text.C: new LyXText::dispatch()
9988
9989         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9990
9991 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9992
9993         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9994
9995         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9996         Hebrew text.
9997
9998 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * Makefile.am: use $(variables) instead of @substitutions@
10001
10002 2002-08-15  André Pönitz <poenitz@gmx.net>
10003
10004         * lyxfunc.C:
10005         * BufferView_pimpl.C: streamlining mathed <-> outer world
10006         interaction
10007
10008         * commandtags.h:
10009         * LyXAction.C: remove unused LFUN_MATH
10010
10011 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10014
10015 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10016
10017         * paragraph.C (Paragraph): reformat a bit
10018         (cutIntoMinibuffer): use builtin InsetList function instad of
10019         doing it manually.
10020         (getInset): ditto
10021
10022         * buffer.C: include boost/bind.hpp, add using std::for_each
10023         (writeFileAscii): use ParagraphList iterators
10024         (validate): use for_each for validate traversal of paragraphs
10025         (getBibkeyList): use ParagraphList iterators
10026         (resizeInsets): use for_each to resizeInsetsLyXText for all
10027         paragraphs.
10028         (getParFromID): use ParagraphList iterators
10029
10030         * BufferView2.C (lockInset): use paragraph list and iterators
10031
10032 2002-08-14  John Levon  <levon@movementarian.org>
10033
10034         * lyxserver.C: remove spurious xforms include
10035
10036 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10037
10038         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10039
10040 2002-08-13  André Pönitz <poenitz@gmx.net>
10041
10042         * LyXAction.[Ch]:
10043         * lyxfunc.C: further cleaning
10044
10045 2002-08-13  André Pönitz <poenitz@gmx.net>
10046
10047         * funcrequest.h: new constructor
10048
10049         * funcrequest.C: move stuff here from .h
10050
10051         * Makefile.am:
10052         * BufferView_pimpl.C:
10053         * LyXAction.C:
10054         * toc.C:
10055         * lyxfunc.C: subsequent changes
10056
10057         * lyxfunc.h: new view() member function
10058
10059         * lyxfunc.C: subsequent changes
10060
10061 2002-08-13  Angus Leeming  <leeming@lyx.org>
10062
10063         * BufferView2.C:
10064         * BufferView_pimpl.C:
10065         * buffer.C:
10066         * converter.C:
10067         * importer.C:
10068         * lyxfunc.C:
10069         * lyxvc.C:
10070         * toc.C:
10071         * vc-backend.C:
10072         changes due to the changed LyXView interface that now returns references
10073         to member variables not pointers.
10074
10075 2002-08-13  Angus Leeming  <leeming@lyx.org>
10076
10077         * WordLangTuple (word, lang_code): return references to strings,
10078         not strings.
10079
10080         * BufferView.h:
10081         * SpellBase.h:
10082         * lyxtext.h: forward-declare WordLangTuple.
10083
10084         * BufferView2.C:
10085         * ispell.C:
10086         * pspell.C:
10087         * text.C: #include "WordLangTuple.h".
10088
10089         * lyxtext.h:
10090         * text.C: (selectNextWordToSpellcheck): constify return type.
10091
10092 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10093
10094         * buffer.C:
10095         * buffer.h:
10096         * lyxtext.h:
10097         * paragraph.C:
10098         * paragraph_pimpl.h:
10099         * text.C:
10100         * text2.C:
10101         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10102         suggested by Angus.
10103         Made updateCounter always count from start of buffer, and removed
10104         second argument (par).
10105         Reverted floats number display to '#'. Perhaps I'll try again when the
10106         code base is sanitized a bit.
10107
10108 2002-08-12  Angus Leeming  <leeming@lyx.org>
10109
10110         * buffer.[Ch] (getLabelList): constify.
10111
10112 2002-08-07  André Pönitz <poenitz@gmx.net>
10113
10114         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10115
10116         * funcrequest.h: extension to keep mouse (x,y) position
10117
10118 2002-08-12  Juergen Vigna  <jug@sad.it>
10119
10120         * BufferView2.C (insertErrors): forbid undo when inserting error
10121         insets.
10122
10123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10124
10125 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * ParagraphList.[Ch]: new files
10128
10129         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10130
10131         * BufferView2.C (lockInset): ParagraphList changes
10132         * toc.C: ditto
10133         * text2.C: ditto
10134         * bufferlist.C: ditto
10135         * buffer.h: ditto
10136         * buffer.C: ditto
10137
10138 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10139
10140         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10141         unused class variable counter_,
10142
10143         * paragraph.[Ch] (getFirstCounter): delete unused function
10144
10145         * counters.C: include LAssert.h
10146         (reset): add a new function with no arg, change other version to
10147         not have def. arg and to not allow empty arg.
10148
10149         * text2.C (setCounter): remove empty arg from call to Counters::reset
10150
10151 2002-08-11  John Levon  <levon@movementarian.org>
10152
10153         * Makefile.am: add WordLangTuple.h
10154
10155 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10156
10157         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10158         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10159
10160         * insets/insettext.C: InsetList changes
10161
10162         * graphics/GraphicsSupport.C (operator()): InsetList changes
10163
10164         * toc.C (getTocList): InsetList changes
10165
10166         * paragraph_pimpl.[Ch]: InsetList changes
10167
10168         * paragraph.[Ch]: InsetList changes
10169
10170         * buffer.C (inset_iterator): InsetList changes
10171         (setParagraph): ditto
10172         * buffer.h (inset_iterator): ditto
10173         * iterators.C (operator++): ditto
10174         * iterators.h: ditto
10175
10176         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10177
10178         * InsetList.[Ch]: new files, most InsetList handling moved out of
10179         paragraph.C.
10180
10181         * BufferView2.C (removeAutoInsets): InsetList changes
10182         (lockInset): ditto
10183         (ChangeInsets): ditto
10184
10185 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10186
10187         * paragraph_pimpl.h (empty): new function
10188
10189         * paragraph.[Ch] (empty): new function
10190
10191         * other files: use the new Paragraph::empty function
10192
10193 2002-08-09  John Levon  <levon@movementarian.org>
10194
10195         * lyxtext.h: remove unused refresh_height
10196
10197 2002-08-09  John Levon  <levon@movementarian.org>
10198
10199         * Makefile.am:
10200         * sgml.h:
10201         * sgml.C:
10202         * buffer.C:
10203         * paragraph.h:
10204         * paragraph.C: move sgml char escaping out of paragraph
10205
10206         * paragraph.h:
10207         * paragraph.C: remove id setter
10208
10209         * buffer.C:
10210         * paragraph.C:
10211         * paragraph_pimpl.C: remove dead tex_code_break_column
10212
10213         * bufferview_funcs.C: small cleanup
10214
10215         * lyxfunc.C: remove dead proto
10216
10217         * lyxtext.h: make some stuff private. Remove some dead stuff.
10218
10219         * lyxgluelength.C: make as[LyX]String() readable
10220
10221 2002-08-08  John Levon  <levon@movementarian.org>
10222
10223         * LyXAction.h:
10224         * LyXAction.C:
10225         * MenuBackend.C:
10226         * ToolbarDefaults.C:
10227         * lyxfunc.C:
10228         * lyxrc.C:
10229         * toc.C: lyxaction cleanup
10230
10231 2002-08-08  John Levon  <levon@movementarian.org>
10232
10233         * BufferView2.C: small cleanup
10234
10235         * lyxfind.h:
10236         * lyxfind.C: move unnecessary header into the .C
10237
10238 2002-08-08  John Levon  <levon@movementarian.org>
10239
10240         * funcrequest.h: just tedious nonsense
10241
10242         * lyx_main.h:
10243         * lyx_main.C: cleanups
10244
10245         * buffer.C:
10246         * vspace.C: remove dead header lyx_main.h
10247
10248 2002-08-07  Angus Leeming  <leeming@lyx.org>
10249
10250         * Paragraph.[Ch]:
10251         * paragraph_pimpl.h:
10252         Forward declare class Counters in paragraph.h by moving the ctrs member
10253         variable into Paragraph::Pimpl.
10254         (counters): new method, returning a reference to pimpl_->ctrs.
10255
10256         * text2.C: ensuing changes.
10257
10258 2002-08-07  John Levon  <levon@movementarian.org>
10259
10260         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10261
10262         * BufferView_pimpl.C: announce X selection on double/triple
10263           click
10264
10265         * lyx_main.C: use correct bool in batch dispatch
10266
10267         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10268
10269 2002-08-07  André Pönitz <poenitz@gmx.net>
10270
10271         * funcrequest.h: new class to wrap a kb_action and its argument
10272
10273         * BufferView.[Ch]:
10274         * BufferView_pimpl[Ch]:
10275         * LaTeX.C:
10276         * LyXAction.[Ch]:
10277         * lyxfunc.[Ch]:
10278         * lyxrc.C: subsequent changes
10279
10280
10281 2002-08-07  John Levon  <levon@movementarian.org>
10282
10283         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10284           document options change.
10285
10286 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10287
10288         * counters.[Ch]
10289         * text2.C
10290         * paragraph.[Ch]
10291         * makefile.am: move counters functionality over from
10292         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10293
10294 2002-08-06  John Levon  <levon@movementarian.org>
10295
10296         * WordLangTuple.h: new file for word + language code tuple
10297
10298         * SpellBase.h:
10299         * pspell.h:
10300         * pspell.C:
10301         * ispell.h:
10302         * ispell.C:
10303         * lyxtext.h:
10304         * text.C:
10305         * text2.C:
10306         * BufferView.h:
10307         * BufferView2.C: use WordLangTuple
10308
10309         * layout.h:
10310         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10311
10312 2002-08-06  John Levon  <levon@movementarian.org>
10313
10314         * lyx_main.C: fix cmdline batch handling
10315
10316 2002-08-06  André Pönitz <poenitz@gmx.net>
10317
10318         * lyxrc.C: set default for show_banner to true
10319
10320 2002-08-06  John Levon  <levon@movementarian.org>
10321
10322         * pspell.C: fix a crash, and allow new aspell to work
10323
10324 2002-08-06  John Levon  <levon@movementarian.org>
10325
10326         * lyxfunc.C:
10327         * kbmap.C: small cleanup
10328
10329         * vspace.h:
10330         * vspace.C: add const
10331
10332 2002-08-05  John Levon  <levon@movementarian.org>
10333
10334         * LyXAction.C: back to tabular-insert
10335
10336 2002-08-04  John Levon  <levon@movementarian.org>
10337
10338         * BufferView.h:
10339         * BufferView.C: cosmetic change
10340
10341         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10342
10343         * bufferlist.C:
10344         * buffer.h:
10345         * buffer.C:
10346         * lyxcb.h:
10347         * lyxcb.C:
10348         * lyxserver.C:
10349         * lyxvc.C:
10350         * vc-backend.C:
10351         * BufferView2.C: purge all "Lyx" not "LyX" strings
10352
10353         * lyxcursor.h:
10354         * lyxcursor.C: attempt to add some documentation
10355
10356         * lyxfunc.C:
10357         * commandtags.h:
10358         * LyXAction.C:
10359         * ToolbarDefaults.C:
10360         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10361           merge with LFUN_TABULAR_INSERT
10362
10363         * Makefile.am:
10364         * SpellBase.h:
10365         * ispell.h:
10366         * ispell.C:
10367         * pspell.h:
10368         * pspell.C: split up i/pspell implementations into separate
10369           files, many cleanups
10370
10371         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10372
10373         * text2.C: some cleanup
10374
10375         * lyxfunc.C: don't check for isp_command == "none" any more, it
10376           didn't make any sense
10377
10378 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10379
10380         * counters.[Ch]
10381         * text2.C
10382         * paragraph.[Ch]
10383         * makefile.am: move counters functionality over
10384         from text2.C/paragraph.[Ch] to counters.[Ch], and
10385         make proper C++.
10386 2002-08-02  John Levon  <levon@movementarian.org>
10387
10388         * buffer.C: s/lyxconvert/lyx2lyx/
10389
10390 2002-08-02  Angus Leeming  <leeming@lyx.org>
10391
10392         * lyxlex.C: revert John's change as it breaks reading of the user
10393         preamble.
10394
10395 2002-08-02  Angus Leeming  <leeming@lyx.org>
10396
10397         * importer.C (Import):
10398         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10399         changes due to LyXView::view() now returning a boost::shared_ptr.
10400
10401 2002-08-02  John Levon  <levon@movementarian.org>
10402
10403         * lyxlex.C: small cleanup
10404
10405 2002-08-02  John Levon  <levon@movementarian.org>
10406
10407         * text2.C (status): small cleanup, no logic change
10408
10409 2002-08-01  John Levon  <levon@movementarian.org>
10410
10411         * buffer.h:
10412         * buffer.C (writeFile): don't output alerts, caller
10413           handles this
10414
10415         * bufferlist.C:
10416         * lyx_cb.C: from above
10417
10418         * lyxfunc.C: allow to open non-existent files
10419
10420 2002-07-31  John Levon  <levon@movementarian.org>
10421
10422         * lyxserver.C: don't let incidental errors get
10423           in the way (errno)
10424
10425 2002-07-30  John Levon  <levon@movementarian.org>
10426
10427         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10428
10429 2002-07-30  John Levon  <levon@movementarian.org>
10430
10431         * lyxserver.h:
10432         * lyxserver.C: remove I/O callback too
10433
10434 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10437         log.
10438
10439 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10440
10441         * many files: strip,frontStrip -> trim,ltrim,rtrim
10442
10443 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10444
10445         * PrinterParams.h: remove extern containsOnly, and include
10446         support/lstrings.h instead.
10447
10448         * LaTeX.C (scanAuxFile): modify because of strip changes
10449         (deplog): ditto
10450         * buffer.C (makeLaTeXFile): ditto
10451         * bufferparams.C (writeFile): ditt
10452         * lyxfont.C (stateText): ditto
10453         * lyxserver.C (read_ready): ditto
10454         * vc-backend.C (scanMaster): ditto
10455
10456         * BufferView_pimpl.h: ws changes
10457
10458         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10459
10460 2002-07-26  André Pönitz <poenitz@gmx.net>
10461
10462         * kb_sequence.C: remove unnedred usings
10463
10464 2002-07-26  Juergen Vigna  <jug@sad.it>
10465
10466         * lyxfind.C (LyXReplace): we have to check better if the returned
10467         text is not of theLockingInset()->getLockingInset().
10468
10469 2002-07-25  Juergen Vigna  <jug@sad.it>
10470
10471         * lyxfind.C (LyXReplace): don't replace if we don't get the
10472         right LyXText.
10473
10474         * undo_funcs.C (createUndo): remove debugging code.
10475
10476 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10477
10478         * buffer.C (parseSingleLyXformat2Token): Use default placement
10479         when reading old floats.
10480
10481         * FloatList.C (FloatList): Change the default placement of figure
10482         and tables to "tbp".
10483
10484 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * MenuBackend.C: using std::max
10487
10488 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * MenuBackend.C (expandToc):
10491         (expandToc2): code moved from xforms menu frontend. It is now
10492         generic and TOCs are transparent to menu frontends.
10493
10494 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10495
10496         * toc.C (getTocList): protect against buf=0
10497
10498         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10499         Menu as first parameter. Now, this calls itself recursively to
10500         expand a whole tree (this will be useful for TOC handling)
10501         (expandFloatInsert): remove 'wide' version of floats
10502
10503         * MenuBackend.h (submenuname): returns the name of the submenu.
10504         (submenu): returns the submenu itself, provided it has been
10505         created by MenuBackend::expand
10506
10507 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10508
10509         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10510         insets which have noFontChange == true. (bug #172)
10511
10512 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * BufferView_pimpl.C: add connection objects and use them...
10515         (Pimpl): here.
10516
10517 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10518
10519         * MenuBackend.C (expandLastfiles):
10520         (expandDocuments):
10521         (expandFormats):
10522         (expandFloatListInsert):
10523         (expandFloatInsert):
10524         (expand): split expand in parts
10525
10526 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * lyx_gui.C: use lyx_gui::exit()
10529
10530 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * LyXAction.C: show the failing pseudo action
10533
10534 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * buffer.C (readFile): Run the lyxconvert script in order to read
10537         old files.
10538
10539 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * LyXAction.C:
10542         * commandtags.h:
10543         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10544
10545 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * LyXAction.C:
10548         * commandtags.h:
10549         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10550
10551 2002-07-22  Herbert Voss  <voss@lyx.org>
10552
10553         * lengthcommon.C:
10554         * lyxlength.[Ch]: add support for the vertical lengths
10555
10556 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * toc.[Ch]: std:: fixes
10559
10560 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * lyxrc.C: do not include lyx_main.h
10563
10564         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10565         for layouts
10566
10567         * lyxrc.C:
10568         * encoding.C:
10569         * bufferlist.C:
10570         * BufferView2.C: include "lyxlex.h"
10571
10572         * tabular.h:
10573         * bufferparams.h: do not #include "lyxlex.h"
10574
10575         * lyxtextclasslist.C (Add): remove method
10576         (classlist): renamed to classlist_
10577
10578         * paragraph_pimpl.C:
10579         * paragraph.C:
10580         * text2.C:
10581         * CutAndPaste.C:
10582         * bufferview_funcs.C:
10583         * bufferlist.C:
10584         * text.C:
10585         * LaTeXFeatures.C:
10586         * buffer.C:
10587         * toc.C (getTocList): use BufferParams::getLyXTextClass
10588
10589         * toc.C (getTocList): use InsetFloat::addToToc
10590
10591         * toc.[Ch]: new files, containing helper functions to handle table
10592         of contents
10593
10594         * lyxfunc.C (dispatch): no need to remove spaces around command
10595         given as a string
10596         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10597         first command of the sequence; it is not very clever, but I do not
10598         have a better idea, actually
10599
10600         * LyXAction.C (LookupFunc): make sure to remove space at the
10601         beginning and end of the command
10602
10603 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * MenuBackend.C (getMenubar): new method: return the menubar of
10606         this menu set
10607         (read): treat differently reading of menu and menubar (in
10608         particular, the menubar has no name now)
10609         (Menu::menubar): remove
10610
10611         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10612         saving is finished
10613
10614 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10617         a bibitem inset in a RTL paragraph.
10618
10619 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * paragraph_pimpl.C: constify
10622
10623         * BufferView_pimpl.C:
10624         * LaTeX.C:
10625         * lyxfunc.C: fix dispatch in a nicer way
10626
10627 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10628
10629         * lyxfunc.C (dispatch):
10630         * BufferView_pimpl.C:
10631         * BufferView_pimpl.h:
10632         * BufferView.C:
10633         * BufferView.h: rename Dispatch() to dispatch()
10634
10635         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10636
10637         * lyxlayout.C (Read): honor DependsOn tag
10638
10639         * lyxlayout.[Ch] (depends_on): new method
10640
10641         * version.C.in: update lyx_docversion
10642
10643         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10644
10645         * paragraph.C (validate): remove from here...
10646         * paragraph_pimpl.C (validate): ... and move here
10647         (isTextAt): make it const
10648
10649         * buffer.C (getLists): ws cleanup
10650
10651 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * language.C (read): Use iso8859-1 encoding in latex_lang
10654         (this prevents LyX from crashing when using iso10646-1 encoding).
10655
10656 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * text2.C (toggleInset): if cursor is inside an inset, close the
10659         inset and leave cursor _after_ it
10660
10661 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * lyxfunc.C: move minibuffer completion handling out of here
10664
10665 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * BufferView_pimpl.C:
10668         * LaTeX.C: fix dispatch calls
10669
10670 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10671
10672         * text.C (drawChars): Fix Arabic text rendering.
10673
10674 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * LyXAction.C:
10677         * commandtags.h:
10678         * lyxfunc.C: remove message-push/pop
10679
10680         * lyxserver.C:
10681         * lyxfunc.h:
10682         * lyxfunc.C: rationalise some code by removing verboseDispatch
10683           in favour of a bool argument to dispatch()
10684
10685 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10686
10687         * lyx_main.C (init): make sure to read symlinks as absolute paths
10688
10689 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * lyxfunc.h:
10692         * lyxfunc.C: no need for commandshortcut to be a member
10693
10694 2002-07-15  André Pönitz <poenitz@gmx.net>
10695
10696         * converter.C: add support for $$s (scripts from lib/scripts dir)
10697         * lyx_main.C: white space
10698
10699 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * bufferlist.C:
10702         * lyxrc.h:
10703         * lyxrc.C: remove second exit confirmation
10704
10705 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * BufferView.h:
10708         * BufferView.C:
10709         * BufferView2.C:
10710         * BufferView_pimpl.h:
10711         * BufferView_pimpl.C:
10712         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10713
10714 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10715
10716         * MenuBackend.C (expand): add numeric shortcuts to document menu
10717
10718         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10719
10720 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * lyxfont.C (setLyXFamily):
10723         (setLyXSeries):
10724         (setLyXShape):
10725         (setLyXSize):
10726         (setLyXMisc):
10727         (lyxRead):
10728         * debug.C (value):
10729         * buffer.C (asciiParagraph): use ascii_lowercase
10730
10731 2002-07-15  Mike Fabian  <mfabian@suse.de>
10732
10733         * lyxlex_pimpl.C (search_kw):
10734         * lyxlex.C (getLongString):
10735         * converter.h (operator<):
10736         * converter.C (operator<):
10737         * buffer.C (parseSingleLyXformat2Token):
10738         (asciiParagraph):
10739         * ToolbarDefaults.C (read):
10740         * MenuBackend.C (checkShortcuts):
10741         (read):
10742         * LColor.C (getFromGUIName):
10743         (getFromLyXName): use the compare_ascii_no_case instead of
10744         compare_no_case, because in turkish, 'i' is not the lowercase
10745         version of 'I', and thus turkish locale breaks parsing of tags.
10746
10747 2002-07-16  Angus Leeming  <leeming@lyx.org>
10748
10749         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10750         now takes a Buffer const & argument.
10751
10752 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * BufferView.C (resize): check there's a buffer to resize
10755
10756 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyxfunc.C: remove dead code
10759
10760         * lyxserver.h:
10761         * lyxserver.C: use lyx_guii::set_read_callback
10762
10763 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10764
10765         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10766         an inset in a RTL paragraph.
10767
10768 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * lyxfunc.C: repaint after a font size update
10771
10772 2002-07-15  André Pönitz <poenitz@gmx.net>
10773
10774         * lyxlength.C: inBP should be able to return negative values
10775
10776 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * lyxfunc.C: use lyx_gui::update_fonts()
10779
10780 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * lyxfunc.C: use lyx_gui::update_color()
10783
10784 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * bufferlist.C:
10787         * lyxfunc.h:
10788         * lyxfunc.C:
10789         * lyxrc.h:
10790         * lyxrc.C: remove file->new asks for name option, and let
10791           buffer-new take an argument
10792
10793 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * BufferView_pimpl.C: remove unneeded extra repaint()
10796
10797 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * LyXAction.C: allow command-sequence with NoBuffer
10800
10801         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10802
10803 2002-07-10  Angus Leeming  <leeming@lyx.org>
10804
10805         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10806
10807 2002-07-09  Angus Leeming  <leeming@lyx.org>
10808
10809         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10810
10811 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * lengthcommon.h: whitespace
10814
10815         * lyxfunc.C: update scrollbar after goto paragraph
10816
10817         * lyxtext.h: factor out page break drawing, and fix it so
10818           page break/added space paints as selected nicely
10819
10820 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * BufferView_pimpl.C: add FIXMEs, clean up a little
10823
10824 2002-07-09  André Pönitz <poenitz@gmx.net>
10825
10826         * lyxfont.[Ch]: support for wasy symbols
10827
10828 2002-07-08  André Pönitz <poenitz@gmx.net>
10829
10830         * BufferView_pimpl.C: apply John's patch for #93.
10831
10832 2002-07-05  Angus Leeming  <leeming@lyx.org>
10833
10834         * BufferView_pimpl.C (buffer): generate previews if desired.
10835
10836         * LColor.h: add "preview" to the color enum.
10837
10838         * LColor.C (LColor): add a corresponding entry to the items array.
10839
10840         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10841         with this buffer.
10842
10843 2002-07-05  Angus Leeming  <leeming@lyx.org>
10844
10845         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10846         The body of the code is now in the method that is passed an ostream &
10847         rather than a file name.
10848         Pass an additional only_preamble parameter, useful for the forthcoming
10849         preview stuff.
10850
10851 2002-07-03  André Pönitz <poenitz@gmx.net>
10852
10853         * lyxfunc.C: simplify getStatus() a bit for math stuff
10854
10855 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10858
10859 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * text.C (changeRegionCase): do not change case of all the
10862         document when region ends at paragraph end (bug #461)
10863
10864 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * paragraph.C (startTeXParParams):
10867         (endTeXParParams): add \protect when necessary
10868
10869 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10870
10871         * BufferView_pimpl.C (workAreaExpose): remove warning
10872
10873 2002-06-27  Angus Leeming  <leeming@lyx.org>
10874
10875         * Makefile.am: add lyxlayout_ptr_fwd.h.
10876
10877 2002-06-26  André Pönitz <poenitz@gmx.net>
10878
10879         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10880
10881 2002-06-25  Angus Leeming  <leeming@lyx.org>
10882
10883         * lyxfunc.C (dispatch): Comment out the call to
10884         grfx::GCache::changeDisplay. The method no longer exists now that the
10885         pixmap generation part of the graphics loader has been moved into
10886         InsetGraphics.
10887
10888 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * text2.C: layout as layout
10891
10892         * text.C: layout as layout
10893
10894         * tabular.C (OldFormatRead): layout as layout
10895
10896         * paragraph_pimpl.C (TeXDeeper): layout as layout
10897         (realizeFont): layout as layout
10898
10899         * paragraph.C (writeFile): layout as layout
10900         (validate): layout as layout
10901         (getFont): layout as layout
10902         (getLabelFont): layout as layout
10903         (getLayoutFont): layout as layout
10904         (breakParagraph): layout as layout
10905         (stripLeadingSpaces): layout as layout
10906         (getEndLabel): layout as layout
10907         (getMaxDepthAfter): layout as layout
10908         (applyLayout): layout as layout
10909         (TeXOnePar): layout as layout
10910         (simpleTeXOnePar): layout as layout
10911         (TeXEnvironment): layout as layout
10912         (layout): layout as layout
10913         (layout): layout as layout
10914
10915         * lyxtextclass.C (compare_name): new functor to work with
10916         shared_ptr, layout as layout
10917         (Read): layout as layout
10918         (hasLayout): layout as layout
10919         (operator): layout as layout
10920         (delete_layout): layout as layout
10921         (defaultLayout): layout as layout
10922
10923         * lyxlayout_ptr_fwd.h: new file
10924
10925         * lyxlayout.C (Read): layout as layout
10926
10927         * lyx_cb.C (MenuInsertLabel): layout as layout
10928
10929         * bufferlist.C (newFile): layout as layout
10930
10931         * buffer.C (readLyXformat2): layout as layout
10932         (parseSingleLyXformat2Token): layout as layout
10933         (insertStringAsLines): layout as layout
10934         (asciiParagraph): layout as layout
10935         (latexParagraphs): layout as layout
10936         (makeLinuxDocFile): layout as layout
10937         (simpleLinuxDocOnePar): layout as layout
10938         (makeDocBookFile): layout as layout
10939         (simpleDocBookOnePar): layout as layout
10940         (getLists): layout as layout
10941
10942         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10943
10944         * CutAndPaste.C (cutSelection): layout as layout
10945         (pasteSelection): layout as layout
10946         (SwitchLayoutsBetweenClasses): layout as layout
10947
10948         * BufferView_pimpl.C (Dispatch): layout as layout
10949         (smartQuote): layout as layout
10950
10951         * BufferView2.C (unlockInset): layout as layout
10952
10953 2002-06-24  André Pönitz <poenitz@gmx.net>
10954
10955         * lyxfunc.C: fix #487
10956
10957 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * lyxrc.h:
10960         * lyxrc.C:
10961         * lyxfunc.C: remove display_shortcuts, show_banner
10962
10963 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10964
10965         * Buffer_pimpl.C: oops, update on resize
10966
10967 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * buffer.C:
10970         * converter.C:
10971         * exporter.C:
10972         * lyxfunc.C:
10973         * BufferView.h:
10974         * BufferView.C: use repaint()
10975
10976         * BufferView_pimpl.h:
10977         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10978           as it's a clearer description. Remove superfluous
10979           redraws.
10980
10981 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * text.C: fix bug 488. Not ideal, but getting
10984           getWord() to work properly for the insets that
10985           matter is more difficult ...
10986
10987 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * BufferView_pimpl.C:
10990         * LyXAction.C:
10991         * commandtags.h:
10992         * lyxfunc.C: remove the six million index lyxfuncs to just
10993           one, and DTRT (bug 458)
10994
10995 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView.h:
10998         * BufferView.C:
10999         * BufferView_pimpl.h:
11000         * BufferView_pimpl.C: clean up resize() stuff,
11001           and unnecessary updateScreen()s
11002
11003 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * BufferView.h:
11006         * BufferView.C:
11007         * BufferView_pimpl.h:
11008         * BufferView_pimpl.C:
11009         * lyxfind.h:
11010         * lyxfind.C:
11011         * minibuffer.C: remove focus management of workarea,
11012           not needed. Use screen's greyOut()
11013
11014 2002-06-17  Herbert Voss  <voss@lyx.org>
11015
11016         * converter.C: (convert) do not post a message, when converting
11017         fails, let the calling function decide what to do in this case
11018
11019 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * lyxfunc.C: tidy up a little
11022
11023 2002-06-16    <alstrup@diku.dk>
11024
11025         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11026         Got rid of FORMS_H_LOCATION include. Now we are
11027         GUII.
11028
11029 2002-06-15  LyX Development team  <lyx@rilke>
11030
11031         * buffer.[Ch] (sgmlOpenTag):
11032         (sgmlCloseTag): Added support for avoiding pernicious mixed
11033         content. Return number of lines written.
11034
11035         (makeLinuxDocFile):
11036         (makeDocBookFile): Fixed calls to sgml*Tag.
11037         Simple white space clean.
11038
11039         (simpleDocBookOnePar): Simple white space clean.
11040
11041         * tabular.[Ch] (docBook): Renamed to docbook and got another
11042         argument to related with the pernicious mixed content.
11043
11044         (docbookRow): Fixed calls for docbook inset method.
11045
11046 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11047
11048         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11049         so it's X11 independent.
11050
11051         * kb*.[Ch]: ditto.
11052
11053         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11054
11055 2002-06-15  Lyx Development team  <lyx@electronia>
11056
11057         * intl.h: Renamed getTrans to getTransManager.
11058
11059 2002-06-14  Angus Leeming  <leeming@lyx.org>
11060
11061         * Makefile.am: nuke forgotten stl_string_fwd.h.
11062
11063 2002-06-12  Angus Leeming  <leeming@lyx.org>
11064
11065         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11066
11067 2002-06-13  Angus Leeming  <leeming@lyx.org>
11068
11069         * LaTeX.C:
11070         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11071
11072 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11073
11074         * kbmap.C (getiso): add support for cyrillic and greek
11075
11076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * BufferView.h:
11079         * BufferView.C:
11080         * BufferView_pimpl.h:
11081         * BufferView_pimpl.C: move bogus scrolling logic
11082           to xforms
11083
11084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * lyxfunc.C:
11087         * BufferView_pimpl.C: view->resize() change
11088
11089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * BufferView_pimpl.C: topCursorVisible
11092           prototype change
11093
11094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * Makefile.am:
11097         * lyx_gui.h:
11098         * lyx_gui.C: move to frontends/
11099
11100         * main.C:
11101         * lyx_main.h:
11102         * lyx_main.C: changes from above
11103
11104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * intl.C:
11107         * intl.h:
11108         * kbmap.C:
11109         * kbsequence.C:
11110         * lyx_cb.C:
11111         * lyx_main.C: minor tidy
11112
11113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView_pimpl.h:
11116         * BufferView_pimpl.C:
11117         * BufferView.h:
11118         * BufferView.C: make painter() const,
11119           remove dead code
11120
11121         * BufferView2.C: use screen() accessor
11122
11123         * lyx_main.h:
11124         * lyx_main.C: some minor cleanup
11125
11126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * BufferView_pimpl.h:
11129         * BufferView_pimpl.C: remove enter/leaveView,
11130           use workHeight()
11131
11132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * BufferView.h:
11135         * BufferView.C:
11136         * BufferView2.C:
11137         * BufferView_pimpl.h:
11138         * BufferView_pimpl.C: only construct screen once,
11139           rename
11140
11141         * lyxrc.C: remove pointless comment
11142
11143 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * BufferView.h:
11146         * BufferView.C: remove active() and belowMouse()
11147
11148         * BufferView_pimpl.h:
11149         * BufferView_pimpl.C: use workarea() not workarea_,
11150           and make it use a scoped_ptr instead
11151
11152 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * lyx_gui.C: add debug message on BadWindow
11155
11156 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11157
11158         * sp_spell.C: fdopen is not part of the C++ standard.
11159
11160         * paragraph.C (InsetIterator): use >= instead of ==
11161
11162 2002-06-07  Angus Leeming  <leeming@lyx.org>
11163
11164         Fixes needed to compile with Compaq cxx 6.5.
11165         * BufferView_pimpl.C:
11166         * DepTable.C:
11167         * buffer.C:
11168         * converter.C:
11169         * encoding.C:
11170         * lyx_gui.C:
11171         * lyx_main.C:
11172         * lyxtextclasslist.C:
11173         * minibuffer.C:
11174         * sp_spell.C:
11175         * tabular_funcs.C:
11176         * vc-backend.C:
11177         all c-library variables have been moved into namespace std. Wrap
11178         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11179
11180         * lyxlength.C:
11181         * tabular-old.C:
11182         * tabular.C:
11183         Add a using std::abs declaration.
11184
11185         * kbmap.h (modifier_pair):
11186         * paragraph.h (InsetTable, InsetList):
11187         * lyxfont.h (FontBits):
11188         type definition made public.
11189
11190         * bufferlist.C (emergencyWriteAll): the compiler complains that
11191         there is more than one possible lyx::class_fun template to choose from.
11192         I re-named the void specialisation as lyx::void_class_fun.
11193
11194         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11195
11196         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11197         the compiler is is unable to find tostr in write_attribute.
11198
11199 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * buffer.C (sgmlError): hide #warning
11202
11203 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * xtl/*: get rid of xtl, which is not in use anyway
11206
11207         * LyXAction.C (init):
11208         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11209         were unimplemented xtl experimentation
11210
11211 2002-06-04  André Pönitz <poenitz@gmx.net>
11212
11213         * lyxfunc.C: disable array operation on simple formulae
11214
11215 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * converter.C: constify a bit
11218
11219 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * lyx_gui.C: check xforms version correctly
11222
11223 2002-04-30  Herbert Voss  <voss@lyx.org>
11224
11225         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11226         "keep" option
11227
11228 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11231           attempt to register it with a VCS)
11232
11233 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * lyx_main.C (init): honor variables LYX_DIR_13x and
11236         LYX_USERDIR_13x
11237
11238 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * buffer.h:
11241         * buffer.C:
11242         * lyx_main.C: fix a crash on bad command line,
11243           and give a useful exit status on error
11244
11245         * lyxfunc.C (doImport): allow -i lyx to work
11246
11247 2002-03-30  André Pönitz <poenitz@gmx.net>
11248
11249         * lyxfunc.C: mathed font changes
11250
11251 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * LaTeX.C:
11254         * importer.h:
11255         * importer.C:
11256         * lyx_sty.h:
11257         * lyx_sty.C:
11258         * lyxlex.C:
11259         * lyxrow.h:
11260         * lyxtext.h:
11261         * paragraph.h:
11262         * paragraph.C:
11263         * texrow.h:
11264         * texrow.C:
11265         * text.C:
11266         * trans_mgr.h: srcdocs, and some minor cleanups
11267
11268 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11271         call getFont all the time)
11272
11273 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * switch from SigC signals to boost::signals
11276
11277 2002-05-29  André Pönitz <poenitz@gmx.net>
11278
11279         * paragraph_pimpl.C (getChar): don't call size() too often...
11280
11281 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * paragraph_pimpl.C (insertChar): do not try to update tables when
11284         appending (pos == size())
11285
11286         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11287         in order to reduce drastically the number of comparisons needed to
11288         parse a large document
11289
11290 2002-05-29  André Pönitz <poenitz@gmx.net>
11291
11292         * text.C:
11293         * text2.C:
11294         * lyxtextclass.C:
11295         * sp_pspell.h:
11296         * textclasslist.[Ch]:
11297         * sp_ispell.h: whitespace change
11298
11299 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11302         lyxaction directly now.
11303
11304 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * trans.C:
11307         * lyxfont.C:
11308         * lyxvc.C: remove unused headers
11309
11310 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * Makefile.am:
11313         * buffer.h:
11314         * undostack.h:
11315         * undostack.C:
11316         * undo_funcs.h:
11317         * undo_funcs.C: some cleanups. Use shared_ptr
11318           and a template for the undo stacks.
11319
11320 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * BufferView_pimpl.h:
11323         * BufferView_pimpl.C:
11324         * kbmap.h:
11325         * kbmap.C:
11326         * kbsequence.h:
11327         * kbsequence.C:
11328         * lyxfunc.h:
11329         * lyxfunc.C:
11330         * text2.C: use key_state/mouse_state
11331
11332 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11335         and LSubstring
11336
11337         * chset.C: change include order
11338         (loadFile): use boost regex and get rid of LRegex and LSubstring
11339
11340         * Makefile.am (BOOST_LIBS): new variable
11341         (lyx_LDADD): use it
11342
11343         * LaTeX.C: change include order.
11344         (scanAuxFile): use boost regex and get rid of LRegex and
11345         LSubstring
11346         (deplog): ditto
11347
11348 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * ColorHandler.h:
11351         * ColorHandler.C:
11352         * FontInfo.h:
11353         * FontInfo.C: moved to frontends/xforms/
11354
11355         * FontLoader.h:
11356         * FontLoader.C: moved into frontends for GUIIzation
11357
11358         * Makefile.am:
11359         * lyx_gui.C:
11360         * lyxfont.C:
11361         * lyxfunc.C: changes from above
11362
11363 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * LColor.C: remove spurious X include
11366
11367         * BufferView_pimpl.C:
11368         * Makefile.am:
11369         * font.h:
11370         * font.C:
11371         * text.C:
11372         * text2.C: move font metrics to frontends/
11373
11374 2002-05-24  Juergen Vigna  <jug@sad.it>
11375
11376         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11377         setting the undo_cursor.
11378
11379         * ParagraphParameters.h: include local includes first.
11380
11381 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * BufferView_pimpl.C:
11384         * BufferView_pimpl.h:
11385         * Makefile.am:
11386         * WorkArea.h:
11387         * WorkArea.C:
11388         * screen.C: move WorkArea into frontends/
11389
11390         * lyxscreen.h:
11391         * screen.C:
11392         * text.C:
11393         * BufferView.C:
11394         * BufferView2.C: move LyXScreen into frontends/
11395
11396         * lyxlookup.h:
11397         * lyxlookup.C:
11398         * lyx_gui.C: move lyxlookup into frontends/xforms/
11399
11400 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * BufferView2.C:
11403         * BufferView_pimpl.C:
11404         * FontLoader.C:
11405         * LyXView.h:
11406         * LyXView.C:
11407         * Makefile.am:
11408         * WorkArea.C:
11409         * XFormsView.h:
11410         * XFormsView.C:
11411         * buffer.C:
11412         * bufferlist.C:
11413         * bufferview_funcs.C:
11414         * converter.C:
11415         * importer.C:
11416         * lyx_cb.C:
11417         * lyx_gui.C:
11418         * lyx_main.C:
11419         * lyx_find.C:
11420         * lyxfunc.C:
11421         * lyxvc.C:
11422         * minibuffer.C:
11423         * text.C:
11424         * text2.C:
11425         * trans.C:
11426         * vc-backend.C: move LyX/XFormsView into frontends/
11427
11428 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * Makefile.am:
11431         * PainterBase.C:
11432         * PainterBase.h:
11433         * Painter.C:
11434         * Painter.h:
11435         * WorkArea.C:
11436         * WorkArea.h:
11437         * screen.C:
11438         * tabular.C:
11439         * text.C:
11440         * text2.C: move Painter to frontends/
11441
11442 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * buffer.C: comment out some some code that depend upon lyx_format
11445         < 220
11446
11447         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11448         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11449
11450         * buffer.h (NO_COMPABILITY): turn off compability
11451
11452         * ColorHandler.C: include scoped_array.hpp
11453
11454         * font.C: Use more specific smart_ptr header.
11455         * Painter.C: ditto
11456         * gettext.C: ditto
11457         * ShareContainer.h: ditto
11458         * lyx_main.h: ditto
11459         * kbmap.h: ditto
11460         * FontInfo.h: ditto
11461         * BufferView_pimpl.h: ditto
11462         * ColorHandler.h: ditto
11463
11464         * kbmap.C (defkey): change call to shared_ptr::reset
11465
11466 2002-05-21  Juergen Vigna  <jug@sad.it>
11467
11468         * buffer.C (insertErtContents): fix to insert ert asis if it is
11469         non empty. Skip it completely if it contains only whitespaces.
11470
11471 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * BufferView_pimpl.C:
11474         * BufferView2.C: clear selection on paste (bug 393)
11475
11476 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * DepTable.C: include ctime
11479
11480 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11481
11482         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11483
11484 2002-05-14  Juergen Vigna  <jug@sad.it>
11485
11486         * text.C (breakParagraph): fixed function to honor the keepempty
11487         layout in the right maner and also to permit the right breaking
11488         algorithm on empty or non empyt keepempty paragraphs.
11489
11490         * paragraph.C (breakParagraph): we have to check also if the par
11491         is really empty (!size()) for isempty otherwise we do the wrong
11492         paragraph break.
11493
11494 2002-05-10  Juergen Vigna  <jug@sad.it>
11495
11496         * buffer.[Ch] : The following are only changes to the ert
11497         compatibility read reading old LaTeX layout and font stuff and
11498         convert it to ERTInsets.
11499
11500         * buffer.h: added isErtInset().
11501
11502         * buffer.C (struct ErtComp): add a fromlayout bool to check
11503         if we're inside a LaTeX layout.
11504         (isErtInset): new helper function.
11505         (insertErtContents): look for other ert insets before this one
11506         and insert the contents there, so that we don't have subsequent
11507         ERT insets with nothing between them. This way we create only one
11508         inset with multiple paragraphs. Also check if we don't insert only
11509         spaces ' ' as they are ignored anyway afterwards in the .tex file
11510         so if we have only spaces we will ignore this latex part in the
11511         new file.
11512         (parseSingleLyXformat2Token \\layout): better compatibility when
11513         reading layout-latex stuff.
11514         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11515         language tag.
11516         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11517         stuff after reading the inset only get the information back from
11518         the stack.
11519
11520 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11521
11522         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11523
11524         * LaTeXFeatures.C (getBabelOptions): New method.
11525
11526 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * BufferView_pimpl.C (Dispatch): work around missing argument for
11529         'layout'
11530
11531 2002-05-08  Juergen Vigna  <jug@sad.it>
11532
11533         * text.C (leftMargin): handle paragraph leftindent.
11534
11535         * paragraph.C (writeFile): write the new \\leftindent tag.
11536         (validate): handle leftindent code.
11537         (TeXEnvironment): handle paragraphleftindent code again.
11538
11539         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11540
11541         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11542         for paragrap_extra indent code and new token \\leftindent.
11543         (latexParagraphs): handle the leftindent as environment.
11544
11545         * ParameterStruct.h: added leftindent support.
11546
11547         * ParagraphParameters.C (leftIndent): added support functions for
11548         the paragraph left indent.
11549
11550         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11551         more appropriate.
11552
11553 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11554
11555         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11556         inside insetERT.
11557
11558         * text.C (computeBidiTables): No bidi in insetERT.
11559
11560         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11561         in RTL documents.
11562
11563 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * version.C.in: pre 5
11566
11567 2002-05-02  José Matos  <jamatos@fep.up.pt>
11568         * buffer.C (makeDocBookFile): white space changes, add newline to
11569         command styles.
11570         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11571
11572         * tabular.C (docBook): fix typo.
11573
11574 2002-05-03  Juergen Vigna  <jug@sad.it>
11575
11576         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11577         change in LyXText as we can not be sure it was not freed.
11578         (drawOneRow): remove unused code.
11579
11580         * text.C (drawInset): redo the calculation of the need_break_row as
11581         it could have a row which was already freed.
11582         (draw): look at the return value of drawInset and return false if
11583         it also returned false.
11584         (paintRowText): look at the return value of draw and return false if
11585         it also returned false.
11586
11587         * lyxtext.h: added bool return type to drawInset() and draw() so that
11588         if we have a change in the row so that the rowbreak has to be redone
11589         we abort drawing as it will be called again.
11590
11591 2002-05-02  Juergen Vigna  <jug@sad.it>
11592
11593         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11594         a change in the maintext also if we're inside an inset.
11595         (Dispatch): set the cursor again after a break line and after the
11596         screen has been updated as it could be we're in a different row.
11597
11598         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11599         to set the cursor behind the pargraph with > size().
11600         (setCursor): check also for the same paragraph when checking where
11601         to put the cursor if we have a NFR inset.
11602
11603         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11604         parts of layout read further up as it still was in the wrong
11605         position.
11606
11607 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * screen.C (drawFromTo): change sine fullRebreak always return
11610         true.
11611
11612         * buffer.C (parseSingleLyXformat2Token): reindent some
11613
11614         * BufferView_pimpl.C (update): change since fullRebreak always
11615         return true.
11616         (Dispatch): git rid of the last hardcoded "Standard"s.
11617
11618 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * text2.[Ch] (fullRebreak): make it return void now that we always
11621         returned true.
11622
11623 2002-04-30  Juergen Vigna  <jug@sad.it>
11624
11625         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11626         ert compatibility check for "latex" layout.
11627
11628 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11629
11630         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11631         minipages: use col% instead of p%, and also use the current font.
11632         (makeLaTeXFile): Fix use babel condition.
11633         (parseSingleLyXformat2Token): Correct font when reading old floats.
11634
11635 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11636
11637         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11638         inserting list of floats.
11639
11640 2002-04-25  Herbert Voss  <voss@lyx.org>
11641
11642         * MenuBackend.C (expand): don't add the graphics extensions to the
11643         export menu
11644
11645 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11648         non-existing layout, do not complain if it was the default layout
11649         of the original class (bug #342)
11650
11651 2002-04-24  Juergen Vigna  <jug@sad.it>
11652
11653         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11654         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11655
11656 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11657
11658         * buffer.C (getBibkeyList): If using \bibliography, return the
11659         option field with the reference itself. Enables us to provide natbib
11660         support when using \bibliography.
11661
11662 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11663
11664         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11665
11666         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11667         natbib is provided by the LaTeX class.
11668
11669 2002-04-23  Juergen Vigna  <jug@sad.it>
11670
11671         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11672         Wakeup functions.
11673
11674         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11675
11676 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11679
11680         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11681         ensuremath around textordmasculine, textordfeminine and
11682         textdegree.
11683
11684 2002-04-19  Juergen Vigna  <jug@sad.it>
11685
11686         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11687         reinitializing the buffer otherwise row-dimensions may be wrong.
11688         (update): reset also the selection cursors if they do exits otherwise
11689         their x/y positions may be wrong.
11690
11691         * text2.C (cursorDown): don't enter the inset if we came from a row
11692         above and are one row over the inset.
11693
11694         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11695         really leaving an inset.
11696
11697 2002-04-18  Juergen Vigna  <jug@sad.it>
11698
11699         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11700         of the selected paragraph does not have the selected layout also if
11701         the last one had!
11702
11703         * text2.C (setLayout): fixed bug which did not change last selected
11704         paragraph.
11705
11706         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11707         changed the read and substituted \\end_float with \\end_inset!
11708
11709         * BufferView_pimpl.C (cursorPrevious):
11710         (cursorNext): fixed to make it work with rows heigher than the work
11711         area without moving the cursor only the draw of the row.
11712         (workAreaMotionNotify): fix jumping over high rows.
11713
11714 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11717         Ressler.
11718
11719 2002-04-16  Juergen Vigna  <jug@sad.it>
11720
11721         * text2.C (setCursor): set also the irow().
11722         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11723         (cursorUp):
11724         (cursorDown): support for locking an inset if the x_fix value goes
11725         inside it. That way I can transverse insets too with cursor up/down.
11726
11727         * lyxrow.h: added irow helper function same as other (i) functions.
11728
11729         * BufferView_pimpl.C (cursorPrevious):
11730         (cursorNext): fixed for insets!
11731
11732 2002-04-15  Juergen Vigna  <jug@sad.it>
11733
11734         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11735         position otherwise it is wrong in some cases.
11736
11737         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11738         inside the inset before the call.
11739
11740 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11741
11742         * buffer.[Ch] (getBibkeyList): make it const.
11743
11744 2002-04-12  Juergen Vigna  <jug@sad.it>
11745
11746         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11747
11748         * text2.C (getCursorX): new helper function
11749         (setCursor): compute also ix_
11750         (setCursorFromCoordinates): set also ix.
11751
11752         * lyxcursor.h: added ix_ and helper functions.
11753
11754         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11755
11756         * buffer.C (insertStringAsLines): dont break paragraph if the this
11757         paragraph is inside an inset which does not permit it!
11758
11759         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11760         also with no chars on this paragraph.
11761         (paintRowText): only paint stuff if it's inside the workarea!
11762
11763         * paragraph.C (breakParagraph): honor keepempty flag and break the
11764         paragraph always below not above.
11765
11766         * BufferView2.C (unlockInset): update the paragraph layout on inset
11767         unlock as we changed paragraph in such a case.
11768
11769         * lyxfind.C (LyXFind): clear the former selection if not found!
11770
11771         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11772         again called in insertChar().
11773
11774         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11775         an inset which uses the whole row!
11776         (rightMargin): ditto.
11777         (insertChar): force a rebreak if we inserted an inset!
11778
11779 2002-03-28  Herbert Voss  <voss@lyx.org>
11780
11781         * lyxlength.[Ch]: add inBP() to get the right PS-point
11782         units (BigPoint). With inPixels we have rounding errors
11783
11784 2002-04-11  Juergen Vigna  <jug@sad.it>
11785
11786         * text2.C (setCursorFromCoordinates): set iy to the right value.
11787         (setCursor): add check if row->previous exists!
11788
11789         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11790         an old float_type as this was the case in the old code!
11791
11792         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11793
11794         * BufferView2.C (showLockedInsetCursor): use iy
11795         (fitLockedInsetCursor): ditto
11796
11797         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11798         locked insets as there we have the right value now.
11799
11800         * lyxcursor.C: added iy_ variable and iy functions to set to the
11801         baseline of cursor-y of the locked inset.
11802
11803         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11804         (setCursor): fixed for insets which need a full row.
11805
11806         * text.C (rowLastPrintable): don't ignore the last space when before
11807         an inset which needs a full row.
11808         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11809         as last character of a row when before a inset which needs a full row.
11810
11811 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * version.C.in: update date
11814
11815         * text2.C (fullRebreak): try to always return true and see what
11816         happens...
11817
11818 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * MenuBackend.C (expand): use Floating::listName
11821
11822         * FloatList.C (FloatList): add listName argument to the built-in
11823         floats
11824
11825         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11826         text associated with the float.
11827
11828 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11831
11832 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11833
11834         * ShareContainer.h: add a couple of missing typenames.
11835
11836 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * lyxrc.C (getDescription): use _() correctly rather than N_().
11839
11840 2002-03-28  Herbert Voss  <voss@lyx.org>
11841
11842         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11843         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11844
11845 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11848         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11849
11850 2002-03-29  Juergen Vigna  <jug@sad.it>
11851
11852         * lyxfunc.C (dispatch): add a missing fitCursor call.
11853
11854         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11855         it was scrolled by a cursor move, so return the bool status.
11856
11857         * BufferView.C (fitCursor): return the bool flag also to the outside
11858         world as this is needed.
11859
11860         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11861
11862         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11863         call the edit() as it is not needed (and wrong) IMO.
11864         (workAreaButtonPress): set the screen_first variable before evt.
11865         unlock the inset as this may change screen_first and then we have
11866         a wrong y position for the click!
11867
11868 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11869
11870         * MenuBackend.C (expand): another translation that I missed
11871
11872 2002-03-28  Juergen Vigna  <jug@sad.it>
11873
11874         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11875
11876         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11877
11878 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11879
11880         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11881
11882         * MenuBackend.C (expand): fix export/view/update when there is no
11883         document open.
11884
11885 2002-03-27  Herbert Voss  <voss@lyx.org>
11886
11887         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11888         and text%
11889
11890 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11891
11892         * bufferview_funcs.C (currentState): only show paragraph number
11893         for is DEVEL_VERSION is set.
11894
11895         * lyxfunc.C (dispatch): put warning in INFO channel
11896
11897         * MenuBackend.C (expand): translate the name of floats
11898
11899         * FloatList.C (FloatList): mark the float names for translation
11900
11901         * converter.C (convert): use LibScriptSearch
11902
11903 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11904
11905         * MenuBackend.C (defaults): fix default menu (we might as well get
11906         rid of it...)
11907
11908 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11911         directory.
11912
11913 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * lyxvc.C: reorder includes.
11916
11917 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11920           properly
11921
11922 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * CutAndPaste.C: change layouts earlier on paste
11925           to avoid crashing when calling getFont()
11926
11927 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11930         irritating #error.
11931
11932 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * WorkArea.C: remove 'Pending' debug message.
11935
11936         * most files: ws cleanup
11937
11938         * buffer.[Ch]: ws changes
11939
11940         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11941
11942 2002-03-21  Juergen Vigna  <jug@sad.it>
11943
11944         * tabular.C (SetMultiColumn): collapse also the contents of the
11945         cells and set the last border right. Added a Buffer const * param.
11946
11947 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11950         linking or not.
11951
11952 2002-03-19  Juergen Vigna  <jug@sad.it>
11953
11954         * text2.C (clearSelection): reset also xsel_cache.
11955
11956         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11957         where it needs to be called (John tells us to do so too :)
11958         (selectionLost): reset sel_cache.
11959
11960         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11961
11962 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * text2.C (setCursorIntern): put debuging code in INSETS channel
11965
11966 2002-03-19  André Pönitz <poenitz@gmx.net>
11967
11968         * lyxfunc.C: tiny whitespace change
11969
11970 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * ToolbarDefaults.C (init):
11973         * LyXAction.C (init):
11974         * commandtags.h:
11975         * BufferView_pimpl.C (Dispatch):
11976         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11977
11978 2002-03-19  Allan Rae  <rae@lyx.org>
11979
11980         * exporter.C (Export): removeAutoInsets before doing anything else.
11981         While I've just introduced a dependency on BufferView this really is
11982         the best place to clean the buffer otherwise you need to cleanup in
11983         a dozen places before calling export or cleanup in a dozen functions
11984         that export calls.
11985
11986         * converter.C (runLaTeX):
11987         (scanLog): Better handling of removeAutoInsets and screen updates.
11988
11989         * lyxfunc.C (dispatch): small whitespace changes
11990
11991 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * WorkArea.C (C_WorkAreaEvent): return a value.
11994         (event_cb): return 1 if we handled the event, 0 otherwise.
11995
11996         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11997
11998 2002-03-18  Juergen Vigna  <jug@sad.it>
11999
12000         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12001         (GetAdditionalWidth): ditto.
12002         (RightLine): ditto.
12003         (LeftLine): ditto.
12004
12005         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12006         inset if we're there actually (probably not used right now but this
12007         is the direction to go for unifying code).
12008         (paste): disable code to clear the selection.
12009
12010         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12011         inside an InsetText and move the check further up as it is in the
12012         wrong place.
12013
12014         * text2.C (pasteSelection): set a selection over the pasted text.
12015
12016 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12017
12018         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12019         and libgraphics to build on Cygwin.
12020
12021 2002-03-15  Juergen Vigna  <jug@sad.it>
12022
12023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12024         inserting an Inset into the paragraph. I know this is not the best
12025         fix but we already use current_view in CutAndPaste so we will remove
12026         all of it's using at the same time.
12027
12028         * buffer.C (sgmlError): deactivated function till it is rewritten in
12029         the right mode, now it can create problems.
12030
12031         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12032         before accessing it.
12033
12034 2002-03-14  Juergen Vigna  <jug@sad.it>
12035
12036         * undo_funcs.C (textHandleUndo): do the right thing when updating
12037         the inset after the undo/redo.
12038
12039         * text2.C (setCursor): just some testcode for #44 not ready yet.
12040
12041         * undo_funcs.C (textHandleUndo): set the next() and previous()
12042         pointers of the paragraph to 0 before deleting otherwise we have
12043         problems with the Paragraph::[destructor].
12044
12045         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12046         on a paragraph insertion.
12047
12048 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * buffer.C (asciiParagraph): use += operator for char append to
12051         string.
12052
12053         * paragraph.C (getFontSettings): compare >= not just >
12054         (highestFontInRange): ditto
12055         (setFont): ditto
12056
12057 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * paragraph.C: change several algorithm to be more appripriate for
12060         the problem domain. This is lookip in FontList and in the InsetList.
12061
12062 2002-03-13  André Pönitz <poenitz@gmx.net>
12063
12064         * commandtags.h:
12065         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12066
12067 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * commandtags.h:
12070         * LyXAction.C:
12071         * lyxfunc.C:
12072         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12073
12074 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * Painter.C (display): anon helper function, adjust code for this
12077         change.
12078         (pixmap): remove function.
12079
12080         * Painter.h: remove private display variable.
12081
12082         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12083
12084 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12085
12086         * WorkArea.[Ch]: remove figinset_canvas cruft.
12087
12088 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * lyxtextclass.C (operator): add one item cache optimization.
12091
12092         * bufferlist.h: doxy changes
12093
12094         * bufferlist.C: ws changes
12095
12096         * DepTable.[Ch] (ext_exist): place const in the right spot.
12097
12098         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12099         call resizeInsets.
12100         (workAreaExpose): call resizeInsets when the with BufferView changes.
12101         (Dispatch): adjust for protectedBlank removal
12102         (specialChar): call updateInset if the insert went ok.
12103
12104         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12105         specialChar instead.
12106
12107         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12108
12109         * BufferView.h: doxy change
12110
12111         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12112
12113         * lyxtextclass.C (operator[]): remove non-const version
12114         (defaultLayout): remove non-const version
12115
12116 2002-03-12  Juergen Vigna  <jug@sad.it>
12117
12118         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12119         did resize the LyXText too.
12120
12121         * buffer.C (readLyXformat2): set layout information on newly allocated
12122         paragraphs.
12123
12124         * tabular.C (OldFormatRead): set layout information on the paragraph.
12125
12126 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12127
12128         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12129
12130 2002-03-11  Juergen Vigna  <jug@sad.it>
12131
12132         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12133         plainly wrong.
12134         (resizeCurrentBuffer): force also the insets to resize themselfes.
12135         (moveCursorUpdate): fixed up for InsetText.
12136
12137 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12138
12139         * commandtags.h:
12140         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12141         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12142         value of Dialogs::tooltipsEnabled().
12143         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12144
12145 2002-03-08  Juergen Vigna  <jug@sad.it>
12146
12147         * BufferView_pimpl.C (updateInset): update inset inside inset also
12148         if it isn't inside theLockingInset().
12149
12150 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * buffer.C (asciiParagraph): redo some of the word and line length
12153         handling.
12154         (getLists): look for Caption instead of caption.
12155
12156 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12157
12158         * buffer.C (Buffer): initialize niceFile to true
12159         (makeLaTeXFile):
12160         (makeLinuxDocFile):
12161         (makeDocBookFile): make sure niceFile is true on exit
12162
12163 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12166
12167 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12168
12169         * LyXSendto.C: remove.
12170         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12171         * lyx_gui.C: remove now-redundant comment.
12172         * ColorHandler.h: remove forward declaration of class WorkArea.
12173         * lyxfunc.C: remove #include "WorkArea.h".
12174
12175 2002-03-07  Juergen Vigna  <jug@sad.it>
12176
12177         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12178         got moved away with the DEPM and also set the inset_owner always
12179         right which before could have been omitted.
12180
12181 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12184         wanted layout is not found.
12185
12186 2002-03-07  Juergen Vigna  <jug@sad.it>
12187
12188         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12189
12190 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * paragraph.C (breakParagraph): use default layout not layout of
12193         prev paragraph.
12194         (Paragraph): clear ParagraphParameters.
12195
12196 2002-03-06  Juergen Vigna  <jug@sad.it>
12197
12198         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12199         otherwise it would not be a valid lenght. Fixed a special case in
12200         the minipage compatibility read where we end the document with a
12201         minipage.
12202
12203         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12204         was set as it could be 0 for InsetTexts first entry.
12205
12206 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * paragraph.C (writeFile): if layout is empty write out
12209         defaultLayoutName().
12210
12211         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12212         file without named layout we set layout to defaultLayoutName().
12213
12214 2002-03-06  Juergen Vigna  <jug@sad.it>
12215
12216         * CutAndPaste.C (copySelection): set layout for new paragraph.
12217
12218         * text.C (prepareToPrint): leave ERT inset left aligned
12219         (leftMargin): don't indent paragraphs inside ERT insets
12220
12221 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * paragraph.C (breakParagraph): dont call clear do the work manually
12224
12225         * paragraph.[Ch] (clear): remove function
12226
12227 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * paragraph.C (Paragraph): dont call clear, the work has already
12230         been done.
12231
12232         * lyxtextclass.C (operator): assert if n is empty
12233
12234         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12235         work manually instead.
12236
12237 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12238
12239         * BufferView_pimpl.C: protect selectionLost against text == 0
12240
12241 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * text.C (breakParagraph): fix a setting layout to '0' problem.
12244
12245 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12246
12247         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12248         final location of file, for the included files, and graphics.
12249
12250 2002-03-05  Juergen Vigna  <jug@sad.it>
12251
12252         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12253
12254 2002-03-04  Juergen Vigna  <jug@sad.it>
12255
12256         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12257
12258         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12259         last column of multicolumn cells.
12260         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12261
12262 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12263
12264         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12265         file if it doesn't go to a temporary file.
12266
12267         * buffer.C (sgmlOpenTag):
12268         (sgmlCloseTag):  remove extra newline insertion.
12269
12270 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * text.C (getRowNearY): comment out debug msg
12273
12274 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * text2.C: first -> first_y
12277
12278         * text.C (getRowNearY): add some attemts at a possible
12279         optimization, not working.
12280
12281         * tabular.[Ch]: add BufferParams to several function so that newly
12282         created paragraph can be initialized to he default layotu for the
12283         buffers textclass.
12284
12285         * tabular-old.C (ReadOld): add buf->params to call of Init
12286
12287         * screen.C: rename text->first to text->first_y
12288
12289         * paragraph.C (breakParagraph): always set layout in the broken
12290         paragraph
12291
12292         * lyxtextclass.C (Read): remove lowercase
12293         (hasLayout): ditto
12294         (operator): ditto
12295         (delete_layout): ditto
12296
12297         * lyxtext.h: rename first -> first_y
12298
12299         * lyxlayout.C (Read): remove lowercase
12300         (name): ditto
12301         (setName): ditto
12302         (obsoleted_by): ditto
12303
12304         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12305
12306         * buffer.C (insertErtContents): add params are to InsetERT
12307         (parseSingleLyXformat2Token): add code to check if a paragraphs
12308         layout really exist.
12309         (parseSingleLyXformat2Token): add params to several inset
12310         constructors
12311         (asciiParagraph): remove lowercase, do the layout comparisons with
12312         no_case
12313
12314         * BufferView_pimpl.C (cursorNext): first -> first_y
12315         (resizeCurrentBuffer): first -> first_y
12316         (updateScrollbar): first -> first_y
12317         (scrollCB): first -> first_y
12318         (workAreaMotionNotify): first -> first_y
12319         (workAreaButtonPress): first -> first_y
12320         (checkInsetHit): first -> first_y
12321         (cursorPrevious): first -> first_y
12322         (cursorNext): first -> first_y
12323         (Dispatch): add buffer_->params to severl inset contructors
12324
12325 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12326
12327         * lyxlayout.C (Read): remove some debug info that I forgot.
12328
12329         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12330         clean up the code slightly.
12331         (makeLinuxDocFile): ditto
12332         (makeDocBookFile): ditto
12333
12334         * text2.C: layout as string
12335
12336         * text.C: layout as string
12337
12338         * paragraph_pimpl.C: layout as string
12339
12340         * paragraph.[Ch]: layout as string
12341
12342         * lyxtextclasslist.[Ch]: layout as string
12343
12344         * lyxtextclass.[Ch]: layout as string
12345
12346         * lyxtext.h: layout as string
12347
12348         * lyxlayout.[Ch]: layout as string
12349
12350         * lyx_cb.C: layout as string
12351
12352         * bufferview_funcs.C: layout as string
12353
12354         * bufferparams.C: layout as string
12355
12356         * buffer.C: layout as string
12357
12358         * LyXView.[Ch]: layout as string
12359
12360         * LaTeXFeatures.[Ch]: layout as string
12361
12362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12363
12364         * BufferView_pimpl.C: change current_layout to string, remove
12365         lyx::layout_type.
12366         (Dispatch):
12367         (smartQuote):
12368         (insertInset):
12369         (workAreaButtonRelease): layout as string
12370
12371         * BufferView2.C (unlockInset): adjust
12372
12373         * vspace.C (asLatexCommand): use an explict temp variable.
12374
12375 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * Makefile.am: use FRONTEND_*
12378
12379 2002-03-01  Juergen Vigna  <jug@sad.it>
12380
12381         * tabular.C (SetWidthOfMulticolCell): changed to something better
12382         I hope but still work in progress.
12383         (recalculateMulticolumnsOfColumn): renamed function from
12384         recalculateMulticolCells as it is more appropriate now.
12385         (SetWidthOfCell): calculate multicols better.
12386
12387 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12388
12389         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12390
12391         * lyxfunc.C (processKeySym): print sequence also if it is
12392         `deleted' (complete)
12393
12394         * kbsequence.C (print): print sequence even if it is deleted
12395         (complete would be a better word, actually).
12396
12397         * lyxfunc.C (dispatch): print complete options after a prefix key
12398
12399         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12400
12401 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12402
12403         * text2.C (setCharFont): eliminate setCharFont code duplication.
12404
12405 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12408         LFUN_TABULAR_FEATURE (bug #177)
12409
12410 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12411
12412         * Makefile.am: remove figure.h
12413
12414 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * Bufferview_pimpl.C:
12417         * CutAndPasteC:
12418         * LaTeX.C:
12419         * LyXSendto.C:
12420         * buffer.C:
12421         * bufferlist.C:
12422         * converter.C:
12423         * language.C:
12424         * lyxfunc.C:
12425         * lyxvc.C:
12426         * paragraph.C:
12427         * text.C:
12428         * text2.C: remove #include "lyx_gui_misc.h".
12429
12430         * LaTeX.C: added #include <cstdio>
12431
12432 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12433
12434         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12435         that the paragraph following this one can have.
12436
12437         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12438
12439         * vspace.C (asLatexCommand): fix bogus gcc warning
12440
12441         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12442
12443 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12444
12445         * text2.C (setLayout): get rid of redundant code
12446
12447 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12448
12449         * text2.C (incDepth): make sure depth cannot be increased beyond
12450         reasonable values.
12451
12452 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12453
12454         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12455         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12456
12457         * PainterBase.h (image):
12458         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12459         a LyXImage const *.
12460
12461 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * BufferView.C:
12464         * BufferView.h:
12465         * BufferView_pimpl.C:
12466         * BufferView_pimpl.h:
12467         * LaTeXFeatures.C:
12468         * LyXAction.C:
12469         * LyXView.C:
12470         * Makefile.am:
12471         * UpdateList.h:
12472         * UpdateList.C:
12473         * buffer.C:
12474         * figure.h:
12475         * figureForm.C:
12476         * figureForm.h:
12477         * figure_form.C:
12478         * figure_form.h:
12479         * lyx_cb.C:
12480         * lyx_gui.C:
12481         * lyx_gui_misc.C:
12482         * lyxfunc.C:
12483         * sp_base.h:
12484         * sp_ispell.h:
12485         * sp_pspell.h:
12486         * sp_spell.C: remove fig inset, and the crap house of
12487           cards that follows it
12488
12489 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * Makefile.am:
12492         * lyxserver.C:
12493         * os2_defines.h:
12494         * os2_errortable.h:
12495         * nt_defines.h: move .h into support/
12496
12497         * vms_defines.h: remove
12498
12499         * WorkArea.C: add space in debug output
12500
12501         * text2.C:
12502         * paragraph.C:
12503         * buffer.C: add WITH_WARNINGS
12504
12505         * vc-backend.h:
12506         * vc-backend.C:
12507         * bufferlist.C: s/retrive/retrieve/, add docs
12508
12509         * vspace.h:
12510         * vspace.C:
12511         * kbmap.h:
12512         * lyxlength.h:
12513         * lyxgluelength.h:
12514         * length_common.h:
12515         * chset.h:
12516         * chset.C: add docs
12517
12518         * lyxgui.C: add ID to X error handler
12519
12520         * lyxtestclass.c: fix typo
12521
12522 2002-02-26  Juergen Vigna  <jug@sad.it>
12523
12524         * tabular_funcs.C (write_attribute): changed so that some default
12525         attributes are not written at all.
12526         (getTokenValue): set default values before trying to read the
12527         value so we have the return value always set as default if we don't
12528         find the token we search for.
12529
12530         * tabular.C (Write): write bools as bools not as strings!
12531
12532 2002-02-22  Juergen Vigna  <jug@sad.it>
12533
12534         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12535         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12536
12537         * text.C (leftMargin): don't add an indent for paragraphs inside
12538         tabular cells (fix #208).
12539
12540 2002-02-21  José Matos  <jamatos@fep.up.pt>
12541
12542         * tabular.C (docBook): fixed support for long tables.
12543
12544 2002-02-20  Juergen Vigna  <jug@sad.it>
12545
12546         * text2.C (getFont): get the drawing font of the Inset if this
12547         paragraph is inside an inset (only important for InsetERT for now).
12548
12549         * buffer.C (insertErtContents): use new lanugage params in ERT
12550         constructor.
12551
12552         * CutAndPaste.C: commenting out seemingly uneeded code.
12553
12554 2002-02-19  Allan Rae  <rae@lyx.org>
12555
12556         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12557         Iterators might be simple to use but they also get invalidated.
12558         (removeAutoInsets): renamed saved cursor tracking variables and added
12559         some comments to clarify what everything does.
12560
12561 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * Chktex.C:
12564         * LaTeX.C:
12565         * LyXSendto.C:
12566         * converter.C:
12567         * lyx_cb.C:
12568         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12569         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12570
12571         * lyxfunc.C:
12572         * vc-backend.h: remove #include "support/syscall.h"
12573
12574         * LaTeX.C:
12575         * LyXSendto.C:
12576         * converter.C: rearrange #includes in Lars' approved fashion.
12577
12578         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12579         forward declare class Timeout in the header file.
12580
12581         * XFormsView.C: changes due to the above.
12582
12583         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12584         similar to LyXView.
12585
12586         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12587         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12588
12589 2002-02-18  José Matos  <jamatos@fep.up.pt>
12590
12591         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12592         insets contents.
12593
12594 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12595
12596         * a lot of small ws changes
12597         * add a lot of using std::XXX
12598         * use std construcs some places where approp.
12599         * use some exisint stuff from lyxfunctional where approp.
12600         * Make file changes to use partial linking (lets test this now...)
12601
12602 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12603
12604         * Chktex.C:
12605         * buffer.C:
12606         remove #include "support/syscontr.h" as it's redundant. Always has been.
12607
12608         * Chktex.C:
12609         * LaTeX.C:
12610         * LyXSendto.C:
12611         * converter.C:
12612         * lyx_cb.C:
12613         * vc-backend.C:
12614         change Systemcalls::System to Systemcalls::Wait and
12615         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12616         No change of functionality, just reflects the stripped down Systemcalls
12617         class.
12618
12619 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12620
12621         * debug.[Ch]: add a GRAPHICS type to the enum.
12622
12623 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12626
12627         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12628         there is an inset.
12629
12630 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12633         match the changes below.
12634
12635         * text2.C (toggleInset): if there is not editable inset at cursor
12636         position, try to see if cursor is _inside_ a collapsable inset
12637         and close it.
12638
12639 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12642         document menu has a nice checkbox
12643
12644 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * lyxlength.C (asLatexString): change PW to output as percent of
12647         \textwidth.
12648
12649         * lengthcommon.C: change '%' to 't%'
12650
12651         * lyxfunc.C (dispatch): a few comments from Martin
12652
12653 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * WorkArea.h:
12656         * WorkArea.C:
12657         * BufferView_pimpl.h:
12658         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12659           the X selection.
12660
12661 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12662
12663         * vspace.C (inPixels): fix compiler warning
12664
12665 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12666
12667         * lyxfunc.C (getStatus): fix status message for disabled commands.
12668
12669 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * BufferView_pimpl.C: fix crash on close buffer
12672         during selection (#227)
12673
12674 2002-01-27  Herbert Voss  <voss@lyx.org>
12675
12676         * buffer.C: link old Figure to new graphic inset
12677
12678 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12679
12680         * FontLoader.C (getFontinfo): Change the latex font names in order
12681         to match the names of type1inst.
12682
12683 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12686
12687         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12688         (extchanged): ditto
12689         (ext_exist): ditto
12690         (remove_files_with_extension): ditto
12691         (remove_file): ditto
12692         (write): ditto
12693
12694         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12695         document is smaller than the work area height. Do not initialize
12696         static variables to 0.
12697
12698 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12699
12700         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12701
12702         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12703         LFUN_LAYOUT_PARAGRAPHS.
12704
12705         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12706         tabular. It is possible to provide a possible cell, which will
12707         typically be the actcell from the corresponding insettabular
12708
12709         * lyxfunc.C (getStatus): small cleanup; disable
12710         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12711         true
12712
12713 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12716
12717         * paragraph.C (startTeXParParams):
12718         (endTeXParParams): new methods. The LaTeX code to
12719         start/end paragraph formatting
12720         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12721         empty (fixes bug #200)
12722
12723         * vspace.C (inPixels): adapt to the change below
12724         (inPixels): [later] more cleanups (remove unused variables)
12725
12726         * lyxlength.C (inPixels): change to use a width and a height as
12727         parameter.
12728
12729 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12730
12731         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12732         Replaced with \paperwidth
12733
12734         * DepTable.C (insert): add std:: qualifier
12735
12736 2002-01-18  Allan Rae  <rae@lyx.org>
12737
12738         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12739         updated also?
12740
12741         * text.C (drawInset): Turned out I didn't know enough about how
12742         rebreaking worked.  This fixes most of the redraw problems.  I see
12743         an occasional cursor trail when a line is broken now and the cursor
12744         placement can seem out by a few pixels also after a rebreak.
12745
12746 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * buffer.C (parseSingleLyXformat2Token): update because minipage
12749         width is now a LyXLength
12750
12751         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12752
12753         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12754         math insets
12755
12756 2002-01-17  Juergen Vigna  <jug@sad.it>
12757
12758         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12759
12760         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12761         is set correctly and the inset is updated correctly.
12762
12763 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12764
12765         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12766         the beginning of the loop.
12767
12768 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * lyxrc.C: improve help for use_scalable_fonts
12771
12772 2002-01-17  Allan Rae  <rae@lyx.org>
12773
12774         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12775
12776 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12777
12778         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12779         make sure to set their inset_owner to the right value (bug #171)
12780
12781 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12782
12783         * DepTable.h
12784         * DepTable.C: Implement mtime checking to reduce time spent doing
12785         CRCs.
12786
12787 2002-01-16  Juergen Vigna  <jug@sad.it>
12788
12789         * tabular.C (GetAdditionalHeight): one of error fixed.
12790
12791         * lyxrc.C (output): small fix in writing use_pspell.
12792
12793 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * sp_base.h: #include LString.h
12796
12797 2002-01-16  Allan Rae  <rae@lyx.org>
12798
12799         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12800         Can someone check this please?
12801
12802         * text.C (drawInset): It was possible that p.row would be removed by
12803         breakAgainOneRow upsetting a few other settings.  There may be another
12804         small tweak possible by setting need_break_row = 0 when p.row has been
12805         removed but I don't know enough about the logic here.
12806
12807 2002-01-15  Allan Rae  <rae@lyx.org>
12808
12809         * text.C (insertChar): removed conditional truism.
12810
12811         * BufferView2.C (removeAutoInsets): More tweaks.
12812         cur_par_prev could be a stray pointer.  Check for trailing empty line
12813         in case last line was cur_par and only had an error inset on it.
12814
12815 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12816
12817         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12818         absolute
12819
12820         * vc-backend.C (most methods):
12821         * exporter.C (Export):
12822         * converter.C (convert):
12823         (runLaTeX):
12824         * LyXSendto.C (SendtoApplyCB):
12825         * lyxfunc.C (dispatch):
12826         (menuNew):
12827         (open):
12828         (doImport):
12829         * lyx_cb.C (AutoSave):
12830         (InsertAsciiFile):
12831         * BufferView_pimpl.C (MenuInsertLyXFile):
12832         * buffer.C (runChktex): use Buffer::filePath().
12833
12834         * buffer.h: rename filename to filename_; rename filepath to
12835         filepath_ and make it private
12836         (filePath): new method
12837
12838         * buffer.C (writeFile): use fileName()
12839         (getLatexName):
12840
12841         * lyx_main.C (init): fix starting  of LyX when the binary is a
12842         link from so,ewhere else.
12843
12844         * minibuffer.C: include <cctype> for isprint
12845
12846 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12847
12848         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12849         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12850         name clash with InsetCollapsable's width function.
12851
12852 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * lastfiles.C: include <iterator>
12855
12856 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12857
12858         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12859         std::count.
12860
12861         * buffer.C (makeLaTeXFile): ditto.
12862         Also make loop operation more transparent.
12863
12864 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         * ToolbarDefaults.C: remove trailing comma closing namespace.
12867
12868         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12869
12870         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12871         as in WorkArea.
12872
12873         * trans.C (Load): comment out unused variable, allowed.
12874
12875 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12876
12877         * minibuffer.[Ch] (append_char): new method to recieve input from the
12878         drop-down completion browser. If a key was pressed, then recieve this
12879         char and append it to the existing string.
12880         (peek_event): modify the positioning data passed to the completion
12881         browser so that it can be placed above the minibuffer rather than below.
12882 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * LyXAction.C (init): alloe error-next for readonly documents.
12885
12886         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12887         count.
12888
12889 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * bufferlist.C (readFile): create the buffer _after_ checking that
12892         the file exists.
12893
12894         * lyxfunc.C (verboseDispatch): fix handling of arguments
12895
12896         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12897
12898         * lyxrc.C: use string::erase() instead of initializing to "".
12899
12900
12901 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * BufferView_pimpl.h:
12904         * BufferView_pimpl.C:
12905         * WorkArea.h:
12906         * WorkArea.C:
12907         * text2.C: tell X when we have made a selection for copying
12908
12909 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * BufferView_pimpl.C (MenuInsertLyXFile):
12912         * lyxfunc.C (menuNew):
12913         (open):
12914         (doImport): add shortcuts to directory buttons
12915
12916         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12917         open a float)
12918
12919         * lyxfunc.C (setStatusMessage):
12920         (getStatusMessage): new methods
12921         (getStatus):use setStatusMessage instead of setErrorMessage
12922         (dispatch): when function is disabled, set error message here
12923         [instead of in getStatus previously]
12924
12925         * BufferView_pimpl.C (workAreaButtonRelease): update
12926         toolbar/menubar here too.
12927
12928 2002-01-13  Allan Rae  <rae@lyx.org>
12929
12930         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12931         Now seems indestructible.  Remaining task is to audit all other
12932         code affected by deleteEmptyParagraphMechanism.  One small quirk
12933         left is that an empty document with an error in the preamble can
12934         be made to report an error but no error box appears.  I don't know
12935         where it goes.
12936         (removeAutoInsets): Improved comments.
12937
12938 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * Thesaurus.h:
12941         * Thesaurus.C: update for Aiksaurus 0.14
12942
12943 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * text2.C (firstParagraph): removed member function, all uses
12946         replaces with ownerParagraph
12947         (redoParagraphs): here
12948         (updateInset): here
12949         (toggleAppendix): here
12950         * BufferView2.C (insertErrors): here
12951         (setCursorFromRow): here
12952
12953 2002-01-13  Allan Rae  <rae@lyx.org>
12954
12955         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12956         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12957         There is still a way to segfault this although you may have to do this
12958         multiple times: Have an InsetERT with an unknown command in it.
12959         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12960         <down-arrow>, <Enter> again, View->DVI, BANG!
12961
12962         * text2.C (setCursor):
12963         (deleteEmptyParagraphMechanism):
12964         * lyxtext.h (setCursor):
12965         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12966         Making use of the return value may help fix other bugs.
12967
12968 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12969
12970         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12971
12972         * LyXView.C (updateMenubar): call MenuBar::update here
12973         (updateToolbar): but not here
12974         (showState): do not update toolbar/menubar
12975
12976         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12977         should need to care about that.
12978
12979         * lyxfunc.C (verboseDispatch): simplify a bit
12980         (getStatus): have a version which takes a pseudoaction, and
12981         another which requires a (kb_action,string).
12982
12983         * LyXAction.C (retrieveActionArg): make it work also when action
12984         is not a pseudo-action.
12985         (getActionName): simplify a bit
12986         (helpText):
12987
12988 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12989
12990         * lyxfunc.C (verboseDispatch): new families of methods with
12991         several ways to specify a command and a bool to indicate whether
12992         the command name and shortcut should be displayed in minibuffer
12993         (eventually, we could extend that to a finer bitmask like
12994         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12995         (dispatch): the pristine dispatch command which just, well,
12996         dispatchs! Note it still sets its result to minibuffer; I'm not
12997         sure we want that.
12998
12999         * lyxfunc.h: remove setHintMessage
13000
13001         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13002
13003 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * BufferView_pimpl.C (specialChar): delete new inset if we have
13006         not been able to insert it.
13007
13008         * kbmap.C: revert to using int instead of kb_action, since all we
13009         are dealing with is pseudo-actions.
13010
13011         * LyXAction.C (searchActionArg): change to return int instead of
13012         kb_action, since the result is a pseudoaction.
13013
13014 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * buffer.C (insertErtContents): Fix (partially) the font bug.
13017
13018 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13019
13020         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13021         as the other one is broken on my machine!
13022
13023 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13024
13025         * commandtags.h:
13026         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13027
13028 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13029
13030         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13031         reflect their actual use. Provide compatibility code for older lyxrc
13032         files.
13033
13034         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13035         FL_NORMAL_STYLE.
13036         change names of popup font variables in line with the changes to lyxrc.C
13037
13038 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13039
13040         * buffer.C (asciiParagraph): avoid outputing a word twice after
13041         an inset.
13042
13043         * lyxrc.C (getDescription): document that document_path and
13044         template_path can be empty.
13045
13046 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * LaTeXFeatures.C (getMacros):
13049         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13050
13051         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13052
13053         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13054         getPackages.
13055         (getPackages): rename feature "floats" to "float". Use an array to
13056         iterate over 'simple' features (i.e. just a \usepackage). Add
13057         handling of "amsmath" (renamed from "amsstyle").
13058
13059 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13060
13061         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13062         features list.
13063
13064 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13065
13066         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13067         FuncStaus::FuncStatus & FuncStaus::some_method().
13068
13069 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13070
13071         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13072         of the func_satus stuff. Edited and massaged in various ways by
13073         JMarc.
13074
13075         * lyxfunc.C (getStatus): use FuncStatus
13076
13077 2002-01-08  Juergen Vigna  <jug@sad.it>
13078
13079         * text.C (nextBreakPoint): use function Inset::isChar().
13080
13081         * paragraph.C (TeXOnePar): use function
13082         Inset::forceDefaultParagraphs.
13083
13084         * buffer.C (latexParagraphs): use function
13085         Inset::forceDefaultParagraphs.
13086
13087 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * lyx_gui.C (init): set the style of the menu popups to
13090         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13091
13092 2002-01-07  Juergen Vigna  <jug@sad.it>
13093
13094         * text.C (setHeightOfRow): small fix
13095         (prepareToPrint): don't look at alignment if we don't have the place
13096         for doing it.
13097
13098 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * box.C: New file. Move the Box methods and functions out of box.h,
13101         following Lars' suggestion.
13102
13103 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * box.h: #include "support/LOstream.h", needed for inlined function.
13106
13107         * lyxtextclass.C:
13108         * lyxtextclasslist.C: added some using std declarations.
13109
13110 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13111
13112         * box.h: make signed dimensions to allow insets wider than
13113           the screen (bug #162)
13114
13115         * BufferView_pimpl.C: add some insetHit debug
13116
13117 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * vc-backend.C: add FIXME
13120
13121 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13122
13123         * lyxfunc.C (getStatus): enable code for showing math font status
13124         in toolbar/menu.
13125
13126 2002-01-07  Juergen Vigna  <jug@sad.it>
13127
13128         * text.C (nextBreakPoint): removed debug output not needed anymore.
13129
13130 2002-01-06  Juergen Vigna  <jug@sad.it>
13131
13132         * text.C (nextBreakPoint): fixed up this function we had this bug
13133         since ever but now hopefully we break row better.
13134         (insertChar): we have to check if an inset is the next char as it
13135         could now happen that a large inset is causing a break.
13136
13137 2002-01-05  Juergen Vigna  <jug@sad.it>
13138
13139         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13140         if it doesn't like to be drawed.
13141
13142 2002-01-04  Juergen Vigna  <jug@sad.it>
13143
13144         * BufferView2.C (lockInset): forgot to set a cursor.
13145
13146         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13147
13148 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13149
13150         * FormMathsPanel.C:
13151         * FormMathsPanel.h
13152         * MathsSymbols.C:
13153         * form_maths_panel.C:
13154         * form_maths_panel.h:
13155         * form_maths_panel.fd: implemented sub- and super- buttons in math
13156         panel.
13157
13158         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13159         (or ^ space) to be used as in TeX (req'd by André).
13160
13161         * lyxfunc.C: Allow ^ and _ again to be used both as
13162         super/subscript (mathed) and as themselves (in text).
13163
13164 2002-01-03  Allan Rae  <rae@lyx.org>
13165
13166         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13167         "LyX" or the filename of the current buffer if it has one.  This is a
13168         modified form of John Levon's patch.
13169
13170         * XFormsView.C (setWindowTitle): also set icon title.
13171
13172         * LyXView.h (setWindowTitle): signature changed.
13173         * XFormsView.h (setWindowTitle): ditto.
13174
13175 2002-01-02  Juergen Vigna  <jug@sad.it>
13176
13177         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13178
13179 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * screen.C (topCursorVisible): introduce a temp var for
13182         text->cursor.row(), handle the case where this row is null. (kindo
13183         hachish)
13184
13185         * text2.C (setCursor): add a couple of asserts.
13186
13187         * paragraph.h (inset_iterator): add -> operator
13188
13189         * paragraph.[Ch] (autoDeleteInsets): remove member function
13190
13191         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13192         cursor pos correctly and handle inset deletion by itself.
13193         (insertErrors): move iterator declaration out of for expression
13194
13195         * lyxtextclass.C: add <algorithm>
13196
13197         * Makefile.am: added the new files to sources, removed layout.C
13198
13199         * layout.C: removed file
13200
13201         * layout.h: remove LYX_DUMMY_LAYOUT
13202
13203         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13204         layout.
13205
13206         * lyxlayout.[Ch]:
13207         * lyxtextclass.[Ch]:
13208         * lyxtextclasslist.[Ch]: new files
13209
13210         * include order changes to a lot of files, also changes because of
13211         the six new files.
13212
13213 2001-12-27  Juergen Vigna  <jug@sad.it>
13214
13215         * buffer.C (asciiParagraph): more fixes.
13216
13217         * tabular.C (ascii): make ascii export support export of only the
13218         data separated by a column-delimiter.
13219         (ascii): better support for ascii export.
13220
13221         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13222
13223 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * tabular_funcs.C: use a "using std::getline" instead of the
13226         previous fix from Angus (necessary for cxx + lyxstring)
13227
13228 2001-12-24  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13231
13232         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13233         problems. First check a minipage also if we have some ert-contents
13234         (not only on par->size(), second set the right depth of the paragraph
13235         on the relink to the root-paragraph-list!
13236
13237         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13238         which then did not anymore update the main paragraphs on undo/redo!
13239
13240 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13243         code. Support all font-changing funcs (even those which are not in
13244         menu currently). Support for reporting font settings in
13245         mathed (disabled until Andre provides a function on mathed's side).
13246
13247         * func_status.h (toggle): small helper function to set toggle
13248         state on a flag.
13249
13250 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13251
13252         * tabular_funcs.C: getline -> std::getline
13253
13254 2001-12-21  Juergen Vigna  <jug@sad.it>
13255
13256         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13257         accessed and could be 0 (I couldn't generate this but it seems
13258         Michael could!).
13259
13260 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13263         * tabular_funcs.h: here and include iosfwd
13264
13265 2001-12-20  Juergen Vigna  <jug@sad.it>
13266
13267         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13268         inside inset but undo_par was.
13269
13270 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13271
13272         * Thesaurus.C: always include <config.h> in sources.
13273
13274         * Painter.h:
13275         * lyxlookup.h:
13276         * box.h: do not include <config.h> in header files
13277
13278         * text.C (paintLastRow): remove unused variable
13279
13280         * text.C (transformChar):
13281         (insertChar):
13282         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13283
13284         * Painter.C (text):
13285         * font.C (width): rewrite to use uppercase() instead of
13286         islower/toupper.
13287
13288         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13289
13290 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * lyxfind.C: clean up of find failure position change
13293
13294 2001-12-20  Juergen Vigna  <jug@sad.it>
13295
13296         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13297
13298         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13299         (TeXRow): added to LaTeX a single tabular row.
13300         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13301         (Latex): simplified and finally good LT-h/f support.
13302         (various_functions): just small adaptions for LT-h/f support.
13303
13304         * tabular_funcs.[hC]: added and moved here all not classfunctions
13305         of LyXTabular.
13306
13307 2001-12-19  Juergen Vigna  <jug@sad.it>
13308
13309         * tabular.[Ch]: better support for longtabular options (not finished
13310         yet!)
13311
13312 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13313
13314         * text.C (paintLastRow): use the label font instead of the font of
13315         the last character to compute the size of *_BOX. This makes more
13316         sense and avoids a crash with empty paragraphs.
13317         Use Painter::rectangle to draw EMPTY_BOX.
13318
13319 2001-12-19  Juergen Vigna  <jug@sad.it>
13320
13321         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13322         the paragraphs if the replaced paragraph is not the first one!
13323         Tried to delete not used paragraphs but does not work yet so for
13324         now it's inside #ifdef's and by default off!
13325
13326 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13327
13328         * MenuBackend.C: include "lyx_main.h" instead of declaring
13329         lastfiles (actually was declared as LastFiles* instead of a
13330         scoped_ptr).
13331
13332 2001-12-17  Juergen Vigna  <jug@sad.it>
13333
13334         * tabular.C (AppendColumn): applied John's fix
13335
13336 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * BufferView.h:
13339         * BufferView.C:
13340         * BufferView_pimpl.h:
13341         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13342
13343         * Makefile.am:
13344         * box.h: new start of class for above
13345
13346         * lyxfunc.C: ignore space-only minibuffer dispatches.
13347           Show the command name when it doesn't exist
13348
13349         * minibuffer.C: don't add empty lines to the history
13350
13351         * minibuffer.C: add a space on dropdown completion
13352
13353 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * text.C: fix line above/below drawing in insets
13356
13357 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * lyxlength.C (LyXLength): Initialize private variables.
13360
13361 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13362
13363         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13364         when inserting error insets.
13365
13366 2001-12-13  Juergen Vigna  <jug@sad.it>
13367
13368         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13369         actually sometimes the before-paragraph.
13370         (setUndo): don't clear the redostack if we're not actually undoing!
13371
13372 2001-12-06  Juergen Vigna  <jug@sad.it>
13373
13374         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13375         and fixed redoing of main paragraph, so we can use it now ;)
13376
13377         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13378
13379 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13380
13381         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13382         Juergen's request
13383
13384 2001-12-13  André Pönitz <poenitz@gmx.net>
13385
13386         * undostack.[Ch]:
13387         * undo_func.C: minor cleanup
13388
13389 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13392         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13393         font in urw-fonts package which is marked as -urw-fontspecific and
13394         does not work (incidentally, changing the encoding in the
13395         fonts.dir of this package to -adobe-fontspecific fixes the
13396         problem).
13397
13398         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13399         is a crash when undoing first paragraph (Juergen, please take a
13400         look). THis does not mean the undo fix is wrong, just that it
13401         uncovers problems.
13402
13403         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13404         the (Paragraph*) version when needed instead of duplicating the
13405         code.
13406
13407         * text.C (workWidth): use Inset::parOwner to find out where the
13408         inset has been inserted. This is a huge performance gain for large
13409         documents with lots of insets. If Inset::parOwner is not set, fall
13410         back on the brute force method
13411
13412         * paragraph_pimpl.C (insertInset):
13413         * paragraph.C (Paragraph):
13414         (cutIntoMinibuffer): set parOwner of insets when
13415         inserting/removing them
13416
13417         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13418
13419 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13420
13421         * commandtags.h:
13422         * LyXAction.C:
13423         * lyx_main.C:
13424         * lyxfunc.C:
13425         * mathed/formulabase.C:
13426         * mathed/math_cursor.[Ch]:
13427         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13428
13429
13430 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * lyxlength.[Ch] (operator!=): new function
13433
13434 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * text.C (workWidth): use Inset::parOwner to find out where the
13437         inset has been inserted. This is a huge performance gain for large
13438         documents with lots of insets. If Inset::parOwner is not set, fall
13439         back on the brute force method
13440
13441         * paragraph_pimpl.C (insertInset):
13442         * paragraph.C (Paragraph):
13443         (cutIntoMinibuffer): set parOwner of insets when
13444         inserting/removing them
13445
13446         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13447
13448 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13449
13450         * tabular-old.C (getTokenValue):
13451         * tabular.C (getTokenValue):
13452         (write_attribute): new versions for LyXLength
13453         (everywhere): adjust the use of widths
13454
13455         * tabular.h: change the type of widths from string to LyXLength
13456
13457 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13458
13459         * paragraph.C: fixed missing line number count when exporting
13460         Environments to LaTeX file
13461
13462         * buffer.C: added informational message for checking line numbers.
13463
13464 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13467         paragraph, do the 'double space' part, but not the 'empty
13468         paragraph' one.
13469
13470         * text.C (workWidth): small optimization
13471         (getLengthMarkerHeight): use minimal size for negative lengths.
13472
13473 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13476
13477         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13478
13479 2001-12-11  André Pönitz <poenitz@gmx.net>
13480
13481         * FontLoader.C:
13482         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13483
13484 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * text2.C: keep selection on a setFont()
13487
13488 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * lyx_cb.C: another bv->text misuse, from insert label
13491
13492 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * kbsequence.h:
13495         * kbsequence.C: re-instate nmodifier mask
13496
13497 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13498
13499         * lyx_main.h: make lyxGUI private.
13500
13501 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * lyxfind.C: place the cursor correctly on failed search
13504
13505 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * text.C (getLengthMarkerHeight): for small heights, the arrows
13508         are not always on top/bottom of the text
13509         (drawLengthMarker): smaller arrows; take the left margin in
13510         account; draw also vfills.
13511         (paintFirstRow):
13512         (paintLastRow): remove special code for vfill and standard spaces,
13513         since everything is handled in drawLengthMarker now.
13514
13515 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * buffer.C (insertErtContents): try to handle font and language
13518         interaction a bit better.g
13519
13520         * ColorHandler.C (updateColor): change the hash to cover the whole
13521         LColor enum, ws cleanup
13522         (getGCLinepars): ditto
13523         (getGCLinepars): only lookup in the linecache once.
13524
13525 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13526
13527         * iterators.C (operator++): Make the iterator more robust
13528
13529         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13530         (John's patch)
13531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13532
13533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * lyxtext.h:
13536         * text.C: better added space drawing
13537
13538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * LyXView.C:
13541         * BufferView2.C: fix layout combo update on inset unlock
13542
13543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13544
13545         * Makefile.am: don't compile unused files
13546
13547 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * lyxfunc.C:
13550         * commandtags.h:
13551         * LyXAction.C: remove old LFUN_LAYOUTNO
13552
13553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13554
13555         * paragraph_pimpl.h:
13556         * paragraph_pimpl.C: isTextAt() doesn't need font param
13557
13558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * lyxlex.h:
13561         * lyxlex.C: little cleanup
13562
13563 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * BufferView_pimpl.C: fix insertAscii for insets
13566
13567 2001-12-05  Juergen Vigna  <jug@sad.it>
13568
13569         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13570         set the right font on the "multi" paragraph paste!
13571
13572 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * trans_decl.h:
13575         * trans_mgr.[Ch]:
13576         * trans.[Ch]:
13577         * lyxgluelength.C:
13578         * lyxlength.C: remove out-commented code.
13579
13580         * BufferView_pimpl:
13581         * CutAndPaste.C:
13582         * DepTable.C:
13583         * buffer.C:
13584         * chset.C:
13585         * lastfiles.C:
13586         * lyxlex.C:
13587         * lyxlex_pimpl.C:
13588         * lyxserver.C:
13589         * screen.C:
13590         * tabular-old.C:
13591         * tabular.C:
13592         * text.C:
13593         * trans_mgr.C:
13594         * vc-backend.C: change "while(" to "while ("
13595
13596         * lyxlength.[Ch]: add zero function to check if length is zero or
13597         not
13598         * lyxgluelength.C: use it
13599
13600 2001-12-05  Allan Rae  <rae@lyx.org>
13601
13602         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13603         Works for 2.95.3, from what I understand of Garst's reports this should
13604         work for other g++ versions.  We're screwed if the abs(int) definition
13605         changed between bugfix releases of gcc.
13606
13607 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * text.C: fix chapter label offset !
13610
13611 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * lyxtext.h:
13614         * text.C: fix hfill at end of line, clean up
13615
13616 2001-12-04  Juergen Vigna  <jug@sad.it>
13617
13618         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13619         that we force an update of the inset and it's owners if neccessary.
13620
13621 2001-12-03  Juergen Vigna  <jug@sad.it>
13622
13623         * text.C (rowLast): simplified code
13624
13625 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * lyxfunc.C: fix show options on timeout
13628
13629 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * screen.C (topCursorVisible): scroll half a page when the cursor
13632         reached top of bottom of screen
13633
13634 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * minibuffer.C: deactivate on loss of focus
13637
13638 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13639
13640         * vspace.[Ch] (operator!=): add operator.
13641
13642 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * BufferView_pimpl.C: refuse to open an inset when
13645         there's a selection.
13646
13647 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * BufferView_pimpl.C: allow to click on RHS of full row insets
13650
13651 2001-11-30  Juergen Vigna  <jug@sad.it>
13652
13653         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13654         insets for undo reasons.
13655
13656 2001-11-28  André Pönitz <poenitz@gmx.net>
13657
13658         * vspace.[Ch]: cosmetical changes
13659
13660 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * LyXAction.h:
13663         * LyXAction.C:
13664         * lyxfunc.h:
13665         * lyxfunc.C:
13666         * kbmap.h:
13667         * kbmap.C:
13668         * lyxrc.C:
13669         * kbsequence.h:
13670         * kbsequence.C: part re-write of old kb code
13671
13672         * Painter.C:
13673         * WorkArea.C: remove Lgb_bug_find_hack
13674
13675 2001-11-30  José Matos <jamatos@fep.up.pt>
13676
13677         * buffer.C (makeDocBookFile): add a comment to point a hack.
13678         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13679         Fixed a double write of labels.
13680
13681 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13682
13683         * LaTeX.C:
13684         * LaTeX.h Fixed bug in LaTeX class where it would not
13685         re-run latex if no depfiles were changed, but the .dvi was removed.
13686
13687 2001-11-28  André Pönitz <poenitz@gmx.net>
13688
13689         * all the files from the change on 2001/11/26:
13690         use lyx::layout_type instead of LyXTextClass::size_type
13691         use lyx::textclass_type instead of LyXTextClassList::size_type
13692
13693 2001-11-29  Juergen Vigna  <jug@sad.it>
13694
13695         * text.C: added support for paragraph::isFreeSpacing()
13696
13697         * buffer.C: same as above
13698
13699         * paragraph.h: inserted isFreeSpacing() function to enable
13700         FreeSpacing inside InsetERT.
13701
13702         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13703         of the paragraph's in the cut/copy buffer to 0!
13704
13705         * text2.C (removeRow): remove the assert as it can!
13706
13707         * lyxtext.h: added helper function firstRow returning firstrow and
13708         made firstrow private again.
13709
13710         * BufferView2.C (lockInset): don't relock if we're already locked!
13711
13712         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13713         the only paragraph.
13714         (removeRow): added Assert::(firstrow)
13715
13716         * debug.C: forgot to add INSETTEXT here.
13717
13718 2001-11-28  Juergen Vigna  <jug@sad.it>
13719
13720         * sp_spell.C (initialize): changed error text to more general
13721         spellchecker command use (not only ispell!)
13722
13723         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13724
13725         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13726
13727 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * vspace.C: initialise lyxgluelength on failure
13730
13731 2001-11-28  Allan Rae  <rae@lyx.org>
13732
13733         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13734         declaration & definition that looks like a function declaration.
13735
13736 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * BufferView2.C (copy):
13739         (copyEnvironment): do not clear the selection when doing a copy.
13740
13741         * text.C (paintFirstRow): compilation fix
13742
13743 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13744
13745         * tabular.C (Latex): correct line count when writing latex.
13746
13747 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13748
13749         * paragraph_pimpl.h:
13750         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13751           bug a bit
13752
13753 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13754
13755         * text.C:
13756         * LColor.h:
13757         * LColor.C: change vfillline->added_space
13758
13759         * text.C: add markers and text for added space
13760
13761         * vspace.C: fix comment
13762
13763 2001-11-28  André Pönitz <poenitz@gmx.net>
13764
13765         * paragraph.C: whitespace changes
13766         * all the other files from the change on 2001/11/26:
13767         change *::pos_type into lyx::pos_type
13768
13769 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13772         language of the document when inserting error insets.
13773
13774 2001-11-26  André Pönitz <poenitz@gmx.net>
13775
13776         * BufferView_pimpl.[Ch]:
13777         *       CutAndPaste.C:
13778         * buffer.[Ch]:
13779         * lyxcursor.[Ch]:
13780         * lyxfind.C:
13781         * lyxfunc.C:
13782         * lyxrow.[Ch]:
13783         * paragraph.[Ch]:
13784         * paragraph_pimpl.[Ch]:
13785         * sp_spell.C:
13786         * text.C:
13787         * text2.C: reduce header dependencies, introduce type for positions
13788
13789 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13790
13791         * <various>: change to use Alert.h
13792
13793 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13794
13795         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13796         when encountering an unknown token.
13797         (readLyXformat2): Show an error message if there were unknown tokens.
13798
13799 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13800
13801         * BufferView2.C:
13802         * BufferView_pimpl.C:
13803         * buffer.C:
13804         * paragraph.h:
13805         * text.C:
13806         * text2.C: use par->isInset()
13807
13808 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13809
13810         * paragraph_pimpl.h:
13811         * paragraph_pimpl.C: cleanup
13812
13813 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * text2.C (removeRow):
13816         * text.C (setHeightOfRow): remove useless (and costly) call to
13817         getRow.
13818
13819 2001-11-20  Allan Rae  <rae@lyx.org>
13820
13821         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13822         Now need Inset*::checkInsertChar() to return true for appropriate
13823         cases so that the characters in the minibuffer will actually be
13824         inserted.
13825
13826 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * text.C: change the order of the includes.
13829         (workWidth): initialize it at once.
13830         (workWidth): make maxw unsigned
13831         (setHeightOfRow): remove unused variable (inset)
13832         (selectSelectedWord): remove unused variable (inset)
13833         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13834
13835 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13838         server is not running.
13839         (openConnection):
13840         (closeConnection): add debug info when server is disabled.
13841
13842         * ColorHandler.C (getGCForeground): send debug message to GUI
13843         channel.
13844
13845         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13846
13847         * kbmap.C (bind): modify because return conventions of
13848         kb_sequence::parse have changed.
13849
13850         * kbsequence.C (parse): only ignore spaces and not any stupid
13851         control character. This avoids tests like s[i] <= ' ', which are
13852         guaranteed to fail with 8bit characters and signed chars.
13853         Change return code to string::npos when there have been no error
13854         (0 was a bad idea when error is at first character)
13855
13856 2001-11-14  José Matos  <jamatos@fep.up.pt>
13857
13858         * buffer.h:
13859         * buffer.C (simpleDocBookOnePar): removed unused argument.
13860
13861 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13864         insets which are part of a word. Paragraph::isLetter takes care of
13865         that now. Use Paragraph::isInset to identify insets.
13866         (selectSelectedWord): do not test for hyphenation break.
13867
13868         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13869         that protected spaces are considered as spaces.
13870
13871         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13872         Inset::isLetter.
13873
13874 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * lyxserver.h:
13877         * lyxserver.C: fix it. and small cleanup.
13878
13879 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13880
13881         * BufferView_pimpl.C: use inline helpers
13882
13883         * LaTeXFeatures.h:
13884         * LaTeXFeatures.C: fix typos
13885
13886         * Spacing.h:
13887         * Spacing.C: move spacing_string into class
13888
13889         * ToolbarDefaults.C: move stuff into namespace anon
13890
13891         * layout.h: update enum
13892
13893         * lyxfunc.C: use better debug
13894
13895         * minibuffer.h: fix typo
13896
13897         * debug.h:
13898         * debug.C:
13899         * WorkArea.C: add and use Debug::WORKAREA
13900
13901         * lyxtext.h:
13902         * text.C:
13903         * text2.C: code re-organisation, inline helpers
13904
13905 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13906
13907         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13908         std::vector.empty().
13909
13910 2001-11-09  Allan Rae  <rae@lyx.org>
13911
13912         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13913         '\n's after tables.  Tabular and ERT inset work now makes this no
13914         longer necessary.
13915
13916 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * minibuffer.h:
13919         * minibuffer.C: fix crash, improve drop-down completion
13920
13921 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * lyxserver.h:
13924         * lyxserver.C: invalidate fd's when doing endPipe()
13925
13926 2001-11-08  José Matos  <jamatos@fep.up.pt>
13927
13928         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13929         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13930
13931         * paragraph.h:
13932         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13933
13934 2001-11-07  José Matos  <jamatos@fep.up.pt>
13935
13936         * buffer.h:
13937         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13938         const qualifier.
13939
13940         * buffer.C (sgmlOpenTag):
13941         * buffer.C (sgmlCloseTag): removed debug info.
13942
13943         * buffer.h (sgmlOpenTag):
13944         * buffer.h (sgmlCloseTag): made public.
13945
13946 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * buffer.C (saveParamsAsDefaults):
13949         * lyx_cb.C (MenuLayoutSave): remove
13950
13951         * LyXAction.C (init):
13952         * commandtags.h:
13953         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13954
13955 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * buffer.C (setPaperStuff): removed from here...
13958
13959         * bufferparams.C (setPaperStuff): ... and moved there.
13960
13961 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * minibuffer.h:
13964         * minibuffer.C:
13965         * XFormsView.C: add support for drop-down completion
13966
13967 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13970         commands.
13971
13972 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13973
13974         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13975         disabled.
13976
13977 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13978
13979         * lyx_main.C: change ref to known bugs
13980
13981 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13982
13983         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13984         to work around older babel problems.
13985
13986 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13987
13988         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13989
13990 2001-10-24  Juergen Vigna  <jug@sad.it>
13991
13992         * tabular-old.C (ReadOld): below variable changes reflected.
13993
13994         * tabular.[Ch]: added ltType struct for longtable header/footer
13995         defines and changed all instances where they are used. Added
13996         future support for double top/bottom rows.
13997
13998 2001-10-24  José Matos  <jamatos@fep.up.pt>
13999
14000         * buffer.h (docbookHandleCaption):
14001         * buffer.C (docbookHandleCaption): removed unused function.
14002         (makeDocBookFile): moved docbook supported version to v4.1.
14003
14004 2001-10-24  José Matos  <jamatos@fep.up.pt>
14005
14006         * tabular.h:
14007         * tabular.C (docbookRow): new function to export docbook code of a row.
14008         (DocBook): now honors the longtable flags.
14009
14010 2001-10-23  José Matos  <jamatos@fep.up.pt>
14011
14012         * LaTeXFeatures.h:
14013         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14014         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14015
14016         * buffer.C (makeLinuxDocFile):
14017         (makeDocBookFile): reworked the preamble, more clean, and with
14018         support for lyx defined entities. Changed the document declaration
14019         to be more XML friendly.
14020
14021         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14022         if we need to output XML that should be done with a filter.
14023
14024 2001-10-22  Juergen Vigna  <jug@sad.it>
14025
14026         * sp_pspell.h (class PSpell): add alive function needed in the
14027         controller to see if the spellchecker could be started.
14028
14029 2001-10-22  Juergen Vigna  <jug@sad.it>
14030
14031         * buffer.C (insertStringAsLines): modify the font for inserting
14032         chars in certain conditions by calling checkInsertChar(font).
14033
14034 2001-10-19  Juergen Vigna  <jug@sad.it>
14035
14036         * text.C (workWidth): use getRow instead of wrong algorithm.
14037         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14038
14039 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * lyxserver.h:
14042         * lyxserver.C:
14043         * lyx_main.h:
14044         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14045
14046 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * text.C (workWidth): do not search for the exact row when
14049         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14050         optimization for big documents.
14051
14052 2001-10-18  Juergen Vigna  <jug@sad.it>
14053
14054         * text.C (workWidth): new function with added Inset * parameter.
14055
14056 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14059
14060         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14061         change return type of getColumnNearX.
14062
14063
14064         * text.C (changeRegionCase): use uppercase/lowercase instead of
14065         toupper/tolower.
14066         (leftMargin):
14067         (rightMargin): simplify code by factoring out the uses of
14068         textclasslist.
14069         (labelFill):
14070         (numberOfHfills):
14071         (setHeightOfRow):
14072         (appendParagraph): use Paragraph::size_type
14073
14074 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * vspace.C (asLatexString): add a missing break
14077
14078 2001-10-15  Herbert Voss  <voss@perce.de>
14079
14080         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14081
14082 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14085         is not available.
14086
14087 2001-10-10  André Pönitz <poenitz@gmx.net>
14088
14089         * lyxfunc.C: removed greek_kb_flag.
14090
14091 2001-10-10  Herbert Voss  <voss@perce.de>
14092
14093         * lyx_main.C: delete global string help_lyxdir.
14094
14095 2001-10-09  Herbert Voss  <voss@perce.de>
14096
14097         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14098
14099         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14100
14101         * lyx_main.C: added global string help_lyxdir.
14102
14103         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14104
14105 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14106
14107         * lyxrc.C (set_font_norm_type): support iso8859-4
14108
14109 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14110
14111         * LaTeX.C (deplog): add another regex for MikTeX
14112
14113 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14114
14115         * lyxrc.C (set_font_norm_type): support iso8859-3
14116
14117 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14120
14121         * LaTeXFeatures.C: remove special case of french and index
14122
14123         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14124         before \begin{document}). This solves several incompatibilities.
14125
14126 2001-10-03  Garst Reese  <reese@isn.net>
14127
14128         * lyx_cb.C: change CheckTex error msg.
14129
14130 2001-10-03  José Matos  <jamatos@fep.up.pt>
14131
14132         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14133
14134 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * .cvsignore: update
14137
14138         * lyx_main.C (commandLineVersionInfo): use new style version info.
14139
14140         * buffer.C (writeFile):
14141         (makeLaTeXFile):
14142         (makeLinuxDocFile):
14143         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14144
14145         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14146
14147         * version.h: update to use stuff in version.C
14148
14149         * version.C.in: new file. Contains version information determined
14150         at compile time. This is a merging of version.h and
14151         version_info.h.in.
14152
14153 2001-10-03  Juergen Vigna  <jug@sad.it>
14154
14155         * BufferView_pimpl.C (update): don't change "dirty" status in
14156         updateInset call.
14157
14158 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14159
14160         * WorkArea.C (c-tor): re-position version string slightly.
14161
14162 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14163
14164         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14165         revert to previous code.
14166
14167         WorkArea.[Ch]: (show, destroySplash): methods removed.
14168
14169         WorkArea.C: rework code so that it's an amalgam of the codes before and
14170         after the splash screen was moved to WorkArea.
14171
14172 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * lyxrc.C (read):
14175         * vspace.C (inPixels):
14176         (lyx_advance):
14177         * kbmap.C (bind):
14178         * buffer.C (insertStringAsLines):
14179         (asciiParagraph): fix types to be large enough
14180
14181         * lyxlex_pimpl.h: change member status from short to int
14182
14183         * layout.h: fix type of endlabeltype
14184
14185         * kbmap.C (bind):
14186         * kbsequence.C (parse): change return type to string::size_type
14187
14188         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14189         variable
14190
14191         * Bullet.C (bulletSize):
14192         (bulletEntry): do not use short ints as parameters
14193
14194         * BufferView2.C (insertLyXFile): change a char to an int.
14195
14196         * WorkArea.C (WorkArea): remove unneeded floats in computation
14197
14198 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14199
14200         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14201
14202         * paragraph.C (asString): Do not ignore newline/hfill chars when
14203         copying to the clipboard.
14204
14205 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14208         after a multi-line inset.
14209
14210 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * paragraph.C (validate): Set NeedLyXFootnoteCode
14213
14214 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14215
14216         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14217         and decrease-error to decrease.
14218
14219 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14220
14221         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14222         it more readable (should be equivalent)
14223
14224 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14225
14226         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14227
14228 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14231         of a cursor (row, etc.) after a character has been deleted
14232         (deleteEmptyParagraphMechanism): call the method above on _all_
14233         cursors held by the LyXText when a double space has been
14234         detected/deleted.
14235
14236 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14239         pixmap.
14240         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14241
14242         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14243         background. Use greyOut() and the new show() methods to toggle between
14244         the foreground and background. Add code to remove the splash after
14245         its initial showing.
14246
14247         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14248         (create_forms): no longer call Dialogs::showSplash.
14249
14250 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * .cvsignore: add version_info.h
14253
14254 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * version_info.h.in: new file
14257
14258         * Makefile.am: add version_info.h.in
14259
14260         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14261         version_info.h instead of VERSION_INFO
14262
14263 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14266         The ERT inset now returns string().
14267
14268 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14269
14270         * lyxtext.h, text.C (selectNextWord): renamed as
14271         selectNextWordToSpellcheck.
14272
14273         * text.C (selectNextWordToSpellcheck): Modified to not select
14274         words inside an ERT inset.
14275
14276 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * lyx_cb.C (MenuLayoutSave): change a bit the question
14279
14280         * sp_base.h: include <sys/types.h>
14281
14282 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14283
14284         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14285
14286 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14287
14288         * several files: fix typos in user-visible strings
14289
14290 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * text2.C (pasteSelection): do not set the selection, since it
14293         will be cleared later. Actually, the intent was to fix the way the
14294         selection was set, but I figured rmoving the code was just as good.
14295
14296 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * FontLoader.C (available): Check if font is available without
14299         loading the font.
14300
14301 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14302
14303         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14304
14305 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14306
14307         * lyxrc.[Ch]: added display_graphics variable and associated code.
14308
14309 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14310
14311         * bufferparams.C (hasClassDefaults): new method. Returns true if
14312         the buffer parameters correspond to known class defaults
14313
14314 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * XFormsView.C (show): set minimum size to the main window.
14317
14318 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * text2.C (copySelection):
14321         (cutSelection):
14322         * lyxfind.C (LyXReplace):
14323         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14324         LyXText::selectionAsString.
14325
14326         * paragraph.C (asString): add "label" argument to the second form
14327
14328         * text2.C (selectionAsString): add "label" argument and pass it to
14329         Paragraph::asString.
14330
14331 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * lyx_main.C (commandLineHelp): remove version information
14334
14335 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14336
14337         * lyx_main.C: add -version commandline option
14338
14339 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14340
14341         * paragraph.h: make the optional constructor arg required instead.
14342         some modifications to other files because of this.
14343
14344         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14345
14346         * lyxserver.C (C_LyXComm_callback): make it static
14347
14348         * lyx_main.C (error_handler): make it static
14349
14350         * lyx_gui.C (LyX_XErrHandler): make it static
14351
14352         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14353
14354         * WorkArea.C: make the extern "C" methods static.
14355
14356         * Makefile.am (lyx_LDADD): simplify
14357
14358 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14361         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14362
14363         * LyXAction.C (init):
14364         * lyxfunc.C (dispatch): associated code removal.
14365
14366 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * lyxfont.h (isSymbolFont): shut off warning
14369
14370         * text.C (setHeightOfRow):
14371         (getVisibleRow): fix crash with empty paragraphs which have a
14372         bottom line
14373
14374 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14375
14376         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14377         code.
14378
14379 2001-09-04  José Matos  <jamatos@fep.up.pt>
14380         * buffer.C
14381         * buffer.h
14382         * tabular.C (docbook): rename docBook method to docbook.
14383
14384 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14385
14386         * Makefile.am: add dependencies to main.o.
14387
14388 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14389
14390         * FontLoader.C (available): Return false if !lyxrc.use_gui
14391
14392 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14393
14394         * FontInfo.C (query):
14395         * converter.C (view):
14396         * importer.C (Import):
14397         * exporter.C (Export): Can not -> cannot.
14398
14399 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14400
14401         * BufferView_pimpl.C: allow to create index inset even if
14402           string is empty
14403
14404 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14405
14406         * buffer.C (getLists): replace boost::tie code with an explicit pair
14407         as boost::tie can break some compilers.
14408
14409         * iterators.h: Added a std:: declaration to the return type of
14410         ParIterator::size.
14411
14412 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14413
14414         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14415           case.
14416
14417 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14418
14419         * iterators.[Ch]: New files. Provide paragraph iterators.
14420
14421         * buffer.C (changeLanguage): Use paragraph iterators.
14422         (isMultiLingual): ditto
14423
14424         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14425
14426 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14427
14428         * FontLoader.C: Support for cmr font.
14429
14430 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14433         (available): New method.
14434
14435         * FontInfo.C (getFontname): Use scalable fonts even when
14436         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14437         found.
14438
14439 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * converter.C (Formats::view): reverted! Incorrect fix.
14442
14443 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14444
14445         * converter.C (Formats::view): only output the -paper option
14446         if the dvi viewer is xdvi, thereby fixing bug #233429.
14447
14448 2001-08-23  Herbert Voss  <voss@perce>
14449
14450         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14451
14452 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14453
14454         * Spacing.h (Spacing): Set space to Default on in the default
14455         constructor.
14456
14457 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14458
14459         * vc-backend.h (RCS::versionString): add RCS to version
14460         (CVS::versionString): add CVS to version
14461
14462         * vc-backend.C (scanMaster): do not add CVS to version.
14463         (scanMaster): do not add RCS to version
14464
14465         * lyxvc.C (versionString): new method
14466
14467         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14468
14469 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * Spacing.C (set): initialize fval
14472
14473 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14474
14475         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14476         " or \.
14477
14478 2001-08-16  Juergen Vigna  <jug@sad.it>
14479
14480         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14481
14482 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * BufferView_pimpl.C:
14485         * figureForm.C:
14486         * lyxtext.h:
14487         * text2.C: setParagraph takes linespacing now
14488
14489 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * LyxAction.C: add internal LFUN_CITATION_INSERT
14492
14493         * LyXView.C: actually apply fix
14494
14495         * bufferlist.C: fix open non-existent file
14496
14497         * lyxfind.C: fix indentation
14498
14499         * lyxfunc.C: remove unneeded assert, fix typo
14500
14501 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * MenuBackend.C: use "Floatname List"
14504
14505 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14508         when converting LaTeX layout to insetERT.
14509         Generate a non-collapsed float when reading old float
14510
14511 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14512
14513         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14514         ERT insets.
14515
14516 2001-08-13  Juergen Vigna  <jug@sad.it>
14517
14518         * text.C (fill): return 0 instead of 20 as this seems to be the more
14519         correct value.
14520
14521 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14524         lyxrc.font_norm.
14525
14526 2001-08-13  Juergen Vigna  <jug@sad.it>
14527
14528         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14529         casesensitive off.
14530         (SearchBackward): comment out the unlocking of the inset_owner this
14531         should not be needed!
14532
14533 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14534
14535         * Many files: Remove inherit_language, and add latex_language
14536
14537         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14538         collapsible insets.
14539
14540 2001-08-10  Juergen Vigna  <jug@sad.it>
14541
14542         * text.C (prepareToPrint): fixed hfill-width in draw!
14543
14544         * BufferView2.C (selectLastWord): save the selection cursor as this
14545         now is cleared in the function LyXText::clearSelection!
14546
14547 2001-08-08  Juergen Vigna  <jug@sad.it>
14548
14549         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14550         BACKSPACE type functions.
14551
14552         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14553         is only cutted from the document but not put in the cut-buffer, where
14554         still the old stuff should be.
14555
14556         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14557
14558         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14559
14560         * tabular.C (SetWidthOfCell): fixed special case where the width
14561         was not updated!
14562         (LeftLine): handle '|' in align_special.
14563         (RightLine): ditto
14564         (LeftAlreadyDrawed): ditto
14565         (SetWidthOfCell): ditto
14566
14567 2001-08-07  Juergen Vigna  <jug@sad.it>
14568
14569         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14570
14571 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14574         * lyxlex.[hC]: ditto
14575
14576 2001-08-06  Juergen Vigna  <jug@sad.it>
14577
14578         * text.C (getVisibleRow): fix up row clearing a bit.
14579
14580 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14581
14582         * minibuffer.C: make sure the X server sees the changes in the input.
14583
14584 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14585
14586         * paragraph.C (getFont): split into...
14587         (getLabelFont): this
14588         (getLayoutFont): and this
14589         * paragraph_pimpl.C (realizeFont): calling this
14590
14591         * text2.C (getFont): split into...
14592         (getLayoutFont): this
14593         (getLabelFont): and this
14594         (realizeFont): all three calling this
14595
14596         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14597         files where used.
14598
14599 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14602
14603 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14604
14605         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14606         layouts from the Quote inset insertion.
14607
14608 2001-08-03  Juergen Vigna  <jug@sad.it>
14609
14610         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14611
14612         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14613         only if status not is already CHANGED_IN_DRAW (second level).
14614
14615         * text.C (draw): don't set the need_break_row when inside an
14616         InsetText LyXText.
14617
14618 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * buffer.C (parseSingleLyXformat2Token): handle more latex
14621         conversion cases.
14622
14623         * bufferview_funcs.[hC]: change function names to
14624         begin with small char, adjust other files.
14625
14626 2001-08-02  André Pönitz <poenitz@gmx.net>
14627
14628         * lyxfunc.C:
14629         BufferView_pimpl.C: remove broken special code for math-greek
14630
14631 2001-08-02  Juergen Vigna  <jug@sad.it>
14632
14633         * BufferView_pimpl.C (update): redone this function so that we
14634         update the text again if there was a CHANGE_IN_DRAW.
14635
14636         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14637         (drawFromTo): added a new internal bool which is used by draw() and
14638         redraw() function.
14639         (general): some cursor drawing problems fixed.
14640
14641 2001-08-01  Juergen Vigna  <jug@sad.it>
14642
14643         * lyxfind.C (LyXFind): fixed
14644         (SearchForward): ditto
14645         (SearchBackward): ditto
14646
14647         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14648         spurius drawing of the cursor in the main area.
14649
14650         * text2.C (status): small fix which could lead to a segfault!
14651         (clearSelection): remove unneeded BufferView param.
14652
14653 2001-08-01  André Pönitz <poenitz@gmx.net>
14654
14655         * lyxfunc.C: small change due to changed mathed interface
14656
14657 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14660
14661 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * lyxfunc.c: fail gracefully if file doesn't exist
14664
14665         * LyXSendto.C:
14666         * buffer.C:
14667         * lyxfunc.C:
14668         * BufferView_pimpl.C: IsDirWriteable() proto changed
14669
14670         * LyXView.C: fix updateWindowTitle() to store the last title
14671
14672 2001-07-31  Juergen Vigna  <jug@sad.it>
14673
14674         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14675         the font (wrong since using of Paragraph::highestFontInRange).
14676
14677         * paragraph.C (highestFontInRange): added a default_size parameter.
14678
14679         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14680         (setHeightOfRow): reformat
14681
14682 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * converter.[hC] + affected files: move to (inital-char)lowercase
14685         function names.
14686
14687         * ParagraphParameters.C (ParagraphParameters): remove commented code
14688
14689         * PainterBase.[Ch]: remove commented code
14690
14691         * LaTeXFeatures.h: add "bool floats" for float.sty
14692
14693         * LaTeXFeatures.C (LaTeXFeatures): init floats
14694         (require): handle float
14695         (getPackages): do it with floats
14696
14697 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * BufferView_pimpl.C (Dispatch): improve handling of
14700         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14701
14702         * commandtags.h: #include lyxfont.h here temporarily to avoid
14703         keybinding bug.
14704
14705         * bufferlist.h: include LString.h here.
14706
14707 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * text2.C (getStringToIndex): new method.
14710
14711 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14712
14713         * *: Reduced header file dependencies all over.
14714
14715 2001-07-30  Baruch Even  <baruch@lyx.org>
14716
14717         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14718
14719 2001-07-29  Baruch Even  <baruch@lyx.org>
14720
14721         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14722
14723 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * ParameterStruct.h (endif): add a default constructor to make
14726         sure that all variables is initialized.
14727
14728         * ParagraphParameters.C (ParagraphParameters): adjust
14729
14730 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14733         index; also, check that there is something to index, and that it
14734         does not span over several paragraphs.
14735         (doubleClick): use WHOLE_WORD_STRICT for double click.
14736
14737         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14738
14739         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14740         scheme.
14741
14742 2001-07-26  Baruch Even  <baruch@lyx.org>
14743
14744         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14745         an InsetFig figure, backwards compatible reading of old figure code.
14746
14747 2001-07-27  Juergen Vigna  <jug@sad.it>
14748
14749         * text2.C: font.realize function adaption.
14750
14751         * text.C (draw): add a warnings lyxerr text if needed.
14752
14753         * layout.C: font.realize function adaption.
14754
14755         * language.C: add inherit_language and implement it's handlings
14756
14757         * bufferview_funcs.C (StyleReset): remove language parameter from
14758         font creation (should be language_inherit now).
14759
14760         * bufferparams.C (writeFile): handle ignore_language.
14761
14762         * paragraph.C (getFontSettings): the language has to be resolved
14763         otherwise we have problems in LyXFont!
14764
14765         * lyxfont.C (lyxWriteChanges): added document_language parameter
14766         (update): removed unneeded language parameter
14767
14768         * paragraph.C (validate): fixed wrong output of color-package when
14769         using interface colors for certain fonts in certain environments,
14770         which should not seen as that on the final output.
14771
14772 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * BufferView_pimpl.C:
14775         * Thesaurus.h:
14776         * Thesaurus.C:
14777         * Makefile.am:
14778         * commandtags.h:
14779         * LyXAction.C: add thesaurus support
14780
14781         * lyxfind.h:
14782         * lyxfind.C: add "once" parameter, for thesaurus, to not
14783           move to the next match
14784
14785 2001-07-26  Juergen Vigna  <jug@sad.it>
14786
14787         * lyxfont.C (realize): honor ignore_language too!
14788         (resolved): ditto.
14789
14790         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14791
14792         * text.C (draw): one place more for ignore_language to not draw
14793         itself!
14794
14795 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14796
14797         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14798
14799 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14802         the minipage conversion problem.
14803
14804 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14807         insert an inset.
14808
14809 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * BufferView.h: don't forward declare WorkArea
14812
14813         * BufferView.C: don't include WorkArea.h
14814
14815 2001-07-25  André Pönitz <poenitz@gmx.net>
14816
14817         * commandtags.h:
14818         * LyXAction.C:
14819         * lyxfunc.C:  new LFUN 'math-space'
14820
14821         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14822
14823 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * text2.C (toggleInset): call open/close
14826
14827 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * lyxfunc.C (dispatch): add debug for the disabled case
14830
14831         * font.C (buttonText): make similar to rectText
14832
14833         * buffer.C (readInset): comment out parsing of insetlist and
14834         insttheorem
14835
14836         * PainterBase.C (rectText): small correction
14837
14838         * BufferView_pimpl.C: comment out insettheorem and insetlist
14839         * LyXAction.C: ditto
14840         * commandtags.h: ditto
14841
14842 2001-07-24  Juergen Vigna  <jug@sad.it>
14843
14844         * text.C (draw): honor the ignore_language.
14845
14846         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14847
14848 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14851         char inset.
14852
14853 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14854
14855         * lyxtext.h: remove unused (and unimplemented) methods
14856
14857 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14858
14859         * text.C (getVisibleRow): honor background color
14860
14861         * PainterBase.h:
14862         * Painter.h: remove default color argument for fillRectangle
14863
14864         * text.C (backgroundColor): new method
14865
14866 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * text.C (getVisibleRow): adjust
14869
14870         * font.[Ch] (rectText): new method, metrics
14871         (buttonText): new method, metrics
14872
14873         * PainterBase.[hC]: make rectText and buttonText always draw and take
14874         fewer paramteres.
14875
14876 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14877
14878         * ToolbarDefaults.C (read):
14879         * MenuBackend.C (read): allow escaping in all strings
14880
14881         * BufferView_pimpl.C (insertAndEditInset): new method.
14882         (Dispatch): use insertAndEditInset whenever appropriate.
14883
14884         * BufferView_pimpl.C (insertNote): removed
14885
14886         * BufferView_pimpl.C (smartQuote): new method, moved from
14887         BufferView; if an insetquote cannot be inserted, insert a '"'
14888         character instead.
14889
14890         * BufferView2.C: remove insertCorrectQuote();
14891
14892         * lyxfunc.C (getStatus): Add support for all remaingin
14893         inset-insert lfuns.
14894
14895         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14896
14897         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14898         command (necessary to pass " as parameter of self-insert.
14899
14900         * text.C (selectWordWhenUnderCursor):
14901         (selectWord): add word_location parameter
14902         (selectWordWhenUnderCursor): same + remove special code for word
14903         boundary.
14904         (selectNextWord): use kind() to guess type of insetspecialchar,
14905         not latex().
14906
14907         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14908         (insertErtContents): create ert insets as collapsed.
14909         (readInset): better compatibility code for Info inset.
14910
14911 2001-07-20  Juergen Vigna  <jug@sad.it>
14912
14913         * lyxfunc.C (dispatch): use always LyXFind now!
14914
14915         * text2.C (init): add a reinit flag so that the LyXText can be
14916         reinited instead of deleted and reallocated (used in InsetText).
14917
14918         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14919
14920         * text.C: ditto
14921
14922         * text2.C: ditto
14923
14924 2001-07-18  Juergen Vigna  <jug@sad.it>
14925
14926         * text.C (selectNextWord): handle insets inside inset by calling
14927         always the bv->text functions so that we can go up the_locking_inset!
14928
14929         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14930         in strange locations when inside an inset!
14931
14932         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14933         handling to include insets.
14934
14935         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14936
14937 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * LyXAction.C (init):
14940         * commandtags.h:
14941         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14942         LIGATURE_BREAK, since the name is so stupid.
14943
14944 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14945
14946         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14947         InsetInfos.
14948
14949         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14950
14951         * sp_form.[Ch]: remove.
14952
14953         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14954
14955         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14956         InsetInfo.
14957
14958         * src/buffer.C (readInset): ditto.
14959
14960 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14961
14962         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14963         menuSeparator(), endOfSentenceDot(), ldots() and
14964         hyphenationPoint(), which are therefore removed.
14965         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14966
14967         * LyXAction.C (init):
14968         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14969
14970         * paragraph.C (getWord): removed.
14971
14972         * BufferView_pimpl.C (Dispatch): use last word or selection for
14973         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14974
14975         * lyx_main.C (queryUserLyXDir): do not ask before creating
14976         user_dir, except if it has been named explicitely.
14977
14978 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14979
14980         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14981         a document of zero size.
14982
14983 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14984
14985         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14986         approriately in the c-tor and in require().
14987         (getPackages): output the appropriate LaTeX for natbib support.
14988
14989         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14990         variables "use_natbib" and "use_numerical_citations" when reading the
14991         LyX file.
14992         (readInset): read the various natbib cite commands.
14993         (validate): white-space change.
14994
14995         * bufferparams.[Ch]: new variables "bool use_natbib" and
14996         "bool use_numerical_citations".
14997         (writeFile): output them in the LyX file.
14998
14999 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15000
15001         * lyxfunc.C (getStatus): add support for all the inset insertion
15002         commands.
15003
15004         * text2.C (insertInset):
15005         * paragraph.C (insetAllowed):
15006         * BufferView_pimpl.C (insertInset): update to take in account the
15007         renaming of insertInsetAllowed
15008
15009         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15010
15011         * text2.C (getInset): new method. returns inset at cursor position.
15012
15013         * BufferView_pimpl.C (Dispatch): changes because of this.
15014
15015         * LyXAction.C (init): rename open-stuff to inset-toggle.
15016
15017         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15018
15019         * text2.C (toggleInset): renamed from openStuff; use
15020         Inset::open().
15021
15022 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15023
15024         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15025
15026         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15027
15028 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * buffer.C (readLyXformat2): Add filename to the error dialog
15031
15032 2001-07-18  Juergen Vigna  <jug@sad.it>
15033
15034         * tabular.C (GetCellNumber): put an assert here instead of the check!
15035
15036 2001-07-17  Juergen Vigna  <jug@sad.it>
15037
15038         * BufferView_pimpl.C (toggleSelection): adapted too.
15039
15040         * text.C (selectNextWord): adapted for use with insets.
15041         (selectSelectedWord): ditto
15042
15043 2001-07-17  Juergen Vigna  <jug@sad.it>
15044
15045         * sp_spell.C (PSpell): fix initialitation order.
15046
15047 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15048
15049         * paragraph.C: spacing
15050
15051 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15052
15053         * sp_spell.C: repair language selection for pspell
15054
15055 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * lyxfunc.h: change more methods to begin with lower char.
15058
15059 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15060
15061         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15062         for unknown layouts.
15063
15064 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15065
15066         * buffer.C (readLyXformat2): Generate an error dialog if there are
15067         unknown layouts.
15068
15069 2001-07-16  Juergen Vigna  <jug@sad.it>
15070
15071         * sp_spell.C: always compile ISpell part.
15072
15073         * lyxrc.C: added use_pspell entry and it's handling.
15074
15075 2001-07-13  Juergen Vigna  <jug@sad.it>
15076
15077         * sp_spell.C: removed double includes.
15078
15079 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15080
15081         Consistent use of Lsstream.h:
15082         * Lsstream.h: added using std::stringstream for consistencies sake.
15083
15084         * buffer.C: removed using std::stringstream
15085
15086         * lyxfont.C (stateText):
15087         * paragraph.C (asString):
15088         * text.C (selectNextWord, selectSelectedWord):
15089         * text2.C (setCounter):
15090         * vspace.C (asString, asLatexString):
15091         std::ostringstream -> ostringstream.
15092
15093 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15094
15095         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15096         * commandtags.h: add LFUN_HELP_ABOUTLYX
15097         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15098
15099 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15100
15101         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15102         cursorToggle()
15103         * lyx_gui_misc.C: remove spellchecker
15104         * lyxfunc.C: showSpellchecker
15105         * sp_base.h: added
15106         * sp_ispell.h: added
15107         * sp_pspell.h: added
15108         * sp_spell.C: added
15109         * sp_form.[Ch]: removed
15110         * spellchecker.[Ch]: removed
15111
15112 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15113
15114         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15115         is set.
15116         (simpleTeXSpecialChars): Simply print the input character without
15117         any special translation if pass_thru is set.
15118
15119         * layout.h: Added bool pass_thru to layout class for being able to
15120         implement pass through of a paragraph for Literate Programming.
15121
15122         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15123         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15124         * layout.C (Read): add "passthru" to list of layout tags and add
15125         code to set the pass_thru boolean when it is read.
15126
15127 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * trans_decl.h: remove allowed from KmodInfo
15130
15131         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15132         remove allowed code
15133         (Load): adjust
15134
15135         * paragraph_pimpl.C (erase): use boost::prior
15136
15137         * Painter.C (text): use data() instead of c_str() when length is
15138         also provided.
15139         * WorkArea.C (putClipboard): ditto
15140         * font.h (width): ditto
15141
15142         * BufferView2.C: use it-> instead of (*it). for iterators
15143         * texrow.C: ditto
15144         * paragraph_pimpl.C: ditto
15145         * paragraph.C: ditto
15146         * minibuffer.C: ditto
15147         * language.C: ditto
15148         * kbmap.C: ditto
15149         * encoding.C: ditto
15150         * counters.C: ditto
15151         * converter.C: ditto
15152         * chset.C: ditto
15153         * Variables.C: ditto
15154         * TextCache.C: ditto
15155         * MenuBackend.C: ditto
15156         * LyXAction.C: ditto
15157         * LColor.C: ditto
15158         * FloatList.C: ditto
15159         * DepTable.C: ditto
15160         * ColorHandler.C (LyXColorHandler): ditto
15161
15162 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15165
15166         * text2.C (openStuff): reintroduce this method (which had been
15167         nuked in NEW_INSETS frenzy).
15168
15169         * lyxfunc.C (Dispatch): when an action has not been handled, use
15170         its name in the error message, not its number.
15171
15172         * paragraph.C (inInset): change method name to begin with lowercase.
15173
15174         * undo_funcs.C:
15175         * text2.C: updates because of this.
15176
15177 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * ToolbarDefaults.C (add): add spaces in error message
15180
15181 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15184         (readLyXformat2): rename return_par to first_par, use lyxlex's
15185         pushToken and remove the manual push handling.
15186         (parseSingleLyXformat2Token): add another ert comp. variable:
15187         in_tabular, rename return_par to first_par. handle newlines better
15188
15189 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15190
15191         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15192
15193 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15194
15195         * text2.C (getParFromID): removed
15196
15197         * buffer.C (getParFromID): new method moved form lyxtext.
15198         * BufferView2.C (insertErrors): adjust
15199         (setCursorFromRow): adjust
15200         * BufferView_pimpl.C (restorePosition): adjust
15201         * lyxfunc.C (Dispatch): adjust
15202         * undo_funcs.C (textUndo): adjust
15203         (textRedo): adjust
15204         (textHandleUndo): adjust
15205         (textHandleUndo): adjust
15206
15207 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * buffer.C: up' the LYX_FORMAT
15210
15211         * lyxfont.h: turn NO_LATEX on as default
15212
15213         * buffer.C (insertErtContents): new methods of tex style compability.
15214         (parseSingleLyXformat2Token): use it several places.
15215         * tabular.C (OldFormatRead): and here
15216
15217 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15218
15219         * text2.C: remove some commented code.
15220         reindent file.
15221
15222         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15223         * trans.C: changes because of the above.
15224
15225 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * text2.C (setCounter): Fix counters bug with bibliography layout.
15228
15229 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15230
15231         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15232         own member functions
15233         (simpleTeXSpecialChars): ditto
15234
15235 2001-07-06  Juergen Vigna  <jug@sad.it>
15236
15237         * a lot of files: changed the access to LyXText::status and the
15238         call of undo-functions.
15239
15240         * undo.[Ch]: added a inset_id to the undo informations.
15241
15242         * undo_funcs.[Ch]: added and moved here all undo functions.
15243
15244         * lyxtext.h: give the status enum a weight, made status_ a private
15245         variable and made accessor functions for it, removed the whole bunch
15246         of undo-functions as they are now in their own file, make some
15247         functions publically available. Added function ownerParagraph with
15248         int parameter.
15249
15250         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15251         made InInset() a const function, added getParFromID() function.
15252
15253         * buffer.[Ch]: added const version for inset_iterator functions,
15254         added getInsetFromID() function.
15255
15256         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15257         changed undo functions for new version.
15258
15259 2001-07-05  Juergen Vigna  <jug@sad.it>
15260
15261         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15262         unknow mechanism does not call the proper constructor but only this
15263         one also if I request the other!?
15264
15265 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15268
15269         * text2.C (LyXText): use initialization lists.
15270
15271         * lyxtext.h (Selection): initialize set_ and mark_
15272         (init): remove method
15273
15274 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15275
15276         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15277
15278 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * screen.[Ch]: change method names to begin with lowercase
15281
15282         * BufferView_pimpl.C (updateScrollbar): simplify further and
15283         hopefully make it a bit faster.
15284
15285 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15288         calling directly xforms functions.
15289
15290         * Painter.C (Painter):
15291         * lyx_cb.C (MenuWrite):
15292         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15293         fl_display.
15294
15295         * lyx_gui.C: remove bogus guiruntime extern declaration.
15296
15297 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15300         in NEW_INSETS
15301         (redoDrawingOfParagraph): ditto
15302         (redoParagraphs): ditto
15303         (cutSelection): don't create a object for CutAndPaste use the
15304         static method directly
15305         (pasteSelection): ditto
15306
15307         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15308         LyXview (+ rename)
15309
15310 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15311
15312         * modifications to some other files because of this.
15313
15314         * Makefile.am (lyx_SOURCES): add XFormsView
15315
15316         * XFormsView.[Ch]: new files
15317
15318         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15319         the main window. Move the gui dependent stuff to XFormsView
15320
15321 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * tabular.C (GetCellInset): update cur_cell also in the row/col
15324         version of this function.
15325
15326         * lyxfunc.C: no need to include figure_form.h here.
15327
15328         * FontLoader.h:
15329         * lyxfunc.h:
15330         * lyxscreen.h:
15331         * text2.C:
15332         * lyxvc.C: no need to include forms.h here.
15333
15334 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15337
15338         * lyxfunc.C (Dispatch):
15339         * Spacing.C (set):
15340         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15341         constructor argument.
15342
15343 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * paragraph.C (Paragraph): dont't clear, and just set layout.
15346         (makeSameLayout): use params's copy contructor.
15347
15348         * ParagraphParameters.[Ch] (makeSame): delete method
15349
15350 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15351
15352         * Variables.[Ch]: fix indentation, rename set to isSet
15353
15354 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * lyxfunc.C (Dispatch): fix typo
15357
15358 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15361         upper_bound.
15362
15363         * bufferlist.C: include assert.h for emergencyWrite().
15364
15365 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15368           give up at last (bug #425202) !
15369
15370 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15371
15372         * lyx_gui_misc.C:
15373         * sp_form.h:
15374         * sp_form.C:
15375         * spellchecker.h:
15376         * spellchecker.C: strip spellchecker options and bring up
15377           preferences tab instead
15378
15379 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15382         the istringstream constructor
15383
15384 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15385
15386         * paragraph.C (getLayout): fix return value
15387
15388         * paragraph.h: do not declare getLayout as inline.
15389
15390         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15391
15392 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * lyxcursor.h (operator<): new func
15395         (operator>): new func
15396         (operator>=): new func
15397         (operator<=): new func
15398
15399         * text.C (changeCase): use selection.start and selection.end
15400         (changeRegionCase): require from to be <= to. Require par to be a
15401         valid paragraph.
15402
15403         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15404
15405 2001-06-27  Juergen Vigna  <jug@sad.it>
15406
15407         * text.C (cursorLeftOneWord): changed to return the cursor and added
15408         overlay with BufferView * parameter which calls this one.
15409         (getWord): added
15410         (selectWord): use new getWord function.
15411         (changeCase): renamed from changeWordCase as and extended to work
15412         also on selections.
15413
15414         * lyxtext.h: added enum word_location
15415
15416         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15417         changeCase as this operates now also on selections.
15418
15419 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15420
15421         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15422
15423         * many files: send debug output to Debug::INFO instead of
15424         Debug::ANY.
15425
15426         * converter.C (View):
15427         (Convert):
15428         (Move): send debug output to Debug::FILES instead of console.
15429
15430 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15431
15432         * lyxfunc.C (getStatus): use func_status
15433
15434         * func_status.h: new header, describing the results of
15435         LyXFunc::getStatus;
15436
15437         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15438         LFUN_MATH_HALIGN.
15439
15440 2001-06-25  The LyX Project  <jug@sad.it>
15441
15442         * buffer.C (sgmlOpenTag):
15443         (sgmlCloseTag):
15444         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15445
15446 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * text2.C: remove some dead code
15449
15450         * tabular.C (GetCellInset): store the last cell checked (gotten)
15451
15452         * tabular.h: add the helper for the speedup
15453
15454         * lyxtext.h: remove some dead code
15455
15456 2001-06-26  The LyX Project  <Asger>
15457
15458         * paragraph.C: Change export to LaTeX of alignment to
15459         \begin{center} and family for better roundtrip work with reLyX.
15460
15461         * Tune the math drawing a bit.
15462
15463 2001-06-25  The LyX Project  <Asger>
15464
15465         * LColor.C (LColor): New color for math background. New color
15466         for buttons.
15467
15468 2001-06-25  The LyX Project  <jug@sad.it>
15469
15470         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15471
15472         * lyxfunc.C (Open):
15473         * bufferlist.C (newFile): do not restrict to files ending with
15474         .lyx
15475
15476         * BufferView_pimpl.C (MenuInsertLyXFile):
15477
15478 2001-06-24  The LyX Project  <jug@sad.it>
15479
15480         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15481         of compare_no_case
15482
15483 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * lyxtext.h: rename most methods to begin with a small char.
15486         Lots of changes because of this.
15487
15488         * paragraph.C (Paragraph): do not call fitToSize
15489         (erase): call Pimpl::erase
15490         (insertChar): call Pimpl::insertChar
15491         (insertInset): call Pipl::insertInset
15492         (breakParagraph): do not call fitToSize
15493         (breakParagraphConservative): do not call fitToSize
15494         (fitToSize): remove method
15495
15496         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15497
15498 2001-06-24  The LyX Project  <Asger>
15499
15500         * Fix Qt compilation^2
15501
15502 2001-06-24  The LyX Project  <jug@sad.it>
15503
15504         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15505         depthHook(getDepth()-1).
15506
15507         * paragraph.h:
15508         * ParagraphParameters.h:
15509         * ParameterStruct.h: change type of depth to unsigned int ==
15510         depth_type. Many adaptations to other files before of that.
15511
15512 2001-06-24  The LyX Project  <Asger>
15513
15514         * Fix Qt compilation.
15515
15516 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15517
15518         * paragraph.h: renamed several methods to begin with small letter.
15519         several changes to many parts of the code because of this.
15520
15521 2001-06-23  The LyX Project  <jug@sad.it>
15522
15523         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15524         rewritten to discard all double spaces when KeepEmpty is off
15525         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15526         to only handle newlines but not fiddle with spaces and friends.
15527
15528         * lyxfunc.C (MenuNew): when doing 'new from template', use
15529         template_path as default directory
15530
15531 2001-06-23  The LyX Project  <Asger>
15532
15533         * Clean-up of header file includes all over
15534         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15535
15536 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * paragraph.h: renamed from lyxparagraph.h
15539
15540 2001-06-23  Asger  <lyx@violet.home.sad.it>
15541
15542         * Buffer.h: Removed Buffer::resize
15543         * BufferList.h: Removed BufferList::resize
15544         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15545         the document lazily when we change the width, or the font settings.
15546
15547 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15548
15549         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15550
15551 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15552
15553         * buffer.h: remove out of date comment
15554
15555 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15556
15557         * lyxscreen.h:
15558         * screen.C: fix "theoretical" GC leak
15559
15560 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * LaTeX.C (scanAuxFile):
15563         (deplog): remove trailing \r when reading stream (useful under
15564         win32)
15565
15566 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15567
15568         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15569         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15570         and BufferView::theLockingInset(Inset*), so should use them and not
15571         access bv_->text->the_locking_inset directly.
15572
15573         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15574
15575 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * Makefile.am:
15578         * tex-defs.h: remove old unused file
15579
15580 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15581
15582         * BufferView_pimpl.C: fix typo, remove minibuffer message
15583           when buffer has loaded
15584
15585 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15586
15587         * lyxfunc.C (Dispatch): use stringstream
15588         (MenuNew): use stringstream
15589         (Open): use stringstream
15590
15591         * importer.C (Import): use stringstream
15592
15593         * bufferview_funcs.C (CurrentState): use stringstream
15594
15595         * LaTeX.C (run): use stringstream
15596
15597         * BufferView_pimpl.C (savePosition): use stringstream
15598         (restorePosition): use stringstream
15599         (MenuInsertLyXFile): use stringstream
15600
15601 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * BufferView.C:
15604         * Bullet.C:
15605         * ColorHandler.C:
15606         * FontInfo.C:
15607         * FontLoader.C:
15608         * LColor.C:
15609         * LaTeXFeatures.C:
15610         * Painter.C:
15611         * gettext.C:
15612         * lyx_gui_misc.C:
15613         * lyxserver.C:
15614         * vspace.C: removed // -*- C++ -*- as first line.
15615
15616         * lyxfind.h:
15617         * version.h: added // -*- C++ -*- as first line.
15618
15619 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15622
15623         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15624         of string
15625
15626 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15629         of floats.
15630
15631 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * gettext.C: include LString.h even when --disable-nls is on.
15634
15635 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15636
15637         * converter.h (Get): changed argument type from int to
15638         FormatList::size_type to avoid unnecessary conversion.
15639
15640         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15641         before using it.
15642
15643 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * gettext.h: include LString.h even when --disable-nls is on.
15646
15647 2001-06-07  Juergen Vigna  <jug@sad.it>
15648
15649         * text.C (BreakAgain): subst spaces with tabs.
15650
15651         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15652         (resizeInsetsLyXText): set force on resizeLyXText.
15653
15654 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * gettext.h (gettext_init):
15657         (locale_init): use a real definition instead of a macro
15658
15659 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15660
15661         * Bufferview_pimpl.C:
15662         * LColor.h:
15663         * LColor.C: further lcolor tidies
15664
15665 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15666
15667         * BufferView_pimpl.C (updateScrollbar): simplify.
15668
15669         * BufferView2.C: don't include insets/insetinfo.h, change
15670         prototype for insertInset and call the Pimpl version. let
15671         updateInset call Pimpl version.
15672
15673         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15674         gotoInset to BufferView::Pimpl
15675
15676 2001-06-01  Juergen Vigna  <jug@sad.it>
15677
15678         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15679         inside a LockingInset (is the update needed at all?).
15680
15681 2001-05-31  Juergen Vigna  <jug@sad.it>
15682
15683         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15684         here not the old one otherwise how should we compare it afterwards
15685         if it's the same!
15686
15687 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyxfont.C:
15690         * tabular.C:
15691         * tabular-old.C:
15692         * FontInfo.C: bring C functions into global namespace when
15693         necessary
15694
15695 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * LString.h: make sure config.h has been loaded before LString.h.
15698
15699         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15700         (one for each char read by EatLine!).
15701
15702         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15703         variables.
15704
15705 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15708         to the same as the par we break from
15709
15710 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15711
15712         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15713
15714         * MenuBackend.C (expand): also create menu entries for wide
15715         versions of the floats.
15716
15717         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15718
15719         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15720
15721         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15722         frontends/Makefile.am
15723
15724         * text2.C: adjust
15725         * text.C: adjust
15726
15727
15728         * tabular.C (getTokenValue): add std::
15729
15730         * tabular-old.C (getTokenValue): add std::
15731         (getTokenValue): ditto
15732         (getTokenValue): ditto
15733
15734         * screen.C (ToggleSelection): adjust
15735
15736         * lyxtext.h: put selection cursors inside a Selection struct.
15737
15738         * lyxfunc.C (moveCursorUpdate): adjust
15739
15740         * lyxfont.C (latexWriteStartChanges): add std::
15741
15742         * lyxfind.C: adjust
15743
15744         * font.h: delete with(char const *, LyXFont const &)
15745
15746         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15747
15748         * FontInfo.C (getFontname): add std::
15749
15750         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15751         (workAreaButtonPress): adjust
15752         (tripleClick): adjust
15753         (update): adjust
15754         (moveCursorUpdate): adjust
15755         (Dispatch): adjust
15756
15757         * BufferView2.C (gotoInset): adjust
15758
15759 2001-05-30  Juergen Vigna  <jug@sad.it>
15760
15761         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15762         to check pspell I add this as default as I now have new pspell
15763         libraries and they seem to use this.
15764
15765 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15766
15767         * text2.C (CutSelection): make the cursor valid before the call to
15768         ClearSelection.
15769
15770 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15771
15772         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15773         relied on 0 terminated strings and other horrors. Bug found due to
15774         the new assert in lyxstring!
15775
15776         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15777         KP_ keys.
15778
15779 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15782         to latinkeys.bind.
15783
15784         * lyxfunc.C (processKeySym): change method of getting to the
15785         self-insert char.
15786
15787         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15788         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15789         * BufferView_pimpl.[Ch]: here as private methods.
15790
15791 2001-05-28  Juergen Vigna  <jug@sad.it>
15792
15793         * text.C (SetHeightOfRow): added the update() call again as it is
15794         needed to initialize inset dimensions!
15795
15796 2001-05-16  Juergen Vigna  <jug@sad.it>
15797
15798         * text2.C (SetCharFont): Add new function with BufferView * and
15799         bool toggleall parameters for setting insets internal fonts.
15800         (SetFont): Freeze the undo as we may change fonts in Insets and
15801         all this change should be inside only one Undo!
15802
15803         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15804         setting font's in insets as for them we have the SetFont function!
15805
15806 2001-05-15  Juergen Vigna  <jug@sad.it>
15807
15808         * text2.C (ClearSelection): to be sure we REALLY don't have any
15809         selection anymore!
15810
15811         * tabular.C (TeXCellPreamble): fixed the left border problem for
15812         multicolumn cells.
15813
15814 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15817         dependancy file
15818
15819 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15822         LFUN_BREAKPARAGRAPH.
15823
15824         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15825         help test to "internal only", similar for LFUN_INSERT_URL
15826
15827         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15828         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15829         auto_region_delete and deadkeys.
15830
15831 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15832
15833         * LColor.h:
15834         * LColor.C: remove some dead entries, tidy a little
15835
15836 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15837
15838         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15839         commented code.
15840         (Dispatch): implement LFUN_ESCAPE
15841
15842         * commandtags.h: add LFUN_ESCAPE
15843
15844         * LyXAction.C (init): add entry for LFUN_ESCAPE
15845
15846         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15847         Remove commented code.
15848         (insertNote): moved here
15849         (open_new_inset): moved here
15850
15851         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15852         BufferView_pimpl
15853
15854 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * kbmap.C (findbinding): clean it up and make it work correctly.
15857
15858         * lyx_main.C (init): do not pass argc and argv as parameters
15859
15860 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15861
15862         * buffer.C: fix path for OS/2 & Win32
15863
15864         * lyx_gui.C:
15865         * lyx_main:
15866         * lyx_main.C: Added os:: class.
15867
15868         * os2_defines.h: update
15869
15870 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15873         better by trying again with reduced state.
15874
15875 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * lyxrc.C (read): print error about invalid key sequence only when
15878         debugging (because not all latinX keysyms are known to some X
15879         servers)
15880
15881         * kbsequence.C (getiso): add a few std:: qualifiers
15882         (getiso): comment out extra return statement.
15883
15884 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15887         handling.
15888         (Dispatch): enhance the accent inset a bit. (not perfect)
15889
15890 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15893
15894 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * bufferlist.C (emergencyWrite): fix assert() call
15897
15898 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15899
15900         * text.C (InsertChar): Added trivial patch to only send the "you
15901         can not do multiple spaces this way" message once during a
15902         session.
15903
15904 2001-05-08  Baruch Even  <baruch@lyx.org>
15905
15906         * Makefile.am: Changed order of libraries to get LyX to link properly
15907         with the gnome frontend.
15908
15909 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * LaTeXFeatures.h: add a std:: qualifier
15912
15913 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * paragraph.C (String): use stringstream
15916
15917 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15918
15919         * paragraph.C (writeFile): remove footflag arg
15920
15921         * buffer.C (makeLaTeXFile): use stringstream
15922         (latexParagraphs): remove footnot gurba
15923
15924         * LaTeXFeatures.C (getPackages): use stringstream
15925         (getMacros): likewise
15926         (getTClassPreamble): likewise
15927         (getFloatDefinitions): new method
15928
15929         * paragraph.C (writeFile): reindent
15930         (Erase): reindent
15931
15932         * WorkArea.h: revert the xpos + etc changes.
15933
15934         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15935
15936         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15937
15938         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15939         (pasteSelection): likewise
15940         * text2.C (CreateUndo): likewise
15941
15942 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * minibuffer.C (peek_event): temporarily reduce the functionality
15945         of the minibuffer (to allow args on lfuns)
15946
15947         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15948         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15949
15950         * buffer.C (readInset): add compability reading of old float
15951         lists, add reading of new style float list.
15952         (readInset): avoid reevaluation of inscmd.getCmdName()
15953         (getLists): reindent
15954
15955         * MenuBackend.C (MenuItem): implement parsing of
15956         md_floatlistinsert and md_floatinsert.
15957         (expand::LastFiles): move initalizaton of iterators out of loop,
15958         avoid reevaluation.
15959         (expand::Documents): introduce typdedef vector<string> Strings,
15960         and use it.
15961         (expand::ExportFormats): introduce typedef vector<Format const *>
15962         Formats, and use it.
15963         (expand): implement FloatListInsert and FloatInsert.
15964
15965         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15966         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15967         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15968
15969         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15970         handling.
15971         (Dispatch::LFUN_FLOAT_LIST): implement
15972
15973 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15974
15975         * LaTeX.C (run): Fix problem with --export code.
15976
15977 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15978
15979         * BufferView.[Ch] (workarea): removed.
15980         (getClipboard) new method; wrapper for workarea()->getClipboard()
15981
15982         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15983         bug.
15984
15985         * WorkArea.h (width, height, xpos, ypos): These methods all
15986         returned the dimensions of the work_area sub-area of WorkArea,
15987         resulting in a position error if the WorkArea were resized. Now
15988         return the dimensions of the entire WorkArea.
15989
15990         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15991
15992 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15993
15994         * LaTeX.C (deplog): correct the syntax of regex reg1
15995
15996 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15997
15998         * undo.C: remove !NEW_INSETS cruft
15999
16000 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * text2.C: remove !NEW_INSETS cruft
16003
16004         * text.C: remove !NEW_INSETS cruft
16005
16006         * tabular.C: remove !NEW_INSETS cruft
16007
16008         * spellchecker.C: remove !NEW_INSETS cruft
16009
16010         * lyxtext.h: remove !NEW_INSETS cruft
16011
16012         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16013
16014         * lyxfunc.C: remove !NEW_INSETS cruft
16015
16016         * lyxfind.C: remove !NEW_INSETS cruft
16017
16018         * lyx_cb.C: remove !NEW_INSETS cruft
16019
16020         * figureForm.C: remove  !NEW_INSETS cruft
16021
16022         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16023
16024         * buffer.[Ch]: remove !NEW_INSETS cruft
16025
16026         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16027
16028         * CutAndPaste.C: remove !NEW_INSETS cruft
16029
16030         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16031
16032         * BufferView2.C: remove !NEW_INSETS cruft
16033
16034         * BufferView.h: remove !NEW_INSETS cruft
16035
16036 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * Lsstream.h: include LString.h before the sstream headers to
16039         fix problem with gcc 2.95.3 and lyxstring
16040
16041 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16042
16043         * lyx_main.C: add using directives when needed for C functions
16044         declared in std:: namespace.
16045
16046 2001-04-27  Juergen Vigna  <jug@sad.it>
16047
16048         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16049         (SetHeightOfRow): comment out the update call should not be needed!
16050
16051 2001-04-13  Juergen Vigna  <jug@sad.it>
16052
16053         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16054         (LyXTabular): tried to minimize operator= operations (and realized
16055         hopfully Lars wish).
16056
16057 2001-04-27  Juergen Vigna  <jug@sad.it>
16058
16059         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16060
16061 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16062
16063         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16064
16065         * buffer.C (readInset): hack to make listof algorithm work
16066
16067         * BufferView_pimpl.C: hack to make listof algorithm work
16068
16069 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * LyXAction.C: removed all !NEW_INSETS cruft
16072         (init): moved lfun_item in method
16073
16074         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16075
16076 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16077
16078         * BufferView2.C (theLockingInset): white space.
16079
16080 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * minibuffer.C: include <iostream>
16083
16084         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16085
16086         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16087
16088         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16089
16090         * text.[Ch] (TransposeChars): new method
16091
16092 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16093
16094         * call message directly through LyXView instead of through LyXFunc
16095         * BufferView2.C: adjust
16096         * BufferView_pimpl.C: adjust
16097         * FontLoader.C: adjust
16098         * buffer.C: adjust
16099         * bufferview_funcs.C: adjust
16100         * converter.C: adjust
16101         * figureForm.C: adjust
16102         * importer.C: adjust
16103         * lyx_cb.C: adjust
16104         * lyx_gui_misc.C: adjust
16105         * lyxfunc.C: adjust
16106         * lyxvc.C: adjust
16107         * text2.C: adjust
16108         + more files in subdirs
16109
16110         * lyxparagraph.h (size): move up int file
16111         (GetLayout): ditto
16112
16113         * adjust all uses of Assert to lyx::Assert.
16114
16115         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16116         lyxfunctional in namespace lyx
16117         * layout.C (hasLayout): ditto
16118         (GetLayout): ditto
16119         (GetLayout): ditto
16120         (delete_layout): ditto
16121         (NumberOfClass): ditto
16122         * converter.C (GetFormat): ditto
16123         (GetNumber): ditto
16124         (Add): ditto
16125         (Delete): ditto
16126         (SetViewer): ditto
16127         * bufferlist.C (getFileNames): ditto
16128         (emergencyWriteAll): ditto
16129         (exists): ditto
16130         (getBuffer): ditto
16131         * MenuBackend.C (hasSubmenu): ditto
16132         (hasMenu): ditto
16133         (getMenu): ditto
16134         * BufferView_pimpl.C (getInsetByCode): ditto
16135
16136 2001-04-18  Juergen Vigna  <jug@sad.it>
16137
16138         * vspace.C (asLatexString): fixed the 100% problem.
16139
16140 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16141
16142         * lyxfunc.C (Dispatch):
16143         * minibuffer.C:
16144         * minibuffer.h: add a few std:: qualifiers
16145
16146 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16147
16148         * minibuffer.[Ch]: reimplement so that commands is initiated and
16149         run from lyxfunc, simplified som handling, and made the completion
16150         and history code for complete. wip.
16151
16152         * lyxfunc.C (processKeySym): call message
16153         (miniDispatch): new temporary method
16154         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16155         (LFUN_MESSAGE): implement
16156         (LFUN_MESSAGE_PUSH): implement
16157         (LFUN_MESSAGE_POP): implement
16158         (initMiniBuffer): the initial/defualt minibuffer message.
16159
16160         * lyxfont.[Ch]: inline some more getters
16161
16162         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16163
16164         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16165
16166         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16167         (AutoSave): use LFUN_MESSAGE
16168         (Reconfigure): ditto
16169
16170         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16171
16172         * figureForm.C: use LFUN_MESSAGE
16173
16174         * converter.C (runLaTeX): use LFUN_MESSAGE
16175
16176         * bufferview_funcs.C: use LFUN_MESSAGE
16177         (Melt): ditto
16178         (changeDepth): ditto
16179
16180         * bufferparams.h: use boost::
16181
16182         * bufferlist.h: inherit privately from noncopyable
16183
16184         * bufferlist.C (loadLyXFile): remove some commented code.
16185
16186         * buffer.C (runChktex): use LFUN_MESSAGE
16187
16188         * ShareContainer.h: inherit privately from noncopyable
16189
16190         * ParagraphParameters.[hC] (depth): inline it.
16191
16192         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16193         methods.
16194         (message): new method
16195         (messagePush): ditto
16196         (messagePop): ditto
16197         (show): init minibuffer
16198         (showState): direct call
16199
16200         * LaTeX.[Ch]: inherit privately from noncopyable
16201         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16202         instead of WriteStatus.
16203
16204         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16205
16206         * BufferView_pimpl.C (buffer): don't init minibuffer
16207         (workAreaButtonPress): use LFUN_MESSAGE
16208         (workAreaButtonRelease): ditto
16209         (savePosition): ditto
16210         (restorePosition): ditto
16211         (MenuInsertLyXFile): ditto
16212         (workAreaExpose): don't init minibuffer
16213         (update): remove commented code, simplify
16214
16215         * BufferView2.C (openStuff): use LFUN_MESSAGE
16216         (toggleFloat): ditto
16217         (menuUndo): ditto
16218         (menuRedo): ditto
16219         (copyEnvironment): ditto
16220         (pasteEnvironment): ditto
16221         (copy): ditto
16222         (cut): ditto
16223         (paste): ditto
16224         (gotoInset): ditto
16225         (updateInset): remove some commented code
16226
16227         * lastfiles.h: inherit privately from noncopyable
16228         * layout.h: ditto
16229         * lyx_gui.h: ditto
16230         * lyx_main.h: ditto
16231         * lyxlex.h: ditto
16232         * lyxlex_pimpl.h: ditto
16233
16234         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16235         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16236         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16237
16238         * LyXAction.h: inherit privately from noncopyable, add methods
16239         func_begin, func_end, returning iterators to the func map.
16240
16241         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16242         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16243         (func_begin): new method
16244         (func_end): new method
16245
16246         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16247         and not)
16248         (copySelection): ditto
16249         (pasteSelection): ditto
16250
16251         * BufferView.C: whitespace change
16252         * BufferView.h: inherit privately from noncopyable
16253
16254 2001-04-16  Allan Rae  <rae@lyx.org>
16255
16256         * tabular-old.C (l_getline):
16257         * spellchecker.C (sc_check_word):
16258         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16259         an unrecognised preprocessor directive.  So ensure they're wrapped.
16260
16261 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * src/exporter.C (Export): Give an error message when path to file
16264         contains spaces.
16265
16266 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * LaTeX.C (deplog): Always check that foundfile exists.
16269
16270 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16271
16272         * lyx_main.h:
16273         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16274
16275 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16276
16277         * tabular.[Ch] (getLabelList): implement new method
16278
16279         * minibuffer.h: comment ouf setTiimer
16280
16281         * minibuffer.C (ExecutingCB): constify res
16282         (peek_event): constify s
16283         (Set): constify ntext
16284         (Init): constify nicename
16285
16286         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16287
16288         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16289         (savePosition): use two params to Minibuffer::Set
16290         (restorePosition): ditto
16291
16292 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * lyx_main.C: include language.h
16295
16296         * Makefile.am (lyx_main.o): add language.h
16297
16298 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16299
16300         * exporter.C:
16301         * paragraph.C:
16302         * screen.C:
16303         * tabular.C:
16304         * CutAndPaste.C: include gettext.h
16305
16306         * lyxfont.h: remove old hack with ON and OFF.
16307
16308         * lyxparagraph.h:
16309         * lyxfont.h: do not include language.h...
16310
16311         * BufferView2.C:
16312         * LaTeXFeatures.C:
16313         * Painter.C:
16314         * bufferview_funcs.C:
16315         * font.C:
16316         * lyxfont.C:
16317         * text.C:
16318         * text2.C:
16319         * trans_mgr.C:
16320         * paragraph.C: ... but do it here instead
16321
16322 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16323
16324         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16325
16326         * tabular.C: small reformat
16327
16328         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16329         NEW_INSETS version
16330         (GetChar): ditto
16331         (BreakParagraph): ditto
16332         (SetOnlyLayout): ditto
16333         (SetLayout): ditto
16334
16335         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16336         with one arg less.
16337
16338         * lastfiles.C: removed most using decl, add std:: where needed
16339
16340         * buffer.C: ws changes
16341
16342         * MenuBackend.C (class compare_format): put into anon namespace
16343         (expand): constify label, names, action, action2
16344         (expand):
16345
16346         * text.C (SingleWidth): constify font
16347         (IsBoundary): constify rtl2
16348         (GetVisibleRow): constify ww
16349
16350         * LaTeX.C (deplog): constify logfile
16351
16352         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16353         start_x, end_x
16354         (workAreaExpose): constify widthChange, heightChange
16355
16356         * lyxrow.C (par): moved
16357         (height): moved
16358         (next): moved
16359         * lyxrow.h: as inlines here
16360
16361         * lyxfont.h (shape): moved from lyxfont.C
16362         (emph): moved from lyxfont.C
16363
16364         * lyxfont.C (LyXFont): use initialization list for all
16365         constructors
16366         (shape): move to lyxfont.h as inline
16367         (emph): move to lyxfont.h as inline
16368
16369
16370 2001-04-04  Juergen Vigna  <jug@sad.it>
16371
16372         * vspace.C: had to include stdio.h for use of sscanf
16373
16374 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16375
16376         * BufferView.h:
16377         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16378         independent of xforms.
16379
16380 2001-04-02  Juergen Vigna  <jug@sad.it>
16381
16382         * spellchecker.C: fixed namespace placing!
16383
16384 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16385
16386         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16387         the LyXParagraph * is 0.
16388
16389 2001-03-29  Juergen Vigna  <jug@sad.it>
16390
16391         * vspace.C: added support for %, c%, p%, l%.
16392         (stringFromUnit): added helper function.
16393         (asLatexString): changed to give right results for the %-values.
16394
16395         * buffer.C: convert the widthp in a width%.
16396
16397 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16398
16399         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16400         figureForm.[Ch].
16401
16402         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16403         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16404
16405         * lyx_cb.[Ch]: see above.
16406
16407         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16408         form1.[Ch].
16409
16410         * form1.[Ch]:
16411         * lyx.[Ch]: replaced by figure_form.[Ch].
16412
16413         * lyx_gui.C:
16414         * lyx_gui_misc.C:
16415         * lyxfunc.C: changed headers associated with above changes.
16416
16417 2001-03-27  Juergen Vigna  <jug@sad.it>
16418
16419         * BufferView_pimpl.C: set the temporary cursor right!
16420
16421 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16422
16423         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16424
16425 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16426
16427         * LString.h: removed "using std::getline"!
16428
16429         * BufferView_pimpl.C (Dispatch): changes due to changes in
16430         InsetInclude::Params.
16431
16432         * buffer.C (tag_name): removed redundant break statements as they were
16433         producing lots of warnings with my compiler.
16434
16435 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * LString.h: add "using std::getline" when using the real <string>.
16438
16439 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16440
16441         * buffer.C: removed bitset usage.
16442         PAR_TAG moved to an anonymous name space.
16443         (tag_name): new funtion, also in the anonymous namespace.
16444         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16445         (makeDocBookFile): clean code. Completed transition from string arrays
16446         to string vectors.
16447         (SimpleDocBookOnePar): code clean.
16448
16449 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16450
16451         * tabular.C: add some comments.
16452
16453 2001-03-22  Juergen Vigna  <jug@sad.it>
16454
16455         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16456         compatibility read a bit and fixed bug with minipage in different
16457         depth.
16458
16459 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16460
16461         * buffer.C (pop_tag): removed.
16462         (push_tag): removed.
16463         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16464         array replaced with vector. Added support for CDATA sections.
16465         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16466         at any nest level.
16467         (makeDocBookFile): XML conformant declaration of CDATA section,
16468         fixed bug related to <emphasis> in the first paragraph char.
16469         (sgmlOpenTag): exclude empty tags.
16470         (sgmlCloseTag): ditto.
16471
16472         * buffer.h (pop_tag): removed.
16473         (push_tag): removed.
16474
16475 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16476
16477         * language.h (Languages): added size_type and size().
16478
16479 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16480
16481         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16482         response on compability reading of minipages. One probliem is that
16483         the old usage of minipages was «flertydig»
16484
16485         * several files here and in subdirs: don't use static at file
16486         scope use anon namespaces instead.
16487
16488 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16489
16490         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16491         LaTeX output. This is necessary for Literate document
16492         processing.
16493
16494 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16495
16496         * buffer.C: insert hfill when needed.
16497
16498         * tabular.C (l_getline): use string::erase, small whitespace change.
16499
16500         * BufferView_pimpl.C: try the anon namespace.
16501         * WorkArea.C: ditto
16502
16503 2001-03-16  Juergen Vigna  <jug@sad.it>
16504
16505         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16506         otherwise it won't open options-dialogs.
16507
16508         * buffer.C: honor pextraWidth(p) on converting minipages.
16509
16510         * tabular.C (l_getline): changed the functions to strip trailing \r.
16511
16512 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16513
16514         * BufferView_pimpl.C:
16515         * minibuffer..C: added "using SigC::slot" declaration.
16516
16517 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16518
16519         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16520
16521         * text2.C: ditto
16522
16523         * text.C: ditto
16524
16525         * paragraph.C: ditto
16526
16527         * lyxtext.h: NO_PEXTRA
16528
16529         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16530
16531         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16532         * ParameterStruct.h: ditto
16533         * ParagraphParameters.h: ditto
16534         * lyxparagraph.h: ditto
16535
16536 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16537
16538         * buffer.C: add compability for minipage alignment.
16539         (latexParagraphs): remove unwanted pextra check.
16540
16541         * several files: remove CXX_WORKING_NAMESPACES
16542
16543         * buffer.C (pop_tag): tie is in namespace boost
16544
16545         * BufferView.h: noncopyable is in namespace boost
16546         * lyxlex.h: ditto
16547         * lyx_main.h: ditto
16548         * lyx_gui.h: ditto
16549         * layout.h: ditto
16550         * lastfiles.h: ditto
16551         * bufferlist.h: ditto
16552         * ShareContainer.h: ditto
16553         * LyXView.h: ditto
16554         * LyXAction.h: ditto
16555         * LaTeX.h: ditto
16556
16557 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16558
16559         * Merging changes from BRANCH_MVC back into HEAD.
16560
16561         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16562
16563 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * BufferView_pimpl.C: change from intl.C
16566
16567         * combox.h:
16568         * combox.C:
16569         * Makefile.am: move combox.*
16570
16571         * form1.h:
16572         * form1.C:
16573         * lyx_gui.C:
16574         * intl.h:
16575         * intl.C: remove dialog (covered by prefs)
16576
16577 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16578
16579         * lyxfunc.C (Dispatch): removed redundant break statement.
16580
16581 2001-03-14  Juergen Vigna  <jug@sad.it>
16582
16583         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16584
16585 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16586
16587         * buffer.C: add hack to fix compability reading of minipages.
16588
16589 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16590
16591         * buffer.C (getLists): Cleanup.
16592
16593 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16594
16595         * lyxfont.C (update): don't honor toggleall on font size.
16596
16597 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16598
16599         * bmtable.c:
16600         * bmtable.h:
16601         * Makefile.am: moved to frontends/xforms/
16602
16603         * lyx_gui_misc.C:
16604         * lyxfunc.C:
16605         * BufferView_pimpl.C: changes for moved mathpanel
16606
16607 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16608
16609         * gettext.h: fix gettext_init() in --disable-nls
16610
16611 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16612
16613         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16614
16615 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16616
16617         * lyx.C:
16618         * lyx.h: strip external form
16619
16620 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16621
16622         * BufferView_pimpl.C: add comment, destroySplash()
16623
16624 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16625
16626         * BufferView_pimpl.C:
16627         * LyXAction.C:
16628         * buffer.C:
16629         * commandtags.h:
16630         * lyxfunc.C: use re-worked insetinclude
16631
16632 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16633
16634         * buffer.C: add using std::stringstream.
16635
16636         * lyx_cb.C: readd using std::ios.
16637
16638         * buffer.C: add using std::map.
16639
16640         * BufferView_pimpl.C: add using std::vector.
16641
16642         * ShareContainer.h: add std:: to swap.
16643
16644         * buffer.h: add some typedefs
16645         * buffer.C (getLists): use them
16646         (getLists): renamed from getTocList.
16647         add a counter for the different float types and use it in the
16648         generated string.
16649         (getLists): use the same counter for the NEW_INSETS and the "non"
16650         NEW_INSETS
16651
16652         * lyx_cb.h: remove unused items, includes, using etc.
16653
16654         * ShareContainer.h: remove some commented code, add more comments
16655         and "documentation".
16656
16657 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16658
16659         * buffer.C (getTocList): make the list also when NEW_INSETS is
16660         defined.
16661
16662         * buffer.h: remove TocType
16663
16664         * buffer.C (getTocList): change to return a map<string,
16665         vector<TocItem> >, implement for dynamic number of list.
16666
16667         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16668         * text2.C (PasteSelection): adjust
16669         * CutAndPaste.C (pasteSelection): adjust
16670
16671         * FloatList.C (FloatList): update from the new_insets branch.
16672         * Floating.[Ch]: ditto
16673         * LaTeXFeatures.C: ditto
16674         * buffer.C: ditto
16675         * lyxlex_pimpl.C: ditto
16676
16677         * paragraph.C (Last): remove when NEW_INSETS is defined.
16678
16679         * other file: changes because of the above.
16680
16681 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16682
16683         * lyxparagraph.h: rename next to next_, previous to previous_,
16684         make them private for NEW_INSETS. Rename Next() to next(),
16685         Previous() to previous().
16686
16687         * other files: changes because of the above.
16688
16689 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * BufferView.h:
16692         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16693         problem.
16694
16695 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16696
16697         * main.C (main): pass lyx_localedir to gettext_init().
16698
16699         * gettext.h: remove locale_init and gettext_init macros
16700
16701         * gettext.C (locale_init): new function
16702         (gettext_init): new function
16703
16704         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16705         setlocale().
16706
16707 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16708
16709         * Moved credits to frontends:
16710         * credits.[Ch]: removed
16711         * credits_form.[Ch]: removed
16712         * lyx_gui_misc.C: remove credits stuff
16713         * Makefile.am:
16714
16715 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16716
16717         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16718
16719         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16720         unneeded destructor.
16721
16722         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16723         a standalone pointer again.
16724
16725         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16726
16727 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16728
16729         * Makefile.am:
16730         * filedlg.h:
16731         * filedlg.C:
16732         * LyXAction.C:
16733         * ToolbarDefaults.C:
16734         * bufferlist.C:
16735         * commandtags.h:
16736         * form1.C:
16737         * form1.h:
16738         * lyx_cb.C:
16739         * lyx_cb.h:
16740         * lyxfunc.h:
16741         * lyxfunc.C:
16742         * BufferView_pimpl.C: use new file dialog in GUII
16743
16744         * lyx_cb.h:
16745         * lyx_cb.C: remove LayoutsCB to Toolbar
16746
16747 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16748
16749         * ShareContainer.h (get): add std:: qualifier
16750
16751 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * ShareContainer.h: define a proper ShareContainer::value_type
16754         type (and use typename to please compaq cxx)
16755
16756 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16757
16758         * lyxparagraph.h: move serveral local vars to
16759         ParameterStruct/ParagraphParameters., use ShareContainer in
16760         FontTable., make vars in FontTable private and add getter and
16761         setter.
16762
16763         * paragraph.C: changes because of the above.
16764
16765         * lyxfont.h: remove copy constructor and copy assignment. (the
16766         default ones is ok), move number inside FontBits. move inlines to
16767         lyxfont.C
16768
16769         * lyxfont.C: add number to initializaton of statics, move several
16770         inlines here. constify several local vars. some whitespace
16771         cleanup. Dont hide outerscope variables.
16772
16773         * Spacing.h: add two new constructors to match the set methods.
16774
16775         * ShareContainer.h: new file, will perhaps be moved to support
16776
16777         * ParameterStruct.h: new file
16778
16779         * ParagraphParameters.h: new file
16780
16781         * ParagraphParameters.C: new file
16782
16783         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16784         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16785
16786         * BufferView_pimpl.C: ParagraphParameter changes.
16787         * buffer.C: Likewise.
16788         * bufferview_funcs.C: Likewise.
16789         * text.C: Likewise.
16790         * text2.C: Likewise.
16791
16792 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16793
16794         * lyxfind.C (LyXReplace): do not redefine default argument in
16795         implementation.
16796         (IsStringInText): ditto
16797         (SearchForward): ditto
16798         (SearchBackward): ditto
16799
16800 2001-03-06  Juergen Vigna  <jug@sad.it>
16801
16802         * lyxfind.C (IsStringInText): put parentes around expressions.
16803
16804 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16805
16806         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16807
16808 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16809
16810         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16811
16812         * stl_string_fwd.h: add comment
16813
16814         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16815
16816         * tabular.h:
16817         * tabular.C: remove unused DocBook methods
16818
16819         * intl.C:
16820         * language.C:
16821         * paragraph.C:
16822         * buffer.C:
16823         killed DO_USE_DEFAULT_LANGUAGE
16824
16825 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16826
16827         * lyx_gui.C: do not include language.h.
16828
16829         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16830         arguments in function implementation.
16831
16832 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16833
16834         * BufferView_pimpl.C: add <ctime>
16835
16836 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16837
16838         * BufferView_pimpl.C: add using std::find_if
16839
16840 2001-02-27  José Matos  <jamatos@fep.up.pt>
16841
16842         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16843         by OnlyPath.
16844
16845 2001-02-11  José Matos  <jamatos@fep.up.pt>
16846
16847         * buffer.C (makeDocBookFile): command styles now have a parameter as
16848         "title" by default.
16849
16850 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16851
16852         * layout_forms.[Ch]: removed
16853         * lyx_cb.[Ch]: out character
16854         * lyx_gui.C: out character
16855         * lyx_gui_misc.C: out character
16856         * bufferview_funcs.C: : out character,
16857         added toggleall as parameter in ToggleAndShow
16858
16859 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16862
16863         * text2.C (SetCurrentFont): Disable number property at boundary.
16864
16865 2001-02-26  Juergen Vigna  <jug@sad.it>
16866
16867         * lyxfunc.C (getStatus): added a string argument override function so
16868         that this is correctly called from LyXFunc::Dispatch if it contains a
16869         do_not_use_argument which is used!
16870         (Dispatch): added check for "custom" export and call appropriate func.
16871
16872 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16873
16874         * lyxrc.C: Add language_command_local, language_use_babel and
16875         language_global_options.
16876
16877         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16878
16879         * buffer.C (makeLaTeXFile): Use language_use_babel and
16880         language_global_options.
16881
16882 2001-02-23  Juergen Vigna  <jug@sad.it>
16883
16884         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16885         which works with LyXText and putted it inside BufferView. Here now we
16886         only call for that part the BufferView::Dispatch() function.
16887
16888         * BufferView.C (Dispatch): added.
16889
16890         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16891         functions which needs to use a LyXText over from LyXFunc.
16892         (MenuInsertLyXFile): added
16893         (getInsetByCode): added
16894         (moveCursorUpdate): added
16895         (static TEXT): added
16896
16897 2001-02-22  Juergen Vigna  <jug@sad.it>
16898
16899         * BufferView_pimpl.C (update): call a status update to see if LyXText
16900         needs it.
16901
16902 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16903
16904         * vc-backend.C (revert): implement for CVS
16905         (getLog): implement for CVS
16906
16907 2001-02-20  Juergen Vigna  <jug@sad.it>
16908
16909         * text2.C (ClearSelection): added BufferView param for inset_owner call
16910
16911         * lyxfunc.C (TEXT): added this function and use it instead of
16912         directly owner->view()-text of getLyXText().
16913
16914 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16915
16916         * src/layout_forms.C: out preamble
16917         * src/layout_forms.h: out preamble
16918         * src/lyx_cb.C: out preamble
16919         * src/lyx_cb.h: out preamble
16920         * src/lyx_gui.C: out preamble
16921         * src/lyx_gui_misc.C: out preamble
16922         * src/lyxfunc.C: connect with guii preamble
16923
16924 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16925
16926         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16927
16928 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16929
16930         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16931         whether to run bibtex.
16932
16933 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16934
16935         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16936
16937 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16938
16939         * Makefile.am (lyx_SOURCES): removed bibforms.h
16940
16941         * vspace.h: doxygen
16942
16943         * text.C (GetVisibleRow): make several local vars const
16944
16945         * tabular.C: small cleanup.
16946
16947         * lyxserver.C (callback): use compare instead of strncmp
16948
16949         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16950         inlines to after class or to paragraph.C
16951
16952         * lyxfont.h: remove friend operator!=
16953
16954         * converter.h: move friend bool operator< to non friend and after
16955         class def.
16956
16957         * combox.h: small cleanup
16958
16959         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16960         to inlines after class def.
16961
16962         * buffer.C (pop_tag): use string operations instead of strcmp
16963
16964         * bmtable.c: doxygen, small cleanup
16965
16966         * LaTeX.h: remove friend operator==
16967
16968 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16969
16970         * screen.C:
16971         * lyxrc.[Ch]:
16972         * lyxfunc.C:
16973         * lyxfont.[Ch]:
16974         * lyx_cb.C:
16975         * intl.[Ch]:
16976         * commandtags.h:
16977         * buffer.C:
16978         * WorkArea.[Ch]:
16979         * LyXAction.C:
16980         * BufferView_pimpl.C:
16981         * BufferView.[Ch]: remove cruft
16982
16983 2001-02-14  Juergen Vigna  <jug@sad.it>
16984
16985         * lyxfunc.C: removed #if 0 unused code
16986
16987         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16988
16989         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16990
16991         * text2.C (SetSelection): added a BufferView * parameter
16992
16993 2001-02-13  Juergen Vigna  <jug@sad.it>
16994
16995         * lyxfunc.C (Dispatch): fixed protected blank problem.
16996         * BufferView2.C (protectedBlank): added LyxText * parameter.
16997
16998         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16999         (AppendColumn): same as above for column_info.
17000
17001         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17002         (moveCursorUpdate): use a LyXText param for support of InsetText.
17003
17004         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17005         (tripleClick): ditto
17006
17007         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17008
17009         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17010
17011         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17012
17013         * text2.C (SetSelection): set correct update status if inset_owner
17014         (ToggleFree): ditto
17015
17016 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17017
17018         * tabular.C: remove some commented code.
17019
17020 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17021
17022         * BufferView_pimpl.C: call hideSplash()
17023
17024         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17025
17026         * include_form.h:
17027         * bibforms.h: remove
17028
17029         * lyxfunc.C:
17030         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17031           add LFUN_CHILD_CREATE
17032
17033         * counters.h: fix tiny typo
17034
17035         * lyx_cb.C:
17036         * lyx.h:
17037         * lyx_gui.C:
17038         * lyx.C: move splash to frontends/xforms/
17039
17040         * lyx_gui_misc.C: move Include and Bibform to frontends
17041
17042         * lyxvc.h: clarify comment
17043
17044         * vspace.C: tiny housekeeping
17045
17046 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17047
17048         * text.C (PrepareToPrint): RTL Fix.
17049
17050         * paragraph.C (GetUChar): New method.
17051         (String):  Use GetUChar.
17052
17053         * buffer.C (asciiParagraph): Use GetUChar.
17054
17055 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17056
17057         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17058
17059 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17060
17061         * buffer.h:
17062         * buffer.C: rename to getLogName(), handle
17063           build log / latex log nicely
17064
17065 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17066
17067         * MenuBackend.C:
17068         * MenuBackend.h: remove support for reference menuitem type.
17069
17070 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17071
17072         * BufferView_pimpl.C: housekeeping
17073         * BufferView_pimpl.h:
17074         * LyXView.h:
17075         * Makefile.am:
17076         * Timeout.C:
17077         * Timeout.h:
17078         * minibuffer.h: move Timeout GUI-I
17079
17080 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17081
17082         * lyxrc.C (read): Update converters data-structures.
17083
17084 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17085
17086         * LaTeX.h (operator!=): add operator != for Aux_Info
17087
17088 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17089
17090         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17091
17092         * LaTeXLog.C: deleted, useful code moved to Buffer
17093
17094         * buffer.h:
17095         * buffer.C: new function getLatexLogName()
17096
17097         * lyx_gui_misc.C:
17098         * lyx_gui.C:
17099         * lyxvc.C:
17100         * lyxvc.h:
17101         * lyxfunc.C: use frontends for LaTeX and VC logs
17102
17103 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17104
17105         * LaTeX.h: yet another std:: that Allan forgot.
17106
17107         * Variables.C (set): renamed from isset(), because this clashes
17108         with some HP-UX macros (grr).
17109
17110 2001-02-06  Allan Rae  <rae@lyx.org>
17111
17112         * LaTeX.h: Another bug fix.  Missing std:: this time.
17113
17114 2001-02-04  Allan Rae  <rae@lyx.org>
17115
17116         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17117         floats problem. I've left it commented out because it's not quite
17118         correct.  It should also test that the current object is a table or
17119         figure inset.  But I haven't gotten around to figuring out how to do
17120         that.  I *think* it'll be something like: "table" == inset.type()
17121
17122         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17123         bool.
17124
17125 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17126
17127         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17128         all the citation/databases/styles in the auxilary file.
17129         (run): Rerun latex if there was a babel language error.
17130
17131 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * text.C (Backspace): Preserve the font when changing newline char
17134         with a space.
17135         (BreakParagraph): If the cursor is before a space, delete the space.
17136
17137         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17138
17139 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17140
17141         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17142         new argument (code).
17143         (ChangeCitationsIfUnique): New method.
17144
17145         * paragraph.C (GetPositionOfInset): Handle bibkey.
17146
17147 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17148
17149         * BufferView_pimpl.h: change type of Position::par_pos to
17150         LyXParagraph::size_type.
17151
17152 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17153
17154         * BufferView_pimpl.C (savePosition, restorePosition): Write
17155         messages to minibuffer.
17156
17157 2001-01-28  José Matos  <jamatos@fep.up.pt>
17158
17159         * buffer.C (makeDocBookFile): adds support for document language.
17160         A silly restriction on the name of LatexCommand types where removed.
17161         Added support for CDATA sections, allows to chars unescaped, used
17162         among others in code, to avoid escape < and >.
17163
17164 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17165
17166         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17167         saved positions instrad of a stack. Furthermore, a position is
17168         stored using paragraph id/paragraph position.
17169
17170         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17171         Remove LFUN_REF_BACK.
17172
17173 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17174
17175         * converter.C (dvipdfm_options): New method.
17176
17177 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17178
17179         * vspace.C (isValidLength): Fix for empty input string.
17180
17181 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17182
17183         * LyXAction.C (init): change description of LFUN_FIGURE to
17184         "Insert Graphics"
17185
17186 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17187
17188         * LaTeX.C: add using directive
17189
17190 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17191
17192         * MenuBackend.C (expand): Fix the sorting of the formats.
17193
17194 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17195
17196         * lyx_main.C: tiny error message fix
17197
17198 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17201         calling fl_initialize(). This fixes the problem with ',' as
17202         decimal separator in text files.
17203
17204 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17205
17206         * trans.C (process): Fix the keymap bug.
17207
17208 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17209
17210         * LaTeX.C (scanAuxFiles): New method. Provides support for
17211         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17212         (scanLogFile) Scan for "run BibTeX" messages.
17213
17214         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17215         OT1 font encoding. Also, load the aecompl package if the ae
17216         package is loaded.
17217
17218         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17219
17220 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17221
17222         * texrow.C (increasePos): turn two error messages into debug
17223         messages.
17224
17225 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17226
17227         * LaTeX.C (scanAux): Handle the \@input macro.
17228         (runBibTeX): Use scanAux().
17229
17230         * language.C (latex_options_): New field.
17231
17232         * LaTeXFeatures.C (getMacros): Add language macros.
17233
17234         * buffer.C (makeLaTeXFile): Small fix.
17235
17236 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17237
17238         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17239
17240         * text2.C: add a using directive.
17241
17242 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17243
17244         * BufferView2.C:
17245         * lyx_gui_misc.h:
17246         * lyxfr1.C:
17247         * lyxfunc.C: kill LyXBell.
17248
17249 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * text.C (IsBoundary): Remove the error message
17252
17253         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17254
17255         * lyxrc.C (setDefaults): Correct initialization value for
17256         font_norm_type.
17257
17258 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17259
17260         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17261         gotoError().
17262
17263         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17264         and GotoNextNote().
17265
17266         * src/LyXAction.C: Added reference-next.
17267
17268         * text.C (InsertChar): Use contains instead of strchr.
17269
17270         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17271
17272 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17273
17274         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17275         alignment commands (when needed).
17276
17277         * text.C (InsertChar): Add ':' to number separator chars.