]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6a90aa38161046da1209048ab91dc396c3405a68
[lyx.git] / src / ChangeLog
1 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * LaTeXFeatures.[Ch]: Add a static list packages_ that
4         holds the contens of packages.lst. New functions getAvailable
5         and isAvailable to parse and check that list, resp.
6         
7         * LyXAction.C:
8         * lfuns.h:
9         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
10         
11         * bufferparams.[Ch]: new param output_changes.
12         
13         * Buffer.C: increase file format to 240.
14         Use output_changes and isVailable.
15         
16         * changes.[Ch]: 
17         * paragraph.C: 
18         * paragraph_pimpl.C: Use output_changes and isVailable.
19
20 2005-01-23  Angus Leeming  <leeming@lyx.org>
21
22         * output_latex.C: #include "insetbibitem.h", rather than
23         forward declare function bibitemWidest.
24
25 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
26
27         * lyx_main.C (init): make it compile on the Mac.
28
29 2005-01-20  Angus Leeming  <leeming@lyx.org>
30
31         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize) 
32         (setLyXMisc): (char string literal) != (char string literal) is
33         performing a comparison on the addresses. Convert one operand
34         explicitly to string to guarantee expected behaviour.
35         From MSVC warning.
36
37 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
38
39         * buffer.C:
40         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
41
42         * output_plaintext.C: remove unneeded #include gzstream.h.
43         
44 2005-01-20  Angus Leeming  <leeming@lyx.org>
45
46         * SpellBase.h: rename some of the elements of the Result enum.
47
48         * aspell_local.h:
49         * ispell.h:
50         * pspell.h:
51         * aspell.C (check):
52         * ispell.C (check):
53         * pspell.C (check): ditto
54
55 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
56
57         * buffer.C: add #include <fstream>.
58
59         * lyx_main.C (init): Compile fix.
60
61         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
62
63 2005-01-20  Angus Leeming  <leeming@lyx.org>
64
65         * mover.h: change commentary to reflect the changed meaning of
66         the $$s placeholder.
67
68 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * output_linuxdoc.C (linuxdocParagraphs): silence warning
71
72         * lyxfind.C (MatchString::operator()): remove bogus semicolon
73
74 2005-01-20  Angus Leeming  <leeming@lyx.org>
75
76         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
77         printing diagnostic data by not dereferecing an iterator past the
78         end.
79
80 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
81
82         * buffer.C (readHeader): use "&&" rather than "and".
83
84         * lyxserver.h (inPipeName, outPipeName): make these const.
85
86 2005-01-19  Angus Leeming  <leeming@lyx.org>
87
88         * lyx_main.C (error_handler, init): protect SIGHUP with
89         #ifdef SIGHUP guards.
90
91 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
94
95 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * text.C (setHeightOfRow): add a margin at the top and bottom of
98         the document (bug 1761)
99
100 2005-01-17  Angus Leeming  <leeming@lyx.org>
101
102         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
103         with "python ". Workaround for a brain-dead Windows.
104
105 2005-01-16  Angus Leeming  <leeming@lyx.org>
106
107         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
108         for MacOSX and Windows to use prependEnvPath.
109         Strip out the hard-coded block to add elements to the PATH for
110         MacOSX and replace it with a call to prependEnvPath using the
111         contents of LyXRC::path_prefix.
112         (queryUserLyXDir): strip out the code to run reconfigure, instead
113         returning a boolean indicating the necessity to do so.
114         (reconfigureUserLyXDir): contains the code to reconfigure the
115         user support directory. Is now called after the various LyXRC data
116         files have been read.
117
118         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
119
120 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
121
122         * converter.[Ch] (convert): take a new parameter try_default. Use
123         a default converter (imagemagick) if try_default is true.
124
125 2005-01-13  Angus Leeming  <leeming@lyx.org>
126
127         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
128         os::cygwin_path_fix.
129         (write): output LyXRC::cygwin_path_fix as necessary.
130
131 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
132
133         * lyxrc.h:
134         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
135
136 2005-01-12  Angus Leeming  <leeming@lyx.org>
137
138         * lyx_main.C (init): set the PATH variable to include the
139         directory containing the LyX binary when running on Mac or Windows.
140
141 2005-01-12  Angus Leeming  <leeming@lyx.org>
142
143         * lyx_main.C (init): remove cruft that purports to set the locale
144         dir. It doesn't and is not needed anyway.
145
146 2005-01-10  Angus Leeming  <leeming@lyx.org>
147
148         * Makefile.am: remove the lyx_main.C special casing.
149
150         * BufferView_pimpl.C:
151         * bufferlist.C:
152         * exporter.C:
153         * lyx_cb.C:
154         * lyx_main.C:
155         * lyxfunc.C:
156         * messages.C: use support/package.h to provide the paths to the
157         various directories used by LyX.
158
159 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
162         layout if pasting into an empty paragraph)
163
164 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
165
166         * tex-accent.C: add <string>
167
168 2005-01-06  José Matos  <jamatos@lyx.org>
169
170         * ParagraphParameters.C (write): put every parameter in its own line.
171         * paragraph.C (write): reduce number of consecutive empty lines exported.
172         * buffer.C (LYX_FORMAT): increase file format to 239.
173
174 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * everywhere: change support/tostr.h -> support/convert.h
177
178         * tabular.C: make all write_attributes templates, tostr -> convert
179
180         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
181         (emptyTag): and -> &&, and fix type for ret from getChar
182         (getFirstWord): fix type for ret from getChar
183         (onlyText): and -> &&
184         (simpleDocBookOnePar): and not -> && !, fix type for ret from
185         getChar
186
187         * toc.C (goTo, action):
188         * text3.C (dispatch):
189         * text.C (currentState):
190         * tex-accent.C (DoAccent):
191         * sgml.C:
192         * lyxrc.C:
193         * lyxfunc.C (menuNew):
194         * lyxfinc.C (replace):
195         * counters.C (laberItem):
196         * bufferview_funcs.C (font2string):
197         * bufferparams.C (writeFile):
198         * buffer.C (readFile):
199         * Spacing.C (set):
200         * MenuBackend.C: tostr -> convert
201
202         * LaTeX.C (runMessage): fix format
203         (scanAuxFiles): tostr -> convert
204
205         * BufferView_pimpl.C (savePosition): fix format
206         (restorePosition): ditto
207         (dispatch): ditto
208
209 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * Spacing.[Ch]: New method getValueAsString().
212
213         * Spacing.[Ch]:
214         * bufferparams.C:
215         * ParagraphParameters.C:
216         * lyxlayout.C:
217         * text.C:
218         * text3.C: store/read spacing value as string.
219
220         * rowpainter.C: change float value (spacing_val) to double.
221
222         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
223         broken custom document spacing).
224
225 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
226
227         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
228         namespace, also more use of temp references and const
229
230         * cursor.[Ch] (getStatus): move to lyxfunc.C
231
232         * bufferparams.C: reformat slightly
233
234         * bufferview_funcs.C (font2string): constify arg
235
236         * changes.C:
237         * converter.C:
238         * counters.C:
239         * bufferlist.C:
240         * buffer_funcs.C: (many funcs): constify arg on function
241         definitions, also make more local vars const, also add ASSERTS on
242         pointer args.
243
244         * buffer.C (LYX_FORMAT): put const in correct place
245         (many funcs): constify arg on function definitions, also make
246         more local vars const
247
248         * aspell_local.h: remove "struct" from typdef setup
249
250         * aspell.C (check): make word_ok const
251         (nextMiss): simplify slightly
252         (error): ditto
253
254 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * lyxrc.[Ch]: store all float values as strings.
257         use int (not float) for lyxrc.dpi.
258
259 2005-01-04  Angus Leeming  <leeming@lyx.org>
260
261         * lyx_cb.C (Reconfigure):
262         * lyx_main.C (queryUserLyXDir):
263         to run the <system_lyxdir>/configure correctly on Windows, prefix
264         the path to the script with "sh " when generating the string that
265         is passed to system().
266
267 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
268
269         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
270
271 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * lyxlength.C (asLatexString): get rid of setprecision
274
275 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * text2.C (setLayout): remove unused variable endpit.
278         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
279
280         * paragraph.C (onlyText): remove unused variable style.
281
282         * cursor.C (bruteFind): remove unused variables beg and end.
283
284         * Makefile.am (dist_noinset_DATA): not needed anymore
285
286         * cheaders/*: remove.
287
288 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
289
290         * text3.C: fix LFUN_MATH_MODE.
291
292 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * buffer_funcs.C (countWords): new function. Counts words between
295         two iterators.
296
297         * BufferView_pimpl.C (getStatus, dispatch): handle
298         LFUN_WORDS_COUNT.
299
300         * LyXAction.C (init):
301         * lfuns.h: add LFUN_WORDS_COUNT.
302
303 2004-12-19  Angus Leeming  <leeming@lyx.org>
304
305         * buffer.C (save): s/slashify_path/internal_path/.
306
307 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * lyxfind.C (findChange): do not search for end of pars, because
310         the change tracker cannot handle this (fixes bug 1719).
311
312 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * paragraph.[Ch] (autoBreakRows): remove
315
316         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
317
318         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
319         avoid using the paragraph one
320
321         * text2.C (LyXText, insertStringAsLines): adjust
322
323 2004-12-16  Angus Leeming  <leeming@lyx.org>
324
325         * bufferlist.C:
326         * lyx_main.C:
327         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
328
329 2004-12-14  Angus Leeming  <leeming@lyx.org>
330
331         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
332
333         * bufferlist.C (emergencyWrite):
334         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
335         GetEnvPath("HOME").
336
337 2004-12-14  Angus Leeming  <leeming@lyx.org>
338
339         * main.C: (main): no longer pass pointers to os::init.
340
341 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * undo.C (textUndoOrRedo): simplify logic, fix a crash
344         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
345
346 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * lyxfunc.C:
349         * text3.C: remove selection_possible global flag
350
351 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
352
353         * text2.C (getSelectionSpan): remove
354         (changeDepth, changeDepthAllowed): adjust
355
356 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
357
358         * Makefile.am (BOOST_LIBS): use boost variables
359
360 2004-12-03  José Matos  <jamatos@lyx.org>
361
362         * buffer.C: format up to 238.
363
364 2004-12-03  José Matos  <jamatos@lyx.org>
365
366         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
367
368 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * cursor.C (goUpDown): remove call to idxUpDown2
371
372 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * tabular.[Ch]: use size_t-like types for cell, row and column
375         indices
376
377 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * lyxfunc.C (getStatus): do not lose previous information when
380         calling BufferView::getStatus; do not set a default "Command
381         disabled" message at the beginning, but just before returning.
382
383 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
384
385         * cursor.h (getStatus): add better comment from src/cursor.C
386
387 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * text3.C (getStatus): return false when the lfun is not handled
390
391 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * broken_headers.h: remove
394
395         * Makefile.am (lyx_SOURCES): remove broken_headers.h
396
397 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
400         offset_ref accessors
401
402         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
403         top_y_, merge fitcursor with update
404         (updateScrollbar, scrollDocView, fitCursor, center, update): new
405         coord scheme
406         (metrics): introduce
407         (workAreaDispatch): adapt to new coord scheme
408         (redoCurrentBuffer): remove
409
410         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
411
412         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
413         CurStatus enum.
414
415         * coordcache.[Ch]: add paragraph cache and helpers
416
417         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
418         adjust everywhere
419
420         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
421         (targetX, setTargetX): introduce
422
423         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
424         baseline -> ascent, as the rest of lyx
425
426         * lyxtext.h: remove redoParagraphs, updateParPositions,
427         fullRebreak, redoParagraphInternal. move dist to anon namespace in
428         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
429         have ascent/descent (ascent is ascent of first par)
430
431         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
432         step of BufferView
433
434         * paragraph.[Ch]: unify dimension handling with the rest of lyx
435
436         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
437
438         * pariterator.C: fix infinite loop introduced in par->pit renaming
439
440         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
441         in insets and LyXText, draw two off-screen paragraphs using
442         NullPainter, and adapt to new coord scheme
443
444         * text.C:
445         * text2.C:
446         * text3.C: adapt lfun handlers to the new coord scheme, which
447         means: there's only guaranteed coord information for onscreen pars
448         plus one above and one below. This implies that one can do search
449         from y coordinates in the range [-1,workHeight]
450
451 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * rename a lot of InsetOld to InsetBase
454
455 2004-11-25  Angus Leeming  <leeming@lyx.org>
456
457         * BufferView_pimpl.C:
458         * lyx_cb.C:
459         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
460
461 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
464         call BufferView::getStatus if LCursor::getStatus did nothing
465         (setStatusMessage, getStatusMessage): removed.
466
467         * FuncStatus.C (message): new methods. Used to provide an error
468         message indicating why a command is disabled.
469         (clear, |=, FuncStatus): update for message.
470
471 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
472
473         * lyxfunc.C (dispatch): always call sendDispatchMessage
474
475 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
476
477         * BufferView.C:
478         * BufferView_pimpl.C:
479         * CutAndPaste.C:
480         * FontIterator.C:
481         * buffer.C:
482         * cursor.C:
483         * cursor_slice.[Ch]:
484         * dociterator.[Ch]:
485         * lyxfind.C:
486         * paragraph_funcs.C:
487         * pariterator.C:
488         * rowpainter.C:
489         * text.C:
490         * text2.C:
491         * text3.C:
492         * undo.C: par->pit renaming
493
494 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
495
496         * tabular.C (cellstruct): use initialization, store a shared_ptr
497         to insettext instead of the insettext directly, adjust to fit.
498         (operator=):  new function
499         (swap): new function
500         (rowstruct): use initialization
501         (columnstruct): use initialization
502         (ltType): use initialization
503
504
505         * lyxlength.h (swap): new function
506
507         * LColor.[Ch] (operator=): use the common semantics
508
509 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * lyxfind.C (findNextChange): update the bufferview after setting
512         the selection.
513
514 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
517         number of InsetOptArgs has already been inserted.
518
519         * output_latex.C (latexOptArgInsets): new method. This outputs all
520         the optarg insets, up to the limit defined in the layout file.
521         (optArgInset): removed
522         (TeXOnePar): call latexOptArgInsets; correctly update texrow
523
524 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * paragraph.C (isLetter): remove special spellchecker-related
527         code; return true also for digits
528         (isWord, isKomma): remove
529
530         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
531         * lyxfind.C (MatchString()): use isLetter instead of isWord
532
533 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
534
535         * pariterator.h (operatir=): comment out un-implemented member
536         function.
537
538         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
539         static cast.
540
541 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
542
543         * lyxfont.h: include LColor.h to satisfy concept checks.
544
545 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * pariterator.h: add typdefs for value_type, difference_type,
548         pointer and reference to satisfy concept checks. Also add default
549         constructor for same reason.
550
551         * pariterator.C (operator++): add post-increment operator to
552         satisfy concept checks.
553
554         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
555         checks.
556
557         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
558
559         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
560         checks. Also rename base_type to BaseType to follow naming
561         standard better.
562
563         * FloatList.h: include Floating.h to satisfy concept checks.
564
565 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxfunc.C (getStatus): when the origin of the request is menu or
568         toolbar, and the LyXView does not have focus, do as if there was
569         no buffer (bug 1720)
570
571         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
572         FuncRequest to individual entries of LFUN_SEQUENCE
573
574 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * output_latex.C (TeXOnePar): override runparams.moving_arg
577         according to the needprotect value of the current paragraph (bug
578         1739)
579
580         * paragraph.C (simpleTeXOnePar): no need to override
581         runparams.moving_args here
582
583 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
584
585         * vspace.C: fix off-by-one-error, related to fix #1682
586
587 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
588
589         * lengthcommon.C: a more general fix for bug 1682
590
591 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * text.C (backspace): fix crash
594
595 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * format.[Ch] (getFormatFromFile): new method
598         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
599
600 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
603
604 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * lyxfunc.C (dispatch): remove the verbose argument
607         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
608         instead
609
610         * kbmap.C (defkey): set the origin of func to KEYBOARD
611
612         * MenuBackend.C (MenuItem):
613         * ToolbarBackend.C (add): set the origin of func to UI
614
615         * funcrequest.[Ch]: add origin member, which indicates which part
616         of LyX requests an action
617
618 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * converter.C (move): don't lie in the error message
621         * converter.h (isReachable, move): document
622
623 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
624
625         * buffer.C: remove unused using lyx::support::atoi
626         * paragraph_funcs.C: ditto
627
628 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
629
630         * bufferlist.C (exists): use bind and equal_to instead of
631         compare_memfun
632         (getBuffer): ditto
633         * lyxtextclasslist.C (NumberOfClass): ditto
634
635         * cursor.C (insert): use for_each instead of explicit for loop
636
637         * bufferlist.C (getFileNames): use std::transform and
638         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
639
640         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
641         for loop
642
643         * buffer.C (changeLanguage): use for_each instead of explicit for
644         loop
645         (hasParWithID): implement using getParFromID
646
647         * LaTeXFeatures.C: ws change only
648
649         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
650         to cleanup a bit.
651
652         * BufferView_pimpl.C (trackChanges): use for_each instead of
653         expilicit for loop
654
655 2004-11-04  André Pönitz  <poenitz@gmx.net>
656
657         * undo.h:
658         * undo.C (textUndoOrRedo): fix crash when creating undo information.
659
660         * dociterator.C (asDocIterator): use hard assert again.
661
662 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * lyxlength.C (asLatexString): rewrite so that it does not use
665         snprintf anymore
666
667 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * text3.C (specialChar, dispatch): make sure cursor moves to the
670         right after inserting an inset
671
672 2004-11-02  José Matos  <jamatos@lyx.org>
673
674         * output_docbook.C (docbook):
675         * paragraph.C (getID):
676         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
677         garantee that the output is always legal.
678
679         * tabular.C (docbook):
680         * outputprams.[Ch]: remove mixed contents.
681
682 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
683
684         * text2.C (setCounter): prevent endless loop
685
686 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * exporter.C (copyFile): use the mover instead of support::copy()
689         * exporter.C (Export): pass format and latex name to copyFile()
690         * exporter.h (addExternalFile): document
691         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
692
693 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
694
695         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
696
697 2004-10-30  José Matos  <jamatos@lyx.org>
698
699         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
700         text and no inset or font change. This allows to use CDATA
701         sections just for the whole paragraph.
702
703 2004-10-30  José Matos  <jamatos@lyx.org>
704
705         * paragraph.C (getFirstWord): remove unused variable.
706
707 2004-10-30  José Matos  <jamatos@lyx.org>
708
709         * paragraph.C (getFirstWord): the content should always be escaped
710         there.
711         (simpleDocBookOnePar):
712         * output_docbook.C (makeEnvironment): replace reference to CDATA
713         to style pass_thru.
714
715 2004-10-30  José Matos  <jamatos@lyx.org>
716
717         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
718
719 2004-10-30  José Matos  <jamatos@lyx.org>
720
721         * output_docbook.C (makeParagraphs):
722         * paragraph.[Ch] (emptyTag): for docbook and company, if the
723         standard paragraph has only a given type of content drop the wrapper.
724
725 2004-10-29  José Matos  <jamatos@lyx.org>
726
727         * output_docbook.C (makeEnvironment):
728         * sgml.C (openTag):
729         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
730
731 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
732
733         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
734         (cleanID): sanitize any id.
735
736 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * buffer.C, lyxlex_pimpl.C:
739         * lyxlex_pimpl.C (setFile):
740         s/getExtFromContents/getFormatFromContents/
741
742 2004-10-28  José Matos  <jamatos@lyx.org>
743
744         * output_docbook.C (makeEnvironment): move id to broadest possible
745         scope.
746
747         * sgml.C (openTag): apply substitution of <> for all attributes.
748
749 2004-10-28  José Matos  <jamatos@lyx.org>
750
751         * buffer.C (makeLinuxDocFile, makeDocBookFile):
752         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
753         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
754
755         * sgml.[Ch]: new version for open and closeTag for paragraph and
756         for strings. Now they handle the ids of paragraphs.
757
758 2004-10-26  Angus Leeming  <leeming@lyx.org>
759
760         * Makefile.am: add mover.[Ch].
761
762         * converter.C (convert, move): use the new Movers to move external
763         files to the temp directory.
764
765         * lyx_main.C (init): ensure that the global system_movers data
766         is initialised.
767
768         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
769         preferences file.
770
771         * mover.[Ch]: new files, defining a Mover as a utility to move an
772         external file between directories and, if necessary, manipulate this
773         file using a helper script.
774
775 2004-10-25  José Matos  <jamatos@lyx.org>
776
777         * output_docbook.C (makeCommand): merge two if's that tested the
778         same condition.
779
780 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * sgml.C (escapeString): fix warning in a better way
783
784 2004-10-25  José Matos  <jamatos@lyx.org>
785
786         * sgml.C (escapeString): import the require boosts header file for
787         tie, and avoid a signed unsigned comparison.
788
789 2004-10-25  José Matos  <jamatos@lyx.org>
790
791         * sgml.h: add #include <string>
792
793 2004-10-25  José Matos  <jamatos@lyx.org>
794
795         * sgml.[Ch] (escapeString): new function to escape all the string.
796
797 2004-10-24  José Matos  <jamatos@lyx.org>
798
799         * paragraph.[Ch] (getFirstWord): new function to get the first
800         word. Useful for description.
801         (simpleDocBookOnePar): remove depth argument, add another that
802         says where to start the paragraph.
803
804         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
805         use the new functions to fix cleanly the support for descriptions.
806
807 2004-10-24  José Matos  <jamatos@lyx.org>
808
809         * buffer.C (makeLinuxDocFile, makeDocBookFile):
810         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
811         * output_linuxdoc.C (linuxdocParagraphs):
812         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
813         add buffer as argument.
814
815 2004-10-24  José Matos  <jamatos@lyx.org>
816
817         * output_docbook.C (makeEnvironment, searchEnvironment): place
818         CDATA inside paragraphs and fix scope for listitems.
819
820 2004-10-24  José Matos  <jamatos@lyx.org>
821
822         * output_docbook.C: remove using statement for stack.
823
824 2004-10-23  José Matos  <jamatos@lyx.org>
825
826         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
827         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
828         docbook. The new scheme is recursive and makes use of iterators, the
829         same as latex export works.
830         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
831         directly with the paragraph contents. This code was moved up to
832         output_docbook.C (docbookParagraphs).
833         * sgml.C (openTag, closeTag): removed unneeded newlines.
834         (closeEnvTags) removed.
835
836 2004-10-23  André Pönitz  <poenitz@gmx.net>
837
838         * undo.C (textUndoOrRedo):
839         * dociterator.C (asDocIterator): work around crash
840
841         * cursor.C (getStatus): replace ASSERT by more verbose error message
842           and manual correction of the problem. Should increase stability
843           while providing more sensible information.
844
845 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
848
849         * bufferlist.C (previous, next): new methods
850
851         * lfuns.h:
852         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
853
854 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
855
856         * buffer.C (makeDocBookFile): add dsssl stylesheet control
857         entities to preamble.
858
859 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
860
861         * messages.C (Pimpl): strip off translation context information
862
863 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
866         the cursor is correct (bug 1694)
867
868 2004-10-13  José Matos  <jamatos@lyx.org>
869
870         * output_docbook.C (docbookParagraphs): fix closing tags in the
871         end of the document.
872
873 2004-10-09  José Matos  <jamatos@lyx.org>
874
875         * buffer.C: format up to 237.
876         * bufferparams.C (write): use tostr to convert booleans to strings.
877
878 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
879
880         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
881
882 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * LaTeX.C: implement use of babel language in xindy.
885
886 2004-10-05  José Matos  <jamatos@lyx.org>
887
888         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
889         Add new translators to help reading and writing the lyx file.
890
891 2004-10-05  José Matos  <jamatos@lyx.org>
892
893         * ParagraphParameters.C (read):
894         * text.C (readParToken): replace nexToken by more appropriate lex
895         methods.
896
897 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
898
899         * LaTeX.C (runMakeIndex):
900         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
901         (usually 'makeindex') configurable.
902
903         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
904         with a variable rather than with a number.
905
906 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * output_latex.C (TeXOnePar): make sure font setting is the first
909         thing that gets output (and the last at the end). Should fix bug
910         1404.
911
912 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
913
914         * pch.h: use proper signal include
915
916         * LaTeX.h: Use preferred calling of Boost.Signal
917         * buffer.h: ditto
918
919 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
920
921         * pch.h: dont include <boost/function/function0.hpp>
922
923         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
924
925         * paragraph_pimpl.h: remove usage of ShareContainer
926
927         * paragraph_pimpl.C: remove initialization of ShareContainer.
928
929 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         Fix bug #1666
932
933         * BufferView.C (putSelectionAt): change the semantics when
934         backwards == true: now, this just swaps cursor and anchor wrt the
935         forward case
936
937         * BufferView.h (putSelectionAt): add some documentation
938
939         * lyxfind.C (findBackwards): rewrite using while(). In particular,
940         make sure backwardChar is done at least once (to avoid getting
941         stuck)
942         (findNextChange): use putSelectionAt in the forward direction
943         (operator()): use Paragraph::isWord
944
945 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
946
947         * Spacing.C (set): c_str fix
948
949 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * lyx_cb.C (Reconfigure): quote the name of configure script in
952         case it contains spaces
953
954 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
955
956         * client: new dir
957
958         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
959         (BOOST_LIBS): use top_buildir when looking for the file
960
961 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
962
963         * pch.h: do not use include boost/format.hpp, multiple symbols
964                 will result (gcc bug)
965
966
967 2004-08-23  José Matos  <jamatos@lyx.org>
968
969         * bufferparams.C (readToken): fix reading of the author field.
970
971 2004-08-20  José Matos  <jamatos@lyx.org>
972
973         * lyxrc.C: remove support/translator.h inclusion since it is not used.
974
975 2004-08-20  José Matos  <jamatos@lyx.org>
976
977         * lyxlex.[Ch] (findToken): remove function.
978
979         * ParagraphParameters.C (findToken):
980         * bufferparams.C (findToken): replace call for previous function
981         with local copy. This local function has one more argument, the
982         read string argument.
983
984 2004-08-16  José Matos  <jamatos@lyx.org>
985
986         * ParagraphParameters.C (write):
987         * Spacing.C (writeFile):
988         * bufferparams.C (writeLaTeX):
989         * lyx_cb.C (Reconfigure):
990         * paragraph.C (write):
991         * tabular.C (write): remove unnecessary space at end of line.
992
993
994 2004-08-16  José Matos  <jamatos@lyx.org>
995
996         * text.C (readParagraph): remove debug message.
997
998 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1001         crash
1002
1003         * output_plaintext.C (asciiParagraph): set depth correctly
1004
1005         * outputparams.h: add member depth
1006
1007         * paragraph_funcs.C (ownerPar): remove.
1008
1009         * text2.C (setCounter): remove first_pit; comment out some
1010         non-working code that uses ownerPar
1011
1012         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1013         uses ownerPar
1014
1015 2004-08-16  José Matos  <jamatos@lyx.org>
1016
1017         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1018         For the same level of importance use the same chanel to report problems.
1019         (read): add code to deal with \begin_body and \end_body.
1020
1021
1022 2004-08-15  José Matos  <jamatos@lyx.org>
1023
1024         * lyxlex.C (getString): fix comment, buffer::readBody is now
1025         buffer:readDocument.
1026
1027         * tex-strings.C (string_papersize): Default -> default,
1028         Custom -> custom, for consistency with other options.
1029
1030 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1031
1032         * pch.h: new file
1033
1034         * Makefile.am: support pch
1035
1036 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * text.C (readParToken): remove the static LyXFont variable and
1039         pass it as a parameter instead. This fixes a nasty bug where an
1040         inset will be inserted with a bad font in some situations
1041         (readParagraph): adapt
1042
1043         * text2.C (setCounter): reduce number of calls to pars_[pit]
1044
1045         * text.C (singleWidth): add an assert, fix a test
1046
1047         * rowpainter.C (paintText): reduce number of calls to singleWidth
1048
1049         * paragraph.C (isHfill):
1050         (isNewline): ws only
1051
1052 2004-08-14  André Pönitz  <poenitz@gmx.net>
1053
1054         * text.C:
1055         * text2.C:
1056         * rowpainter.C:
1057         * lyxtext.h (several functions): use a Paragraph & argument
1058         instead of par_type
1059
1060 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1063
1064         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1065
1066         * text.C (singleWidth): remove useless test
1067
1068 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * tabular.h: remove bogus comments
1071
1072         * tabular.C (getDescentOfRow):
1073         (isPartOfMultiColumn): add assertions
1074
1075         * lyxlength.C (inPixels): remove #warning
1076
1077 2004-08-14  André Pönitz  <poenitz@gmx.net>
1078
1079         * paragraph.h: inline getChar()
1080
1081         * BufferView.h: remove unused declarations
1082
1083 2004-08-14  José Matos  <jamatos@lyx.org>
1084
1085         * Buffer.[Ch] (readDocument): new name for old readBody.
1086         * Buffer.C: new file format, new keywords: \begin_document,
1087         \begin_header, \begin_body, \end_body.
1088
1089         * bufferparams.C (readToken): replace all calls to lex.nextToken
1090         by lex.next(). Do the same to eatLine except where really needed.
1091
1092         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1093         line when writing to the lyx file.
1094
1095         * output_plaintext.C (asciiParagraph): fix Bibliography style
1096         handling.
1097
1098         * text.C (read): fix end of file handling.
1099
1100 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * MenuBackend.C (Menu::operator[]): new method to access
1103         individual menu items
1104         (Menu::hasFunc): new method. search for an item that corresponds
1105         to a given func
1106         (MenuBackend::specialMenu): new method
1107         (MenuBackend::expand): if a special menu has been set, skip
1108         entries whose func() appears in this menu
1109
1110 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1111
1112         * text3.C: use Debug::DEBUG a bit more
1113
1114         * text.C (leftMargin): try to simplify a tiny bit change var x to
1115         l_margin. Dont output the wide margins always.
1116         (rightMargin): no margin in inner texts
1117
1118         * rowpainter.h (nestMargin): new func
1119         (changebarMargin): new func
1120         (rightMargin): new func
1121
1122         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1123         now functions.
1124         (paintLast): ditto
1125
1126         * factory.C (createInset): modify setDrawFrame
1127
1128         * cursor.C: use Debug::DEBUG a bit more
1129
1130 2004-08-14  André Pönitz  <poenitz@gmx.net>
1131
1132         * coordcache.[Ch]:
1133         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1134         cache for all insets in (at least partially) visible (top-level)
1135         paragraphs.
1136
1137         * BufferView_pimpl.C: reset external coord cache before every update.
1138         This means the coord cache only contains valid entries.
1139
1140 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1141
1142         bug 1096
1143         * BufferView_pimpl.C (getInsetByCode): move function out of class
1144         and change in to a template in anon namespace. Also fix to do what
1145         suits us better.
1146
1147 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1148
1149         bug 1305
1150         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1151         of char
1152         (breakParagraph): rename par to par_offset and use a local
1153         reference. Add code to keep the language over a rebreak.
1154         (breakParagraphConservative): rename par to par_offset, use a
1155         local reference
1156         (mergeParagraph): ditto
1157         (outerHook): ditto
1158         (isFirstInSequence): ditto
1159         (outerFont): rename pit to par_offset
1160
1161         * paragraph.C: ws change
1162         * paragraph.h: ditto
1163         * text3.C: ditto
1164         * text.C: ditto
1165
1166 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1167
1168         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1169         treatment for ']'
1170
1171         * paragraph.C (simpleTeXOnePar): when we have a \item with
1172         optional argument, enclose the argument with curly brackets (in
1173         case it contains a closing square bracket)
1174
1175         * text2.C (editXY):
1176         * text2.C (editXY):
1177         * text3.C (checkInsetHit): constify
1178
1179 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1182         documents (bug 1629)
1183
1184 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         Fix toggling of collapsable insets with the mouse (bug 1558)
1187
1188         * lyxfunc.C (dispatch): adapt to LCursor changes
1189
1190         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1191         make sure that dispatch is not invoked twice
1192
1193         * cursor.C (needsUpdate): new method
1194         (dispatch): return void
1195         (result): new method, to access the DispatchResult of the cursor.
1196
1197 2004-08-13  José Matos  <jamatos@lyx.org>
1198
1199         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1200
1201 2004-08-13  André Pönitz  <poenitz@gmx.net>
1202
1203         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1204
1205         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1206           multiple cells
1207
1208 2004-08-12  André Pönitz  <poenitz@gmx.net>
1209
1210         * text3.C: take out the 'cursor right' form insertInset and only
1211         do it in those places when it is really needed. Fixes crash on
1212         C-m...
1213
1214 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1217
1218         * BufferView_pimpl.C (setBuffer): initialize the current font of
1219         the underlying LyXText
1220
1221 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * kbsequence.C (print): use UI native formatting for menu
1224         shortcuts
1225
1226         * text.C (insertChar): call Paragraph::insertChar with a font
1227         argument (cosmetic)
1228
1229         * paragraph.C (insertInset, insertChar): the version that takes a
1230         LyXFont argument is now a wrapper around the other one (the
1231         opposite used to be true).
1232
1233         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1234         argument. Font setting is done in Paragraph now.
1235
1236 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * outputparams.h: add new members intitle and lang.
1239
1240         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1241         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1242
1243 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1244
1245         * text3.C (dispatch): remove special handling of button 4 and 5,
1246         it is now taken care of in the frontend code.
1247
1248 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1249
1250         * Spacing.h: add <string> (STLPort compile fix)
1251
1252 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1253
1254         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1255
1256 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1257
1258         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1259         to bool.
1260
1261         * converter.C (showMessage): inherit from unary_function, make
1262         operator() const.
1263
1264         * buffer.C (writeFile): initialize retval
1265
1266         * InsetList.h: rename private variable list to list_
1267         * InsetList.[Ch]: adjust accordingly.
1268
1269 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1270
1271         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1272         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1273         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1274         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1275         * ParagraphParameters.C, LaTeXFeatures.C: replace
1276         "support/std_sstream.h" with <sstream>
1277
1278 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1279
1280         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1281         * lyxsocket.C (LyXServerSocket): ditto
1282         (serverCallback): ditto
1283
1284 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1285
1286         * LaTeXFeatures.C: check release date when loading jurabib.
1287
1288 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1289
1290         * lyxserver.C (startPipe): call register_socket_callback
1291         (endPipe): call unregister_socket_callback
1292
1293 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1294
1295         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1296         (LyXServerSocket): register the callback
1297         (LyXServerSocket): unregister the callback
1298         (fd): delete function
1299         (serverCallback): improve error checking and setup the callbacks.
1300         (dataCallback): change arg to fd.
1301         (writeln): new func (copied fro the client socket) used for server
1302         write to client.
1303         (LyXDataSocket): simplify
1304         (~LyXDataSocket): close ann unregiser callback
1305         (server): delete function
1306         (fd): delete function
1307         (readln): small changes, improve some std::string usage
1308         (writeln): constify a bit
1309
1310 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1313         Qt frontend
1314
1315 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1316
1317         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1318         after it has been populated
1319
1320 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * text2.C (insertInset): move cursor when inserting inset.
1323
1324 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * kbmap.C (findbindings): a couple of new methods. returns a
1327         container of kb_sequence objects. The real work is done by the
1328         private recursive version
1329         (printbindings): uses findbindings to print out a bracketed list
1330         of bindings (renamed from findbinding).
1331
1332         * MenuBackend.C (binding): use kb_keymap::findbindings
1333
1334         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1335
1336 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1337
1338         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1339
1340 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * paragraph.C (isWord): return true on insets that report
1343         isLetter().
1344
1345         * text.C (getWord): use Paragraph::isWord to decide what is in a
1346         word and what is not; fix bug 1609.
1347
1348 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1349
1350         * tex-strings.C: add "none" to string_paperpackages[], fixes
1351         off-by-one-error in the paperpackage selection.
1352
1353         * lyxlex.[Ch]:
1354         * tex-strings.[Ch]: char const * string[n]
1355         -> char const * const string[]
1356
1357 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1360         command, return early.
1361
1362 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1363
1364         * debug.h: add DEBUG to enum and fix size of ANY.
1365
1366         * debug.C: add support for Debug::DEBUG
1367         (showTags): cast errorTags.level to unsigned int
1368
1369         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1370         (redoCurrentBuffer): ditto
1371         (updateScrollbar): ditto
1372         * cursor.C (dispatch): ditto
1373         * text2.C (setLayout): ditto
1374         (setFont): ditto
1375         (updateCounters): ditto
1376         (editXY): ditto
1377         (deleteEmptyParagraphMechanism): ditto
1378
1379 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1380
1381         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1382         annotations to cleanup the Makefile slightly.
1383
1384 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * lyxrc.C: do not set user_email to a default value but use empty
1387         instead. The entry used to be translated, which does not work
1388         since at the point where lyxrc is constructed there is no
1389         translation service available
1390
1391         * messages.C (getLocaleDir): remove and use directly
1392         lyx_localedir() instead
1393
1394 2004-06-02  Angus Leeming  <leeming@lyx.org>
1395
1396         Fix crash caused by dereferencing null pointer 'exportdata' in
1397         OutputParams by creating a new ExportData variable on the heap,
1398         storing it in a boost::shared_ptr.
1399         The crash was triggered when generating an Instant Preview
1400         of an external inset.
1401
1402         * Makefile.am: add outputparams.C
1403
1404         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1405         (c-tor): allocate memory to it.
1406
1407         * exporter.C (c-tor): associated changes.
1408
1409 2004-06-01  Angus Leeming  <leeming@lyx.org>
1410
1411         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1412         contains data before calling isInset(0). (Bug 1513.)
1413
1414 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1415
1416         * exporter.C (checkOverwrite): new method
1417         * exporter.C (copyFile): new method
1418         * exporter.C (Export): copy referenced files to the document dir
1419         * exporter.[Ch]: new class ExportedFile
1420         * exporter.[Ch]: new class ExportData. Contains currently the
1421         names of referenced external files
1422         * outputparams.h: add exportdata member.
1423
1424 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1425
1426         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1427         version.C-tmp
1428
1429 2004-05-19  Angus Leeming  <leeming@lyx.org>
1430
1431         * LaTeXFeatures.C:
1432         * ToolbarBackend.C:
1433         * bufferparams.C:
1434         * lyxfunc.C: small changes due to the introduction of namespace
1435         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1436
1437 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * text3.C (dispatch): supress update when only moving the cursor
1440         * cursor.C (selHandle): remove commented code
1441
1442 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1443
1444         * paragraph.C (startTeXParParams): correct column count
1445         * CutAndPaste.C (pasteSelection): remove const_cast
1446         * output_docbook.C (docbookParagraphs): remove const_cast
1447         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1448         const_cast and return ParagraphList::const_iterator
1449         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1450         * output_plaintext.C (writeFileAscii): remove const_cast
1451         * paragraph.[Ch] (simpleTeXOnePar): make const
1452         * paragraph_funcs.C (outerPar): use const iterators
1453         * paragraph_pimpl.C (validate): use const iterators
1454         * text.C (setHeightOfRow): use const iterators
1455
1456 2004-05-17  Angus Leeming  <leeming@lyx.org>
1457
1458         * lfuns.h:
1459         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1460
1461         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1462         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1463         if the citation engine has changed.
1464
1465 2004-05-14  José Matos  <jamatos@lyx.org>
1466
1467         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1468         if the textclass does not provide it. Have it different for sgml and
1469         xml.
1470         support the language of document.
1471         * output_docbook.C (docbookParagraphs):
1472         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1473         first anchor as the id of the paragraph, remove special case code.
1474         * sgml.C (escapeChar): escape only < & >.
1475
1476 2004-05-14  Angus Leeming  <leeming@lyx.org>
1477
1478         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1479         dependencies on src/frontends/controllers/biblio.h. Define a
1480         CiteEngine_enum wrapper class to enable the enum to be forward
1481         declared.
1482
1483 2004-05-12  Angus Leeming  <leeming@lyx.org>
1484
1485         * buffer.C: up LYX_FORMAT to 234.
1486         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1487         use_numerical_citations with a single biblio::CiteEngine cite_engine
1488         variable.
1489         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1490
1491 2004-05-13  José Matos  <jamatos@lyx.org>
1492
1493         * converter.h:
1494         * converter.C (Converter, readFlags): add xml member.
1495         * outputparams.h: add XML flavor.
1496         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1497
1498 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * lyxfunc.C (dispatch):
1501         (getStatus): fix handling of LFUN_SEQUENCE
1502
1503 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * debug.C (showLevel): do not forget the end-of-line marker
1506
1507 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * kbmap.C (read): do not stop parsing a bind file when an error
1510         occurs (bug 1575)
1511
1512 2004-04-29  Angus Leeming  <leeming@lyx.org>
1513
1514         * cursor.C:
1515         * factory.C:
1516         * pariterator.C:
1517         * text2.C: wrap a bunch of #warning statements
1518         inside #ifdef WITH_WARNINGS blocks.
1519
1520 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1521
1522         * buffer.C: increment format to 233.
1523
1524 2004-04-28  Angus Leeming  <leeming@lyx.org>
1525
1526         * BufferView_pimpl.C:
1527         * lyxfunc.C:
1528         * text3.C:
1529         s/updateToolbar()/updateToolbars()/
1530         s/Toolbar.h/Toolbars.h/
1531
1532 2004-04-28  Angus Leeming  <leeming@lyx.org>
1533
1534         * BufferView.[Ch] (c-tor):
1535         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1536         No longer passes these data to the WorkArea generator.
1537
1538 2004-04-28  Angus Leeming  <leeming@lyx.org>
1539
1540         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1541
1542 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1543
1544         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1545
1546 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * output_latex.C (TeXEnvironment): make sure that there is a line
1549         break before \end{foo} for the last paragraph of a document
1550         (TeXOnePar): if the paragraph is at the end of the document (or
1551         inset) and the language has to be reset, then make sure that the
1552         line break is _before_ the language command, not after (fixes bug
1553         1225); also make sure that the language reset command is the first
1554         thing after the paragraph (to ensure proper nesting of
1555         environments and thus fix bug 1404)
1556
1557 2004-04-21  John Levon  <levon@movementarian.org>
1558
1559         * ToolbarBackend.h:
1560         * ToolbarBackend.C: make "name" be a programmatic name
1561         and a gui_name field.
1562
1563         * lyxfunc.C: display the minibuffer on M-x
1564
1565 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1568         (bug 1526)
1569
1570 2004-04-19  Angus Leeming  <leeming@lyx.org>
1571
1572         * BufferView_pimpl.C (setBuffer): changed preview interface.
1573
1574         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1575         possible values.
1576
1577 2004-04-19  John Levon  <levon@movementarian.org>
1578
1579         * BufferView_pimpl.C:
1580         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1581
1582 2004-04-05  Angus Leeming  <leeming@lyx.org>
1583
1584         * text.C (redoParagraphs): add call to updateCounters(), thereby
1585         fixing the missing "Figure #:" label from the caption of a
1586         figure float.
1587
1588 2004-04-13  Angus Leeming  <leeming@lyx.org>
1589
1590         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1591         cursor is clicked out of an inset.
1592
1593 2004-04-13  Angus Leeming  <leeming@lyx.org>
1594
1595         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1596         than an InsetOld one.
1597
1598 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1599
1600         * format.[Ch]: add editor to Format
1601         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1602         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1603
1604 2004-04-08  André Pönitz  <poenitz@gmx.net>
1605
1606         * metricsinfo.h: remove PainterInfo::width member
1607
1608 2004-04-08  Angus Leeming  <leeming@lyx.org>
1609
1610         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1611         "\providecommand" rather than "\newcommand", thereby preventing
1612         clashes with packages that define "\boldsymbol" themselves.
1613         Eg, beamer.
1614
1615 2004-04-08  Angus Leeming  <leeming@lyx.org>
1616
1617         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1618         thereby squashing an unnecessary warning.
1619
1620 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1621
1622         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1623         setBuffer()
1624
1625 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1626
1627         * BufferView.C (setCursor): call redoParagraph (some insets could
1628         have been opened)
1629         (putSelectionAt): remove the 'double update' trick
1630
1631         * BufferView_pimpl.C (fitCursor): call refreshPar
1632         (workAreaDispatch): remove an uneeded update call
1633         (dispatch): remove some manual update calls
1634
1635         * cursor.[Ch]: remove cached_y_, updatePos
1636         (selHandle): set noUpdate when appropriate
1637
1638         * lyxfunc.C (dispatch): track if we need an update
1639
1640         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1641
1642         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1643         (paintSelection): cheap optimization, do not call cursorX when not
1644         needed
1645         (paintPars): change signature
1646         (refreshPar): add
1647         (paintText): adjust
1648         (paintTextInset): adjust
1649
1650         * text.C: adjust
1651
1652 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1653
1654         * lengthcommon.C: compilation fix: remove explicit array size from
1655         unit_name[] and friends
1656
1657 2004-04-05  Angus Leeming  <leeming@lyx.org>
1658
1659         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1660
1661         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1662         present only for the preferences dialog.
1663         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1664
1665 2004-04-05  Angus Leeming  <leeming@lyx.org>
1666
1667         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1668         to enable the frontends to export changes to lyxrc correctly.
1669
1670         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1671
1672 2004-04-07  André Pönitz  <poenitz@gmx.net>
1673
1674         * cursor.[Ch] (selClear, adjust): remove math
1675
1676         * cursor_slice.C: more agressive assert
1677
1678         * lyxfunc.C:
1679         * BufferView_pimpl.C: rework mouse event dispatch
1680
1681         * dociterator.C:
1682         * paragraph.C:
1683         * text2.C:
1684         * text3.C: adjust
1685
1686 2004-04-05  André Pönitz  <poenitz@gmx.net>
1687
1688         * cursor.[Ch] (valign, halign...): remove unneeded functions
1689
1690 2004-04-05  Angus Leeming  <leeming@lyx.org>
1691
1692         * lyxlength.[Ch] (unit_name et al.): const-correct.
1693
1694 2004-04-05  Angus Leeming  <leeming@lyx.org>
1695
1696         * BufferView_pimpl.C:
1697         * buffer.C:
1698         * counters.C:
1699         * cursor.C:
1700         * lyxfunc.C
1701         * paragraph.C:
1702         * pariterator.C:
1703         * text.C:
1704         * text2.C:
1705         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1706
1707 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1710
1711 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1714         * BufferView_pimpl.[Ch] (getStatus)
1715         * BufferView.[Ch] (getStatus): add
1716         * lyxfunc.C (getStatus): move lfuns handled in
1717         BufferView::dispatch to te function above
1718         * Cursor.C (setSelection): set selection() = true
1719
1720 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1723
1724 2004-03-31  Angus Leeming  <leeming@lyx.org>
1725
1726         * lyxfunc.C (dispatch): Fall through to the generic
1727         Dialogs::show("preamble").
1728
1729 2004-03-31  Angus Leeming  <leeming@lyx.org>
1730
1731         * lyxfunc.C (dispatch): Fall through to the generic
1732         Dialogs::show("spellchecker").
1733
1734 2004-03-31  Angus Leeming  <leeming@lyx.org>
1735
1736         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1737         preferences dialog.
1738
1739 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * BufferView.C
1742         * cursor.[Ch]
1743         * dociterator.[Ch]:
1744         * insetiterator.[Ch]:
1745         * lyxfind.C:
1746         * lyxfunc.C:
1747         * pariterator.[Ch]:
1748         * text2.C:
1749         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1750
1751 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1752
1753         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1754         insets where we are putting the cursor.
1755
1756 2004-03-31  Angus Leeming  <leeming@lyx.org>
1757
1758         * lfuns.h:
1759         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1760
1761         * lyxrc.[Ch] (read, write): overloaded member functions taking
1762         a std::[io]stream arguments.
1763
1764         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1765
1766 2004-03-31  Angus Leeming  <leeming@lyx.org>
1767
1768         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1769         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1770
1771         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1772         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1773
1774 2004-03-31  Angus Leeming  <leeming@lyx.org>
1775
1776         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1777         the LFUN_ALL_INSETS_TOGGLE code.
1778
1779 2004-03-30  Angus Leeming  <leeming@lyx.org>
1780
1781         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1782         has died. Fall through to the generic Dialogs::show("document").
1783
1784 2004-03-30  Angus Leeming  <leeming@lyx.org>
1785
1786         * lfuns.h:
1787         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1788         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1789
1790         * lyxfunc.C (getStatus, dispatch): define the actions for these
1791         lfuns. Little more than a cut and pste job from ControlDocument.C
1792
1793         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1794
1795 2004-03-30  Angus Leeming  <leeming@lyx.org>
1796
1797         * lfuns.h:
1798         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1799         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1800
1801         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1802         open/closed state of ollapsable insets. Usage:
1803
1804         all-inset-toggle <state> <name>, where
1805         <state> == "open" || "closed" || "toggle" and
1806         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1807
1808         * lyxtext.h, text2.C (toggleInset): removed.
1809
1810         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1811         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1812         now passes LFUN_INSET_TOGGLE to the found inset.
1813
1814         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1815         is now invoked as "all-insets-toggle toggle branch".
1816
1817 2004-03-30  Angus Leeming  <leeming@lyx.org>
1818
1819         * dociterator.C:
1820         * insetiterator.C:
1821         * pariterator.[Ch]: added/corrected header blurb.
1822
1823 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * dociterator.[Ch]: add an inset_ member
1826         (backwardPos): implemented
1827         (backwardPos, forwardPos): use inset_ when the stack is empty.
1828         (doc_iterator_begin, doc_iterator_end): implemented
1829         * pariterator.[Ch]: adjust, add begin, end
1830         * insetiterator.[Ch]: adjust, add begin, end
1831         * cursor.C:
1832         * document.C:
1833         * BufferView.C:
1834         * BufferView_pimpl.C:
1835         * CutAndPaste.C: adjust
1836
1837 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1838
1839         * buffer.C: increment file format to 232.
1840         * LaTeXFeatures.C: add bibtopic package.
1841         * bufferparams.[Ch]: param \use_bibtopic.
1842
1843         * lyxrc.[Ch]: add lyxrc bibtex_command
1844         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1845
1846         * buffer.C: increment file format to 231.
1847
1848 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * dociterator.C: implement forwardPar
1851         * iterators.[Ch]: remove, replaced by
1852         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1853         * BufferView.C:
1854         * BufferView_pimpl.C:
1855         * CutAndPaste.C:
1856         * buffer.C:
1857         * bufferview_funcs.C:
1858         * cursor.C:
1859         * lyxfind.C
1860         * lyxfunc.C
1861         * paragraph_funcs.C
1862         * toc.C:
1863         * Makefile.am: adjust
1864
1865 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1866
1867         * CutAndPaste.C (pasteSelection): fix 2 crashes
1868         (eraseSelection): fix a crash
1869         * paragraph_funcs.C: remove a warning
1870
1871 2004-03-28  Angus Leeming  <leeming@lyx.org>
1872
1873         * lfuns.h:
1874         * LyXAction.C (init): new LFUN_PRINT.
1875
1876         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1877
1878 2004-03-27  Angus Leeming  <leeming@lyx.org>
1879
1880         * lfuns.h:
1881         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1882
1883         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1884
1885 2004-03-27  Angus Leeming  <leeming@lyx.org>
1886
1887         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1888         insetlist always contains non-null pointers to insets.
1889
1890 2004-03-26  Angus Leeming  <leeming@lyx.org>
1891
1892         * src/BufferView_pimpl.C:
1893         * src/CutAndPaste.C:
1894         * src/buffer.C:
1895         * src/iterators.C:
1896         * src/output_plaintext.C:
1897         * src/outputparams.h:
1898         * src/paragraph_funcs.C:
1899         * src/rowpainter.C:
1900         * src/text.C:
1901         * src/text2.C:
1902         * src/frontends/controllers/ControlErrorList.C:
1903         * src/frontends/gtk/FileDialogPrivate.C:
1904         * src/frontends/gtk/GPainter.C:
1905         * src/frontends/gtk/GToolbar.C:
1906         * src/frontends/qt2/QRef.C:
1907         * src/mathed/math_scriptinset.C: squash compiler warnings.
1908
1909 2004-03-26  Angus Leeming  <leeming@lyx.org>
1910
1911         * ispell.C (LaunchIspell::start):
1912         * lyx_cb.C (AutoSaveBuffer::start):
1913         invoke run(DontWait) rather than runNonBlocking().
1914
1915 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1916
1917         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1918
1919 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1920
1921         * kbsequence.C (print): adjust
1922
1923         * kbmap.C (printKeySym): rename and change signature
1924         (printKey): use LyXKeySym::print()
1925
1926 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1927
1928         * undo.C: add using std::advance to compile for stlport
1929
1930 2004-03-24  Angus Leeming  <leeming@lyx.org>
1931
1932         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1933         it leads to a crash when no buffer is present.
1934
1935 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936             Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * lyxfunc.C (dispatch):
1939         * bufferparams.C (readToken): use the new LColor::setColor
1940
1941         * LColor.[Ch] (setColor): new version that takes two strings as
1942         argument and creates a new color entry if necessary
1943
1944 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1945
1946         * buffer.C (makeLaTeXFile): if the main latex file that is
1947         processed is usually a subdocument of some master, then pretend
1948         for a while that it is actually the master
1949
1950 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1951
1952         * buffer.C (getLabelList):
1953         (getBibkeyList): use getMasterBuffer()
1954         (getMasterBuffer): new method. Returns the main document in the
1955         case where one is using included documents.
1956
1957 2004-03-25  André Pönitz  <poenitz@gmx.net>
1958
1959         * Makefile.am:
1960         * iterators.[Ch]:
1961         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1962
1963         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1964
1965         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1966         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1967
1968         * ParameterStruct.h: merge with ParagraphParameters
1969
1970         * lyxtext.h: remove LyXText::parOffset() and getPar()
1971
1972         * text3.C: Remove all 'manual' update calls. We do now one per user
1973         interaction which is completely sufficient.
1974
1975         * Bidi.C:
1976         * BufferView.[Ch]:
1977         * BufferView_pimpl.C:
1978         * FontIterator.[Ch]:
1979         * MenuBackend.C:
1980         * ParagraphParameters.[Ch]:
1981         * buffer.C:
1982         * buffer.h:
1983         * bufferlist.C:
1984         * cursor.[Ch]:
1985         * cursor_slice.[Ch]:
1986         * dociterator.[Ch]:
1987         * errorlist.[Ch]:
1988         * factory.C:
1989         * lfuns.h:
1990         * lyxfind.C:
1991         * lyxfunc.C:
1992         * output_docbook.[Ch]:
1993         * output_latex.[Ch]:
1994         * output_linuxdoc.[Ch]:
1995         * output_plaintext.[Ch]:
1996         * paragraph.[Ch]:
1997         * paragraph_funcs.[Ch]:
1998         * paragraph_pimpl.[Ch]:
1999         * rowpainter.C:
2000         * tabular.[Ch]:
2001         * text.C:
2002         * text2.C:
2003         * toc.C:
2004         * undo.[Ch]: adjust
2005
2006         * frontends/controllers/ControlDocument.C:
2007         * frontends/controllers/ControlErrorList.C:
2008         * frontends/controllers/ControlSpellchecker.C:
2009         * insets/inset.C:
2010         * insets/inset.h:
2011         * insets/insetbase.h:
2012         * insets/insetbibitem.C:
2013         * insets/insetbox.C:
2014         * insets/insetbranch.C:
2015         * insets/insetcaption.C:
2016         * insets/insetcharstyle.C:
2017         * insets/insetcharstyle.h:
2018         * insets/insetcollapsable.C:
2019         * insets/insetcollapsable.h:
2020         * insets/insetert.C:
2021         * insets/insetfloat.C:
2022         * insets/insetfoot.C:
2023         * insets/insetmarginal.C:
2024         * insets/insetnote.C:
2025         * insets/insetoptarg.C:
2026         * insets/insettabular.C:
2027         * insets/insettext.C:
2028         * insets/insettext.h:
2029         * insets/insetwrap.C:
2030         * mathed/math_mboxinset.C:
2031         * mathed/math_nestinset.C:
2032         * mathed/math_scriptinset.C:
2033         * mathed/math_scriptinset.h:
2034         * support/types.h:
2035
2036 2004-03-24  Angus Leeming  <leeming@lyx.org>
2037
2038         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2039         deal with any child processes that have finished but are waiting to
2040         communicate this fact to the rest of LyX.
2041
2042 2004-03-24  Angus Leeming  <leeming@lyx.org>
2043
2044         64-bit compile fixes.
2045
2046         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2047         (c-tor): pass lyx::pos_types rather than ints.
2048
2049         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2050         lyx::pos_type.
2051
2052         * text.C (Delete): compile fix.
2053         (getPar): ensure that function declaration is the same as that in
2054         the header file.
2055
2056 2004-03-23  Angus Leeming  <leeming@lyx.org>
2057
2058         * ispell.C (LaunchIspell):
2059         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2060         a boost::shred_ptr rather than a std::auto_ptr.
2061
2062 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2063
2064         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2065         handle LFUN_FILE_INSERT_*
2066
2067         * lyxrc.C (setDefaults, getDescription, output, read):
2068         * lyxrc.h: remove ps_command
2069
2070 2004-03-22  Angus Leeming  <leeming@lyx.org>
2071
2072         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2073         Ensure that error_handler is processed once only and that all data
2074         is saved before attempting to output any warning messages.
2075
2076         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2077
2078 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2081
2082 2004-03-19  André Pönitz  <poenitz@gmx.net>
2083
2084         * cursor.[Ch] (reset): take main text inset as argument
2085
2086         * BufferView: adjust
2087         * BufferView_pimpl.C: adjust
2088
2089         * paragraph.[Ch]: fix completely broken operator=()
2090
2091 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * LColor.C (getFromLyXName): make sure that the color name is used
2094         as lowercase.
2095
2096 2004-03-17  Angus Leeming  <leeming@lyx.org>
2097
2098         * lfuns.h:
2099         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2100
2101         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2102         dialog and to kill a forked process.
2103
2104 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * text2.C (setCursorFromCoordinates): fix font problem
2107
2108 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2111         bogus "rebuild cursor" code
2112
2113 2004-03-11  André Pönitz  <poenitz@gmx.net>
2114
2115         * buffer.[Ch]: use InsetText instead of LyXText as container for
2116         the main lyx text.
2117
2118         * dociterator.[Ch]: drop the BufferView * member which is not needed
2119         anymore after the change to buffer.C
2120
2121         * paragraph_funcs.C:
2122         * text.C:
2123         * text2.C:
2124         * BufferView.[Ch]:
2125         * BufferView_pimpl.[Ch]:
2126         * cursor.[Ch]:
2127         * cursor_slice.[Ch]: adjust
2128
2129         * text3.C: fix bug in mathDispatch
2130
2131 2004-03-08  André Pönitz  <poenitz@gmx.net>
2132
2133         * undo.[Ch]: use 'StableDocumentIterator' as base for
2134         the Undo struct.
2135
2136 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2137
2138         * LaTeXFeatures.C:
2139         * bufferparams.[Ch]: add jurabib support and param.
2140
2141         * LaTeX.C: add FIXME/comment.
2142
2143 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2144
2145         * buffer.C: increment file format to 230.
2146
2147 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * cursor.C (dispatch): avoid infinite loops
2150
2151 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * rowpainter.C (paintSelection): fix x coordinates
2154
2155 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * text.C (rowBreakPoint): fix breaking before displayed insets
2158
2159 2004-03-01  André Pönitz  <poenitz@gmx.net>
2160
2161         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2162
2163         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2164
2165         * Makefile.am:
2166         * BufferView.C:
2167         * BufferView_pimpl.C:
2168         * buffer.C:
2169         * lyxfind.C:
2170         * lyxfunc.C:
2171         * text.C:
2172         * text2.C:
2173         * text3.C: adjust
2174
2175 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2176
2177         * lyxtext.h:
2178         * text.C:
2179         * text2.C:
2180         * rowpainter.C:
2181         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2182         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2183
2184 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * Bidi.[Ch] (computeTables): const correctness
2187         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2188         fill_hfill, fill_label_hfill and x from Row
2189         * lyxtext.h: prepareToPrint returns a RowMetrics
2190         * rowPainter.C: adjust
2191         * text.C (prepareToPrint): use width, not textWidth. adjust
2192         (redoParagraphInternal, cursorX): adjust
2193         * text2.C (getColumnNearX): adjust
2194         (init): put a default value to the top LyXText::width
2195
2196 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2199
2200 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2201
2202         * lyxtext.h: add FontIterator class
2203
2204         * text.C (FontIterator, operator*, operator->, operator++): add
2205         (rowBreakPoint, setRowWidth): adjust (fixing a
2206         rebreaking bug)
2207
2208 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2209
2210         * BufferView_pimpl.C (workAreaDispatch): allow also
2211         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2212
2213 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * text.C (rowBreakPoint): fix a bug showing with very large insets
2216
2217 2004-02-25  André Pönitz  <poenitz@gmx.net>
2218
2219         * text3.C:
2220         * cursor.[Ch]: move some mathed specific code to mathed
2221
2222 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2223
2224         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2225         use_tempdir in preferences
2226         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2227         tempfile creation
2228         * lyx_main.C: ensure that tempdir is valid
2229         * lyxlex.h: correct typo
2230         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2231         * paragraph.[Ch] (isMultiLingual): make const
2232         * cursor.[Ch] (openable): make const
2233
2234 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2235
2236         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2237
2238 2004-02-20  André Pönitz  <poenitz@gmx.net>
2239
2240         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2241
2242         * cursor.[Ch]: prepare for localized getStatus()
2243
2244         * lyxtext.h:
2245         * tabular.C:
2246         * text.C:
2247         * text2.C:
2248         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2249
2250 2004-02-20  André Pönitz  <poenitz@gmx.net>
2251
2252         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2253
2254 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * text2.C (setCursorFromCoordinates): switch to absolute coords
2257         (cursorUp): adjust
2258         (cursorDown): adjust
2259         * text3.C (dispatch): adjust
2260
2261 2004-02-16  André Pönitz  <poenitz@gmx.net>
2262
2263         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2264           insets/ChangeLog)
2265
2266         * cursor_slice.[Ch]: remove unneeded acessor function
2267
2268         * lyxtext.h: rename rtl() to isRTL()
2269
2270         * rowpainter.C:
2271         * tabular.C:
2272         * text.C:
2273         * text2.C:
2274         * text3.C: adjust
2275
2276 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * rowpainter.C (paintSelection): coord fix
2279
2280 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281
2282         * Spacing.C: compile fix
2283
2284 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * cursor.C (dispatch): restore current_ before returning
2287
2288 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * text2.C (cursorUp, cursorDown): fix coords
2291         (moveUp): fix crash
2292
2293 2004-02-12  André Pönitz  <poenitz@gmx.net>
2294
2295         * lyxtext.h:
2296         * text.C:
2297         * text2.C:
2298         * text3.C: add LCursor & parameter to most cursor movement functions
2299           remove usage of LyXText::cursorRow() and cursorPar()
2300
2301         * cursor.[Ch]: add textRow() needed members
2302
2303         * BufferView.C:
2304         * BufferView_pimpl.C:
2305         * paragraph.[Ch]:
2306         * BufferView.C:
2307         * BufferView_pimpl.C: adjust
2308
2309 2004-02-11  André Pönitz  <poenitz@gmx.net>
2310
2311         * lyxfunc.C:
2312         * BufferView.[Ch]:
2313         * BufferView_pimpl.C: shift undo/redo handling
2314
2315         * cursor.[Ch]: fix mathed crash
2316
2317         * lyxfind.C:
2318         * lyxtext.h: move selectionAsText to LCursor
2319
2320         * output_latex.C:
2321         * paragraph.C:
2322         * text.C:
2323         * text2.C:
2324         * text3.C: adjust
2325
2326         * rowpainter.C: fix excessive drawing
2327
2328 2004-02-06  André Pönitz  <poenitz@gmx.net>
2329
2330         * BufferView.[Ch]:
2331         * BufferView_pimpl.[Ch]:
2332         * text3.C: move some text specific LFUN handling
2333
2334 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * text3.C (checkInsetHit): adjust coords
2337         * text2.C (getColumnNearX): adjust coords
2338         (edit): adjust coords
2339         * text.C (getRowNearY): add two asserts
2340
2341 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * converter.C:
2344         * format.C: add using std::distance to compile on gcc 2.95/stlport
2345
2346 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2347
2348         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2349
2350 2004-02-04  André Pönitz  <poenitz@gmx.net>
2351
2352         * BufferView.[Ch] (insertInset):
2353         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2354
2355         * text2.C:
2356         * text3.C: adjust
2357
2358 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2359
2360         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2361         on the default clause of the switch
2362         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2363         wasn't catched by LCursor::dispatch
2364
2365 2004-02-03  André Pönitz  <poenitz@gmx.net>
2366
2367         * BufferView.C:
2368         * cursor.[Ch]: some additional asserts
2369
2370         * undo.[Ch]: remove LyXText dependency in interface
2371
2372         * lyxfunc.C: adjust
2373
2374         * lyxtext.h (firstPar, lastPar): remove dead functions
2375
2376         * text.C:
2377         * text2.C:
2378         * text3.C:
2379         * paragraph.[Ch]: adjust
2380
2381 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * lyxfind.C (find): fix argument order in call to ::find
2384
2385 2004-02-02  André Pönitz  <poenitz@gmx.net>
2386
2387         * cursor.[Ch]: remove direct access to anchor
2388
2389         * text.C: remove findText() hack
2390
2391 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2392
2393         * iterators.[Ch] (lockPath): remove in favour of...
2394         * BufferView.[Ch] (setCursor): this addition
2395         * BufferView.C (putSelectionAt): adjust
2396         * undo.C (performUndoOrRedo): adjust
2397         * lyxfunc.C (dispatch): adjust
2398
2399 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2400
2401         * iterators.C (lockPath): add a missing slice
2402         * undo.C (performUndoOrRedo): remove redundant positioning code
2403
2404 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2405
2406         * vc-backend.C (scanMaster): ";" -> ';'
2407
2408 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2409
2410         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2411         std::binary_function
2412
2413         * lyxtextclass.C (compare_name): rename to...
2414         (LayoutNamesEqual): ...this
2415
2416         * lyxlex_pimpl.C (compare_tags): inherit from
2417         std::binary_function, put back into anon namespace
2418
2419         * lyxfind.C (MatchString): inherig from std::binary_function
2420         (findChange): use empty() istead of !size()
2421
2422         * format.C (FormatNamesEqual): new functor
2423         (getFormat): use it
2424         (getNumber): use it
2425         (add): use it
2426         (erase): use it
2427         (setViewer): use it
2428
2429         * converter.C (compare_Converter): rename to...
2430         (ConverterEqual): ...this, and fixup a bit.
2431         (getConverter): use it, and make function const
2432         (getNumber): use it, and make function const
2433         (add): use it
2434         (erase): use it:
2435
2436         * bufferlist.C: add using boost::bind
2437
2438         * MenuBackend.C (MenuNamesEqual): new functor
2439         (hasMenu): use it, and make function const
2440         (hasSubmenu): use nested bind to get rid of compare_memfun.
2441
2442 2004-01-30  André Pönitz  <poenitz@gmx.net>
2443
2444         * BufferView_pimpl.C:
2445         * cursor.C:
2446         * cursor.h:
2447         * cursor_slice.[Ch]:
2448         * lyxfunc.C:
2449         * lyxtext.h:
2450         * paragraph_funcs.C:
2451         * paragraph_funcs.h:
2452         * rowpainter.C:
2453         * text.C:
2454         * text2.C:
2455         * text3.C: move some of the edit(x,y) handling to the insets
2456         some coordinate changes.
2457
2458 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2459
2460         * text.C: add using statements for std::advance and std::distance
2461
2462         * paragraph.C: add using statement for std::distance
2463
2464         * lyxfind.C: add using statement for std::advance
2465
2466         * cursor.C (region): remove std:: from swap
2467         (openable): use nucleus in stead of operator->
2468
2469         * BufferView.C: add using statements for std::distance and std::swap
2470
2471 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2472
2473         * iterators.C: Remove the pimple, move the needed structures to
2474         the header file. Create accessor for the positions stack.
2475         (asPosIterator): remove function
2476
2477         * PosIterator.C (PosIterator): move constructors to top of file
2478         (PosIterator): reimplement the constructor taking a ParIterator in
2479         terms of setFrom.
2480         (setFrom): new function
2481         (operator!=): inline it
2482
2483 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2484
2485         * lyxfind.C (replaceAll): use std::advance
2486
2487         * iterators.h: inherit from std::iterator.
2488
2489         * PosIterator.C (advance, distance): remove
2490         * PosIterator.h: interit from std::iterator.
2491
2492 2004-01-26  André Pönitz  <poenitz@gmx.net>
2493
2494         * BufferView.[Ch]:
2495         * BufferView_pimpl.[Ch]:
2496         * InsetList.[Ch]:
2497         * PosIterator.[Ch]:
2498         * buffer.h:
2499         * bufferview_funcs.C:
2500         * cursor.[Ch]:
2501         * cursor_slice.h:
2502         * factory.[Ch]:
2503         * iterators.[Ch]:
2504         * lyxfind.C:
2505         * lyxfunc.C:
2506         * lyxtext.h:
2507         * output_docbook.C:
2508         * output_latex.C:
2509         * output_linuxdoc.C:
2510         * output_plaintext.C:
2511         * paragraph.[Ch]:
2512         * paragraph_funcs.[Ch]:
2513         * paragraph_pimpl.[Ch]:
2514         * rowpainter.C:
2515         * tabular.C:
2516         * tabular.h:
2517         * text.C:
2518         * text2.C:
2519         * text3.C: more IU:  dumps most of the rest of the mathcursor
2520     implementation into cursor.[Ch]; "globalize" a bit of it.
2521
2522 2004-01-25  Angus Leeming  <leeming@lyx.org>
2523
2524         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2525
2526 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2527
2528         * LaTeXFeatures.h: add nice_ and nice() const
2529         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2530
2531 2004-01-20  André Pönitz  <poenitz@gmx.net>
2532
2533         * BufferView.[Ch]:
2534         * BufferView_pimpl.C:
2535         * PosIterator.C:
2536         * bufferview_funcs.C:
2537         * cursor.[Ch]:
2538         * cursor_slice.[Ch]:
2539         * factory.C:
2540         * iterators.C:
2541         * lyx_cb.C:
2542         * lyxfind.C:
2543         * lyxfunc.C:
2544         * lyxtext.h:
2545         * rowpainter.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C:
2549         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2550           LCursor and mathcursor parts to LCursor and InsetBase.
2551
2552 2004-01-15  André Pönitz  <poenitz@gmx.net>
2553
2554         * cursor_slice.[Ch]: add a few covienience functions
2555
2556         * funcrequest.[Ch]: remove BufferView * member
2557
2558         * BufferView_pimpl.C:
2559         * cursor.C:
2560         * factory.[Ch]:
2561         * lyxfind.[Ch]:
2562         * lyxfunc.C:
2563         * lyxtext.h:
2564         * text3.C:
2565         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2566
2567 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2568
2569         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2570         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2571
2572 2004-01-13  André Pönitz  <poenitz@gmx.net>
2573
2574         * textcursor.[Ch]:
2575         * lyxtext.h: hide cursor and selection anchor behind accessor function
2576
2577         * BufferView.C:
2578         * BufferView_pimpl.[Ch]:
2579         * PosIterator.C:
2580         * bufferview_funcs.C:
2581         * cursor.h:
2582         * lyxfind.C:
2583         * lyxfunc.C:
2584         * text.C:
2585         * text2.C:
2586         * text3.C:
2587         * undo.C: adjust
2588
2589         * cursor.h:
2590         * cursor_slice.[Ch]: some integer type changes for inset unification
2591
2592         * lyxcursor.[hC]: remove, it's CursorSlice now.
2593
2594         * Makefile.am:
2595         * BufferView_pimpl.[Ch]:
2596         * bufferview_funcs.C:
2597         * cursor_slice.C:
2598         * lyxtext.h:
2599         * text.C:
2600         * text2.C:
2601         * text3.C:
2602         * textcursor.[Ch]: adjust
2603
2604 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2605
2606         * text2.C (undoSpan): add and use
2607         * text.C (breakParagraph): use undoSpan (fix bug 578)
2608         * lyxtext.h: adjust
2609
2610 2004-01-08  Angus Leeming  <leeming@lyx.org>
2611
2612         * BufferView_pimpl.C (MenuInsertLyXFile):
2613         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2614         * lyxfunc.C (menuNew, open, doImport):
2615         FileFilterList change to the FileDialog open and save functions.
2616
2617 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2618
2619         * ShareContainer.h: make isEqual and isUnique adaptable
2620
2621         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2622
2623 2004-01-07  Angus Leeming  <leeming@lyx.org>
2624
2625         * LyXAction.C:
2626         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2627
2628         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2629
2630         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2631         functions replacing find, replace and replaceAll.
2632
2633         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2634         LFUN_WORDFIND(FORWARD|BACKWARD).
2635
2636 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * text.C (breakParagraph): remove an outdated #warning
2639
2640 2004-01-07  André Pönitz  <poenitz@gmx.net>
2641
2642         * lyxfind.C: somewhat clearer logic
2643
2644         * text.C: prevent crash in cursorX on unitialized row cache
2645
2646 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2647
2648         * lyxcursor.[Ch] (operator>): add
2649         * textcursor.C (selStart, selEnd): use std::min and std::max
2650
2651 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2652
2653         * Chktex.C: include boost/format.hpp
2654
2655 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2656
2657         * InsetList.C: replace functor MathcIt with adaptable functor
2658         InsetTablePosLess
2659         (insetIterator): modify accordingly
2660
2661         * BranchList.h: move the BranchNamesEqual functor here from...
2662         * BranchList.C: ... to here
2663
2664         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2665         SameName and match.
2666         (add): replace a finding loop with std::find_if.
2667
2668 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2669
2670         * output_docbook.C: moving LatexParam functionality into
2671         .layout files
2672
2673 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2674
2675         * buffer.C: increment format to 229.
2676
2677 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2678
2679         * LaTeXFeatures.C:
2680         * lyx_sty.[Ch]: remove minipageindent_def
2681
2682         * LyXAction.C:
2683         * factory.C:
2684         * lfuns.h:
2685         * lyxfunc.C:
2686         * text3.C: remove LFUN_INSET_MINIPAGE
2687
2688 2003-12-28  Angus Leeming  <leeming@lyx.org>
2689
2690         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2691
2692 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * text2.C (setParagraph): fix off-by-one crash
2695
2696 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2697
2698         * output_docbook.C: header stuff for AGU
2699
2700 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * text2.C (redoCursor): remove
2703         * text.C:
2704         * text3.C:
2705         * BufferView_pimpl.C: remove calls to redoCursor and
2706         setCursor(cursor.par(), cursor.pos()) all around
2707
2708 2003-12-15  Angus Leeming  <leeming@lyx.org>
2709
2710         * buffer.C: up the format to 228.
2711
2712 2003-12-15  André Pönitz  <poenitz@gmx.net>
2713
2714         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2715         slices
2716
2717         * Makefile.am:
2718
2719         * BufferView_pimpl.C:
2720         * cursor.[Ch]:
2721         * lyxcursor.[Ch]:
2722         * rowpainter.[Ch]:
2723         * lyxtext.h:
2724         * text.C:
2725         * text2.C:
2726         * text3.C: adjust
2727
2728 2003-12-15  Angus Leeming  <leeming@lyx.org>
2729
2730         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2731         than getFromGUIName to manipulate the color.
2732
2733 2003-12-14  Angus Leeming  <leeming@lyx.org>
2734
2735         * BranchList.[Ch]: minimize the API.
2736         (Branch::getBranch, getColor): now return a 'const &'.
2737         (Branch::setSelected) now returns a bool set to true if the
2738         selection status changes.
2739         (BranchList::clear, size, getColor, setColor, setSelected,
2740         allBranches, allSelected, separator): removed.
2741         (BranchList::find): new functions, returning the Branch with
2742         the given name.
2743         (BranchList::add, remove): return a bool indicating that
2744         the operation was successful.
2745
2746         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2747         new InsetBranch::isBranchSlected member function.
2748
2749         * LColor.[Ch]: mimimize the API.
2750         (fill): renamed as addColor and made private.
2751         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2752         versions of these functions taking a string arg have been removed.
2753
2754         * bufferparams.C (readToken):
2755         * lyxfunc.C (dispatch):
2756         * lyxrc.C (read): changes due to the altered BranchList and
2757         LColor APIs.
2758
2759         * factory.C (createInset, readInset): changes due to altered
2760         InsetBranch c-tor.
2761
2762 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2763
2764         * factory.C:
2765         * lyxfunc.C: remove insetminipage. "minipage-insert"
2766         now produces a frameless minipage box inset.
2767
2768 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2769
2770         * textcursor.[Ch] (selStart,selEnd): add new methods
2771         remove selection::start, end, use LyXCursor::operator<
2772         * lyxcursor.[Ch] (operator<): add
2773         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2774         * BufferView.[Ch] (unsetXSel): add
2775         * text2.C (clearSelection): use unsetXSel,adjust
2776         * text.C: adjust
2777         * text3.C: adjust
2778         * rowpainter.C: adjust
2779         * bufferview_funcs.C (put_selection_at): adjust
2780
2781 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2782
2783         * BufferView_pimpl.C: small coord. correction
2784
2785 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2786
2787         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2788         dragging over the splash screen.
2789
2790 2003-12-11  Angus Leeming  <leeming@lyx.org>
2791
2792         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2793         as it is now handled in LyXText::dispatch.
2794
2795         * text3.C (doInsertInset): remove a level of nesting.
2796
2797 2003-12-11  Angus Leeming  <leeming@lyx.org>
2798
2799         * factory.C (createInset): changes due to the changed interface to
2800         InsetCommandMailer::string2params.
2801
2802 2003-12-10  Angus Leeming  <leeming@lyx.org>
2803
2804         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2805         'dialog-show-new-inset <inset name>'
2806
2807 2003-12-10  Angus Leeming  <leeming@lyx.org>
2808
2809         * buffer.C: up the format to 227.
2810
2811         * factory.C: the box inset is now identified simply by 'Box'.
2812
2813 2003-12-10  Angus Leeming  <leeming@lyx.org>
2814
2815         * buffer.C: up the format to 226.
2816
2817         * factory.C: the note inset is now identified simply by 'Note'.
2818
2819 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2822         when a pit is enough. Standarize a couple of loops.
2823
2824 2003-12-05  Angus Leeming  <leeming@lyx.org>
2825
2826         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2827         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2828         data to the re-worked "log" dialog.
2829
2830 2003-12-03  André Pönitz  <poenitz@gmx.net>
2831
2832         * PosIterator.C:
2833         * iterators.C:
2834         * lyxtext.h:
2835         * output_latex.C:
2836         * paragraph_funcs.C:
2837         * text.C:
2838         * text2.C: use Inset::getText instead of Inset::getParagraph
2839
2840 2003-12-03  André Pönitz  <poenitz@gmx.net>
2841
2842         * buffer.[Ch]:
2843         * lyxtext.h:
2844         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2845         InsetText::read() as LyXText::read()
2846
2847 2003-12-02  Angus Leeming  <leeming@lyx.org>
2848
2849         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2850         type. Add a comment in the implementation that the function uses
2851         the stream's bad() function rather than fail() as the std::streams
2852         would do.
2853
2854 2003-12-02  André Pönitz  <poenitz@gmx.net>
2855
2856         * lyxlex.[Ch]: make interface more similar to std::stream
2857
2858         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2859
2860 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2863
2864 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2865
2866         * vspace.[Ch]: remove VSpace::NONE
2867
2868 2003-12-01  André Pönitz  <poenitz@gmx.net>
2869
2870         * buffer.[Ch]:
2871         * lyxtext.h: move ParagraphList member to LyXText
2872         rename LyXText::ownerParagraphs to LyXText::paragraph
2873
2874         * CutAndPaste.C:
2875         * bufferview_funcs.C:
2876         * iterators.[Ch]:
2877         * lyx_cb.C:
2878         * paragraph.C:
2879         * rowpainter.C:
2880         * tabular.C:
2881         * text.C:
2882         * text2.C:
2883         * text3.C: adjust
2884
2885         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2886
2887         * undo.C: fix cursor positioning
2888
2889 2003-12-01  John Levon  <levon@movementarian.org>
2890
2891         * BufferView_pimpl.C: fix a crash on exit with
2892         a buffer open
2893
2894 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * BranchList.C: fix setSelected() method.
2897
2898 2003-11-28  André Pönitz  <poenitz@gmx.net>
2899
2900         * ParagraphParameters.[Ch]:
2901         * ParameterStruct.h: remove space above/below from Paragraph to
2902          InsetVSpace
2903
2904         * BufferView_pimpl.C:
2905         * factory.C:
2906         * lyxfunc.C:
2907         * lyxtext.h:
2908         * output_latex.C:
2909         * paragraph.C:
2910         * paragraph_funcs.C:
2911         * rowpainter.[Ch]:
2912         * text.C:
2913         * text2.C:
2914         * text3.C: adjust
2915
2916 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2917
2918         * factory.C: Syntax change for CharStyles
2919
2920 2003-11-28  André Pönitz  <poenitz@gmx.net>
2921
2922         * BufferView.[Ch]:
2923         * BufferView.[Ch]:
2924         * buffer.[Ch]:
2925         * buffer.[Ch]: move LyXText member
2926
2927 2003-11-28  André Pönitz  <poenitz@gmx.net>
2928
2929         * BufferView.[Ch]: make LyXText * text a private member
2930
2931         * BufferView_pimpl.C:
2932         * cursor.C:
2933         * iterators.C:
2934         * lyx_cb.C:
2935         * lyxfind.C:
2936         * lyxtext.h:
2937         * rowpainter.[Ch]:
2938         * text.C:
2939         * text2.C:
2940         * undo.C: adjust
2941
2942         * output_plaintext.C: cleanup
2943
2944 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * buffer.C:
2947         * lyxtextclass.[Ch]: parametrize SGML document header
2948
2949 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2950
2951         * converter.[Ch]:
2952         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2953         getFlavor().
2954
2955 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * text2.C (setFont): rework using PosIterator (no more recursive)
2958         (setCharFont): no more needed
2959         (setLayout): no more selection cursors fiddling (done by redoCursor)
2960         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2961         destroy remaining ones)
2962
2963 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2966         * lyxtext.h: ditto
2967         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2968         selection cursors
2969         * lyxfunc.C: adjust
2970         * text3.C: adjust + re-allow multi par depth changes
2971         * textcursor.C: simplify a bit
2972
2973 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2974
2975         * src/buffer.C:
2976         * src/lyxlayout.C:
2977         * src/lyxlayout.h:
2978         * src/lyxtext.h:
2979         * src/output_docbook.C:
2980         * src/output_latex.C:
2981         * src/paragraph.C:
2982         * src/paragraph.h:
2983         * src/sgml.C:
2984         * src/sgml.h:
2985         * src/text2.C: Introducing a number of tags parametrizing various
2986         XML formats that we may want to support
2987
2988 2003-11-25  André Pönitz  <poenitz@gmx.net>
2989
2990         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2991
2992         * lyxtext.h (leftMargin/rightMargin): simplify interface
2993
2994         * rowpainter.C:
2995         * text.C:
2996         * text2.C:
2997         * text3.C: adjust
2998
2999 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3000
3001         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3002         master file to any child files. Fixes bug 546.
3003
3004 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3007
3008 2003-11-24  André Pönitz  <poenitz@gmx.net>
3009
3010         * rowpainter.C: simplification
3011
3012         * text2.C (updateCounters): remove call to redoParagraph on
3013         changed labels as this is far too expensive.
3014
3015 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * converter.C (convert): fix a crash: this function gets
3018         called with buffer == 0 from importer code.
3019
3020 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3021
3022         * text3.C (cursorPrevious): make sure that we do not compare
3023         iterators form different containers.
3024         (cursorNext): ditto
3025
3026         * rowpainter.C (paintSelection): make sure that we do not compare
3027         iterators from different containers.
3028
3029         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3030         iterators from different ParagraphList containers.
3031         [NEXT] ditto
3032
3033         * text2.C (LyXText): change order of initialization slightly
3034         (operator=): new function. copy all variables except cache_par_
3035         (moveUp): make sure that we do not compare iterators from
3036         different ParagraphList constainers.
3037         (moveDown): ditto
3038
3039         * text.C (firstPar): new function
3040         (lastPar): new function
3041         (endPar): new function
3042
3043         * lyxtext.h: move things around and group public functions, public
3044         variables, private functions, private variables
3045
3046 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3047
3048         * factory.C: change call to InsetERT constructor to avoid
3049         additional invocation of method status
3050         * text2.C (toggleInset): remove redundant update() call
3051         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3052         instead of a Bufferview pointer
3053
3054 2003-11-21  André Pönitz  <poenitz@gmx.net>
3055
3056         * rowpainter.C: simplification
3057
3058 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3059
3060         * text3.C (dispatch): make possible to extend a word/row selection
3061         with the mouse
3062
3063 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3064
3065         * lyxtext.h: x0_,y0_ -> xo_,yo_
3066         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3067         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3068         * rowpainter.C (paintRows): paint full paragraphs
3069
3070 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3071
3072         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3073         screen coordinates)
3074
3075 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3076
3077         * lyxtext.h: add x0_, y0_
3078         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3079         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3080
3081 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3082
3083         * text2.C (setCursorIntern): move the x_target update here *
3084         * text3.C: change some bv() to true/false in calls to
3085         cursorUp/Down/Right/Left
3086         * cursor.C: use helper function.
3087
3088 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3091         * paragraph_funcs.[Ch]: correct comment
3092         * rowpainter.C: do not paint selections away from bv->cursor()
3093         Fix a long standing selection painting bug.
3094         * text3.C: generalize mouse-selection code to LyXTexts other that
3095         top one
3096         * textcursor.C: do not use y coords if we can use par offsets
3097
3098 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3099
3100         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3101         cursor position after e.g. inset insert)
3102
3103 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * lyxfind.C (replace): adjust to locking removal + some
3106         code simplification
3107
3108 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3109
3110         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3111         of the path
3112
3113 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3114
3115         * lyxlayout.[Ch]:
3116         * output_docbook.C: XML sanitation: new layout
3117         parameters InnerTag and CommandDepth
3118
3119 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3120
3121         * BufferView_pimpl.C:
3122         * factory.C:
3123         * text3.C: Fix the insertion and modification of button-style
3124         insets
3125
3126 2003-11-13  André Pönitz  <poenitz@gmx.net>
3127
3128         * InsetList.[Ch]: remove deleteLyXText
3129
3130         * paragraph.[Ch]: cache beginOfBody position
3131
3132         * Bidi.C:
3133         * text.C:
3134         * text2.C:
3135         * text3.C: remove superfluous update() calls
3136
3137         * vspace.C: cleanup
3138
3139 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3142         * BufferView.C (fitLockedInsetCursor): remove
3143         * cursor.[Ch] (getDim): add
3144         * text.C (getRowNearY): add faster version
3145         * text3.C: remove some update calls
3146
3147 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3148
3149         * LaTeXFeatures.C:
3150         * LyXAction.C:
3151         * MenuBackend.C:
3152         * MenuBackend.h:
3153         * dispatchresult.h:
3154         * factory.C:
3155         * lfuns.h:
3156         * lyxfunc.C:
3157         * lyxtextclass.C:
3158         * lyxtextclass.h:
3159         * text3.C: The Character Style /XML short element patch.
3160
3161 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3162
3163         * text3.C:
3164         * factory.C: Small step to solving 'unable to insert some insets'
3165         problem
3166
3167 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * cursor.[Ch] (updatePos): new function for updating the y
3170         position of the tip inset
3171         * bufferview_funcs.C (put_selection_at):
3172         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3173
3174 2003-11-11  André Pönitz  <poenitz@gmx.net>
3175
3176         * text.C: remove big comment on invalid Paragraph pointers as it is
3177         not valid anymore
3178
3179 2003-11-11  André Pönitz  <poenitz@gmx.net>
3180
3181         * text_funcs.[Ch]: merge with ...
3182
3183         * text.C: ... this
3184
3185         * lyxtext.h:
3186         * text2.C:
3187         * text3.C: adjust
3188
3189         * Makefile.am: remove text_funcs.[Ch]
3190
3191 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * cursor.C (getPos): return absolute cached y coord
3194
3195         * BufferView_pimpl.C (fitCursor): new simplistic code
3196         (workAreaDispatch): add a fitCursor call
3197
3198 2003-11-10  André Pönitz  <poenitz@gmx.net>
3199
3200         * BufferView.[Ch]:
3201         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3202
3203 2003-11-10  André Pönitz  <poenitz@gmx.net>
3204
3205         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3206         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3207         indicate that the cursor needs to leave an inset
3208
3209         * lyxtext.h: remove inset locking
3210
3211         * cursor.[Ch]: re-implement functionality provided by inset locking
3212
3213         * BufferView.[Ch]:
3214         * BufferView_pimpl.[Ch]:
3215         * LyXAction.C:
3216         * bufferview_funcs.[Ch]:
3217         * factory.C:
3218         * funcrequest.[Ch]:
3219         * iterators.C:
3220         * lyx_cb.C:
3221         * lyxfind.C:
3222         * lyxfunc.C:
3223         * text.C:
3224         * text2.C:
3225         * text3.C:
3226         * undo.C: adjust
3227
3228 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * PosIterator.[Ch]: replace the stack with a vector, add inset
3231         accesor
3232         * iterators.[C]: adjust
3233
3234 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3237         replaced
3238         * paragraph_funcs.C (readParToken): put the correct id in the
3239         error item, not the id of the top paragraph
3240
3241 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3242
3243         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3244         * bufferview_funcs.C (put_selection_at): use the above
3245
3246 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3249
3250 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3251
3252         * output_linuxdoc.h:
3253         * output_plaintext.h:
3254         * output.h:
3255         * output_docbook.h: add #include statements
3256
3257 2003-11-05  José Matos  <jamatos@lyx.org>
3258
3259         * output_docbook.[Ch]:
3260         * output_latex.[Ch]:
3261         * output_linuxdoc.[Ch]:
3262         * output_plaintext.[Ch]: New files for output formats.
3263         * output.[Ch]: New file for helper functions.
3264
3265         * buffer.[Ch]:
3266         * paragraph_funcs.[Ch]: output functions moved to new files.
3267
3268         * outputparams.h: rename of latexrunparams.h
3269
3270         * LaTeX.[Ch]:
3271         * buffer.[Ch]:
3272         * bufferlist.[Ch]:
3273         * converter.[Ch]:
3274         * exporter.C:
3275         * paragraph.[Ch]:
3276         * paragraph_funcs.[Ch]:
3277         * paragraph_pimpl.[Ch]:
3278         * tabular.[Ch]: rename ascii to plaintext
3279         and LatexRunParams to OutputParams.
3280
3281 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * iterators.[Ch] (text): require bv argument
3284         * undo.C (recordUndo):
3285         * lyxfunc.C (dispatch):
3286         * bufferview_funcs.C (put_selection_at): adjust
3287
3288 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3289
3290         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3291
3292 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3295         nestings
3296
3297 2003-11-04  André Pönitz  <poenitz@gmx.net>
3298
3299         * cursor.[Ch]: restructure
3300
3301         * BufferView.[Ch]:
3302         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3303
3304         * iterators.[Ch] (asCursor): remove
3305
3306         * lfuns.h: remove LFUN_INSET_EDIT
3307
3308         * lyxfunc.C:
3309         * tabular.C:
3310         * text.C:
3311         * text2.C:
3312         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3313
3314 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * lyxfind.[Ch]: complete overhaul
3317         * BufferView_pimpl.C:
3318         * lyxfunc.C: adjust
3319         * paragraph.[Ch] (insert): add
3320
3321 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * BufferView.[Ch]:
3324         * lyxtext.h:
3325         * text.C: remove dead spellcheck code
3326
3327 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * dispatchresult.h: add a val setter
3330
3331         * cursor.C (dispatch): use a tempvar for data_[i]
3332
3333 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * PosIterator.[Ch]: compile fix
3336
3337 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * text.C (cursorPar): deactivate the cursor cache
3340
3341 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3344
3345 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * text3.C (dispatch): adjust for new DisptchResult semantics.
3348
3349         * lyxfunc.C (dispatch): handle update when return from
3350         Cursor::dispatch, adjust for new DispatchResult semantics.
3351
3352         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3353         DispatchResult(true) mean to not update. Add class functions for
3354         setting dispatched and update, as well as reading.
3355
3356         * cursor.C (dispatch): don't handle update here
3357
3358 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3361         * trans_mgr.C: adjust
3362
3363         * paragraph_funcs.C (readParToken): exception safety
3364
3365         * lyxvc.h: store the vcs pointer in a scoped_ptr
3366         * lyxvc.C: adjust
3367
3368         * lyxsocket.C (serverCallback): exception safety
3369
3370         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3371
3372         * ispell.C (clone): make it return a auto_ptr
3373
3374         * factory.C (createInset): exception safety
3375         (readInset): exception safety
3376
3377         * bufferlist.C (newBuffer): exception safety
3378
3379         * Thesaurus.C (Thesaurus): use initialization for aik_
3380
3381         * MenuBackend.C (expandToc): exception safety.
3382
3383 2003-11-03  André Pönitz  <poenitz@gmx.net>
3384
3385         * buffer.C:
3386         * buffer.h:
3387         * bufferview_funcs.C: remove getInsetFromId()
3388
3389         * lyxcursor.[Ch]:
3390         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3391
3392         * lyxfunc.C:
3393         * text2.C:
3394         * text3.C: adjust
3395
3396 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3397
3398         * PosIterator.C (distance, advance): new
3399         * bufferview_funcs.[Ch] (put_selection_at): new
3400         * iterators.[Ch] (lockPath): new
3401
3402 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * iterators.[Ch] (asPosIterator): added
3405         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3406         * PosIterator.[Ch]: added
3407
3408 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * text3.C:
3411         * lyxfunc.C:
3412         * cursor.C (dispatch):
3413         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3414
3415         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3416         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3417         contructor, add a class function dispatched. Remove operator>=
3418
3419 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * debug.C: only use the default constructor for debugstream
3422         (lyxerr) here.
3423
3424         * main.C (main): include debug.h and setup the lyxerr streambuf
3425         here.
3426
3427 2003-10-31  José Matos  <jamatos@lyx.org>
3428
3429         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3430
3431         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3432         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3433         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3434         * paragraph_pimpl.C (simpleTeXSpecialC):
3435         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3436         add LatexRunParams argument.
3437
3438         * exporter.C (Export): change call accordingly.
3439
3440         * latexrunparams.h: add new member to take care of the other backends.
3441 2003-10-30  José Matos  <jamatos@lyx.org>
3442
3443         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3444         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3445         factorise code for paragraph output.
3446         * buffer.[Ch]:
3447         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3448         move functions.
3449
3450 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * text3.C (dispatch):
3453         * lyxfunc.C (dispatch):
3454         * cursor.C (dispatch):
3455         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3456
3457         * dispatchresult.h: make the dispatch_result_t ctor explicit
3458
3459 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3460
3461         * sgml.[Ch]:
3462         * buffer.C: small refactoring of docbook stuff
3463
3464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3467         meaning.
3468
3469 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3472         operator dispatch_result_t, and operators for == != and >=
3473
3474         * cursor.C (dispatch): adjust for operator dispatch_result_t
3475         removal. comment out call to update
3476
3477         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3478
3479 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * text3.C:
3482         * text2.C:
3483         * text.C:
3484         * lyxtext.h:
3485         * lyxfunc.C:
3486         * cursor.C:
3487         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3488         (dispatch):
3489
3490         * dispatchresult.h: new file, DispatchResult broken out of
3491         insets/insetbase.h
3492
3493         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3494
3495 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * text.C (rowBreakPoint): put a hack inside #if 0
3498
3499 2003-10-28  André Pönitz  <poenitz@gmx.net>
3500
3501         * lyxtext.h:
3502         * metricsinfo.C:
3503         * paragraph_funcs.C:
3504         * rowpainter.C:
3505         * text.C:
3506         * text2.C: general cleanup (lots of small stuff)
3507
3508 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * text2.C (cursorEnd): simple fix to the "end key goes to one
3511         before the end on last row" bug
3512
3513 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * text.C (backspace): fix the "zombie characters"
3516
3517 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3520
3521 2003-10-27  André Pönitz  <poenitz@gmx.net>
3522
3523         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3524
3525         * factory.C: handle new InsetPagebreak, InsetLine
3526
3527         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3528         and move handling into new InsetPagebreak, InsetLine
3529
3530         * BufferView_pimpl.C:
3531         * LyXAction.C:
3532         * ParagraphParameters.C:
3533         * ParameterStruct.h:
3534         * lyxfunc.C:
3535         * lyxtext.h:
3536         * paragraph.C:
3537         * paragraph.h:
3538         * paragraph_funcs.C:
3539         * paragraph_pimpl.C:
3540         * rowpainter.C:
3541         * text.C:
3542         * text2.C:
3543         * text3.C: adjust
3544
3545 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * text.C:
3548         * lyxrow_funcs.[Ch]:
3549         * Bidi.C:
3550         * paragraph.C:
3551         * lyxtext.h:
3552         * rowpainter.C:
3553         * text2.C:
3554         * text3.C: remove lastPos uses in favour of Row::endpos
3555
3556 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3557
3558         * undo.C (performUndoOrRedo): fix two crashes by setting a
3559         cursor by hand and reordering some calls. Use bv->lockInset instead
3560         of inset->edit because the latter loses cursor information
3561
3562 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3563
3564         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3565         by Martin
3566         (rowBreakPoint): fix width. change point to point + 1.
3567         Add a missing check.
3568
3569 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3570
3571         * MenuBackend.C:
3572         * lyxfunc.C: fix (at least partly) the problems
3573         with the Nav menu and headers inside branch insets
3574         reported by Kayvan
3575
3576 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * paragraph.C (getChar): add strong asserts
3579
3580         * lyxrow_funcs.C (lastPos): remove hideous hack
3581
3582         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3583         (fill): adjust to that (avoid an infinite loop)
3584
3585 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3588
3589 2003-10-23  André Pönitz  <poenitz@gmx.net>
3590
3591         * RowList_fwd.h: change list<> to vector<> to gain speed
3592         after suggestion from Alfredo
3593
3594 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * lyxtext.h: move the bidi stuff from here...
3597         * text.C: and here
3598         * text2.C: and here
3599         * Bidi.[Ch]: ... to here
3600
3601 2003-10-23  André Pönitz  <poenitz@gmx.net>
3602
3603         * lyxtext.h:
3604         * text.C (isLastRow, isFirstRow): new functions
3605
3606         * paragraph.h: new width cache member
3607
3608         * rowpainter.C: replace RowList::iterator with Row & where possible
3609
3610         * lyxfunc.C: replace several view()->text with a single call
3611
3612         * toc.C: fix 'unused' warning
3613
3614 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3615
3616         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3617         when woring with stream::pos_type
3618         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3619
3620 2003-10-22  André Pönitz  <poenitz@gmx.net>
3621
3622         * lyxtext.h:
3623         * text.C: use Row & instead of RowList::iterator
3624
3625         * lyxrow.h: rename end() to endpos()
3626
3627         * rowpainter.C:
3628         * text.C:
3629         * text2.C: adjust
3630
3631 2003-10-22  Angus Leeming  <leeming@lyx.org>
3632
3633         * buffer.[Ch] (fully_loaded): new member function, returning true
3634         only when the file has been loaded fully.
3635         Used to prevent the premature generation of previews and by the
3636         citation inset to prevent computation of the natbib-style label.
3637
3638         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3639         templates are all set up.
3640
3641         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3642
3643 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3644
3645         * text.C: fixed an "oops" in the "is a bit silly"
3646         bug fix
3647
3648 2003-10-21  André Pönitz  <poenitz@gmx.net>
3649
3650         * FuncStatus.[Ch]: small stuff, whitespace
3651
3652         * lyxfont.[Ch]: operator<<() for debug reasons
3653
3654         * lyxfunc.C:
3655         * lyxrow_funcs.C:
3656         * lyxtext.h: whitespace, spelling
3657
3658         * paragraph.C: naming of variables
3659
3660         * text.C:
3661         * text2.C: small stuff
3662
3663
3664 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3665
3666         * text.C: (1) finish off the inset display() work;
3667         (2) fix the "is a bit silly" bug (accessing char
3668         past end of par).
3669
3670 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3671
3672         * text.C: re-introduce display() for insets, fixing the
3673         various bugs (stretch of line above, math inset
3674         positioning, ...)
3675
3676 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3677
3678         * text.C (rightMargin): remove spurious semicolon
3679
3680         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3681         1415)
3682
3683 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3684
3685         * text3.C: fix one crash due to wrong cursor def
3686
3687 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * vc-backend.C (scanMaster): make the regex static
3690
3691         * LaTeX.C (scanAuxFile): make the regexs static
3692
3693         * text3.C (doInsertInset, dispatch, dispatch):
3694         * text2.C (cursorUp, cursorDown):
3695         * text.C (selectNextWordToSpellcheck):
3696         * BufferView_pimpl.C (dispatch):
3697         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3698
3699 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3700
3701         * lyxsocket.C: include <cerrno>
3702
3703 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * lyxfunc.C (dispatch): remove textcache stuff
3706
3707         * bufferlist.C (release): remove textcache stuff
3708         (closeAll): ditto
3709
3710         * TextCache.C: delete file
3711         * TextCache.h: delete file
3712
3713         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3714
3715         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3716         delete of the bv_->text.
3717         (resizeCurrentBuffer): remove texcache stuff
3718         (workAreaResize): ditto
3719
3720 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3723         action.
3724
3725 2003-10-16  André Pönitz  <poenitz@gmx.net>
3726
3727         * lyxrow.[Ch]:
3728         * paragraph.h:
3729         * rowpainter.C:
3730         * text.C:
3731         * text2.C:
3732         * text3.C: speed up by storing y positions per paragraph plus per-row
3733         offset instead of having a 'full' y position in the row.
3734
3735 2003-10-15  André Pönitz  <poenitz@gmx.net>
3736
3737         * iterators.[Ch]:
3738         * iterators.[Ch]:
3739         * undo.[Ch]: make undo aware of inner insets
3740
3741 2003-10-14  Angus Leeming  <leeming@lyx.org>
3742
3743         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3744         static member functions LyX::ref() and LyX::cref.
3745         (lastfiles): new accessor functions for the new lastfiles_ member var.
3746         (addLyXView, views_): add a new LyXView to the list of views_.
3747         (updateInset): loop over all LyXViews to call their own updateInset
3748         member function, returning a pointer to the Buffer owning the inset.
3749
3750         * BufferView_pimpl.C (loadLyXFile):
3751         * MenuBackend.C (expandLastfiles):
3752         * bufferlist.C (MenuWrite, QuitLyX):
3753         lastfiles is no longer a global variable.
3754         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3755
3756         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3757         static function. Access through LyX::cref().emergencyCleanup().
3758
3759 2003-10-14  André Pönitz  <poenitz@gmx.net>
3760
3761         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3762
3763         * undo.[Ch]: restoring part of 'undo in insets'
3764
3765         * Makefile.am:
3766         * undo_funcs.[Ch]: merge with undo.[Ch]
3767
3768         * tabular.C: small cleansing stuff
3769
3770 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3771
3772         * paragraph_funcs.C (readParToken): report unknown insets as error
3773         boxes. Use the outer paragraph as location (also for unknown
3774         tokens).
3775
3776         * factory.C (readInset): do not abort on reading an unknown inset.
3777         Eat it and return 0.
3778
3779 2003-10-13  Angus Leeming  <leeming@lyx.org>
3780
3781         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3782
3783         * lyxrc.C: displayTranslator is now a function,
3784         declared in GraphicsTypes.h.
3785
3786 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3787
3788         * format.C: new placeholder $$a to pass the socket address.
3789
3790         * bufferlist.[Ch]: new function getBufferFromTmp.
3791
3792         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3793           files in the temporary dir.
3794
3795 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3796
3797         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3798
3799         * Makefile.am: add lyxsocket.[Ch].
3800
3801         * lyx_main.C (error_handler): handle SIGPIPE.
3802
3803 2003-10-13  André Pönitz  <poenitz@gmx.net>
3804
3805         * BufferView_pimpl.C:
3806         * lyxtext.h:
3807         * text.C:
3808         * text2.C:
3809         * text3.C:
3810         * undo_funcs.[Ch]: use paroffset_type instead of
3811           ParagraphList::iterators to prevent multiple conversion
3812           (and get a more robust interface)
3813
3814 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3817         * lyxtext.h: ditto
3818         * text3.C (dispatch): ditto
3819
3820 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3823         move the onlyfile, use onlyfile instead of foundfile in a couple
3824         of places.
3825
3826         * DepTable.C (update): flush the error stream a bit more
3827
3828 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * lyxserver.C (callback): adjust
3831
3832         * lyxfunc.C (getStatus): add a missing brace in commented code
3833         (ensureBufferClean): reindent
3834         (dispatch): delete version taking a string
3835
3836 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * LaTeX.C (deplog): move found file handlig from here...
3839         (handleFoundFile): .. to new function here.
3840         (deplog): make sure to discover several files mentioned on the
3841         same log line.
3842
3843 2003-10-10  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxfunc.C:
3846         * lyxtext.h:
3847         * tabular.C:
3848         * text.C:
3849         * text2.C:
3850         * text3.C: fix some of the tabular crashes
3851
3852 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3853
3854         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3855
3856         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3857
3858 2003-10-09  André Pönitz  <poenitz@gmx.net>
3859
3860         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3861
3862         * BufferView.C:
3863         * BufferView_pimpl.C:
3864         * bufferview_funcs.C:
3865         * lyx_cb.C:
3866         * lyxcursor.C:
3867         * lyxfind.C:
3868         * lyxfunc.C:
3869         * lyxtext.h:
3870         * text.C:
3871         * text2.C:
3872         * text3.C:
3873         * text_funcs.[Ch]:
3874         * textcursor.[Ch]:
3875         * undo_funcs.C: adjust
3876
3877 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * text2.C (incrementItemDepth): new function, use a backtracking
3880         algorithm to discover the correct item depth.
3881         (resetEnumCounterIfNeeded): new function, use a backtracking
3882         algorithm to discover if counter reset is needed.
3883         (setCounter): use them. Simplify a bit. Add different labels for
3884         different item depths for itemize.
3885
3886         * paragraph.C (Paragraph): remove initialization of enumdepth
3887         (operator=): ditto
3888
3889         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3890         enumerate and itemize. Change the type of itemdepth to signed char.
3891
3892 2003-10-08  André Pönitz  <poenitz@gmx.net>
3893
3894         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3895           thing assignable.
3896         * text.C:
3897         * text2.C: adjust
3898
3899         * tabular.[Ch]: fix crash after 'row-insert'
3900
3901 2003-10-08  Angus Leeming  <leeming@lyx.org>
3902
3903         Fix doxygen warnings.
3904
3905         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3906         Remove CutAndPaste:: prefix from header file declaration.
3907
3908         * LColor.h (fill): remove LColor:: prefix from declaration.
3909
3910         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3911         use lyx::depth_type rather than Paragraph::depth_type so that
3912         header file and .C file match.
3913
3914         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3915
3916         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3917         * aspell.C: \file aspell_local.C -> \file aspell.C
3918         * gettext.C: \file gettext.C -> \file src/gettext.C
3919         * gettext.h: \file gettext.h -> \file src/gettext.h
3920         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3921         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3922         * text.C: \file text.C -> \file src/text.C
3923
3924         * toc.C: move comment so that doxygen is not confused.
3925
3926 2003-10-07  Angus Leeming  <leeming@lyx.org>
3927
3928         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3929
3930 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3931
3932         * aspell.C:
3933         * aspell_local.h: add forgotten std::string's.
3934
3935 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3936
3937         * LaTeXFeatures.C:
3938         * LyXAction.C:
3939         * factory.C:
3940         * lfuns.h:
3941         * lyxfunc.C:
3942         * text3.C: The Box patch. Fancybox support, minipage, parbox
3943
3944 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3945
3946         * CutAndPaste.h:
3947         * DepTable.h:
3948         * FloatList.h:
3949         * LaTeXFeatures.h:
3950         * ParagraphParameters.h:
3951         * TextCache.h:
3952         * Thesaurus.h:
3953         * bufferlist.h:
3954         * exporter.h:
3955         * importer.h:
3956         * lastfiles.h:
3957         * lyxfind.h:
3958         * lyxfont.h:
3959         * lyxlex.h:
3960         * lyxtextclasslist.h:
3961         * messages.h:
3962         * paragraph.h:
3963         * paragraph_pimpl.C:
3964         * textcursor.h: add <string> and other small fixes to make Lars'
3965         std::string patch compile with STLport.
3966
3967 2003-10-06  Angus Leeming  <leeming@lyx.org>
3968
3969         * LColor.h: Add missing #include <string>.
3970
3971 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3972
3973         * All most all file in all subdirs: Make <string> be the prefered
3974         way of getting to std::string, add using declarations.
3975
3976 2003-10-06  André Pönitz  <poenitz@gmx.net>
3977
3978         * metricsinfo.C: initialize LyXFont before changing attribute.
3979         (fixes the 'math in \emph is upright' bug)
3980
3981 2003-10-06  André Pönitz  <poenitz@gmx.net>
3982
3983         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3984
3985 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3986
3987         * graph.C:
3988         * paragraph_pimpl.C: Small fixes to build using STLport
3989
3990 2003-10-02  André Pönitz  <poenitz@gmx.net>
3991
3992         * lyxfunc.C:
3993         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3994
3995 2003-10-01  André Pönitz  <poenitz@gmx.net>
3996
3997         * factory.C: assert early
3998
3999 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * lyx_main.C: remove the global debug object
4002
4003         * debug.h: adjust for new debugstream
4004
4005         * debug.C: adjust for new debugstream and keep the global debug
4006         object here.
4007
4008 2003-09-22  Angus Leeming  <leeming@lyx.org>
4009
4010         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4011         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4012         an incomplete class LyXFont.
4013
4014 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4015
4016         * factory.C: bug fix in branches
4017
4018 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * lyxfunc.C (processKeySym): adjust
4021         (dispatch): adjust
4022         (dispatch): change arg name from ev to func, adjust
4023         (sendDispatchMessage): ditto
4024
4025         * lyx_main.C (defaultKeyBindings): adjust keybindings
4026         (deadKeyBindings): ditto
4027
4028         * kbsequence.C (addkey): return a FuncRequest
4029
4030         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4031
4032         * kbmap.C (bind): take a FuncRequest as arg, adjust
4033         (read): adjust
4034         (lookup): adjust
4035         (defkey): change to take a FuncRequest as arg, adjust
4036         (findbinding): take a FuncRequest as arg, adjust.
4037
4038         * funcrequest.h (operator=): added
4039
4040         * funcrequest.C (FuncRequest): default kb_action changed from
4041         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4042
4043         * buffer.C (dispatch): simplify
4044         (dispatch): adjust to take a FuncRequest as arg, adjust
4045
4046         * boost.C (assertion_failed): change assertion message slightly
4047
4048         * ToolbarBackend.C (read): simplify
4049
4050         * MenuBackend.C (binding): adjust call to findbinding, add a
4051         message if no binding is found.
4052         (read): simplify
4053         (expandToc): correct by adding a empty FuncRequest
4054
4055         * LyXAction.C: include <boost/assert.hpp>
4056         (isPseudoAction): delete function
4057         (LookupFunc): change name to...
4058         (lookupFunc): this. change return type to FuncRequest.
4059         (getActionName): take kb_action as arg, simplify
4060         (funcHasFlag): add an assert, simplify.
4061
4062 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * toc.C (action): return a FuncRequest, simplify
4065
4066         * lyxfunc.C (processKeySym): adjust
4067         (getStatus): delete version that takes an int.
4068         (getStatus): adjust
4069         (dispatch): delete version that takes action as int
4070         (dispatch): adjust
4071         (sendDispatchMessage): simplify and adjust
4072
4073         * funcrequest.C (getArg): take unsigned int as arg
4074
4075         * ToolbarBackend.C (read): adjust
4076         (add): delete version that takes func as a string.
4077         (getIton): take a FuncRequest as arg
4078
4079         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4080         action.
4081
4082         * MenuBackend.C (MenuItem): add a new construct that only takes a
4083         Kind, simplify the constructor use for submenus.
4084         (add): adjust
4085         (expandLastfiles): adjust
4086         (expandDocuments): adjust
4087         (expandFormats): adjust
4088         (expandFloatListInsert): adjust
4089         (expandFloatInsert): adjust
4090         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4091
4092         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4093         Remove class variables lyx_pseudo_map and lyx_arg_map
4094
4095         * LyXAction.C (searchActionArg): delete function
4096         (getPseudoAction): delete function
4097         (retrieveActionArg): delete function
4098         (LookupFunc): make it return kb_action, simplify.
4099         (getActionName): simplify
4100
4101         * factory.C (createInset): fix new bug
4102
4103 2003-09-19  Angus Leeming  <leeming@lyx.org>
4104
4105         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4106         masterFilename_ parameter in the include inset.
4107
4108         * factory.C (createInset): changes due to the changes to InsetInclude.
4109
4110 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4111
4112         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4113
4114 2003-09-18  Angus Leeming  <leeming@lyx.org>
4115
4116         * buffer.C:
4117         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4118         Inset::fillWithBibKeys.
4119         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4120
4121 2003-09-18  Angus Leeming  <leeming@lyx.org>
4122
4123         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4124         variables.
4125         (ctor): pass and store a 'Buffer const &'
4126         (buffer): new member function.
4127
4128         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4129         '*this' to the LaTeXFeatures ctor.
4130
4131 2003-09-18  Angus Leeming  <leeming@lyx.org>
4132
4133         * LColor.h:
4134         * lyxfont.C:
4135         * lyxfont.h:
4136         * lyxtext.h:
4137         * text.C: rename EnumLColor as LColor_color.
4138
4139 2003-09-18  Angus Leeming  <leeming@lyx.org>
4140
4141         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4142         remove #include "insets/insetbase.h" from cursor.h.
4143
4144 2003-09-18  Angus Leeming  <leeming@lyx.org>
4145
4146         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4147         InsetOld_code to remove #include "inset.h".
4148
4149         * iterators.C: add #include "insets/inset.h"
4150
4151 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * BufferView.C: remove more locking stuff that apparently doesn't
4154         do anything sensible.
4155
4156 2003-09-16  André Pönitz  <poenitz@gmx.net>
4157
4158         * paragraph.[Ch]:
4159         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4160           performance boost.
4161
4162 2003-09-16  Angus Leeming  <leeming@lyx.org>
4163
4164         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4165
4166         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4167         arg/return type.
4168
4169         * paragraph.h: remove #include "lyxfont.h". Forward declare
4170         LyXFont_size.
4171
4172 2003-09-16  Angus Leeming  <leeming@lyx.org>
4173
4174         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4175         of support/textutils.h.
4176         (isWord): move the contents of support/textutils.h's IsWordChar here.
4177
4178         * buffer.C:
4179         * lyxfind.C:
4180         * rowpainter.C:
4181         * text.C:
4182         * text2.C: add #include "paragraph.h".
4183
4184         * rowpainter.C:
4185         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4186
4187 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * main.C:
4190         * lyx_main.C:
4191         * lyx_cb.C:
4192         * buffer.C:
4193         * LaTeX.C: use namespace alias for lyx::support::os
4194
4195 2003-09-16  Angus Leeming  <leeming@lyx.org>
4196
4197         * bufferparams.C:
4198         * bufferview_funcs.C:
4199         * factory.C:
4200         * lyxfunc.C:
4201         * paragraph_pimpl.C:
4202         * rowpainter.C:
4203         * text.C: add #include "LColor.h".
4204
4205 2003-09-16  Angus Leeming  <leeming@lyx.org>
4206
4207         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4208         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4209         return LyXFont &.
4210         Store the FontBits::color variable as an int rather than as an
4211         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4212         file.
4213
4214         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4215         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4216         string calls together.
4217
4218         * lyxrc.C: add #include "LColor.h".
4219
4220 2003-09-15  Angus Leeming  <leeming@lyx.org>
4221
4222         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4223         a cow_ptr.
4224
4225 2003-09-15  Angus Leeming  <leeming@lyx.org>
4226
4227         * LColor.h: add an EnumLColor wrapper for LColor::color.
4228
4229         * lyxfont.[Ch] (color, setColor, realColor):
4230         * lyxtext.h, text.C (backgroundColor):
4231         pass EnumLColor args to/from the functions, rather than LColor::color
4232         ones.
4233
4234         * lyxfont.h:
4235         * lyxtext.h: forward declare EnumLColor.
4236
4237         * lyx_main.C: add #include "LColor.h".
4238
4239 2003-09-15  Angus Leeming  <leeming@lyx.org>
4240
4241         * .cvsignore: add lyx-gtk.
4242
4243 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * Chktex.C
4246         * LaTeX.C
4247         * LaTeXFeatures.C
4248         * ParagraphParameters.C
4249         * Spacing.C
4250         * buffer.C
4251         * bufferparams.C
4252         * bufferview_funcs.C
4253         * chset.C
4254         * counters.C
4255         * funcrequest.C
4256         * lyxfont.C
4257         * lyxgluelength.C
4258         * lyxlength.C
4259         * paragraph.C
4260         * paragraph_funcs.C
4261         * text3.C
4262         * vc-backend.C: remove usage of STRCONV
4263
4264 2003-09-15  Angus Leeming  <leeming@lyx.org>
4265
4266         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4267         explicitly define the color passed to the painter.
4268
4269 2003-09-15  Angus Leeming  <leeming@lyx.org>
4270
4271         * bufferparams.C (BufferParams): reorder member initializers to avoid
4272         compiler warning.
4273
4274 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4277         * text.C (updateRowPositions): remove an unusual nop
4278
4279 2003-09-12  André Pönitz  <poenitz@gmx.net>
4280
4281         * BufferView_pimpl.C:
4282         * Bullet.C:
4283         * layout.h:
4284         * lyxfunc.C:
4285         * lyxlayout.[Ch]:
4286         * lyxtextclass.C:
4287         * rowpainter.C:
4288         * text.C:
4289         * text2.C:
4290         * Counters.[Ch]: finish the 'automatic counters' job
4291
4292 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4293
4294         * aspell.C: include <boost/assert.cpp> (compile fix)
4295
4296 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4297
4298         * boost.C (assertion_failed): use lyx::support::abort instead of
4299         assert.
4300
4301 2003-09-10  Angus Leeming  <leeming@lyx.org>
4302
4303         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4304         with their _fwd progeny.
4305
4306 2003-09-09  Angus Leeming  <leeming@lyx.org>
4307
4308         134 files throughtout the source tree: replace 'using namespace abc;'
4309         directives with the appropriate 'using abc::xyz;' declarations.
4310
4311 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4312
4313         * boost.C (emergencyCleanup): moved here from LAssert.c
4314         (assertion_failed): new function, called by BOOST_ASSERT
4315
4316         * several files: change Assert to BOOST_ASSERT
4317
4318 2003-09-09  Angus Leeming  <leeming@lyx.org>
4319
4320         * buffer.[Ch]: Add an Impl class and move Buffer's member
4321         variables into it. As a result move several header files out of
4322         buffer.h.
4323
4324         Add header files to lots of .C files all over the tree as a result.
4325
4326 2003-09-09  Angus Leeming  <leeming@lyx.org>
4327
4328         * buffer.[Ch]: make Buffer's member variables private. Add
4329         accessor functions.
4330
4331         Lots of changes all over the tree as a result.
4332
4333 2003-09-08  Angus Leeming  <leeming@lyx.org>
4334
4335         * graph.C: #include <config.h>.
4336
4337 2003-09-08  Angus Leeming  <leeming@lyx.org>
4338
4339         * BranchList.C:
4340         * BufferView.C:
4341         * BufferView_pimpl.C:
4342         * CutAndPaste.C:
4343         * DepTable.C:
4344         * LaTeX.C:
4345         * LaTeXFeatures.C:
4346         * LyXAction.C:
4347         * MenuBackend.C:
4348         * TextCache.C:
4349         * aspell.C:
4350         * buffer.C:
4351         * bufferlist.C:
4352         * changes.C:
4353         * chset.C:
4354         * converter.C:
4355         * counters.C:
4356         * debug.C:
4357         * graph.C:
4358         * ispell.C:
4359         * lyx_cb.C:
4360         * lyxfind.C:
4361         * lyxfunc.C:
4362         * lyxlex_pimpl.C:
4363         * lyxrc.C:
4364         * lyxrow.C:
4365         * paragraph.C:
4366         * rowpainter.C:
4367         * texrow.C:
4368         * text.C:
4369         * text2.C:
4370         * toc.C: remove redundant using directives.
4371
4372 2003-09-07  Angus Leeming  <leeming@lyx.org>
4373
4374         * LaTeXFeatures.h: remove #include "support/types.h".
4375         * ToolbarBackend.h: remove #include <algorithm>.
4376         * changes.h: remove #include <ctime>.
4377         * debug.h: remove #include <iosfwd>.
4378         * graph.h: remove #include "support/std_string.h".
4379         * lyx_main.h: remove #include <csignal>.
4380         * lyxlex_pimpl.h: remove #include <fstream>.
4381         * sgml.h: remove #include <algorithm>, <utility>.
4382         * toc.h: remove #include "support/std_ostream.h".
4383         Add #include <iosfwd>.
4384
4385 2003-09-07  Angus Leeming  <leeming@lyx.org>
4386
4387         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4388
4389         * converter.h: forward declare LatexRunParams.
4390         * encoding.h: remove #include "lyxrc.h".
4391         * lyxtext.h: remove #include "LColor.h".
4392         * lyxtextclass.h: remove #include "support/types.h".
4393         * trans.h: remove #include "tex-accent.h".
4394         * trans_mgr.h: remove #include "tex-accent.h".
4395         * insets/inset.h: remove #include "support/types.h", <vector>.
4396         * insets/insetcollapsable.h: remove #include "LColor.h".
4397         * insets/insetinclude.h: remove #include "dimension.h".
4398         * insets/insetlatexaccent.h: remove #include "dimension.h".
4399         * insets/insetoptarg.h:: remove #include "insettext.h".
4400         * insets/insettext.h: remove #include "dimension.h",
4401         <boost/shared_ptr.hpp>
4402
4403         * insets/renderers.h: add #include "dimension.h".
4404         * insets/updatableinset.h: add #include "support/types.h".
4405
4406         * many .C files: Associated changes.
4407
4408 2003-09-06  Angus Leeming  <leeming@lyx.org>
4409
4410         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4411         one, inside testInvariant.
4412
4413         * PrinterParams.C: new file.
4414         * PrinterParams.[Ch]: move the function bodies out of line.
4415
4416 2003-09-06  Angus Leeming  <leeming@lyx.org>
4417
4418         * ParagraphParameters.h: forward declare ParameterStruct rather than
4419         including its header file.
4420         (depth): moved out-of-line.
4421
4422 2003-09-06  Angus Leeming  <leeming@lyx.org>
4423
4424         * BufferView_pimpl.h:
4425         * kbmap.h:
4426         * kbsequence.h:
4427         * lyxfunc.h: forward declare LyXKeySym rather than
4428         #include "frontends/LyXKeySym.h".
4429
4430         * BufferView_pimpl.C:
4431         * kbmap.C:
4432         * kbsequence.C:
4433         * lyxfunc.C: associated changes.
4434
4435 2003-09-06  Angus Leeming  <leeming@lyx.org>
4436
4437         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4438         As a result, can remove the #include "insets/inset.h" from BufferView.h
4439
4440 2003-09-06  Angus Leeming  <leeming@lyx.org>
4441
4442         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4443         As a result, can remove the #include "insets/inset.h" from BufferView.h
4444
4445 2003-09-06  Angus Leeming  <leeming@lyx.org>
4446
4447         * buffer_funcs.C:
4448         * buffer.h:
4449         * bufferlist.C:
4450         * BufferView.C:
4451         * bufferview_funcs.C:
4452         * BufferView_pimpl.C:
4453         * CutAndPaste.C:
4454         * lyx_cb.C:
4455         * lyxfunc.C:
4456         * paragraph.h:
4457         * ParagraphParameters.C:
4458         * tabular.C:
4459         * text3.C:
4460         * toc.C:
4461         * undo_funcs.C:
4462         * frontends/controllers/ControlDocument.C:
4463         * insets/insetcaption.C: rearrange the #includes into some sort of
4464         coherent order.
4465
4466         * buffer.h: remove #includes ErrorList.h, undo.h
4467
4468 2003-09-06  Angus Leeming  <leeming@lyx.org>
4469
4470         * support/types.h: add a 'depth_type' typedef, used to store the
4471         nesting depth of a paragraph.
4472
4473         * paragraph.h:
4474         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4475         defining explicitly.
4476
4477         * buffer.h:
4478         * paragraph_funcs.h:
4479         * ParagraphParameters.h:
4480         * sgml.h: use lyx::depth_type rather than Paragraph or
4481         ParameterStruct's depth_type.
4482
4483         * buffer.h
4484         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4485
4486         * BufferView.C:
4487         * BufferView_pimpl.C:
4488         * CutAndPaste.C:
4489         * ParagraphParameters.C:
4490         * buffer_funcs.C:
4491         * bufferlist.C:
4492         * bufferview_funcs.C:
4493         * lyx_cb.C:
4494         * lyxfunc.C:
4495         * tabular.C:
4496         * text3.C:
4497         * toc.C:
4498         * undo_funcs.C:
4499         * frontends/LyXView.C:
4500         * frontends/controllers/ControlDocument.C:
4501         * frontends/controllers/ControlErrorList.C:
4502         * insets/insetbibitem.C:
4503         * insets/insetbranch.C:
4504         * insets/insetcaption.C:
4505         * insets/insetcollapsable.C:
4506         * insets/insetenv.C:
4507         * insets/insetert.C:
4508         * insets/insetfloat.C:
4509         * insets/insetfoot.C:
4510         * insets/insetfootlike.C:
4511         * insets/insetnewline.C:
4512         * insets/insetquotes.C:
4513         * insets/insettabular.C:
4514         * insets/insettext.C:
4515         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4516
4517         * frontends/controllers/ControlChanges.C: #include "changes.h".
4518
4519 2003-09-06  Angus Leeming  <leeming@lyx.org>
4520
4521         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4522         than #including paragraph.h.
4523
4524         * ParagraphList.h:
4525         * RowList.h: deleted. Superfluous.
4526
4527         * CutAndPaste.h:
4528         * iterators.h:
4529         * lyxcursor.h:
4530         * lyxtext.h:
4531         * text_funcs.h:
4532         * undo.h:
4533         * undo_funcs.h:
4534         * insets/inset.h:
4535         * insets/insettext.h: use ParagraphList_fwd.h rather than
4536         ParagraphList.h.
4537
4538         * paragraph.h: don't forward declare ParagraphList.
4539
4540         * buffer.h:
4541         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4542         rather than ParagraphList.h. paragraph.h is still needed for the
4543         Paragraph::depth_type parameters.
4544
4545         * textcursor.h: enable it to compile stand-alone in light of the
4546         above changes.
4547
4548         * bufferview_funcs.C:
4549         * iterators.C:
4550         * lyxfunc.C:
4551         * lyxrow_funcs.C:
4552         * paragraph.C:
4553         * rowpainter.C:
4554         * text.C:
4555         * text2.C:
4556         * text3.C:
4557         * text_funcs.C:
4558         * textcursor.C:
4559         * undo.C:
4560         * frontends/controllers/ControlParagraph.C:
4561         * frontends/controllers/ControlTabular.C:
4562         * insets/insetmarginal.C:
4563         * insets/insetminipage.C:
4564         * insets/insetnote.C:
4565         * insets/insetoptarg.C: add header files needed to compile again.
4566
4567 2003-09-06  Angus Leeming  <leeming@lyx.org>
4568
4569         * RowList_fwd.h: new file, forward-declaring Row rather than
4570         #including lyxrow.h.
4571
4572         * lyxrow_funcs.h:
4573         * lyxtext.h:
4574         * paragraph.h:
4575         * insets/insettext.h: use it instead of RowList.h
4576
4577         * bufferview_funcs.C:
4578         * lyxfunc.C:
4579         * lyxrow_funcs.C:
4580         * paragraph.C:
4581         * rowpainter.C:
4582         * text.C:
4583         * text2.C:
4584         * text3.C: #include "RowList.h".
4585
4586 2003-09-05  Angus Leeming  <leeming@lyx.org>
4587
4588         * factory.C (createInset):
4589         * vspace.C (c-tor): replace sscanf call with an istringstream.
4590         * ispell.C: re-add missing HP/UX headers.
4591         * lyxserver.C: re-add missing  os2 headers.
4592
4593 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4594
4595         * BranchList.C:
4596         * graph.C:
4597         * ispell.C:
4598         * lastfiles.C:
4599         * lyx_cb.C:
4600         * lyxserver.C:
4601         * texrow.C:
4602         * text3.C: re-add missing system headers, needed for 2.95.2.
4603
4604 2003-09-05  Angus Leeming  <leeming@lyx.org>
4605
4606         Changes most place everywhere due to the removal of using directives
4607         from support/std_sstream.h.
4608
4609 2003-09-05  Angus Leeming  <leeming@lyx.org>
4610
4611         Replace LString.h with support/std_string.h,
4612         Lsstream.h with support/std_sstream.h,
4613         support/LIstream.h with support/std_istream.h,
4614         support/LOstream.h with support/std_ostream.h.
4615
4616         Changes resulting throughout the tree.
4617
4618 2003-09-05  Angus Leeming  <leeming@lyx.org>
4619
4620         * sgml.h: ensure that the header file can be compiled stand-alone.
4621         * *.C: strip out redundant #includes. (320 in total.)
4622
4623 2003-09-04  Angus Leeming  <leeming@lyx.org>
4624
4625         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4626         here (from getPackages).
4627
4628         * debug.[Ch]: add a new EXTERNAL tag.
4629
4630 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4631
4632         * text2.C (cursorEnd): simplify
4633         (setCursor): adjust
4634         (getColumnNearX): adjust
4635
4636         * text.C (computeBidiTables): adjust
4637         (fill): adjust
4638
4639         * rowpainter.C (paintChars): adjust
4640         (paintSelection): adjust
4641         (paintChangeBar): adjust
4642         (paintText): adjust
4643
4644         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4645         lastPos instead.
4646         (numberOfSeparators): adjust
4647
4648 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * LyXAction.C:
4651         * box.[Ch]:
4652         * lfuns.h:
4653         * lyxfunc.C:
4654         * text3.C: Restricts the mouse click functionality
4655         of insets like bibtex, include, toc and floatlist to the visible
4656         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4657         up the dialogs. Cursor has to be in front of the inset (i.e.
4658         start of row) for this to function.
4659
4660 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4661
4662         * bufferview_funcs.C (currentState): output row information
4663
4664 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4665
4666         * bufferview_funcs.C (currentState): output paragraph position
4667
4668 2003-09-04  Angus Leeming  <leeming@lyx.org>
4669
4670         * FloatList.h: move out #include "Floating.h".
4671         * LaTeX.h: move out #include "DepTable.h".
4672         * LyXAction.h: move out #include "funcrequest.h".
4673         * buffer.h: move out #include "author.h", "iterators.h".
4674         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4675         * lyx_main.h: move out #include "errorlist.h".
4676         * lyxfunc.h: move out #include "FuncStatus.h".
4677         * lyxtext: move out #include "lyxcursor.h".
4678         * paragraph_pimpl.h: move out #include "counters.h".
4679
4680 2003-09-03  Angus Leeming  <leeming@lyx.org>
4681
4682         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4683         preamble_snippets list, enabling us to add snippets to the preamble
4684         only if the snippet was not there already.
4685
4686 2003-09-04  Angus Leeming  <leeming@lyx.org>
4687
4688         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4689
4690 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4691
4692         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4693         update
4694
4695 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4696
4697         * BranchList.C: point fix, earlier forgotten
4698
4699 2003-09-02  Angus Leeming  <leeming@lyx.org>
4700
4701         * box.C (contains): renamed from 'contained' after a fantastic
4702         amount of hot air.
4703
4704 2003-09-02  John Levon  <levon@movementarian.org>
4705
4706         * BufferView.C:
4707         * lyxcursor.h:
4708         * lyxcursor.C:
4709         * lyxfunc.C:
4710         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4711
4712 2003-09-02  John Levon  <levon@movementarian.org>
4713
4714         * text2.C: simplification of cursorEnd(), including partial
4715         fix for bug 1376
4716
4717 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * buffer.C (readFile): add a space
4720
4721 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4722
4723         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4724
4725 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * buffer.C (readFile): new function, take a filename and a
4728         ParagraphList::iterator
4729         (readFile): adjust
4730         (readFile): adjust, make it private. don't use setStream, make
4731         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4732         always contain the filename.
4733
4734         * BufferView.C (insertLyXFile): simplify and make it work for
4735         gzipped files.
4736
4737 2003-08-30  John Levon  <levon@movementarian.org>
4738
4739         * Makefile.am: fix dist (from Kayvan)
4740
4741 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * most files: change to use const Buffer refs
4744
4745 2003-08-27  André Pönitz  <poenitz@gmx.net>
4746
4747         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4748         on top of ownerPar().
4749
4750 2003-08-27  John Levon  <levon@movementarian.org>
4751
4752         * funcrequest.C: properly initialise POD members
4753
4754 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * lyxtext.h (top_y): move top_y from here
4757         * text.C:
4758         * text2.C:
4759         * text3.C:
4760         * BufferView.[Ch]:
4761         * BufferView_pimpl.[Ch]: to here
4762         * frontends/screen.C:
4763         * insets/insettabular.C:
4764         * insets/insettext.C: adjust
4765         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4766
4767 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * BufferView.[Ch]:
4770         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4771
4772 2003-08-26  André Pönitz  <poenitz@gmx.net>
4773
4774         * paragraph_func.[Ch] (outerPar): new function
4775
4776         * paragraph.C:
4777         * paragraph_funcs.C:
4778         * paragraph_funcs.h:
4779         * paragraph_pimpl.C:
4780         * text2.C: remove Inset::par_owner
4781
4782 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4783
4784         * lyxrow_funcs.C:
4785         * lyxtext.h:
4786         * text.C:
4787         * text2.C: eliminates the needFullRow/display() stuff
4788         altogether, putting the logic in metrics/draw in the insets.
4789
4790 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4791
4792         * text2.C (redoParagraphInternal, redoParagraphs):
4793         * text.C (redoParagraph): add a call to updateRowPositions at the
4794         end of each 'metrics-like' call. Remove all others.
4795         (getRow): remove the 'y-computing' version.
4796         (getRowNearY): do not compute nor return the real y. Solve the
4797         'y < 0' problem and simplify.
4798
4799 2003-08-22  Angus Leeming  <leeming@lyx.org>
4800
4801         * *.[Ch]: clean-up of licence and author blurbs.
4802         Also move config.h out of a few .h files and into a few .C files.
4803
4804 2003-08-22  André Pönitz  <poenitz@gmx.net>
4805
4806         * lyxrow.[Ch]: add x_ and *fill_ members
4807
4808         * lyxtext.h:
4809         * text.C:
4810         * rowpainter.C:
4811         * text2.C: adjust/remove prepareToPrint() calls
4812
4813 2003-08-22  André Pönitz  <poenitz@gmx.net>
4814
4815         * lyxrow.[Ch]: add  end_ member
4816
4817         * lyxrow_funcs.C: use LyXRow::end_
4818
4819         * lyxtext.h (singleWidth): add LyXFont parameter
4820
4821         * rowpainter.C:
4822         * text2.C: adjust LyXText::singleWidth() calls
4823
4824         * text.C (redoParagraph): simplify row breaking logic
4825
4826
4827 2003-08-19  André Pönitz  <poenitz@gmx.net>
4828
4829         * funcrequest.C: initialize button_ member
4830
4831         * text3.C:
4832         * rowpainter.[Ch]: interface consolidation
4833
4834 2003-08-18  André Pönitz  <poenitz@gmx.net>
4835
4836         * BufferView.C:
4837         * BufferView_pimpl.C:
4838         * lyxfind.C:
4839         * paragraph_funcs.C:
4840         * rowpainter.C:
4841         * text3.C: remove LyXScreen::draw() and fitCursor calls
4842
4843         * BranchList.h: remove spurious semicolons
4844
4845         * MenuBackend.C: fix branchlist related crash
4846
4847 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4848
4849         * BranchList.[Ch]:
4850         * InsetList.[Ch]:
4851         * LColor.[Ch]:
4852         * LyXAction.C:
4853         * Makefile.am:
4854         * MenuBackend.[Ch]:
4855         * bufferparams.[Ch]:
4856         * factory.C:
4857         * lfuns.h:
4858         * lyxfunc.C:
4859         * text3.C: implements the 'branch inset'
4860         idea. This allows the output of various versions of a document
4861         from a single source version, selectively outputing or suppressing
4862         output of parts of the text.
4863         This implementation contains a 'branch list editor' in a separate
4864         tab of the document settings dialog. Branches are user definable
4865         and have a "display colour" to distinguish them on-screen.
4866
4867         ColorHandler was somewhat cleaned up.
4868         (1) make possible a dynamically growing LColor list by allowing
4869         the graphic context cache to grow along (vector);
4870         (2) eliminate an IMHO unnecessary step in colour allocation.
4871
4872 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4873
4874         * BufferView_pimpl.C: compile fix
4875
4876 2003-08-15  André Pönitz  <poenitz@gmx.net>
4877
4878         * rowpainter.C: remove extra metrics calls
4879
4880         * lyxtext.h: merge the two constructors into a single one,
4881           pass reference to owner's par list
4882
4883         * BufferView_pimpl.C:
4884         * text.C:
4885         * text2.C: adjust
4886
4887 2003-08-15  André Pönitz  <poenitz@gmx.net>
4888
4889         * lyxrow_funcs.[Ch]:
4890         * lyxtext.h:
4891         * paragraph.h:
4892         * paragraph_funcs.C:
4893         * rowpainter.C:
4894         * text.C:
4895         * text2.C:
4896         * text3.C:
4897         * text_funcs.C: split LyXText::rowlist_ into individual
4898         Paragraph::rows_ chunks
4899
4900         * BufferView.[Ch]:
4901         * BufferView_pimpl.[Ch]:
4902         * lyxfind.C:
4903         * lyxtext.h:
4904         * text3.C: remove toggleSelection()
4905
4906 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4907
4908         * bufferlist.C: beautify two alerts (shorter text of buttons)
4909         * buffer.C: Remove redundant ' ' from message
4910         * tabular.h:
4911         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4912         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4913         rename VALIGN_CENTER to VALIGN_MIDDLE
4914
4915 2003-08-11  André Pönitz  <poenitz@gmx.net>
4916
4917         * lyxtext.h (getPar):
4918         * text.C: new function
4919
4920 2003-08-11  André Pönitz  <poenitz@gmx.net>
4921
4922         * Makefile.am:
4923         * tracer.[Ch]: remove unneeded files
4924
4925         * InsetList.[Ch]: remove resizeInsetsLyXText()
4926
4927         * lyxtext.h:
4928         * text.C:
4929         * text2.C:
4930         * text3.C: merge insertParagraphs() and appendParagraph()
4931         remove breakAgain(), update()
4932
4933         * BufferView_pimpl.[Ch]:
4934         * bufferview_funcs.[Ch]:
4935         * lyxfunc.C:
4936         * paragraph.[Ch]:
4937         * rowpainter.C:
4938         * tabular.C: adjust after text & InsetList changes.
4939
4940 2003-08-08  André Pönitz  <poenitz@gmx.net>
4941
4942         * text.C (insertChar, backspace): replace rowlist fiddling
4943         with rebreak of full par
4944
4945         * lyxtext.h:
4946         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4947         checkParagraph, updateInset): removed
4948
4949 2003-08-07  André Pönitz  <poenitz@gmx.net>
4950
4951         * paragraph.C:
4952         * text3.C: merge some LFUN handlers, remove dead code
4953
4954 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4955
4956         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4957
4958 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * text2.C (DEPM): fix part of bug 1255 and 1256
4961
4962 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4963
4964         * BufferView_pimpl.C (workAreaDispatch): change to use
4965         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4966         that are no mouse related.
4967
4968 2003-08-05  André Pönitz  <poenitz@gmx.net>
4969
4970         * BufferView.[Ch]:
4971         * BufferView_pimpl.[Ch]:
4972         * bufferview_funcs.C:
4973         * text2.C:
4974         * text3.C: rip out "deep update"
4975
4976         * textcursor.[Ch] (last_sel_cursor): remove unused member
4977
4978 2003-08-04  André Pönitz  <poenitz@gmx.net>
4979
4980         * BufferView.[Ch]:
4981         * BufferView_pimpl.[Ch]:
4982         * ParagraphParameters.C:
4983         * bufferview_funcs.C:
4984         * lyx_cb.C:
4985         * lyxfind.C:
4986         * lyxfunc.C:
4987         * text.C:
4988         * text2.C:
4989         * text3.C: replace "complicated" BufferView::update(...) calls with
4990         simpler ones.
4991
4992         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4993
4994 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4995
4996         * Makefile.am (lyx_SOURCES): add paper.h
4997
4998 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4999
5000         * Makefile.am: move things around so that both lyx-qt and
5001         lyx-xforms can be built (according to --with-frontend). Then lyx
5002         is a symbolic link to lyx-[firstfrontend]
5003
5004 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5005
5006         * Always use std::endl with lyxerr
5007
5008 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5009
5010         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5011
5012 2003-08-01  André Pönitz  <poenitz@gmx.net>
5013
5014         * BufferView.[Ch]:
5015         * BufferView_pimpl.[Ch]:
5016         * lyxfunc.C:
5017         * text3.C: merge BufferView::repaint() and BufferView::update()
5018
5019 2003-08-01  José Matos  <jamatos@lyx.org>
5020
5021         * buffer.[Ch]: file_format is no longer a buffer data element.
5022
5023 2003-08-01  André Pönitz  <poenitz@gmx.net>
5024
5025         * BufferView.C:
5026         * lyxtext.h:
5027         * text.C:
5028         * text2.C: make redoParagraph more independent of current cursor
5029
5030         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5031         * text.C:
5032         * text2.C: remove unneeded members
5033
5034 2003-07-30  André Pönitz  <poenitz@gmx.net>
5035
5036         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5037
5038         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5039           create a single function...
5040
5041         * paragraph_funcs.C (moveItem): ... here.
5042
5043         * text.C:
5044           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5045
5046 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5047
5048         * LColor.[Ch]: Add comment and greyedout logical colors.
5049
5050 2003-07-30  André Pönitz  <poenitz@gmx.net>
5051
5052         * tabular.C: don't use Assert too heavily. This crashes where it
5053           shouldn't
5054
5055 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5058         is disabled (bug 1232)
5059
5060 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5061
5062         * factory.C: limited 'arg' scope
5063
5064 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5065
5066         * factory.C: fixed Note submenu issues
5067
5068 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5069
5070         * factory.C: submenu for Note/Comment/Greyedout
5071
5072 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * lyx_main.C (LyX):
5075         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5076
5077 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5078
5079         * LaTeXFeatures.C:
5080         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5081         greyedout. Patch provided by Jürgen Spitzmüller.
5082
5083 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5084
5085         * kbmap.C (read): fix error message when reading bind files
5086
5087 2003-07-29  Angus Leeming  <leeming@lyx.org>
5088
5089         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5090         certainly does not do what it purports to do. I am doing it, and
5091         us, a favour by killing it.
5092
5093 2003-07-28  José Matos  <jamatos@lyx.org>
5094
5095         * buffer.C (readBody, do_writeFile):
5096         * paragraph.C(readParagraph): \end_document replaces \the_end.
5097
5098 2003-07-29  André Pönitz  <poenitz@gmx.net>
5099
5100         * BufferView.[Ch]:
5101         * BufferView_pimpl.[Ch]:
5102         * lyxfunc.C:
5103         * text2.C:
5104         * text3.C:
5105         * textcursor.[Ch]: remove toggleToggle & Co
5106
5107 2003-07-28  José Matos  <jamatos@fep.up.pt>
5108
5109         * buffer.C (readParagraph):
5110         * params_func (readParToken, readParagraph):
5111         * paragraph.C (write): \layout -> \begin_layout.
5112
5113 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * lyxlex_pimpl.C (setFile): clean up slightly.
5116
5117         * bufferparams.h: add compressed var
5118
5119         * buffer_funcs.C (readFile): adjust for LyXLex change
5120         (newFile): ditto + simplify
5121
5122         * buffer.C (writeFile): handle writing of compressed files
5123
5124         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5125         Check if the file is compressed and set a bufferparm if so.
5126
5127         * Makefile.am (lyx_LDADD): remove explicit -lz
5128
5129 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5130
5131         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5132         makeDocBookFile): put the real LyX version in the first line of
5133         the file
5134
5135         * version.h:
5136         * version.C.in: remove lyx_docversion
5137
5138         * tabular.C (write_attribute): add a template-based version to
5139         write enums properly
5140
5141 2003-07-28  André Pönitz  <poenitz@gmx.net>
5142
5143         * lyxtext.h:
5144         * text.C:
5145         * text2.C:
5146         * text3.C: use doubles again for x-coordinates. They are needed.
5147
5148 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * messages.C (getLocaleDir): use lyx_localedir()
5151
5152         * lyxlex_pimpl.C (setFile): compress stuff
5153
5154         * buffer.C (writeFile): add some compression stuff
5155         (do_writeFile): new func, dont call expliti close... will this
5156         breake anything?
5157
5158         * Makefile.am (lyx_LDADD): add -lz
5159
5160 2003-07-28  José Matos  <jamatos@fep.up.pt>
5161
5162         * buffer.C: increment file format.
5163         * paragraph_funcs (readParagraph, readParToken):
5164         * paragraph.C (readParagraph): add \end_layout.
5165
5166 2003-07-27  Angus Leeming  <leeming@lyx.org>
5167
5168         * Makefile.am: remove special casing for configure-time setting of
5169         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5170
5171         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5172         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5173
5174 2003-07-26  André Pönitz  <poenitz@gmx.net>
5175
5176         * paragraph_func.[Ch]:
5177         * paragraph.C (realizeFont): inline it whereever it is used
5178
5179         * rowpainter.C:
5180         * text.C:
5181         * text2.C:
5182         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5183
5184
5185 2003-07-26  André Pönitz  <poenitz@gmx.net>
5186
5187         *       lyxtext.h:
5188         * text.C:
5189         * text2.C: get rid of LyXText::need_break_row
5190
5191 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * toc.[Ch]: put namespace toc inside namespace lyx
5194
5195         * MenuBackend.C (expandToc2): adjust for lyx::toc
5196         (expandToc): ditto
5197
5198         * lyxfunc.C (dispatch): adjust for lyx::find
5199
5200         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5201         lyx::find instead. Reorganize a bit.
5202         (LyXReplace): rename to replace
5203         (LyXFind): rename to find
5204
5205         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5206         (dispatch): ditto
5207
5208 2003-07-26  André Pönitz  <poenitz@gmx.net>
5209
5210         * text.C (setHeightOfRow): restrict scope of temporary variable
5211
5212         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5213           code (never has been used?)
5214
5215 2003-07-27  Asger Alstrup  <alstrup@local>
5216
5217         * text.C (fill): Optimise algorithm to exploit that we can reuse
5218         the LyXFont for many characters.
5219         (setHeightOfRow): Same thing.
5220         (rowBreakPoint): Same thing.
5221
5222 2003-07-26  Asger Alstrup  <alstrup@local>
5223
5224         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5225
5226         * text.C (singleWidth): Spurious font copying in hot-spot
5227         singleWidth avoided. Reorder tests for arabic for efficiency.
5228
5229         * text.C (fill): handle empty paragraphs better.
5230
5231 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5232
5233         * ispell.C:
5234         * encoding.h: add includes
5235
5236         * lyxrc.C: remove reading of bind files
5237
5238         * lyx_main.C (init): setup bindings and menus only if we have a
5239         gui.
5240
5241         * kbmap.C (read): new method. Do the actual reading of bind
5242         files.
5243
5244         * converter.C (dvipdfm_options):
5245         * bufferparams.C:
5246         * lyxrc.C (read):
5247         (output): adapt PAPER_* enums.
5248
5249         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5250
5251         * bufferparams.h: remove paper-related enums from there
5252
5253         * paper.h: New file. A trivial header file to hold paper-related
5254         enums. It should later expand to contain many paper-related
5255         horrors access.
5256
5257         * lyxrc.C: declare extern displayTranslator
5258
5259 2003-07-27  José Matos  <jamatos@fep.up.pt>
5260
5261         * tabular.[Ch] (linuxdoc): add support for tables and figures
5262         (linuxdoc).
5263
5264 2003-07-27  José Matos  <jamatos@fep.up.pt>
5265
5266         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5267         consistency in both functions.
5268         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5269
5270 2003-07-26  Asger Alstrup  <alstrup@local>
5271
5272         * rowpainter.C (paintRows): Change algorithm to work directly on
5273         the insets rather than asking every character in the document
5274         whether its an inset.
5275
5276 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * buffer.C (openFileWrite): factorize some code
5279
5280 2003-07-26  Angus Leeming  <leeming@lyx.org>
5281
5282         * lyx_cb.C:
5283         * lyx_main.[Ch]: replace occurances of system_tempdir with
5284         os::getTmpDir().
5285
5286 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * rename Inset to InsetOld
5289
5290 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5291
5292         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5293         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5294         which I think is a bit clearer. EDIT is gone, since it was
5295         premature optimisation, and broken for mathed anyway.
5296         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5297         with cursor positioning in insets as well (math insets still do not
5298         work, but that's a different story anyway.) It mysteriously
5299         crashes sometimes with undo in the first paragraph, but I'm fairly
5300         confident that this is a compiler bug.
5301
5302 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * paragraph.C (Paragraph): adjust for new clone return type
5305         (operator==): ditto
5306         (copyIntoMinibuffer): ditto
5307
5308 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5309
5310         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5311         by not having a special case, and always doing a full rebreak of
5312         the document after undo.
5313
5314 2003-07-23  Angus Leeming  <leeming@lyx.org>
5315
5316         * factory.C (createInset): InsetExternal::setParams now takes a
5317         Buffer const * arg.
5318
5319 2003-07-23  Angus Leeming  <leeming@lyx.org>
5320
5321         * factory.C (createInset): changed interface to the external and
5322         graphics mailers' string2params functions.
5323
5324 2003-07-23  Angus Leeming  <leeming@lyx.org>
5325
5326         * factory.C (createInset): pass a
5327         Buffer const * parameter to InsetExternalMailer's string2params.
5328
5329 2003-07-22  John Levon  <levon@movementarian.org>
5330
5331         * Thesaurus.h: include the right aiksaurus header
5332
5333 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5334
5335         * MenuBackend.C (expand): check menu shortcuts unconditionally
5336
5337 2003-07-21  Angus Leeming  <leeming@lyx.org>
5338
5339         * factory.C (createInset): pass a
5340         buffer_path parameter to InsetGraphicsMailer's string2params.
5341
5342 2003-07-21  Angus Leeming  <leeming@lyx.org>
5343
5344         * BufferView_pimpl.C (buffer):
5345         * buffer.C (d-tor):
5346         * lyx_main.C (LyX):
5347         * lyxfunc.C (dispatch):
5348         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5349         rather than the grfx shortcut.
5350
5351 2003-07-21  André Pönitz  <poenitz@gmx.net>
5352
5353         * rowpainter.C: remove unused variables
5354
5355         * tabular_funcs.C:
5356         * tabular_funcs.h: move to tabular.C
5357         * Makefile.am: adjust
5358
5359         * tabular.[Ch]: basic optical cleaning
5360
5361         * author.h: pass references, not values
5362
5363 2003-07-18  André Pönitz  <poenitz@gmx.net>
5364
5365         * lyxtext.h:
5366         * metricsinfo.C:
5367         * metricsinfo.h:
5368         * rowpainter.C:
5369         * text.C:
5370         * text2.C:
5371         * text3.C: two-phase drawing for InsetText and InsetTabular
5372         some float -> int changes.
5373
5374 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5375
5376         * lyx_main.C: fix the fix
5377
5378 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * lyx_main.C: fix a crash in batch mode if no files specified
5381         * converter.C: ws
5382
5383 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * format.[Ch] (papersize): moved to BufferParams
5386         * converter.[Ch] (dvips_options): moved to BufferParams
5387         (dvipdfm_options): moved to anon namespace
5388         * bufferparams.[Ch]: added above functions.
5389
5390 2003-07-17  André Pönitz  <poenitz@gmx.net>
5391
5392         * lyxtext.h:
5393         * rowpainter.C:
5394         * text2.C: don't call inset->update() anymore
5395
5396         * metricsinfo.[Ch]: add convenience constructor
5397
5398 2003-07-16  André Pönitz  <poenitz@gmx.net>
5399
5400         * lyxcursor.[Ch]:
5401         * lyxfunc.[Ch]:
5402         * text.C:
5403         * text2.C: replace the LyXCursor::irow_ member with
5404          on-demand computation of the value
5405
5406 2003-07-16  John Levon  <levon@movementarian.org>
5407
5408         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5409
5410 2003-07-15  André Pönitz  <poenitz@gmx.net>
5411
5412         * text.C:
5413         * text2.C: remove no more needed refresh_row
5414
5415 2003-07-15  André Pönitz  <poenitz@gmx.net>
5416
5417         * lyxtext.h:
5418         * rowpainter.C:
5419         * text2.C:
5420         * text3.C: refresh_status tristate -> need_update bool
5421
5422 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * lyxtext.h (init): remove reinit argument (act as if always true)
5425         * text2.C: adjust to that
5426
5427 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5428
5429         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5430         * text3.C: use it to delete selections in some cases
5431         (bugs 441, 673, 702, 954).
5432
5433 2003-07-14  André Pönitz  <poenitz@gmx.net>
5434
5435         * rowpainter.[Ch]: reduce interface
5436
5437 2003-07-14  André Pönitz  <poenitz@gmx.net>
5438
5439         * BufferView_pimpl.C:
5440         * text2.C: adjust after removing unused BufferView * argument
5441
5442 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5443
5444         * text2.C (init): fix a crash fired on resize
5445
5446 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5447
5448         * buffer.[Ch]: added new closing signal
5449         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5450         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5451         BufferView::Pimpl via the closing the signal
5452
5453 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * buffer.[Ch]: take out all bv-related from buffer
5456         * BufferView.C:
5457         * BufferView_pimpl.[Ch]: connect to new signals
5458         * CutAndPaste.C: removed useless asserts
5459         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5460         * lyxvc.[Ch]:
5461         * vc-backend.[Ch]:
5462         * lyxfunc.C: moved view-related funciontality from vc here
5463         * paragraph.C: removed outdated comments
5464         * text.C: ws
5465
5466 2003-07-10  André Pönitz  <poenitz@gmx.net>
5467
5468         * BufferView_pimpl.C:
5469         * tabular.h:
5470         * tabular_funcs.C:
5471         * text.C:
5472         * text2.C: remove InsetText::InnerCache, clean up consequences
5473
5474 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5475
5476         * ispell.C: fix two typos in error messages
5477
5478 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5479
5480         * Extend Note inset to other forms of annotation like Comment
5481         and Greyedout. Right button click gives dialog.
5482
5483         Files modified or added (+):
5484
5485         * insetnote.[Ch]
5486         * FormNote.[Ch]      +
5487         * ControlNote.[Ch]   +
5488         * form_note.fd       +
5489         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5490         frontends/controllers
5491         * xforms/Dialogs.C
5492         * factory.C
5493
5494 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5495
5496         * aspell.C: add missing namespace lyx::support
5497
5498 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * BufferView.[Ch] (newFile): Add
5501         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5502         * LaTeX.[Ch] (message): added this signal and use it
5503         * buffer.[Ch] (busy, message): added these signals and use them
5504         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5505         * converter.C:
5506         * exporter.C:
5507         * format.C:
5508         * importer.C: use buffer signals instead of direct bv calling
5509         * lyx_cb.[Ch] (ShowMessage): removed
5510         * lyx_main.C:
5511         * lyxfunc.C:
5512         * paragraph_funcs.C:
5513         * text2.C: use buffer signals
5514
5515 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * introduce namespace lyx::graphics
5518
5519 2003-07-02  André Pönitz  <poenitz@gmx.net>
5520
5521         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5522
5523 2003-07-01  André Pönitz  <poenitz@gmx.net>
5524
5525         * text.C:
5526         * text2.C:
5527         * text3.C:
5528         * text_funcs.[Ch]:
5529         * textcursor.h:
5530         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5531           text*.C to text_func.C
5532
5533 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * introduce namespace lyx::support
5536
5537 2003-06-30  André Pönitz  <poenitz@gmx.net>
5538
5539         * Chktex.C:
5540         * funcrequest.C:
5541         * lyxtext.h:
5542         * text.C: re-enable --with-included-string
5543
5544 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * textcursor.C: add <config.h>
5547
5548         * text.C (getWord): remove const from word_location arg
5549
5550         * lyxvc.C (getLogFile): fix const type order
5551
5552         * lyxtext.h: remove const from word_location arg, add arg name
5553
5554         * lyxlayout.h: currect type on labeltype.
5555
5556         * importer.C: correct \file
5557
5558         * converter.C (intToFormat): use std:: on ret val, ws changes
5559
5560         * bufferlist.h: correct \file
5561
5562         * buffer.C (makeLinuxDocFile): fix const type order
5563         (makeDocBookFile): ditto
5564         (fillWithBibKeys): use std:: on stdlib args.
5565
5566         * CutAndPaste.C: fix authors.
5567         (availableSelections): use std:: on return vector
5568
5569 2003-06-27  André Pönitz  <poenitz@gmx.net>
5570
5571         * BufferView_pimpl.C:
5572         * bufferview_funcs.C:
5573         * lyxcursor.C:
5574         * lyxcursor.h:
5575         * lyxfunc.C:
5576         * lyxtext.h:
5577         * rowpainter.C:
5578         * text.C:
5579         * text2.C:
5580         * text3.C: remove LyXCursor::row_ member
5581
5582         * lyxtext.h:
5583         * text.C: rename fullRebreak() to partialRebreak() and implement
5584           a fullRebreak() that really bereks fully
5585
5586         * textcursor.h: new struct for cursor-related data
5587
5588 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5589
5590         * lyx_main.C (LyX): get full path of document loaded on the
5591         command line
5592
5593 2003-06-26  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5596           remove unused/broken operator>,<,>=.
5597
5598         *       text.C: remove only use of broken operator<= in an Assert().
5599
5600 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5601
5602         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5603         moved errorlist_.clear to showErrorList
5604
5605 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5606
5607         * converter.C (scanLog, runLaTeX):
5608         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5609         move the bv->showErrorList call to the callers
5610         * lyxfunc.C: i.e. here...
5611         * text2.C: and here
5612         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5613         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5614         namespace, the second to...
5615         * buffer_funcs (BufferFormat, parseErrors): added
5616         * errorlist.C (ErrorList(TeXErrors const &)): removed
5617
5618 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5619
5620         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5621
5622 2003-06-24  "Garst R. Reese" <reese@isn.net>
5623
5624         * debug.C: fix typo
5625
5626 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5627
5628         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5629
5630         * version.C.in: change docversion to 1.4
5631
5632 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5633
5634         * buffer.C: fix a bug just introduced
5635
5636 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5637
5638         * buffer.[Ch]: added the parseError signal and use it, removed
5639         sgmlError
5640         * BufferView.[Ch] (addError): moved to ...
5641         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5642         to the Buffer::parseError signal to catch (guess what) parse errors
5643         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5644
5645 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5648         ability to create a buffer and to return an existing one from
5649         the list. Moved these functions to...
5650         * buffer_funcs.[Ch]: added
5651         * BufferView.[Ch] (loadLyXFile): added
5652         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5653         job removed from bufferlist::loadLyXFile.
5654         * buffer.C (setReadOnly): make it work without view
5655         (i.e added an if (users))
5656
5657 2003-06-19  Angus Leeming  <leeming@lyx.org>
5658
5659         * lfuns.h:
5660         * LyXAction.C (init):
5661         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5662         with LFUN_DIALOG_SHOW <name> <data>.
5663
5664 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5665
5666         * CutAndPaste.C (availableSelections): small compilation fix for
5667         ancient (gcc 2.9x) compilers
5668
5669 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * text3.C (cursorNext): add tmp var
5672
5673         * text2.C (updateCounters): for function calling out of for clause
5674         (replaceSelectionWithString): ditto
5675         (insertStringAsParagraphs): ditto
5676         (getColumnNearX): add tmp var
5677         (setCursorFromCoordinates): add tmp var
5678         (cursorDownParagraph): add tmp var
5679         (deleteEmptyParagraphMechanism): add tmp var
5680
5681         * text.C (insertChar): add tmp var
5682
5683         * rowpainter.C (paintDepthBar): add tmp var
5684
5685         * CutAndPaste.C (availableSelections): potentially check all
5686         paragraphs in a cut to fill the shown strings.
5687
5688 2003-06-18  André Pönitz  <poenitz@gmx.net>
5689
5690         * kbmap.[Ch]: use vector<> instead of list<>
5691
5692 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5693
5694         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5695         pasteSelection with index
5696
5697         * text2.C (pasteSelection): modify, call pasteSelection with index
5698
5699         * paragraph.C (asString): reimplement version with no interval to
5700         call the one with interval.
5701
5702         * lyxtext.h: add index arg to pasteSelection
5703
5704         * MenuBackend.C (MenuItem): handle PasteRecent
5705         (Menu::read::Menutags): add md_pasterecent
5706         (read): handle it
5707         (expandPasteRecent): new function
5708         (expand): use it
5709
5710         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5711
5712         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5713         the limited stack
5714         (availableSelections): new function
5715
5716 2003-06-17  Angus Leeming  <leeming@lyx.org>
5717
5718         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5719
5720 2003-06-17  Angus Leeming  <leeming@lyx.org>
5721
5722         * lfuns.h:
5723         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5724
5725         * lyxfunc.C (dispatch): invoke it.
5726
5727 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5728
5729         * iterators.C (operator++, ParPosition): reintroduce some
5730         const_cast for the benefit of older compilers.
5731
5732 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5733
5734         * text3.C (dispatch): do not modify clipboard when doing
5735         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5736         LFUN_DELETE_SKIP on a selection selection
5737
5738 2003-06-16  André Pönitz  <poenitz@gmx.net>
5739
5740         * BufferView.C:
5741         * buffer.C:
5742         * buffer.h:
5743         * paragraph.C:
5744         * tabular.[Ch]: IU of clone() and getLabelList();
5745
5746 2003-06-13  André Pönitz  <poenitz@gmx.net>
5747
5748         * tabular.h: compactification
5749
5750 2003-06-12  André Pönitz  <poenitz@gmx.net>
5751
5752         * tabular.C:
5753         * tabular.h:
5754         * tabular_funcs.h: some renaming plus whitespace
5755
5756 2003-06-12  André Pönitz  <poenitz@gmx.net>
5757
5758         * BufferView.C:
5759         * BufferView_pimpl.C:
5760         * CutAndPaste.C:
5761         * buffer.C:
5762         * iterators.[Ch]:
5763         * lyxfunc.C:
5764         * text.C:
5765         * toc.C: Return a Paragraph & for ParIterator::operator*()
5766
5767 2003-06-11  John Levon  <levon@movementarian.org>
5768
5769         * lyx_main.C:
5770         * ToolbarBackend.h:
5771         * ToolbarBackend.C: add "Toolbars" section and
5772         put the flags there
5773
5774 2003-06-10  Angus Leeming  <leeming@lyx.org>
5775
5776         * lfuns.h:
5777         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5778
5779         * lyxfunc.C (dispatch): invoke it.
5780
5781 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * main.C: protect <ios> with HAVE_IOS
5784         (main): protect sync_with_stdio with HAVE_IOS
5785
5786 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5787
5788         * text2.C (cutSelection): adjust
5789         (pasteSelection): adjust
5790
5791         * messages.C: handle get of empty string
5792
5793         * main.C (main): use sync_with_stdio(false)
5794
5795         * lyxfunc.C (dispatch): adjust
5796
5797         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5798         (WriteAs): remove unneeded BufferView arg.
5799
5800         * bufferparams.h: use correct types on papersize, papersize2 and
5801         paperpackage.
5802
5803         * bufferparams.C (readToken): adjust for type
5804         (writeLaTeX): add missing cases to switch.
5805
5806         * bufferlist.C (quitWriteBuffer): adjust
5807         (close): adjust
5808
5809         * buffer.C (asciiParagraph): remove some commented code.
5810
5811         * CutAndPaste.C: remove current_view extern variable.
5812         (cutSelection): add BufferParams arg.
5813         (eraseSelection): add BufferParams arg.
5814         (pasteSelection): add Buffer const & arg
5815
5816 2003-06-07  John Levon  <levon@movementarian.org>
5817
5818         * buffer.C:
5819         * paragraph_funcs.C:
5820         * paragraph_pimpl.C:
5821         * text.C:
5822         * text2.C:
5823         * paragraph.h:
5824         * paragraph.C: allow InsetERT to freely space lines,
5825         and some consolidation of code
5826
5827 2003-06-06  José Matos  <jamatos@fep.up.pt>
5828
5829         * buffer.C (makeDocBookFile): fix bug #821
5830
5831 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5832
5833         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5834
5835 2003-06-04  Angus Leeming  <leeming@lyx.org>
5836
5837         * buffer.C: bump format to 224.
5838
5839 2003-06-05  André Pönitz  <poenitz@gmx.net>
5840
5841         * text2.C (redoParagraphs): remove two const_cast<>
5842
5843 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5844
5845         * ParagraphList.h: remove last remnants of NO_STD_LIST
5846
5847 2003-06-03  Angus Leeming  <leeming@lyx.org>
5848
5849         * factory.C (createInset): small change to the way InsetExternal's params
5850         are set.
5851
5852 2003-06-04  André Pönitz  <poenitz@gmx.net>
5853
5854         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5855
5856         * paragraph_pimpl.h:
5857         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5858
5859         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5860
5861         * undo_funcs.C: make some simple cases of undo work again
5862
5863 2003-06-03  John Levon  <levon@movementarian.org>
5864
5865         * ispell.C: HPUX doesn't have sys/select.h
5866         (from Albert Chin)
5867
5868 2003-06-03  John Levon  <levon@movementarian.org>
5869
5870         * CutAndPaste.C: update tabular and include inset
5871         buffer references
5872
5873         * buffer.h:
5874         * paragraph.h:
5875         * paragraph.C: remove owningBuffer(), don't pass Buffer
5876         to clone()
5877
5878         * factory.C: insetGraphicsParams changed
5879
5880 2003-06-02  John Levon  <levon@movementarian.org>
5881
5882         * LyXAction.C:
5883         * factory.C:
5884         * lfuns.h:
5885         * lyxfunc.C:
5886         * text3.C: remove insetparent
5887
5888 2003-06-02  John Levon  <levon@movementarian.org>
5889
5890         * buffer.h:
5891         * buffer.C: fix inset_iterator.end(), move out of line
5892         (bug 1149)
5893
5894 2003-06-01  John Levon  <levon@movementarian.org>
5895
5896         * text3.C: use a proper cut/paste when doing inset
5897         insert (from Jürgen Spitzmüller)
5898
5899 2003-06-01  John Levon  <levon@movementarian.org>
5900
5901         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5902
5903 2003-05-30  André Pönitz  <poenitz@gmx.net>
5904
5905         * rowpainter.C: unify second drawing phase
5906
5907 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * trans_mgr.C: remove one case of current_view
5910
5911         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5912
5913         * paragraph_funcs.h: remove paragraph.h include
5914
5915         * paragraph.h: delete NO_STD_LIST stuff
5916
5917         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5918
5919         * buffer.h: remove paragraph.h include
5920
5921         * ParagraphList.C: delete file
5922
5923         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5924
5925         * toc.C (getTocList): adjust
5926
5927         * paragraph_pimpl.C (validate): adjust
5928
5929         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5930
5931         * paragraph.C (Paragraph): adjust
5932         (getPositionOfInset): use const_iterator, adjust
5933         (bibitem): use const_iterator, adjust
5934         (setInsetOwner): adjust
5935
5936         * iterators.C (operator++): adjust
5937
5938         * InsetList.[Ch]: Replace selfmade iterator with standard
5939         vector::iterator also introduce const_iterator. Remove getPos,
5940         getInset and setInset from InsetTable. Adjust accordingly.
5941
5942         * BufferView.C (lockInset): adjust
5943         (ChangeInsets): adjust
5944
5945         * tabular.[Ch]: delete commented same_id functions
5946
5947 2003-05-28  John Levon  <levon@movementarian.org>
5948
5949         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5950
5951 2003-05-28  André Pönitz  <poenitz@gmx.net>
5952
5953         * metricsinfo.[Ch]: remove 'fullredraw' member
5954
5955 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5956
5957         * lyxtextclass.C (operator): remove caching.
5958
5959 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * text3.C: adjust
5962
5963         * text2.C (cursorBottom): adjust
5964         (setCounter): use ParagraphList::find, adjust
5965
5966         * text.C (workWidth): use ParagraphList::find, adjust
5967
5968         * lyxcursor.C (LyXCursor): adjust
5969
5970         * buffer.C (inset_iterator): adjust
5971
5972         * ParagraphList.h: make iterator(value_type) private, make
5973         ParagraphList a friend of iterator.
5974
5975         * ParagraphList.C (find): new function
5976
5977         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5978
5979 2003-05-27  André Pönitz  <poenitz@gmx.net>
5980
5981         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5982
5983 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5984
5985         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5986
5987 2003-05-26  John Levon  <levon@movementarian.org>
5988
5989         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5990
5991 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * remove same_id from function signatures, adjust.
5994
5995 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5998
5999         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6000
6001         * paragraph.C (Paragraph): get rid of same_ids parameter
6002
6003         * ParagraphList.C (insert): adjust
6004         (push_back): adjust
6005
6006 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * paragraph_funcs.C (breakParagraph): adjust
6009         (breakParagraphConservative): adjust
6010
6011         * buffer.C (readParagraph): adjust
6012
6013         * ParagraphList.C (insert): take a reference instead of a pointer
6014         (insert): adjust
6015
6016         * paragraph.[Ch] (id): new function
6017
6018         * bufferlist.C (newFile): adjust
6019
6020         * ParagraphList.C (ParagraphList): adjust
6021         (assign): adjust
6022         (push_back): take a reference instead of a pointer.
6023
6024         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6025
6026         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6027         instead.
6028
6029         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6030         set else use old code.
6031
6032         * ParagraphList.C: remove all NO_NEXT code and only compile this
6033         code of NO_STD_LIST is set.
6034
6035 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * BufferView_pimpl.C:
6038         * TextCache.C:
6039         * TextCache.h:
6040         * bufferlist.C:
6041         * errorlist.h:
6042         * format.C:
6043         * format.h:
6044         * graph.C:
6045         * lyxfunc.C:
6046         * lyxrc.C:
6047         * graphics/GraphicsConverter.C:
6048         * graphics/PreviewLoader.C: header adjustment
6049
6050 2003-05-23  Angus Leeming  <leeming@lyx.org>
6051
6052         * LaTeXFeatures.[Ch] (useBabel): new method.
6053         * bufferparams.C (writeLaTeX): use it.
6054
6055 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * ParagraphList.h (set): remove unused function.
6058
6059 2003-05-23  André Pönitz  <poenitz@gmx.net>
6060
6061         * BufferView.C:
6062         * BufferView_pimpl.C:
6063         * buffer.C:
6064         * buffer.h:
6065         * lyxfunc.C:
6066         * undo_funcs.C: setUndo reworked
6067
6068         * iterators.[Ch]: add access to topmost ParagraphList
6069
6070         * lyxtext.[Ch] (workWidth): add a const
6071
6072 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * texrow.[Ch] (increasePos): remove function
6075         * exporter.C (export): removed unused var and outdated comment
6076
6077 2003-05-23  Angus Leeming  <leeming@lyx.org>
6078
6079         * latexrunparams.h: rename fragile as moving_arg.
6080         * paragraph.C (simpleTeXOnePar): ditto.
6081         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6082
6083 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6086         (createUndo): ditto
6087         (textUndoOrRedo): comment out a currently unused var.
6088
6089         * paragraph.h (NO_NEXT): enable NO_NEXT
6090
6091         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6092
6093         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6094
6095         * exporter.C (Export): adjust for removeAutoInsets removal.
6096
6097         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6098
6099         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6100
6101         * BufferView.[Ch] (removeAutoInsets): delete function
6102
6103 2003-05-22  Angus Leeming  <leeming@lyx.org>
6104
6105         * latexrunparams.h: add a free_spacing variable.
6106
6107         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6108         to pass moving_arg, as the data is stored in runparams.fragile.
6109
6110         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6111         to Inset::latexOptional or to simpleTeXOnePar.
6112
6113         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6114         free_spacing arg to Inset::latexOptional.
6115
6116         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6117         free_spacing arg.
6118
6119 2003-05-22  Angus Leeming  <leeming@lyx.org>
6120
6121         * latexrunparams.h: add fragile and use_babel variables.
6122
6123         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6124         * buffer.C (makeLaTeXFile): store this returned value in
6125         runparams.use_babel, thus passing it to the inset::latex methods.
6126
6127         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6128         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6129
6130         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6131         longer has a fragile arg, as it is stored in runparams.fragile.
6132
6133         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6134         moving_arg parameter as the data is stored in runparams.fragile.
6135
6136         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6137         a fragile parameter as the data is stored in runparams.fragile.
6138
6139 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6142
6143 2003-05-22  Angus Leeming  <leeming@lyx.org>
6144
6145         * latexrunparams.h: add a 'bool nice' which defaults to false.
6146
6147         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6148         now encapsulated within runparams.
6149
6150         * bufferlist.C (updateIncludedTeXfiles):
6151         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6152
6153 2003-05-22  Angus Leeming  <leeming@lyx.org>
6154
6155         * latexrunparams.h: new file containing struct LatexRunParams.
6156         * Makefile.am: add new file.
6157
6158         * LaTeX.[Ch] (c-tor, run):
6159         * buffer.[Ch] (makeLaTeXFile):
6160         * bufferlist.[Ch] (updateIncludedTeXfiles):
6161         * converter.C (convert, scanLog):
6162         * converter.[Ch] (runLaTeX):
6163         * exporter.C (Export):
6164         * paragraph.[Ch] (simpleTeXOnePar):
6165         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6166         * paragraph_funcs.[Ch] (latexParagraphs):
6167         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6168         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6169         pass around a LatexRunParams parameter.
6170
6171 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * paragraph.[Ch]: remove unused constructor
6174
6175         * ParagraphList.C (erase): new function, taking two iterators
6176
6177 2003-05-22  André Pönitz  <poenitz@gmx.net>
6178
6179         * undo_funcs.C: remove duplicated code
6180
6181         * iterator.[Ch]: operator=
6182
6183 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * tabular.C (SetMultiColumn): ws changes
6186
6187         * rowpainter.C (paintFirst): get rid of a ->previous
6188
6189         * lyx_cb.C (getPossibleLabel): parlist simplification
6190
6191         * BufferView.C (ChangeInsets): simplify slightly.
6192
6193 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6194
6195         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6196         * lfuns.h: new LFUN_SPACE
6197         * lyxfunc.C: protected space has a new lfun
6198         * paragraph_funcs.C: read new space insets
6199         * text3.C:
6200         * factory.C: handle new space insets
6201
6202 2003-05-22  André Pönitz  <poenitz@gmx.net>
6203
6204         * BufferView.C:
6205         * BufferView_pimpl.C:
6206         * buffer.[Ch]:
6207         * lyxfunc.C:
6208         * undo_funcs.C: return a ParIterator from getParFromID.
6209
6210         * iterators.[Ch]: add two const's
6211
6212 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * toc.C (getTocList): adjust
6215
6216         * iterators.[Ch]: rework for parlist
6217
6218         * buffer.C (par_iterator_begin): adjust
6219         (par_iterator_end): adjust
6220
6221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6222
6223         * BufferView.C (removeAutoInsets): adjust
6224         (ChangeInsets): adjust
6225
6226 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * text.C (top_y): fix bug 1110
6229
6230 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * errorlist.[Ch]: added
6233         * buffer.C:
6234         * BufferView.[Ch]:
6235         * BufferView_pimpl.C:
6236         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6237         instead
6238
6239 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * Makefile.am: ensure that lyx is relinked upon changes to the
6242         various "convenience" libs.
6243
6244 2003-05-20  Angus Leeming  <leeming@lyx.org>
6245
6246         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6247         files are compiled in alphabetical order again.
6248
6249         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6250
6251 2003-05-19  Angus Leeming  <leeming@lyx.org>
6252
6253         * gettext.[Ch]: remove "char const * _(char const *)".
6254
6255 2003-05-19  André Pönitz  <poenitz@gmx.net>
6256
6257         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6258
6259         * Makefile.am:
6260         * BufferView.C:
6261         * DepTable.h:
6262         * LaTeXFeatures.C:
6263         * buffer.C:
6264         * lyxfont.C:
6265         * lyxlex.h:
6266         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6267
6268 2003-05-19  André Pönitz  <poenitz@gmx.net>
6269
6270         * buffer.C:
6271         * lyxlayout.[Ch]:
6272         * lyxtextclass.[Ch]:
6273         * paragraph.C:
6274         * paragraph_funcs.[Ch]:
6275         * text2.C:
6276         * text3.C: more insetenv work
6277
6278 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * ParagraphParameters.C (params2string): small bug fixed
6281
6282 2003-05-16  André Pönitz  <poenitz@gmx.net>
6283
6284         * debug.C:
6285         * bufferview_funcs.C: patch from Kornel Benko to prevent
6286           crash when _(...) is called twice in a statement
6287
6288 2003-05-16  André Pönitz  <poenitz@gmx.net>
6289
6290         * BufferView.C:
6291         * lyxfunc.C:
6292         * text.C:
6293         * text2.C:
6294         * text3.C:
6295         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6296
6297 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6298
6299         * lyx_main.C (init): remove spurious static_cast
6300
6301 2003-05-14  André Pönitz  <poenitz@gmx.net>
6302
6303         * BufferView.C: fix format string
6304
6305 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6306
6307         * BufferView.[Ch] (insertErrors): removed
6308         * BufferView.[Ch] (showErrorList): added
6309         * buffer.C (runChkTeX):
6310         * converter.C (scanLog): call showErrorList instead of inserterrors
6311
6312 2003-05-13  André Pönitz  <poenitz@gmx.net>
6313
6314         * BufferView_pimpl.C:
6315         * buffer.C:
6316         * bufferview_func.C:
6317         * MenuBackend.C:
6318         * lyxfunc.C:
6319         * lyxrc.C:
6320         * tex-accent.C:
6321         * text3.C:
6322         * toc.C:
6323         * tabular_funcs.h: tostr() from its own header
6324
6325         * ParagraphParameters.C:
6326         * ToolbarBackend.C:
6327         * bufferparams.C:
6328         * format.C:
6329         * lyxlex_pimpl.C:
6330         * text3.C: STRCONV()
6331
6332 2003-05-12  André Pönitz  <poenitz@gmx.net>
6333
6334         * BufferView.C:
6335         * BufferView_pimpl.C:
6336         * CutAndPaste.C:
6337         * LaTeX.C:
6338         * LaTeXFeatures.C:
6339         * ParagraphParameters.C:
6340         * buffer.C:
6341         * bufferlist.C:
6342         * bufferparams.C:
6343         * bufferview_funcs.C:
6344         * converter.C:
6345         * counters.C:
6346         * debug.C:
6347         * exporter.C:
6348         * format.C:
6349         * importer.C:
6350         * lyx_cb.C:
6351         * lyx_main.C:
6352         * lyxfont.C:
6353         * lyxfunc.C:
6354         * lyxvc.C:
6355         * paragraph.C:
6356         * paragraph_funcs.C:
6357         * tabular.C:
6358         * tabular_funcs.C:
6359         * text2.C:
6360         * text3.C:  boost::format -> bformat  all over the place
6361
6362
6363 2003-05-09  André Pönitz  <poenitz@gmx.net>
6364
6365         * LColor.[Ch]: Pimpl the #include <map> away
6366
6367 2003-05-09  John Levon  <levon@movementarian.org>
6368
6369         * bufferlist.C: never remove emergency saves
6370
6371 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * Makefile.am: better lib building
6374
6375 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6378         instead.
6379         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6380         (simpleTeXSpecialChars): adjust
6381         (simpleTeXSpecialChars): adjust
6382         * paragraph.C (simpleTeXOnePar): adjust
6383         * buffer.C (makeLaTeXFile): adjust
6384
6385         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6386
6387         * text2.C (changeDepth): parlist cleanup
6388         (getColumnNearX): ditto
6389
6390         * rowpainter.C (getLabelFont): parlist cleanup
6391
6392         * bufferlist.C (newFile): parlist cleanup
6393
6394         * CutAndPaste.C (eraseSelection): parlist cleanup
6395
6396         * BufferView_pimpl.C (trackChanges): parlist cleanup
6397         (dispatch): ditto
6398
6399         * BufferView.C (lockInset): parlist cleanup.
6400         (ChangeInsets): ditto
6401
6402 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6403
6404         * CutAndPaste.h: Update file header.
6405
6406         * CutAndPaste.C: Update file header.
6407         Store the parts cut out of the Document in a limited_stack.
6408         (copySelection): adjust
6409         (pasteSelection): new function, takes the index in the limited stack.
6410         (nrOfParagraphs): adjust
6411         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6412         simplify error inset insertion.
6413         (checkPastePossible): adjust
6414
6415 2003-05-06  John Levon  <levon@movementarian.org>
6416
6417         * text2.C: don't cast wrap inset to float
6418
6419 2003-05-05  André Pönitz  <poenitz@gmx.net>
6420
6421         * iterator.C:
6422         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6423
6424         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6425           few naked Paragraph *.
6426
6427 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6428
6429         * bufferparams.C: Output warning if a document with missing
6430         TeX document class is loaded
6431         * exporter.C: Disable TeX exports if the document class is missing
6432         * lyxtextclass.C:
6433         * lyxtextclass.h:
6434         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6435         isTeXClassAvailable()
6436
6437 2003-05-03  John Levon  <levon@movementarian.org>
6438
6439         * BufferView.h:
6440         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6441         explicit cursor show/hide
6442
6443         * BufferView_pimpl.h:
6444         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6445         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6446
6447         * lyxfunc.C: hide cursor before dispatching.
6448
6449         * lyx_cb.C:
6450         * lyxfind.C:
6451         * text.C:
6452         * text3.C: remove explicit cursor hides
6453
6454 2003-05-02  André Pönitz  <poenitz@gmx.net>
6455
6456         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6457
6458         * undo_funcs.C:
6459         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6460           linked lists
6461
6462         * text2.C: tiny whitespace
6463
6464 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * undo_funcs.C: almost only ws changes.
6467
6468         * ParagraphList.C (splice): just return if pl is empty.
6469
6470 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * ParagraphList.C (splice): new function.
6473
6474         * CutAndPaste.C (pasteSelection): use it
6475
6476 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * CutAndPaste.C (pasteSelection): remove the last next and
6479         previous from this file.
6480
6481 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * CutAndPaste.C (pasteSelection): more clean up, user proper
6484         ParagraphList functions for pasteing.
6485
6486         * ParagraphList.C (insert): new function, three arg insert
6487
6488 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * ParagraphList.C (insert): new function, three arg insert
6491
6492         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6493         not on paragraphs.
6494
6495 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6498
6499 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6502
6503 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6506         (copySelection): clean up a bit.
6507         (pasteSelection): use make_pair
6508
6509         * ParagraphList.C (ParagraphList): implement copy constructor
6510         (operator=): implement, base on copy constructor.
6511         (assign): new func
6512
6513         * paragraph.C (erase): return a bool
6514
6515         * paragraph_pimpl.C (erasePos): remove function, move contents...
6516         (erase): ... here. Return a bool.
6517         (erase): call erase instead of erasePos.
6518
6519 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * ParagraphList.h: define PitPosPair
6522         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6523         ParagraphList, fix a bug on pasting multiple pars
6524         * text2.C: change interface to C&P
6525
6526 2003-04-30  André Pönitz  <poenitz@gmx.net>
6527
6528         * undo_func.C: revert part of yesterday's patch 2
6529
6530 2003-04-30  John Levon  <levon@movementarian.org>
6531
6532         * LColor.C: s/tabular/table/
6533
6534 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * text3.C (dispatch): do not convert iterator -> pointer
6537         * undo_funcs.C (setCursorParUndo): ditto
6538         * text_funcs.C (transposeChars): ditto
6539
6540         * text2.C (setLayout): ws changes only
6541
6542         * text.C (breakParagraph): do not convert iterator -> pointer
6543         (insertChar): ditto
6544         (acceptChange): ditto
6545         (rejectChange): ditto
6546         (changeCase): ditto
6547         (Delete): ditto
6548         (backspace): ditto
6549
6550         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6551         pointer
6552
6553 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * text3.C (gotoInset): YABG (yet another bad getChar)
6556
6557 2003-04-29  André Pönitz  <poenitz@gmx.net>
6558
6559         * paragraph.h: make operator= private unimplemented as long as
6560           it is unusable
6561
6562         * ParagraphList.C: whitespace
6563
6564         * paragraph.[Ch]:
6565         * paragraph_pimpl.[Ch]:
6566         * paragraph_funcs.C:
6567         * CutAndPaste.C:
6568         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6569
6570         * text2.C:
6571           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6572
6573 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6574
6575         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6576         * paragraph.[Ch] (erase):
6577         * paragraph_pimpl.[Ch] (erase): change return type and value
6578         * text2.C (cutSelection): some rework
6579
6580 2003-04-28  John Levon  <levon@movementarian.org>
6581
6582         * bufferlist.C: changes for unsaved changes dialog
6583
6584 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * bufferlist.C (newFile): set language (messages_) for new
6587         documents also.
6588
6589         * buffer.C (readFile): ws changes only.
6590
6591 2003-04-28  André Pönitz  <poenitz@gmx.net>
6592
6593         * undo_funcs.C:
6594         * lyxfunc.C:
6595         * buffer.[Ch]:
6596         * BufferView_pimpl.C:
6597         * BufferView.C: getParFromID related ParagraphList::iterator changes
6598
6599 2003-04-28  André Pönitz  <poenitz@gmx.net>
6600
6601         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6602           Changes
6603
6604 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * messages.C: remove one more localedir class variable.
6607
6608 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * messages.C (getLocaleDir): singleton generation function
6611         (Pimpl): use it.
6612         (Messages): add a default constructor.
6613
6614         * main.C (main): do not setup localedir here, do not call
6615         gettext_init.
6616
6617         * gettext.C (_): use it.
6618         (gettext_init): delete funciton
6619
6620 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * gettext.C (getLyXMessages): new singleton generating function.
6623
6624         * buffer.C (updateDocLang): adjust
6625
6626         * Makefile.am (messages.o): add target
6627         (main.o): remove target
6628
6629 2003-04-27  John Levon  <levon@movementarian.org>
6630
6631         * bufferlist.C:
6632         * lyx_cb.C:
6633         * lyxfunc.C:
6634         * lyxvc.C: specify cancel button in Alert::prompt
6635
6636 2003-04-26  John Levon  <levon@movementarian.org>
6637
6638         * text3.C:
6639         * lyxfunc.C:
6640         * lfuns.h:
6641         * LyXAction.C: add LFUN_INSET_SETTINGS
6642
6643         * lyxfunc.C: don't enable tabular-feature when there's
6644         just any locking inset
6645
6646 2003-04-26  John Levon  <levon@movementarian.org>
6647
6648         * bufferlist.C: re-add Cancel to buffer close question
6649
6650         * lyxfunc.C: fix import UI a bit
6651
6652 2003-04-25  John Levon  <levon@movementarian.org>
6653
6654         * gettext.C: remove the broken asserts for now
6655
6656 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * messages.C: make case where setlocale cannot comply work better.
6659
6660         * buffer.C (updateDocLang): new function
6661         (changeLanguage): use it
6662         (readFile): use it
6663
6664         * text2.C (setCounter): use B_ a bit.
6665
6666         * lyxlayout.C (Read): be sure to trim the label strings.
6667
6668         * messages.C (Messages): fix typo in comment
6669
6670         * buffer.C (readFile): set message_ after file is loaded.
6671         (makeDocBookFile): remove double return
6672         (changeLanguage): reset message_ upon language change.
6673         (B_): new func, use this to get translated buffer strings.
6674
6675         * main.C: add myself and Jean Marc as authors.
6676
6677 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * messages.[hC]: pimplify Messages, and three different pimpls to be
6680         used in different circumstances.
6681
6682         * gettext.[Ch]: change for use with new message code.
6683
6684 2003-04-24 André Pönitz <poenitz@gmx.net>
6685
6686         * factory.C: support for eqref
6687
6688 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * messages.[Ch]: add missing char
6691
6692         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6693
6694         * messages.[Ch]: New files
6695
6696 2003-04-18  John Levon  <levon@movementarian.org>
6697
6698         * BufferView.h:
6699         * BufferView.C:
6700         * BufferView_pimpl.C:
6701         * lfuns.h:
6702         * LyXAction.C:
6703         * lyxtext.h:
6704         * text2.C: remove layout-copy/paste (bug 778)
6705
6706 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6707
6708         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6709
6710 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6713         if they succeed. Act accordingly.
6714
6715 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * text2.C (setCharFont): adjust
6718         (setCounter): adjust
6719         (insertStringAsLines): adjust
6720
6721         * text.C (leftMargin): adjust
6722         (setHeightOfRow): adjust
6723
6724         * rowpainter.C (paintFirst): adjust
6725         (paintLast): adjust
6726
6727         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6728         (outerHook): ditto
6729         (isFirstInSequence): ditto
6730         (getEndLabel): ditto
6731         (outerFont): adjust
6732
6733         * paragraph.C (getParLanguage): comment out some hard stuff.
6734
6735         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6736         (sgmlError): ditto
6737         (simpleDocBookOnePar): ditto
6738         (makeDocBookFile): use ParagraphList::iterator
6739
6740         * CutAndPaste.C (pasteSelection): adjust
6741
6742 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * text2.C (getFont): adjust
6745         (getLayoutFont): adjust
6746         (getLabelFont): adjust
6747
6748         * paragraph_funcs.C (TeXOnePar): adjust
6749
6750         * buffer.C (simpleLinuxDocOnePar): adjust
6751         (simpleDocBookOnePar): adjust
6752
6753         * CutAndPaste.C (pasteSelection): adjust
6754
6755         * BufferView.C (getEncoding): adjust
6756
6757         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6758
6759 2003-04-16  John Levon  <levon@movementarian.org>
6760
6761         * lyxfind.C: use parlist stuff for search/changes
6762
6763 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6764
6765         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6766
6767         * text2.C (deleteEmptyParagraphMechanism): adjust
6768
6769         * text2.[Ch] (ownerParagraph): delete func (both of them
6770
6771 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6774
6775 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * ParagraphList.C: prepare for NO_NEXT
6778
6779 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * text2.C (getFont): adjust
6782         (getLayoutFont): adjust
6783         (getLabelFont): adjust
6784
6785         * paragraph.C (getFont): adjust
6786         (getLabelFont): adjust
6787         (getLayoutFont): adjust
6788
6789         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6790
6791 2003-04-15  John Levon  <levon@movementarian.org>
6792
6793         From Angus Leeming
6794
6795         * lyx_main.C: handle Include in .ui files
6796
6797 2003-04-15  John Levon  <levon@movementarian.org>
6798
6799         * MenuBackend.C: make the doc files length shorter
6800
6801         * ToolbarBackend.h:
6802         * ToolbarBackend.C: handle toolbar placement flags,
6803         Minibuffer
6804
6805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6808         adjust
6809
6810         * paragraph_funcs.C (TeXOnePar): adjust
6811
6812         * paragraph.C (getLabelFont): add outerfont arg, adjust
6813         (getLayoutFont): ditto
6814         (simpleTeXOnePar): adjust
6815
6816         * paragraph_pimpl.C (realizeFont): delete func
6817
6818 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6819
6820         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6821         row argument, constify cur argument.
6822
6823 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * text2.C (getFont): adjust
6826         (getLayoutFont): adjust
6827         (getLabelFont): adjust
6828
6829         * paragraph_funcs.C (TeXOnePar): adjust
6830         (outerFont): new func...
6831         (realizeFont): ...moved out from here, changed this to facilitate
6832         transition
6833
6834         * paragraph.C (getFont): take outerfont as arg, adjust
6835         (simpleTeXOnePar): add outerfont arg, adjust
6836
6837         * buffer.C (simpleLinuxDocOnePar): adjust
6838         (simpleDocBookOnePar): adjust
6839
6840         * CutAndPaste.C (pasteSelection): adjust
6841
6842         * BufferView.C (getEncoding): adjust
6843
6844 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * text2.C (setCharFont): adjust
6847         (setCounter): adjust
6848
6849         * text.C (leftMargin): adjust
6850         (setHeightOfRow): adjust
6851
6852         * rowpainter.C (paintFirst): adjust
6853         (paintLast): adjust
6854
6855         * paragraph_pimpl.C (realizeFont): adjust
6856
6857         * paragraph.C (isFirstInSequence): move from here...
6858         * paragraph_funcs.C (isFirstInSequence): ...to here
6859
6860         * paragraph.C (outerHook): move from here...
6861         * paragraph_funcs.C (outerHook): ...to here
6862
6863         * paragraph.C (depthHook): move from here...
6864         * paragraph_funcs.C (depthHook): ...to here
6865
6866         * paragraph.C (getEndLabel): move from here...
6867         * paragraph_funcs.C (getEndLabel): ...to here
6868
6869         * text2.C (realizeFont): move from here...
6870         * paragraph_funcs.C (realizeFont): ...to here
6871
6872 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6875
6876 2003-04-14  Angus Leeming  <leeming@lyx.org>
6877
6878         * LColor.[Ch]: scrap LColor mathcursor.
6879
6880 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * lyxlex.[Ch] (text): delete function
6883         * trans.C (Load): adjust
6884         * paragraph_funcs.C (readParToken): adjust
6885
6886 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6889         vector<char> instead of a char[].
6890
6891         * lyxlex_pimpl.C (getString): adjust
6892         (next): adjust
6893         (lex): use getString
6894         (eatLine): adjust
6895         (nextToken): adjust
6896
6897         * lyxlex.C (text): use pimpl_->getString()
6898         (getBool): ditto
6899         (findToken): ditto
6900
6901 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6904         (makeFontEntriesLayoutSpecific): temp var for par.size()
6905         (setLayout): temp var for ownerParagraphs().end()
6906         (fullRebreak): temp var for rows().end()
6907         (selectionAsString): temp var for boost::next(startpit), realize
6908         that the while really is a regular for loop.
6909         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6910         setCursor in one place.
6911         (setParagraph): temp vr for ownerParagraphs().end()
6912         (updateCounters): make the while loop a for loop
6913         (cutSelection): temp var for ownerParagraphs().end()
6914         (updateInset): make the do {} while() a regular for loop
6915         (getCursorX): use temp vars
6916         (setCurrentFont): use temp vars
6917         (getColumnNearX): use temp vars
6918
6919 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * text.C (transformChar): use temp var for getChar
6922         (computeBidiTables): use temp var for row->par()
6923         (fill): move temp vars for row->par() and pit->layout() earlier in
6924         the function.
6925         (labelFill): use temp var for row->par()
6926         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6927         asc and desc, realize that pit never changes and that firstpit is
6928         just a duplicate and not needed. Exchange rit->par() with pit in a
6929         lot of places.
6930         (breakAgain): use a temp var for boost::next(rit)
6931         (breakAgainOneRow): ditto
6932         (breakParagraph): use a temp var for rows().begin()
6933         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6934         (cursorRightOneWord): use temp var for cursor.par() and
6935         cursor.pos(), remove usage of tmpcursor.
6936         (cursorLeftOneWord): use temp var for cursor.par() and
6937         cursor.pos() only set cur at end of function.
6938
6939 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * text.C, text2.C: exchange all usage of Paragraph::next with
6942         boost::next(ParagraphList::iterator)
6943
6944         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6945
6946         * text2.C (cursorTop): simplify implementation
6947         (cursorBottom): ditto
6948         (setParagraph): use ParagraphList::iterator
6949         (setCurrentFont): adjust
6950         (getColumnNearX): adjust
6951         (cursorRight): adjust
6952         (cursorLeft): remove usage of Paragraph::previous
6953         (cursorUpParagraph): ditto
6954         (deleteEmptyParagraphMechanism): slight cleanup
6955
6956         * text.C (isBoundary): take a Paragraph const & instead of a
6957         pointer as arg.
6958         (addressBreakPoint): ditto
6959         (leftMargin): remove usage of Paragraph::previous.
6960         (setHeightOfRow): ditto
6961         (cursorLeftOneWord): ditto
6962         (selectNextWordToSpellcheck): ditto
6963         (Delete): ditto
6964         (backspace): ditto
6965         (breakParagraph): remove one usage of Paragraph::next
6966         (redoParagraph): ditto
6967         (acceptChange): ditto
6968         (insertChar): adjust
6969         (rowBreakPoint): adjust
6970
6971         * bufferview_funcs.C (toggleAndShow): adjust
6972
6973 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6974
6975         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6976         methods to access it.
6977         * lyxtext.h:
6978         * text.C: Added updateRowPositions to compute all row positions.
6979         Make top_y and getRowNearY() to use the cached y position
6980
6981 2003-04-11  John Levon  <levon@movementarian.org>
6982
6983         * text.C (rowBreakPoint): reintroduce the labelEnd
6984         checks, code copied from the row fill stuff. Deep voodoo.
6985
6986         * text.C (fill): add a comment and debugging for the
6987         next poor soul.
6988
6989 2003-04-11  John Levon  <levon@movementarian.org>
6990
6991         * text.C: make sure fullrow insets get wrapped to the next line,
6992         even when they're in a manual label
6993
6994 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * text2.C (insertParagraph): make it take ParagraphList::iterator
6997         as arg.
6998         (setLayout): make it return ParagraphList::iterator
6999         (redoParagraphs): ditto
7000         (setCounter): ditto
7001         (checkParagraph): ditto
7002
7003         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7004
7005         * text2.C: adjust several funcs.
7006         (realizeFont): take a ParagraphList::iterator as arg.
7007         (getLayoutFont): ditto
7008         (getLabelFont): ditto
7009         (setCharFont): ditto
7010
7011         * text.C: adjust several funcs.
7012
7013 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7014
7015         * text.C (selectNextWordToSpellcheck): don't accidentally
7016         skip insets
7017
7018 2003-04-10  John Levon  <levon@movementarian.org>
7019
7020         * ToolbarBackend.C (getIcon): special handling for
7021         LFUN_MATH_DELIM
7022
7023 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * text2.C (cursorRight): a getChar assert fixed
7026
7027 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * text2.C (getFont): change to take a ParagraphList::iterator
7030         instead of Paragraph*
7031         Adjust several functions.
7032
7033         * text.C (transformChar): change to take a ParagraphList::iterator
7034         instead of Paragraph*
7035         (singleWidth): ditto
7036         Adjust several functions.
7037
7038         * rowpainter.C: adjust several functions
7039         * rowpainter.h:store a ParagraphList::iterator and not a
7040         Paragraph&.
7041
7042
7043 2003-04-09  John Levon  <levon@movementarian.org>
7044
7045         * lyxfunc.C:
7046         * lfuns.h:
7047         * LyXAction.h:
7048         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7049         and the "help" bits as well
7050
7051 2003-04-09  John Levon  <levon@movementarian.org>
7052
7053         * ToolbarBackend.h:
7054         * ToolbarBackend.C: allow multiple toolbars
7055
7056 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * undo_funcs.C (setCursorParUndo): adjust
7059
7060         * text_funcs.C (transposeChars): adjust
7061
7062         * text3.C (gotoNextInset): adjust
7063         (dispatch): adjust
7064
7065         * text2.C (setLayout): adjust
7066         (changeDepth): adjust
7067         (setFont): adjust
7068         (redoParagraphs): adjust
7069         (selectionAsString): adjust
7070         (setParagraph): adjust
7071         (insertInset): adjust
7072         (cutSelection): adjust
7073         (copySelection): adjust
7074         (pasteSelection): adjust
7075         (insertStringAsLines): adjust
7076         (updateInset): adjust
7077         (setCursor): change to take a ParagraphList::iterator parameter
7078         (setCursorIntern): change to take a ParagraphList::iterator parameter
7079         (setCurrentFont): adjust
7080         (cursorLeft): adjust
7081         (cursorRight): adjust
7082         (deleteEmptyParagraphMechanism): adjust
7083
7084         * text.C (breakParagraph): adjust
7085         (insertChar): adjust
7086         (acceptChange): adjust
7087         (rejectChange): adjust
7088         (selectNextWordToSpellcheck): adjust
7089         (changeCase): adjust
7090         (Delete): adjust
7091         (backspace): adjust
7092
7093         * lyxfind.C (SearchForward): adjust
7094         (SearchBackward): adjust
7095         (nextChange): adjust
7096
7097         * lyxcursor.C (par): adjust
7098
7099         * lyxcursor.h: store a ParagraphList::iterator instead of a
7100         Paragraph*
7101
7102         * lyx_cb.C (getPossibleLabel): adjust
7103
7104         * bufferview_funcs.C (toggleAndShow): adjust
7105
7106         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7107         (dispatch): adjust
7108
7109         * BufferView.C (removeAutoInsets): adjust
7110         (lockedInsetStoreUndo): adjust
7111
7112 2003-04-09  John Levon  <levon@movementarian.org>
7113
7114         * ToolbarBackend.C: try icon without argument
7115         if with argument fails
7116
7117 2003-04-08  John Levon  <levon@movementarian.org>
7118
7119         * ToolbarBackend.h:
7120         * ToolbarBackend.C: add getIcon(), handle tooltip,
7121         and change from "Icon" to "Item".
7122
7123 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7124
7125         * BufferView.C (lockInset): another bad getchar crunched
7126
7127 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7130         again)
7131
7132 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * lyxfind.C (searchForward, searchBackwards): bug 782
7135
7136 2003-04-07  John Levon  <levon@movementarian.org>
7137
7138         * paragraph.C: remove dead comment
7139
7140         * text.C: remove troublesome depth-fiddling code
7141         in leftMargin() and rightMargin() (bug 1017)
7142
7143         * text.C: fix breaking of rows in nested lists
7144         (bug 1004)
7145
7146         * text2.C (updateCounters): fix up depth values
7147         (bug 1013)
7148
7149 2003-04-07  John Levon  <levon@movementarian.org>
7150
7151         * BufferView_pimpl.C: clear message when doc finishes resizing,
7152         and after a mouse event
7153
7154         * lyxfunc.C: clear message after exiting inset
7155
7156 2003-04-07  John Levon  <levon@movementarian.org>
7157
7158         * bufferview_funcs.C: show math status not outside
7159         status in the statusbar
7160
7161 2003-04-07  John Levon  <levon@movementarian.org>
7162
7163         * lyxfunc.C: note status changed after a depth change
7164
7165 2003-04-04  Angus Leeming  <leeming@lyx.org>
7166
7167         * LaTeX.h: move AuxInfo operator==, != out of line.
7168         Remove LaTeX virtual destructor; nothing derives from it.
7169         Move operator()() out of public area and rename it startscript().
7170         Change protected for private.
7171
7172 2003-04-04  Angus Leeming  <leeming@lyx.org>
7173
7174         * lyxfunc.C:
7175         * text2.C: remove unneeded #includes.
7176
7177 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7178
7179         * text2.C (dEPM): fix the heigth of the next row
7180
7181 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * text.C: squashed an invalid getChar requester + some ws changes
7184
7185 2003-04-03  John Levon  <levon@movementarian.org>
7186
7187         * bufferview_funcs.h:
7188         * bufferview_funcs.C:
7189         * lyxfunc.C:
7190         * lyxtext.h:
7191         * text2.C: make getStatus work for the env depth lfuns
7192
7193 2003-04-03  John Levon  <levon@movementarian.org>
7194
7195         * bufferview_funcs.h:
7196         * bufferview_funcs.C:
7197         * lyxfunc.C:
7198         * lyxtext.h:
7199         * text2.C: parlistize decDepth(), by merging it with incDepth()
7200
7201 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7202
7203         * lyxrow.h: store a ParagraphList::iterator instead of a
7204         Paragraph* and adjust other class functions to suit.
7205
7206         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7207         above.
7208
7209 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7210
7211         * text2.C (setCursor): do not anchor to cursor row for the time being
7212
7213 2003-04-02  John Levon  <levon@movementarian.org>
7214
7215         * LyXAction.C:
7216         * lfuns.h:
7217         * lyx_main.C:
7218         * lyxtext.h:
7219         * text.C:
7220         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7221
7222 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * paragraph.h: make ParagraphList and ParagraphList::iterator
7225         friends of Paragraph.
7226
7227         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7228
7229         * ParagraphList.C: Use the private next_ and previous_ from
7230         Paragraph.
7231
7232 2003-04-01  John Levon  <levon@movementarian.org>
7233
7234         * ToolbarBackend.h:
7235         * ToolbarBackend.C:
7236         * Makefile.am: rename, remove defaults gunk
7237
7238         * MenuBackend.h:
7239         * MenuBackend.C: remove defaults gunk
7240
7241         * Languages.h:
7242         * Languages.C: remove defaults gunk
7243
7244         * lyx_main.h:
7245         * lyx_main.C: error out if files couldn't be found.
7246
7247 2003-04-02  John Levon  <levon@movementarian.org>
7248
7249         * text2.C: make incDepth() use parlist
7250
7251 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * undo_funcs.C (firstUndoParagraph): adjust
7254
7255         * text3.C (gotoInset): adjust
7256         (dispatch): adjust, and rewrite loop.
7257
7258         * text2.C (init): adjust, and rewrite loop.
7259         (redoParagraphs): adjust
7260         (updateInset): adjust, and rewrite loop.
7261         (deleteEmptyParagraphMechanism): adjust
7262
7263         * tabular.C (LyXTabular): adjust
7264         (SetMultiColumn): adjust
7265         (TeXRow): adjust
7266
7267         * lyxtext.[Ch] (ownerParagraph): delete function
7268         (ownerParagraphs): new function returns a ParagraphList.
7269
7270         * BufferView.C (removeAutoInsets): adjust
7271         (insertErrors): adjust
7272         (setCursorFromRow): adjust
7273
7274 2003-04-01  Angus Leeming  <leeming@lyx.org>
7275
7276         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7277         in the frontends.
7278
7279 2003-04-02  John Levon  <levon@movementarian.org>
7280
7281         * lyxtext.h:
7282         * text.C:
7283         * Makefile.am:
7284         * text_funcs.h:
7285         * text_funcs.C: make transposeChars a free function
7286
7287         * lyxrow_funcs.C: remove wrong comment
7288
7289 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7290
7291         * lyxtext.h: adjust
7292         * rowpainter.C: adjust
7293         * text.C: adjust
7294         * text2.C: adjust
7295         * text3.C: adjust
7296
7297         * lyxrow_funcs. [Ch]: new files
7298
7299         * lyxrow.[Ch]: remove next and previous pointers
7300         (next,previous): remove accessor functions
7301         (isParEnd): move to lyxrow_funcs
7302         (lastPos): move to lyxrow_funcs
7303         (nextRowIsAllInset): move to lyxrow_funcs
7304         (lastPrintablePos): move to lyxrow_funcs
7305         (numberOfSeparators): move to lyxrow_funcs
7306         (numberOfHfills): move to lyxrow_funcs
7307         (numberOfLabelHfills): move to lyxrow_funcs
7308         (hfillExpansion): move to lyxrow_funcs
7309
7310         * lyxfunc.C: adjust
7311
7312         * bufferview_funcs.C (toggleAndShow): adjust
7313
7314         * RowList.h: Remove class RowList from file leave just a
7315         std::list<Row>.
7316
7317         * RowList.C: delete file
7318
7319         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7320         and lyxrow_funcs.h
7321
7322 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * text3.C (cursorPrevious): adjust
7325         (cursorNext): adjust
7326         (dispatch): adjust
7327
7328         * text2.C (redoHeightOfParagraph): adjust
7329         (redoDrawingOfParagraph): adjust
7330         (setCursor): adjust
7331
7332         * text.C (breakParagraph): adjust
7333         (insertChar): adjust
7334         (backspace): adjust
7335
7336         * rowpainter.C (RowPainter): adjust
7337         (leftMargin): simplify and adjust
7338         (most rowpainter functions): adjust.
7339
7340         * rowpainter.h: store the row as RowList::iterator not as Row*
7341
7342         * lyxcursor.C (row): taka RowList::iterator as arg
7343         (irow): ditto
7344
7345         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7346         of Row*.
7347
7348 2003-04-01  Angus Leeming  <leeming@lyx.org>
7349
7350         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7351         stuff like bool Bool.
7352
7353 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7356         rewrite a loop
7357
7358 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7361         RowList::iterator.
7362
7363         * lyxtext.h (rows): drop one version and leve a const variant that
7364         returns a RowList::iterator.
7365
7366 2003-03-31  Angus Leeming  <leeming@lyx.org>
7367
7368         * text.C (fill): ensure that the signature is the same as that in the
7369         header file.
7370
7371 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * text2.C (redoParagraphs): adjust
7374         (updateCounters): adjust
7375         (checkParagraph): adjust
7376         (getColumnNearX): adjust and reformat a bit.
7377
7378         * text.C (top_y): adjust
7379         (workWidth): adjust
7380         (leftMargin): adjust
7381         (prepareToPrint): adjust
7382         (getRow): adjust
7383         (getRowNearY): adjust
7384
7385         * lyxtext.h: make rowlist_ mutable.
7386
7387         * RowList.h: add const_iterator
7388         * RowList.C: adjust for RowList::const_iterator.
7389
7390         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7391         adjust.
7392
7393 2003-03-31  John Levon  <levon@movementarian.org>
7394
7395         * lyxrc.h:
7396         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7397
7398         * lyx_main.C: set default fonts from using lyx_gui funcs
7399
7400         * exporter.C: pdf_mode moved from lyxrc
7401
7402         * lyx_cb.C:
7403         * lyxfunc.C: changes from above
7404
7405 2003-03-31  John Levon  <levon@movementarian.org>
7406
7407         * lyx_main.C: fix to the last fix
7408
7409 2003-03-31  John Levon  <levon@movementarian.org>
7410
7411         * bufferlist.C: "Load original" -> "Load Original"
7412
7413         * converter.C:
7414         * exporter.C:
7415         * importer.C:
7416         * lyx_main.C:
7417         * format.C: more Alert cleanups
7418
7419 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * text2.C (removeParagraph): make it take a RowList::iterator as
7422         arg, adjust.
7423         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7424         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7425
7426         * text.C (anchor_row): make it take a RowList::iterator as arg,
7427         adjust.
7428         (computeBidiTables): make it take a const reference to Row instead
7429         of Row pointer, adjust.
7430         (leftMargin): make it take a RowList::iterator as arg, adjust.
7431         (rowBreakPoint): adjust
7432         (breakAgainOneRow): make it take a RowList::iterator as arg,
7433         adjust.
7434         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7435
7436         * bufferview_funcs.C (toggleAndShow): adjust
7437
7438 2003-03-30  John Levon  <levon@movementarian.org>
7439
7440         * Makefile.am:
7441         * BoostFormat.h:
7442         * boost-inst.C: moved to support
7443
7444         * several files: changes as a result
7445
7446 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * text2.C (LyXText): adjust.
7449         (init): adjust
7450         (removeRow): make it take a RowList::iterator as arg, adjust.
7451         (fullRebreak): adjust
7452         (deleteEmptyParagraphMechanism): adjust
7453         (clearPaint): adjust
7454         (postPaint): adjust
7455
7456         * text.C (top_y): adjust
7457         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7458         (breakAgain): make it take a RowList::iterator as arg, adjust.
7459         (breakParagraph): adjust
7460         (insertChar): adjust
7461         (backspace): adjust
7462
7463         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7464         need_break_row, and refresh_row.
7465
7466         * text3.C (dispatch): adjust
7467
7468         * text2.C (checkParagraph): adjust
7469         (setCursor): adjust
7470         (setCursorFromCoordinates): adjust
7471
7472         * text.C (top_y): adjust
7473         (workWidth): adjust
7474         (getRow): make it return a RowList::iterator, adjust
7475         (getRowNearY): make it return a RowList::iterator, adjust
7476
7477         * text2.C (init): adjust
7478         (insertRow): remove function
7479         (insertParagraph): adjust
7480         (redoParagraphs): adjust
7481         (fullRebreak): adjust
7482         (updateCounters): adjust
7483
7484         * text.C (top_y): rewrite to use RowList iterators.
7485         (top_y): adjust
7486         (setHeightOfRow): rewrite to sue RowList iterators.
7487         (appendParagraph): adjust
7488         (breakAgain): adjust
7489         (breakAgainOneRow): adjust
7490         (breakParagraph): adjust
7491         (getRow): adjust
7492         (getRowNearY): adjust, and remove commented code.
7493
7494         * lyxtext.h (firstRow): delete function
7495         (lastRow): delete function
7496         (rows): new function (const and non-const versions.)
7497         (insertRow): delete function
7498
7499         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7500
7501 2003-03-29  John Levon  <levon@movementarian.org>
7502
7503         * BufferView_pimpl.C: always update scrollbar top
7504         because pasting text when we're anchored could mean we
7505         miss an update altogether
7506
7507 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * text2.C (init): use rowlist_.end() and not 0.
7510         (insertRow): change to take a RowList::iterator as arg, adjust
7511         for this.
7512         (insertParagraph): change to take a RowList::iterator as arg,
7513         adjust for this.
7514         (redoParagraphs): remove some debug msgs.
7515
7516         * text.C (appendParagraph): change to take a RowList::iterator
7517         arg, adjust for this.
7518         (breakAgain): add an assert
7519         (breakAgainOneRow): ditto
7520
7521 2003-03-29  John Levon  <levon@movementarian.org>
7522
7523         * text2.C: do not clear selection after inc/decDepth
7524         (bug 550)
7525
7526 2003-03-29  John Levon  <levon@movementarian.org>
7527
7528         * BufferView.C:
7529         * buffer.C: fix broken strerrors according to Lars
7530
7531 2003-03-29  John Levon  <levon@movementarian.org>
7532
7533         * converters.C: more Alert cleanups
7534
7535 2003-03-29  John Levon  <levon@movementarian.org>
7536
7537         * bufferview_funcs.C: remove pointless Alert
7538
7539         * buffer.C: fix confusing error message when
7540         a template is chmoded 000
7541
7542 2003-03-29  John Levon  <levon@movementarian.org>
7543
7544         * BufferView.C:
7545         * BufferView.h:
7546         * BufferView_pimpl.C: Alert fixes
7547
7548         * Makefile.am:
7549         * tabular.C:
7550         * tabular-old.C: remove unused table compat reading
7551
7552 2003-03-29  John Levon  <levon@movementarian.org>
7553
7554         * BufferView.C:
7555         * buffer.C:
7556         * lyx_cb.h:
7557         * lyx_cb.C: more Alert cleanups
7558
7559         * lyxfunc.C: don't allow chktex if not latex document
7560
7561 2003-03-29  John Levon  <levon@movementarian.org>
7562
7563         * lyx_cb.C:
7564         * BufferView.C:
7565         * buffer.C: warnings pushed down from support/,
7566         kill err_alert
7567
7568 2003-03-29  John Levon  <levon@movementarian.org>
7569
7570         * lyxfunc.C: safety check for C-r (revert)
7571
7572 2003-03-29  John Levon  <levon@movementarian.org>
7573
7574         * bufferlist.h:
7575         * bufferlist.C: several UI fixes using Alert::prompt.
7576         Fix the pointless looping quit code. Fix stupid revert
7577         behaviour (bug 938)
7578
7579         * lyxvc.h:
7580         * lyxvc.C:
7581         * lyx_cb.C: use Alert::prompt
7582
7583         * lyx_main.C: remove a silly question
7584
7585         * lyxfunc.C: remove a couple of silly questions,
7586         use Alert::prompt
7587
7588 2003-03-28  John Levon  <levon@movementarian.org>
7589
7590         * text2.C: fix bug 974 (End on empty par)
7591
7592 2003-03-28  John Levon  <levon@movementarian.org>
7593
7594         * BufferView_pimpl.C:
7595         * LyXAction.C:
7596         * lfuns.h: remove do-nothing math greek lfuns
7597
7598 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * lyxgluelength.h (isValidGlueLength): add default arg on
7601         parameter 2. Remove default arg from friend in class.
7602
7603         * lyxlength.h (isValidLength): add default arg on parameter 2.
7604         Remove default arg from friend in class.
7605
7606         * text2.C (LyXText): adjust, initialize refresh_row.
7607         (init): adjust
7608         (removeRow): adjust
7609         (insertRow): adjust
7610         (insertParagraph): adjst
7611         (redoParagraphs): adjust
7612         (fullRebreak): adjust
7613         (updateCounters): adjust
7614         (deleteEmptyParagraphMechanism): first attempt at fixing a
7615         crashing bug.
7616
7617         * text.C (top_y): adjust
7618         (setHeightOfRow): adjust
7619         (getRow): adjust
7620         (getRowNearY): adjust
7621
7622         * lyxtext.h: include RowList.h
7623         (~LyXText): not needed anymore, deleted.
7624         (firstRow): modify for RowList
7625         (lastRow): new function
7626         Delete firstrow and lastrow class variables, add a Rowlist
7627         rowlist_ class variable.
7628
7629         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7630         paragraph is empty.
7631
7632         * RowList.C (insert): fix case where it == begin().
7633
7634 2003-03-26  Angus Leeming  <leeming@lyx.org>
7635
7636         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7637         the thesaurus dialog.
7638
7639 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7642
7643         * RowList.[Ch]: new files
7644
7645         * ParagraphList.C (erase): handle the case where it == begin
7646         correctly.
7647
7648 2003-03-25  John Levon  <levon@movementarian.org>
7649
7650         * Makefile.am:
7651         * aspell_local.h:
7652         * aspell.C: add new aspell support
7653
7654         * lyxrc.h:
7655         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7656         have it accessible.
7657
7658 2003-03-25  Angus Leeming  <leeming@lyx.org>
7659
7660         * lfuns.h:
7661         * LyXAction.C (init): new LFUN_INSET_INSERT.
7662
7663         * BufferView_pimpl.C (dispatch): split out part of the
7664         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7665
7666         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7667         LFUN_INSET_APPLY.
7668
7669 2003-03-25  Angus Leeming  <leeming@lyx.org>
7670
7671         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7672
7673 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7674
7675         * text2.C:
7676         * text3.C: remove useless row->height(0)
7677
7678 2003-03-25  John Levon  <levon@movementarian.org>
7679
7680         * lyxtext.h:
7681         * text2.C:
7682         * text3.C: rename the refreshing stuff to better names
7683
7684 2003-03-24  John Levon  <levon@movementarian.org>
7685
7686         * BufferView_pimpl.h:
7687         * BufferView_pimpl.C: update layout choice on a mouse
7688         press/release
7689
7690 2003-03-23  John Levon  <levon@movementarian.org>
7691
7692         * Makefile.am: fix commandtags.h reference
7693
7694 2003-03-22  John Levon  <levon@movementarian.org>
7695
7696         * BufferView_pimpl.C:
7697         * lyxtext.h:
7698         * rowpainter.C:
7699         * rowpainter.h:
7700         * text.C:
7701         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7702
7703 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7704
7705         * lyxtext.h:
7706         * text.C: take the rtl methods out of line
7707
7708 2003-03-21 André Pönitz <poenitz@gmx.net>
7709
7710         * metricsinfo.[Ch]: new files containing structures to be passed around
7711         during the two-phase-drawing...
7712
7713 2003-03-21 André Pönitz <poenitz@gmx.net>
7714
7715         * lyxtextclass.C: read 'environment' tag.
7716
7717 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * text2.C (removeRow): fix bug 964
7720
7721 2003-03-20  John Levon  <levon@movementarian.org>
7722
7723         * rowpainter.C:
7724         * text.C:
7725         * text2.C: paint cleanups. Inset::update() dropped font
7726         parameter
7727
7728 2003-03-19  John Levon  <levon@movementarian.org>
7729
7730         * lyxfunc.C: only fitcursor/markDirty if available()
7731
7732 2003-03-19  John Levon  <levon@movementarian.org>
7733
7734         * commandtags.h: rename to ...
7735
7736         * lfuns.h: ... this, and renumber / cleanup
7737
7738 2003-03-19  John Levon  <levon@movementarian.org>
7739
7740         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7741         fit the cursor after an lfun
7742
7743         * BufferView.h:
7744         * BufferView.C:
7745         * BufferView_pimpl.h:
7746         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7747
7748         * LyXAction.C: layout-character should have ReadOnly
7749
7750         * ParagraphParameters.C:
7751         * buffer.C:
7752         * bufferview_funcs.C:
7753         * lyx_cb.C:
7754         * lyxfind.C:
7755         * lyxtext.h:
7756         * text.C:
7757         * text2.C:
7758         * text3.C:
7759         * undo_funcs.C: changes from above
7760
7761 2003-03-18  John Levon  <levon@movementarian.org>
7762
7763         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7764         remove it from update()
7765
7766         * lyxfunc.C: update layout choice after an lfun
7767
7768         * text3.C: remove extra updateLayoutChoice()s
7769
7770 2003-03-18  John Levon  <levon@movementarian.org>
7771
7772         * text.C: top_y change means full repaint, fix
7773         a drawing bug with cursor movement
7774
7775 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7776
7777         * lyxtext.h:
7778         * text.C:
7779         * text2.C: anchor row on setCursor
7780
7781 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7782
7783         * lyxtext.h: remove almost all mutable keywords
7784         * text.C:
7785         * text2.C:
7786         * text3.C: remove const keywords accordingly
7787
7788 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7791         anon namespace
7792         (TeXEnvironment): ditto
7793         (TeXOnePar): ditto
7794
7795 2003-03-17  John Levon  <levon@movementarian.org>
7796
7797         * text.C (rowBreakPoint): remove attempt to fix displayed
7798         math insets inside a manual label
7799
7800 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * lyxtext.h: remove BufferView* as first arg from almost all class
7803         functions.
7804         * other files: adjust.
7805
7806 2003-03-17  John Levon  <levon@movementarian.org>
7807
7808         * lyxtext.h:
7809         * undo_funcs.C:
7810         * text2.C: more paint cleanups
7811
7812         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7813
7814         * rowpainter.h:
7815         * rowpainter.C: remove "smart" background painting code
7816
7817 2003-03-16  John Levon  <levon@movementarian.org>
7818
7819         * lyxtext.h:
7820         * text.C:
7821         * text2.C:
7822         * text3.C: add helper functions for setting refresh_row/y
7823
7824 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7825
7826         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7827         newline inset which *can* get inserted in the pass_thru layouts.
7828         This is primarily for literate documents.
7829
7830 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * buffer.C: increment LYX_FORMAT to 223
7833
7834 2003-03-14 André Pönitz <poenitz@gmx.net>
7835
7836         * textclass.h: prepare for environment handling, ws changes
7837         * lyxlayout.C: read latexheader and latexfooter tags
7838
7839 2003-03-14  John Levon  <levon@movementarian.org>
7840
7841         * text2.C: rewrite ::status() a bit
7842
7843 2003-03-13  John Levon  <levon@movementarian.org>
7844
7845         * lyxtext.h: add some docs
7846
7847 2003-03-13  John Levon  <levon@movementarian.org>
7848
7849         * lyxtext.h:
7850         * text.C:
7851         * text2.C:
7852         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7853
7854 2003-03-13  John Levon  <levon@movementarian.org>
7855
7856         * text3.C: fix appendix redrawing
7857
7858 2003-03-13  John Levon  <levon@movementarian.org>
7859
7860         * text.C (setHeightOfRow):
7861         * rowpainter.h:
7862         * rowpainter.C: make appendix mark have the text
7863           "Appendix" so the user knows what it is
7864
7865         * LColor.h:
7866         * LColor.C: s/appendixline/appendix/ from above
7867
7868 2003-03-13  John Levon  <levon@movementarian.org>
7869
7870         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7871
7872         * text.C: fix a getChar(pos) bug properly
7873
7874 2003-03-13  Angus Leeming  <leeming@lyx.org>
7875
7876         * commandtags.h:
7877         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7878         Probably only temporary. Let's see how things pan out.
7879
7880         * BufferView.C (unlockInset):
7881         * BufferView_pimpl.C (fitCursor):
7882         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7883
7884         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7885         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7886
7887         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7888         new functions that convert ParagraphParameters to and from a string.
7889
7890         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7891         BufferView::Pimpl's dispatch.
7892         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7893
7894 2003-03-13 André Pönitz <poenitz@gmx.net>
7895
7896         * lyxfunc.C:
7897         * text3.C:
7898         * factory.C: make it aware of InsetEnv
7899
7900 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * text2.C (setCursor): never ask for one past last
7903         (setCursor): add some debugging messages.
7904
7905         * text.C (singleWidth): never ask for one past last
7906         (singleWidth): ditto
7907         (leftMargin): ditto
7908         (rightMargin): ditto
7909         (rowBreakPoint): ditto
7910         (setHeightOfRow): ditto
7911         (prepareToPrint): ditto
7912
7913         * rowpainter.C (paintBackground): never ask for one past last
7914         (paintText): never ask for one past last
7915
7916         * paragraph_pimpl.C (getChar): make the assert stricter, never
7917         allow the one past last pos to be taken
7918
7919         * paragraph.C (getChar): ws changes only
7920
7921         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7922         (numberOfSeparators): ditto
7923         (numberOfHfills): ditto
7924
7925 2003-03-12  John Levon  <levon@movementarian.org>
7926
7927         * author.h:
7928         * author.C:
7929         * bufferparams.h:
7930         * bufferparams.C:
7931         * paragraph_funcs.C: fix per-buffer authorlists
7932
7933 2003-03-12  John Levon  <levon@movementarian.org>
7934
7935         * text.C: fix newline in right address
7936
7937 2003-03-12  Angus Leeming  <leeming@lyx.org>
7938
7939         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7940         duplicate those in LyXFunc::dispatch.
7941
7942         * commandtags.h:
7943         * LyXAction.C:
7944         * ToolbarDefaults.C:
7945         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7946         Add LFUN_FONTFREE_UPDATE.
7947
7948         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7949         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7950
7951         * bufferview_func.[Ch]: several new functions to facilliate
7952         transfer of data to and from the character dialog.
7953
7954 2003-03-12  John Levon  <levon@movementarian.org>
7955
7956         * buffer.C:
7957         * paragraph.h:
7958         * paragraph.C:
7959         * paragraph_funcs.C:
7960         * paragraph_pimpl.C:
7961         * sgml.C:
7962         * tabular.C:
7963         * text.C:
7964         * text3.C: remove META_NEWLINE in favour of an inset
7965
7966         * rowpainter.h:
7967         * rowpainter.C: remove paintNewline (done by inset)
7968
7969 2003-03-12  John Levon  <levon@movementarian.org>
7970
7971         * paragraph_pimpl.C: complain about bad getChar()s
7972         for a while at least
7973
7974 2003-03-12  John Levon  <levon@movementarian.org>
7975
7976         * buffer.h:
7977         * buffer.C: move paragraph read into a separate function,
7978         a little renaming to reflect that.
7979
7980         * bufferparams.h:
7981         * bufferparams.C: remove the author_ids map, not necessary now
7982
7983         * factory.h:
7984         * factory.C: moved Buffer::readInset to here
7985
7986         * paragraph_funcs.h:
7987         * paragraph_funcs.C: readParagraph free function moved from
7988         buffer.C
7989
7990         * tabular.C: name change
7991
7992 2003-03-12  John Levon  <levon@movementarian.org>
7993
7994         * buffer.C:
7995         * ParagraphParameters.C: move par params input to
7996         a read() method
7997
7998         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7999         behave like a normal read from the stream wrt reading
8000         a line vs. a \\token
8001
8002 2003-03-12  John Levon  <levon@movementarian.org>
8003
8004         * paragraph.C:
8005         * ParagraphParameters.h:
8006         * ParagraphParameters.C: move output code to a
8007         ::write() method
8008
8009 2003-03-12  John Levon  <levon@movementarian.org>
8010
8011         * BufferView.C (insertLyXFile):
8012         * buffer.h:
8013         * buffer.C:
8014         * tabular.C: use a parlist iterator for creating the
8015           document.
8016
8017 2003-03-12  John Levon  <levon@movementarian.org>
8018
8019         * buffer.C: make current_change static local not
8020           static file-scope
8021
8022 2003-03-12  John Levon  <levon@movementarian.org>
8023
8024         * buffer.C: fix insertStringAsLines for change tracking
8025
8026 2003-03-12  John Levon  <levon@movementarian.org>
8027
8028         * BufferView.C:
8029         * tabular.C:
8030         * buffer.h:
8031         * buffer.C:
8032         * bufferparams.h:
8033         * bufferparams.C: move author list into params. Rename some
8034           functions. Move the header reading into a separate token
8035           loop. Move the header token reading into BufferParams.
8036
8037 2003-03-12  John Levon  <levon@movementarian.org>
8038
8039         * changes.C: put debug inside lyxerr.debugging() checks
8040
8041 2003-03-11 André Pönitz <poenitz@gmx.net>
8042
8043         * factory.C: make it aware of InsetHFill
8044
8045 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8046
8047         * buffer.C (latexParagraphs): move function from here...
8048         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8049         args.
8050
8051 2003-03-10  Angus Leeming  <leeming@lyx.org>
8052
8053         * LyXAction.C (init): fix bug in poplating array with multiple entries
8054         with the same LFUN (spotted by JMarc).
8055
8056 2003-03-10  John Levon  <levon@movementarian.org>
8057
8058         * text.C:
8059         * text2.C: move getColumnNearX() near its
8060         only call site
8061
8062 2003-03-10  John Levon  <levon@movementarian.org>
8063
8064         * text.C: fix break before a minipage
8065
8066 2003-03-10  John Levon  <levon@movementarian.org>
8067
8068         * text.C: fix the last commit
8069
8070 2003-03-09  John Levon  <levon@movementarian.org>
8071
8072         * lyxtext.h:
8073         * text.C:
8074         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8075         bug 365 (don't break before insets unless needed). Don't
8076         return a value > last under any circumstances.
8077
8078 2003-03-09  Angus Leeming  <leeming@lyx.org>
8079
8080         * BufferView_pimpl.C (trackChanges, dispatch): call
8081         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8082
8083 2003-03-09  Angus Leeming  <leeming@lyx.org>
8084
8085         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8086         than Dialogs::showAboutlyx().
8087
8088 2003-03-09  Angus Leeming  <leeming@lyx.org>
8089
8090         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8091         than Dialogs::showTabularCreate().
8092
8093 2003-03-09  John Levon  <levon@movementarian.org>
8094
8095         * lyxtext.h:
8096         * text.C:
8097         * text2.C: 3rd arg to nextBreakPoint was always the same.
8098           Use references.
8099
8100 2003-03-08  John Levon  <levon@movementarian.org>
8101
8102         * lyxrow.C:
8103         * paragraph.C:
8104         * paragraph.h:
8105         * rowpainter.C:
8106         * text.C:
8107         * text2.C: Remove the "main" bit from the "main body"
8108           notion.
8109
8110 2003-03-08  John Levon  <levon@movementarian.org>
8111
8112         * text.C (leftMargin): The left margin of an empty
8113         manual label paragraph should not include the label width
8114         string length.
8115
8116         * text.C (prepareToPrint): don't attempt to measure hfills
8117         for empty manual label paragraphs - the answer should be 0
8118
8119 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * CutAndPaste.C: remove commented code and reindent.
8122
8123 2003-03-08  John Levon  <levon@movementarian.org>
8124
8125         * lyxfunc.h:
8126         * lyxfunc.C: move reloadBuffer()
8127
8128         * BufferView.h:
8129         * BufferView.C: to here
8130
8131         * lyxvc.C: add comment
8132
8133         * vc-backend.h:
8134         * vc-backend.C: call bv->reload() to avoid
8135           getStatus() check on MENURELOAD
8136
8137 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8138
8139         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8140         to an old format .dep file.
8141
8142 2003-03-07  Angus Leeming  <leeming@lyx.org>
8143
8144         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8145         when the LFUN_MOUSE_RELEASE should have been handled by
8146         inset->localDispatch.
8147
8148 2003-03-07  Angus Leeming  <leeming@lyx.org>
8149
8150         * BufferView_pimpl.C (dispatch):
8151         * LyXAction.C (init):
8152         * ToolbarDefaults.C (init):
8153         * commandtags.h:
8154         * lyxfunc.C (getStatus):
8155         remove LFUN_INSET_GRAPHICS.
8156
8157         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8158
8159 2003-03-07  Angus Leeming  <leeming@lyx.org>
8160
8161         * commandtags.h:
8162         * LyXAction.C (init):
8163         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8164
8165         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8166
8167         * commandtags.h:
8168         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8169
8170         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8171         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8172
8173 2003-03-07  Angus Leeming  <leeming@lyx.org>
8174
8175         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8176         remove "ert".
8177
8178 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * ParagraphList.C (front): new function
8181         (back): implement
8182
8183 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8184
8185         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8186         and top_row_offset_. removed var first_y.
8187         * text.C (top_y):
8188         * text2.C (LyXText, removeRow):
8189         * text3.C:
8190         * BufferView_pimpl.C:
8191         use these methods instead of using first_y
8192
8193 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * text2.C (pasteSelection): adjust for checkPastePossible
8196
8197         * CutAndPaste.C: remove Paragraph * buf and replace with
8198         ParagraphList paragraphs.
8199         (DeleteBuffer): delete
8200         (cutSelection): change the tc type to textclass_type
8201         (copySelection): change the tc type to textclass_type
8202         (copySelection): adjust for ParagraphList
8203         (pasteSelection): change the tc type to textclass_type
8204         (pasteSelection): adjust for Paragraphlist
8205         (nrOfParagraphs): simplify for ParagraphList
8206         (checkPastePossible): simplify for ParagraphList
8207         (checkPastePossible): remove unused arg
8208
8209         * ParagraphList.C (insert): handle the case where there are no
8210         paragraphs yet.
8211
8212         * CutAndPaste.h: make CutAndPaste a namespace.
8213
8214         * text3.C (dispatch): adjust
8215
8216         * text.C (breakParagraph): add a ParagraphList as arg
8217
8218         * paragraph_funcs.C (breakParagraph): change to take a
8219         BufferParams and a ParagraphList as args.
8220         (breakParagraphConservative): ditto
8221         (mergeParagraph): ditto
8222         (TeXDeeper): add a ParagraphList arg
8223         (TeXEnvironment): ditto
8224         (TeXOnePar): ditto
8225
8226         * buffer.C (readLyXformat2): adjust
8227         (insertStringAsLines): adjust
8228         (latexParagraphs): adjust
8229
8230         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8231         (cutSelection): adjust
8232         (pasteSelection): adjust
8233
8234         * BufferView_pimpl.C (insertInset): adjust
8235
8236 2003-03-05  Angus Leeming  <leeming@lyx.org>
8237
8238         * commandtags.h:
8239         * LyXAction.C (init):
8240         * BufferView_pimpl.C (dispatch):
8241         * lyxfunc.C (getStatus):
8242         remove LFUN_CHILD_INSERT.
8243
8244         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8245
8246 2003-03-05  Angus Leeming  <leeming@lyx.org>
8247
8248         * commandtags.h:
8249         * LyXAction.C (init):
8250         * src/factory.C (createInset):
8251         * lyxfunc.C (getStatus):
8252         * text3.C (dispatch):
8253         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8254
8255         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8256
8257 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * ParagraphList.C (insert): handle insert right before end()
8260         (erase): fix cases where it can be first or last paragraph.
8261
8262 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8265         Paragraph::next and Paragraph::previous
8266         (TeXOnePar): ditto
8267
8268         * text.C (breakParagraph): adjust
8269
8270         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8271         BufferParams& as arg.
8272         (breakParagraph): use ParagraphList::insert
8273         (breakParagraphConservative): take a Buffer* instead of a
8274         BufferParams& as arg.
8275         (breakParagraphConservative): use ParagraphList::insert.
8276
8277         * buffer.C (insertStringAsLines): un-const it
8278         (insertStringAsLines): adjust
8279
8280         * ParagraphList.C (insert): new function
8281
8282         * CutAndPaste.C (pasteSelection): adjust
8283
8284         * text.C (backspace): adjust
8285
8286         * tabular.C (SetMultiColumn): adjust
8287
8288         * CutAndPaste.C (cutSelection): adjust
8289         (pasteSelection): adjust
8290
8291         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8292         Buffer const * as arg
8293
8294         * ParagraphList.C (erase): new function
8295         * paragraph_funcs.C (mergeParagraph): use it
8296         (mergeParagraph): make it take a Buffer* instead of a
8297         BufferParams* as arg
8298
8299         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8300         as arg
8301         (breakParagraphConservative): ditto
8302
8303         * paragraph.h: remove the breakParagraph friend
8304
8305         * paragraph.C (eraseIntern): new function
8306         (setChange): new function
8307
8308         * paragraph_funcs.C (mergeParagraph): make it take a
8309         ParagraphList::iterator instead of a Paragraph *, adjust
8310         accordingly.
8311
8312         * paragraph.h: move an #endif so that the change tracking stuff
8313         also works in the NO_NEXT case.
8314
8315 2003-03-04  Angus Leeming  <leeming@lyx.org>
8316
8317         * commandtags.h:
8318         * LyXAction.C: new LFUN_INSET_MODIFY.
8319
8320         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8321         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8322
8323 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * several files: ws changes only
8326
8327         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8328         (TeXEnvironment): ditto
8329         (TeXDeeper): ditto
8330
8331         * buffer.C (makeLaTeXFile): adjust
8332         (latexParagraphs): make it take ParagraphList::iterator as args
8333
8334 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * buffer.C (latexParagraphs): adjust
8337
8338         * paragraph.C (TeXOnePar): move function...
8339         (optArgInset): move function...
8340         (TeXEnvironment): move function...
8341         * paragraph_pimpl.C (TeXDeeper): move function...
8342         * paragraph_funcs.C: ...here
8343
8344         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8345
8346 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8347
8348         * buffer.C (readInset): remove compability code for old Figure and
8349         InsetInfo insets
8350
8351 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * buffer.C: ws changes
8354         (readInset):
8355
8356         * BufferView_pimpl.C: ditto
8357         * author.C: ditto
8358         * buffer.h: ditto
8359         * bufferlist.h: ditto
8360         * changes.h: ditto
8361         * lyxfunc.C: ditto
8362
8363 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8364
8365         * converter.[Ch]: split into itself +
8366         * graph.[Ch]
8367         * format.[Ch]
8368         * Makefile.am: += graph.[Ch] + format.[Ch]
8369         * MenuBackend.C
8370         * buffer.C
8371         * exporter.C
8372         * importer.C
8373         * lyx_main.C
8374         * lyxfunc.C
8375         * lyxrc.C: added #include "format.h"
8376
8377 2003-02-27  Angus Leeming  <leeming@lyx.org>
8378
8379         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8380           a label.
8381
8382         * factory.C (createInset): add "label" to the factory.
8383
8384         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8385           string and do no more.
8386
8387 2003-02-27  Angus Leeming  <leeming@lyx.org>
8388
8389         * commandtags.h:
8390         * LyXAction.C (init):
8391         * factory.C (createInset):
8392         * BufferView_pimpl.C (dispatch):
8393           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8394
8395         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8396
8397         * lyxfunc.C (dispatch):
8398         * text3.C (dispatch): pass name to params2string.
8399
8400 2003-02-26  Angus Leeming  <leeming@lyx.org>
8401
8402         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8403           blocks together.
8404           Rearrange the ~includes. Strip out the unnecessary ones.
8405
8406         * factory.C (createInset): reformat.
8407           create new insets for the various LFUN_XYZ_APPLY lfuns.
8408
8409 2003-02-26  John Levon  <levon@movementarian.org>
8410
8411         * lyxrow.h:
8412         * lyxrow.C: add isParStart,isParEnd helpers
8413
8414         * paragraph.h: make isInserted/DeletedText take refs
8415
8416         * paragraph_funcs.h:
8417         * paragraph_funcs.C: remove #if 0'd code
8418
8419         * lyxtext.h:
8420         * text3.C:
8421         * text2.C:
8422         * text.C: use lyxrow helpers above.
8423           Move draw and paint routines to RowPainter.
8424           Make several methods use refs not pointers.
8425           Make backgroundColor() const.
8426           Add markChangeInDraw(), isInInset().
8427           Merge changeRegionCase into changeCase.
8428           Make workWidth() shouldn't-happen code into an Assert.
8429
8430         * rowpainter.h:
8431         * rowpainter.C: new class for painting a row.
8432
8433         * vspace.h:
8434         * vspace.C: make inPixels take a ref
8435
8436 2003-02-26  Angus Leeming  <leeming@lyx.org>
8437
8438         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8439         LFUN_REF_APPLY.
8440
8441 2003-02-25  John Levon  <levon@movementarian.org>
8442
8443         * ispell.C: give the forked command a more accurate name
8444
8445 2003-02-22  John Levon  <levon@movementarian.org>
8446
8447         * toc.h:
8448         * toc.C: make TocItem store an id not a Paragraph *
8449           (bug #913)
8450
8451 2003-02-21  Angus Leeming  <leeming@lyx.org>
8452
8453         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8454           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8455           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8456           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8457           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8458           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8459
8460         * BufferView_pimpl.C (dispatch):
8461         * LyXAction.C (init):
8462         * factory.C (createInset):
8463         * lyxfunc.C (getStatus, dispatch):
8464         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8465
8466 2003-02-21  Angus Leeming  <leeming@lyx.org>
8467
8468         * BufferView_pimpl.C (MenuInsertLyXFile):
8469         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8470         * lyxfunc.C (menuNew, open, doImport):
8471           no longer pass a LyXView & to fileDlg.
8472
8473 2003-02-21  Angus Leeming  <leeming@lyx.org>
8474
8475         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8476         * LyXAction.C: change, BIBKEY to BIBITEM.
8477         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8478         Change InsetBibKey to InsetBibitem.
8479         Change BIBKEY_CODE to BIBITEM_CODE.
8480         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8481         * factory.C: replace insetbib.h with insetbibitem.h.
8482         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8483         * paragraph.C: replace insetbib.h with insetbibitem.h.
8484         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8485         Change bibkey() to bibitem().
8486         * text.C: remove insetbib.h.
8487         * text2.C: replace insetbib.h with insetbibitem.h.
8488         change bibkey() to bibitem().
8489         * text3.C: remove insetbib.h.
8490         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8491
8492 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8493
8494         * lyxrc.C (output): enclose user email in quotes (in case there are
8495         several words)
8496
8497 2003-02-18  John Levon  <levon@movementarian.org>
8498
8499         * buffer.h: add std::
8500
8501 2003-02-17  John Levon  <levon@movementarian.org>
8502
8503         * SpellBase.h:
8504         * ispell.h:
8505         * ispell.C:
8506         * pspell.h:
8507         * pspell.C: reworking. Especially in ispell, a large
8508           number of clean ups and bug fixes.
8509
8510         * lyxfunc.C: fix revert to behave sensibly
8511
8512 2003-02-17 André Pönitz <poenitz@gmx.net>
8513
8514         * LyXAction.C:
8515         * commandtags.h: new LFUN_INSERT_BIBKEY
8516
8517         * layout.h:
8518         * lyxlayout.C:
8519         * buffer.C:
8520         * factory.C:
8521         * text.C:
8522         * text2.C:
8523         * text3.C:
8524         * paragraph.[Ch]:
8525         * paragraph_func.C: remove special bibkey handling
8526
8527 2003-02-17  John Levon  <levon@movementarian.org>
8528
8529         * text.C (Delete): fix case where delete at the end of
8530           the very first paragraph would not merge the pars
8531
8532 2003-02-17  John Levon  <levon@movementarian.org>
8533
8534         * lyxrow.C: fix lastPrintablePos()
8535
8536 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8537
8538         * bufferparams.C (writeLaTeX): add a std:here
8539
8540         * buffer.C: and remove a using directive there
8541
8542 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8543
8544         * buffer.C (makeLaTeXFile): move the code that generates the
8545           preamble...
8546
8547         * bufferparams.C (writeLaTeX): ... in this new method
8548
8549         * LaTeXFeatures.C (getEncodingSet): make const
8550           (getLanguages): make const
8551
8552         * MenuBackend.C (binding): returns the binding associated to this
8553           action
8554           (add): sets the status of each item by calling getStatus. Adds
8555           some intelligence.
8556           (read): add support for OptSubMenu
8557           (expand): remove extra separator at the end of expanded menu
8558
8559 2003-02-15  John Levon  <levon@movementarian.org>
8560
8561         * BufferView.C:
8562         * BufferView_pimpl.C:
8563         * bufferlist.h:
8564         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8565           inset code that had no actual effect. Remove unneeded status
8566           code.
8567
8568 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8569
8570         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8571           in preamble
8572
8573 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8574
8575         * text.C (drawLengthMarker): also draw an arrow marker for
8576           symbolic lengths (medskip...)
8577
8578 2003-02-14  John Levon  <levon@movementarian.org>
8579
8580         * tabular.h:
8581         * tabular.C: better method names
8582
8583 2003-02-14  John Levon  <levon@movementarian.org>
8584
8585         * BufferView_pimpl.C:
8586         * bufferlist.C:
8587         * buffer.C:
8588         * converter.C:
8589         * lyx_cb.C:
8590         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8591           it's a more accurate name. Remove some pointless uses.
8592
8593 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8594
8595         * text2.C (LyXText): change order of initilizers to shut off
8596           warnings
8597
8598 2003-02-14  John Levon  <levon@movementarian.org>
8599
8600         * buffer.C: use ParIterator for getParFromID()
8601
8602         * paragraph.h:
8603         * paragraph.C:
8604         * paragraph_pimpl.h:
8605         * paragraph_pimpl.C: remove unused getParFromID()
8606
8607 2003-02-14  John Levon  <levon@movementarian.org>
8608
8609         * buffer.C: remove some very old #if 0'd parse code
8610
8611 2003-02-13  John Levon  <levon@movementarian.org>
8612
8613         * text.h:
8614         * text.C:
8615         * text2.C: move hfillExpansion(), numberOfSeparators(),
8616           rowLast(), rowLastPrintable(), numberofHfills(),
8617           numberOfLabelHfills() ...
8618
8619         * lyxrow.h:
8620         * lyxrow.C: ... to member functions here.
8621
8622         * paragraph.h:
8623         * paragraph.C:
8624         * lyxtext.h:
8625         * text.C: remove LyXText::beginningOfMainBody(), and call
8626           p->beginningOfMainBody() directly. Move the check for
8627           LABEL_MANUAL into the latter.
8628
8629         * text.h:
8630         * text.C:
8631         * text2.C:
8632         * vspace.C:
8633         * BufferView.h:
8634         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8635
8636         * text.h:
8637         * text.C:
8638         * text2.C:
8639         * text3.C:
8640         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8641           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8642
8643 2003-02-13  John Levon  <levon@movementarian.org>
8644
8645         * CutAndPaste.C: remove debug
8646
8647 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * paragraph.C (asString): remove two unused variables
8650
8651         * lyxtextclass.C (readTitleType):
8652           (Read):
8653           (LyXTextClass): handle new members titletype_ and titlename_
8654
8655         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8656
8657 2003-02-09  John Levon  <levon@movementarian.org>
8658
8659         * buffer.h:
8660         * buffer.C: replace hand-coded list with a map for the dep clean
8661
8662 2003-02-08  John Levon  <levon@movementarian.org>
8663
8664         * LaTeX.C: consolidate code into showRunMessage() helper
8665
8666 2003-02-08  John Levon  <levon@movementarian.org>
8667
8668         * lyxfind.C:
8669         * lyxtext.h:
8670         * text2.C:
8671         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8672           and pass the size in explicitly
8673
8674         * BufferView_pimpl.h:
8675         * BufferView_pimpl.C:
8676         * BufferView.h:
8677         * BufferView.C: add getCurrentChange()
8678
8679         * BufferView_pimpl.h:
8680         * BufferView_pimpl.C: handle change lfuns
8681
8682         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8683           for changes. Mark pasted paragraphs as new.
8684
8685         * support/lyxtime.h:
8686         * support/lyxtime.C:
8687         * DepTable.C: abstract time_t as lyx::time_type
8688
8689         * LColor.h:
8690         * LColor.C: add colours for new text, deleted text, changebars
8691
8692         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8693           package use "usenames" option.
8694
8695         * commandtags.h:
8696         * lyxfunc.C:
8697         * LyXAction.C: add change lfuns
8698
8699         * Makefile.am:
8700         * author.h:
8701         * author.C: author handling
8702
8703         * buffer.h:
8704         * buffer.C: add a per-buffer author list, with first entry as
8705           current author. Handle new .lyx tokens for change tracking. Output
8706           author list to .lyx file. Output dvipost stuff to .tex preamble.
8707           Bump lyx format to 222.
8708
8709         * bufferlist.h:
8710         * bufferlist.C: add setCurrentAuthor() to reset current author details
8711           in all buffers.
8712
8713         * bufferparams.h:
8714         * bufferparams.C: add param for tracking
8715
8716         * bufferview_funcs.C: output change info in minibuffer
8717
8718         * Makefile.am:
8719         * changes.h:
8720         * changes.C: add change-tracking structure
8721
8722         * debug.h:
8723         * debug.C: add CHANGES debug flag
8724
8725         * lyxfind.h:
8726         * lyxfind.C: add code for finding the next change piece
8727
8728         * lyxrc.h:
8729         * lyxrc.C: add user_name and user_email
8730
8731         * lyxrow.h:
8732         * lyxrow.C: add a metric for the top of the text line
8733
8734         * lyxtext.h:
8735         * text.C: implement accept/rejectChange()
8736
8737         * lyxtext.h:
8738         * text.C: paint changebars. Paint new/deleted text in the chosen
8739         colours. Strike through deleted text.
8740
8741         * paragraph.h:
8742         * paragraph.C:
8743         * paragraph_pimpl.h:
8744         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8745           in the current change to the insert functions. Rework erase to
8746           mark text as deleted, adding an eraseIntern() and a range-based
8747           erase(). Implement per-paragraph change lookup and
8748           accept/reject.
8749
8750         * paragraph_funcs.C: Fixup paste for change tracking.
8751
8752         * tabular.C: mark added row/columns as new.
8753
8754         * text.C: fix rowLast() to never return -1. Don't allow
8755           spellchecking of deleted text. Track transpose changes. Don't
8756           allow paragraph break or merge where appropriate.
8757
8758         * text2.C: leave cursor at end of selection after a cut.
8759
8760 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8761
8762         * text.C (getLengthMarkerHeight):
8763         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8764         visible on screen too.
8765
8766 2003-02-07  John Levon  <levon@movementarian.org>
8767
8768         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8769
8770 2003-02-05  Angus Leeming  <leeming@lyx.org>
8771
8772         * lyxserver.C (read_ready): revert my patch of 11 September last year
8773         as it sends PC cpu through the roof. Presumably this means that
8774         the lyxserver will no longer run on an Alpha...
8775
8776 2003-01-30  Angus Leeming  <leeming@lyx.org>
8777
8778         * factory.C (createInset): create an InsetCommandParam of type "index"
8779         and use it to 'do the right thing'.
8780
8781         * text2.C (getStringToIndex): ensure that cursor position is always
8782         reset to the reset_cursor position.
8783
8784 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8785
8786         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8787         disabled.
8788
8789 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8790
8791         * bufferview.C:
8792         * lyxcb.C:
8793         * lyxfunc.C: Output messages with identical spelling, punctuation,
8794         and spaces
8795
8796 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8797
8798         * MenuBackend.C (expandFormats): List only viewable export formats
8799         in "View" menu
8800
8801         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8802         message
8803
8804         * lyxfunc.C (getStatus): Make sure that formats other than
8805         "fax" can also be disabled
8806
8807 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8808
8809         * text3.C (dispatch): put the lfuns that insert insets in 3
8810         groups, and call doInsertInset with appropriate arguments.
8811         (doInsertInset): new function, that creates an inset and inserts
8812         it according to some boolean parameters.
8813
8814 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * buffer.C (readFile): remember to pass on 'par' when calling
8817         readFile recursively.
8818
8819 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8820
8821         * MenuBackend.C (expandFormats): add "..." to import formats.
8822
8823 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8824
8825         * paragraph.C (asString): Remove XForms RTL hacks.
8826
8827 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8828         * buffer.C: fix typo
8829
8830 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * Makefile.am (LIBS): delete var
8833         (lyx_LDADD): add @LIBS@ here instead.
8834
8835 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8836
8837         * Clarify the meaning of "wheel mouse jump"
8838
8839 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8842         tabular in a float
8843
8844 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8845
8846         * importer.C (Loaders): do not preallocate 3 elements in the
8847         vector, since one ends up with 6 elements otherwise
8848
8849 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8850
8851         * DepTable.C (write): write the file name as last element of the
8852         .dep file (because it may contain spaces)
8853         (read): read info in the right order
8854
8855 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8856
8857         * paragraph_pimpl.C (simpleTeXBlanks):
8858         (simpleTeXSpecialChars):
8859         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8860
8861         * tabular.C (latex): add some missing case statements. Reindent.
8862
8863         * MenuBackend.C (expandToc): remove unused variable.
8864
8865 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8866
8867         * LColor.C:
8868         * LaTeX.C:
8869         * LyXAction.C:
8870         * MenuBackend.C:
8871         * buffer.C:
8872         * exporter.C:
8873         * lyxfunc.C:
8874         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8875         and the like.
8876
8877 2003-01-05  John Levon  <levon@movementarian.org>
8878
8879         * BufferView.h:
8880         * BufferView.C: add getEncoding()
8881
8882         * kbsequence.h:
8883         * kbsequence.C: do not store last keypress
8884
8885         * lyxfunc.h:
8886         * lyxfunc.C: store last keypress here instead. Pass encoding
8887           to getISOEncoded()
8888
8889 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8890
8891         * lyx_main.C (init): remove annoying error message when following
8892         symbolic links (bug #780)
8893
8894 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8895
8896         * text.C (insertChar):
8897         * lyxrc.C (getDescription): remove extra spaces
8898
8899 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8900
8901         * lyxrc.C (getDescription): remove extra spaces
8902
8903 2002-12-20  John Levon  <levon@movementarian.org>
8904
8905         * text3.C: hack fix for page up/down across tall rows
8906
8907 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8908
8909         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8910         not been invoked
8911
8912 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8913
8914         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8915         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8916         thesaurus is not compiled in
8917
8918 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8919
8920         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8921
8922 2002-12-16  Angus Leeming  <leeming@lyx.org>
8923
8924         * lyxrc.[Ch]:
8925         * lyx_main.C (init): remove override_x_deadkeys stuff.
8926
8927 2002-12-12  John Levon  <levon@movementarian.org>
8928
8929         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8930           insert. Only remove shift modifier under strict
8931           circumstances.
8932
8933 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8934
8935         * MenuBackend.C (expandToc): fix crash.
8936
8937 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8938
8939         * MenuBackend.C (expandToc): gettext on float names.
8940
8941 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8942
8943         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8944         implement bool empty() [bug 490]
8945
8946 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8949
8950 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8951
8952         * several files: ws changes
8953
8954 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * text2.C (setCounter): clean up a bit, use boost.format.
8957         (updateCounters): initialize par upon declaration.
8958
8959         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8960         if the layout exists. We do not just store the layout any more.
8961         (SwitchLayoutsBetweenClasses): use boost.format
8962
8963 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8964
8965         * converter.C (convert): if from and to files are the same, use a
8966         temporary files as intermediary
8967
8968 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8969
8970         * commandtags.h:
8971         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8972
8973 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8976
8977 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8978
8979         * tabular.C (asciiPrintCell): use string(size, char) instead of
8980         explicit loop.
8981
8982         * sgml.C (openTag): fix order of arguments to string constructor
8983         (closeTag): ditto
8984
8985         * lyxfunc.C (dispatch): use boost.format
8986
8987         * lots of files: change "c" -> 'c'
8988
8989 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8990
8991         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8992
8993 2002-11-25  Angus Leeming  <leeming@lyx.org>
8994
8995         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8996
8997         * lyx_main.C (init): compile fix.
8998
8999 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9000
9001         * lyx_cb.C (start): boost.formatify
9002         do not include <iostream>
9003
9004         * lengthcommon.C: ws only
9005
9006         * boost-inst.C,BoostFormat.h: add more explict instantations
9007
9008 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9009
9010         * lots of files: handle USE_BOOST_FORMAT
9011
9012 2002-11-21  John Levon  <levon@movementarian.org>
9013
9014         * pspell.C: fix compile
9015
9016 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * lyxfunc.C (dispatch): use boost::format
9019         (open): ditto
9020         (doImport): ditto
9021
9022         * lyxfont.C (stateText): use boost::format
9023
9024         * lyx_main.C (LyX): use boost::format
9025         (init): ditto
9026         (queryUserLyXDir): ditto
9027         (readRcFile): ditto
9028         (parse_dbg): ditto
9029         (typedef boost::function): use the recommened syntax.
9030
9031         * importer.C (Import): use boost::format
9032
9033         * debug.C (showLevel): use boost::format
9034
9035         * converter.C (view): use boost::format
9036         (convert): ditto
9037         (move): ditto
9038         (scanLog): ditto
9039
9040         * bufferview_funcs.C (currentState): use boost::format
9041
9042         * bufferlist.C (emergencyWrite): use boost::format
9043
9044         * buffer.C (readLyXformat2): use boost::format
9045         (parseSingleLyXformat2Token): ditto
9046
9047         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9048
9049         * LaTeX.C (run): use boost::format
9050
9051         * Chktex.C (scanLogFile): use boost::format
9052
9053         * BufferView_pimpl.C (savePosition): use boost::format
9054         (restorePosition): ditto
9055         (MenuInsertLyXFile): ditto
9056
9057         * BoostFormat.h: help file for explicit instation.
9058
9059 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9060
9061         * tabular.C (latex): Support for block alignment in fixed width
9062         columns.
9063
9064 2002-11-17  John Levon  <levon@movementarian.org>
9065
9066         * BufferView_pimpl.C:
9067         * lyx_cb.C:
9068         * lyxfunc.C: split filedialog into open/save
9069
9070 2002-11-08  Juergen Vigna  <jug@sad.it>
9071
9072         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9073         by my last patch (hopefully).
9074
9075 2002-11-08  John Levon  <levon@movementarian.org>
9076
9077         * iterators.h:
9078         * iterators.C:
9079         * buffer.h:
9080         * buffer.C:
9081         * paragraph.h:
9082         * paragraph.C:
9083         * toc.h:
9084         * toc.C: ParConstIterator, and use it (from Lars)
9085
9086 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9087
9088         * lyxtextclass.[Ch]: revise and add doxygen comments
9089
9090 2002-11-07  John Levon  <levon@movementarian.org>
9091
9092         * text.C: fix progress value for spellchecker
9093
9094         * toc.C: fix navigate menu for insetwrap inside minipage
9095
9096         * paragraph_funcs.C: added FIXME for suspect code
9097
9098 2002-11-07  John Levon  <levon@movementarian.org>
9099
9100         * BufferView_pimpl.C: fix redrawing of insets
9101           on buffer switch
9102
9103 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * text2.C (updateCounters): fix bug 668
9106
9107 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9108
9109         * text3.C (dispatch): Do not make the buffer dirty when moving the
9110         cursor.
9111
9112 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * vc-backend.C: STRCONV
9115         (scanMaster): ditto
9116
9117         * text2.C (setCounter): STRCONV
9118
9119         * paragraph.C (asString): STRCONV
9120
9121         * lyxlength.C (asString): STRCONV
9122         (asLatexString): ditto
9123
9124         * lyxgluelength.C (asString): STRCONV
9125         (asLatexString): ditto
9126
9127         * lyxfunc.C (dispatch): STRCONV
9128         (open): ditto
9129
9130         * lyxfont.C (stateText): STRCONV
9131
9132         * importer.C (Import): STRCONV
9133
9134         * counters.C (labelItem): STRCONV
9135         (numberLabel): ditto
9136         (numberLabel): remove unused ostringstream o
9137
9138         * chset.C: STRCONV
9139         (loadFile): ditto
9140
9141         * bufferview_funcs.C (currentState): STRCONV
9142
9143         * buffer.C (readFile): STRCONV
9144         (asciiParagraph): ditto
9145         (makeLaTeXFile): ditto
9146
9147         * Spacing.C (writeEnvirBegin): STRCONV
9148
9149         * LaTeXFeatures.C (getLanguages): STRCONV
9150         (getPackages): ditto
9151         (getMacros): ditto
9152         (getBabelOptions): ditto
9153         (getTClassPreamble): ditto
9154         (getLyXSGMLEntities): ditto
9155         (getIncludedFiles): ditto
9156
9157         * LaTeX.C: STRCONV
9158         (run): ditto
9159         (scanAuxFile): ditto
9160         (deplog): ditto
9161
9162         * LString.h: add the STRCONV macros
9163
9164         * BufferView_pimpl.C (savePosition): STRCONV
9165         (restorePosition): ditto
9166         (MenuInsertLyXFile): ditto
9167
9168         * vc-backend.C (scanMaster): change from submatch[...] to
9169         submatch.str(...)
9170
9171         * funcrequest.C: include config.h
9172
9173         * factory.C: include config.h
9174
9175         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9176
9177         * box.C: include config.h
9178
9179         * LaTeX.C (scanAuxFile): change from submatch[...] to
9180         submatch.str(...)
9181         (deplog): ditto
9182
9183 2002-10-25  Angus Leeming  <leeming@lyx.org>
9184
9185         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9186
9187         * ispell.[Ch] (setError): new method.
9188         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9189         Use setError() insetead of goto END.
9190
9191         * lyx_cb.C (AutoSave): move out child process into new class
9192         AutoSaveBuffer.
9193
9194 2002-10-30  John Levon  <levon@movementarian.org>
9195
9196         * text3.C: make start appendix undoable
9197
9198 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * lyxlength.C (inPixels): Fix returned value.
9201
9202         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9203         environment.
9204
9205 2002-10-24  Angus Leeming  <leeming@lyx.org>
9206
9207         * lyxgluelength.h: no need to forward declare BufferParams
9208         or BufferView, so don't.
9209
9210 2002-10-21  John Levon  <levon@movementarian.org>
9211
9212         * BufferView.C: menuUndo ->undo, redo
9213
9214         * BufferView.h: document, remove dead, make some methods private
9215
9216         * paragraph_funcs.h:
9217         * paragraph_funcs.C:
9218         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9219
9220         * buffer.h:
9221         * buffer.C:
9222         * sgml.h:
9223         * sgml.C: move sgml open/close tag into sgml.C
9224
9225         * bufferview_funcs.h: unused prototype
9226
9227         * lyxfunc.h:
9228         * lyxfunc.C: remove unused
9229
9230         * lyxtext.h:
9231         * text.C: remove unused
9232
9233 2002-10-21  John Levon  <levon@movementarian.org>
9234
9235         * BufferView.h:
9236         * BufferView.C:
9237         * BufferView_pimpl.h:
9238         * BufferView_pimpl.C: fix mouse wheel handling based on
9239           patch from Darren Freeman
9240
9241 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9242
9243         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9244
9245 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9246
9247         * lyxlength.C (inPixels): Fix hanfling of negative length.
9248         Fix LyXLength::MU case.
9249
9250 2002-10-16  John Levon  <levon@movementarian.org>
9251
9252         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9253
9254 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9255
9256         * converter.C (view): add support for $$i (file name) and $$p
9257         (file path) for the viewer command. If $$i is not specified, then
9258         it is appended to the command (for compatibility with old syntax)
9259
9260 2002-10-14  Juergen Vigna  <jug@sad.it>
9261
9262         * undo_funcs.C (textHandleUndo): alter the order in which the
9263         new undopar is added to the LyXText, as we have to set first
9264         the right prev/next and then add it as otherwise the rebuild of
9265         LyXText is not correct. Also reset the cursor to the right paragraph,
9266         with this IMO we could remove the hack in "redoParagraphs()".
9267
9268 2002-10-09  Angus Leeming  <leeming@lyx.org>
9269
9270         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9271         to turn off an optimisation if a new inset is to be inserted.
9272
9273 2002-10-11 André Pönitz <poenitz@gmx.net>
9274
9275         * lyxtext.h: make some functions public to allow access
9276         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9277
9278 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9279
9280         * text3.C (dispatch): when changing layout, avoid an infinite loop
9281         [bug #652]
9282
9283 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9284
9285         * lyxrc.C (read): treat a viewer or converter command of "none" as
9286         if it were empty.
9287
9288         * MenuBackend.C (expandFormats): for an update, also allow the
9289         formats that are not viewable
9290
9291         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9292         script if it is newer than the lyxrc.defaults in user directory
9293
9294 2002-10-07 André Pönitz <poenitz@gmx.net>
9295
9296         * text.C: Vitaly Lipatov's small i18n fix
9297
9298 2002-09-25  Angus Leeming  <leeming@lyx.org>
9299
9300         * ispell.h: doxygen fix.
9301
9302 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9303
9304         * buffer.h (readFile): Add a new argument to the method, to allow
9305         reading of old-format templates.
9306
9307 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9308
9309         * toc.C (getTocList): Get TOC from InsetWrap.
9310
9311 2002-09-16  John Levon  <levon@movementarian.org>
9312
9313         * lyxfunc.C: check tabular for cut/copy too
9314
9315 2002-09-12  John Levon  <levon@movementarian.org>
9316
9317         * LyXAction.C: tidy
9318
9319         * factory.h:
9320         * factory.C: add header
9321
9322         * paragraph_funcs.h:
9323         * paragraph_funcs.C: cleanup
9324
9325 2002-09-11  John Levon  <levon@movementarian.org>
9326
9327         * PrinterParams.h: odd/even default to true
9328
9329 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9330
9331         * PrinterParams.h: update printer parameters for new xforms dialog
9332
9333 2002-09-11  Angus Leeming  <leeming@lyx.org>
9334
9335         * lyxserver.C (read_ready): re-write to make it more transparent
9336         and to make it work in coherent fashion under Tru64 Unix.
9337
9338 2002-09-11  André Pönitz <poenitz@gmx.net>
9339
9340         * commandtags.h:
9341         * LyXAction.C:
9342         * text3.C: implement LFUN_WORDSEL
9343
9344 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9345
9346         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9347         make floatlist_ a boost::shared_ptr<FloatList>
9348
9349         * lyxtextclass.C: include FloatList.h
9350         (LyXTextClass): initialize floatlist_
9351         (TextClassTags): add TC_NOFLOAT
9352         (Read): match "nofloat" to TC_NOFLOAT and use it.
9353         (readFloat): modify call to floatlist_
9354         (floats): ditto
9355         (floats): ditto
9356
9357         * FloatList.[Ch] (FloatList): remove commented out float
9358         initialization.
9359         (erase): new function
9360
9361 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9362
9363         * MenuBackend.C (expandToc): fix crash when there is no document
9364         open
9365
9366 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9367
9368         * many files: Add insetwrap.
9369
9370 2002-09-09  John Levon  <levon@movementarian.org>
9371
9372         * text2.C: remove confusing and awkward depth wraparound
9373
9374 2002-09-09  John Levon  <levon@movementarian.org>
9375
9376         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9377
9378         * buffer.h:
9379         * buffer.C: remove getIncludeonlyList()
9380
9381         * paragraph.C:
9382         * lyxfunc.C: remove headers
9383
9384 2002-09-09  Juergen Vigna  <jug@sad.it>
9385
9386         * text.C (getColumnNearX): fix form Michael this is most
9387         probably a cut&paste bug.
9388
9389 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9390
9391         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9392
9393         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9394         references, ws changes.
9395
9396         * text2.C (init): update counters after init
9397         (insertParagraph): no need to set counter on idividual paragraphs.
9398         (setCounter): access the counters object in the textclass object
9399         on in the buffer object.
9400         (updateCounters): ditto
9401
9402         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9403         shared_ptr<Counters> to avoid loading counters.h in all
9404         compilation units.
9405         (LyXTextClass): initialize ctrs_
9406         (TextClassTags): add TC_COUNTER, and ...
9407         (Read): use it here.
9408         (CounterTags): new tags
9409         (readCounter): new function
9410         (counters): new funtion
9411         (defaultLayoutName): return a const reference
9412
9413         * counters.C (Counters): remove contructor
9414         (newCounter): remove a couple of unneeded statements.
9415         (newCounter): simplify a bit.
9416         (numberLabel): some small formatting changes.
9417
9418         * buffer.[Ch]: remove all traces of counters, move the Counters
9419         object to the LyXTextClass.
9420
9421 2002-09-06  Alain Castera  <castera@in2p3.fr>
9422
9423         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9424         package to set the horizontal alignment on fixed width columns.
9425
9426         * lyx_sty.C:
9427         * lyx_sty.h: added tabularnewline macro def.
9428
9429         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9430
9431 2002-09-06  John Levon  <levon@movementarian.org>
9432
9433         * LyXAction.C: tooltips for sub/superscript
9434
9435         * MenuBackend.C: a bit more verbose
9436
9437         * lyxfunc.C: tiny clean
9438
9439         * undo_funcs.C: document undo_frozen
9440
9441 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9442
9443         * counters.C (Counters): add missing algorithm counter.
9444
9445         * text2.C (setCounter): lookup the counter with layouts latexname
9446         instead of by section number.
9447         (setCounter): use a hackish way to lookup the correct enum
9448         counter.
9449         a float name->type change
9450         reset enum couners with counter name directly instead of depth value.
9451
9452         * counters.C (Counters): remove the push_backs, change to use the
9453         float type not the float name.
9454         (labelItem): remove unused string, float name->type change
9455
9456         * counters.h: don't include vector, loose the enums and sects vectors
9457
9458 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9459
9460         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9461         (Read): add float->TC_FLOAT to textclassTags
9462         (Read): and handle it in the switch
9463         (readFloat): new function
9464
9465         * FloatList.C (FloatList): comment out the hardcoded float
9466         definitions.
9467
9468         * lyxlayout.h: ws change.
9469
9470 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9473
9474 2002-09-03  Angus Leeming  <leeming@lyx.org>
9475
9476         * BufferView_pimpl.h: qualified name is not allowed in member
9477         declaration: WorkArea & Pimpl::workarea() const;
9478
9479         * factory.C: added using std::endl directive.
9480
9481         * text3.C: added using std::find and std::vector directives.
9482
9483 2002-08-29  André Pönitz <poenitz@gmx.net>
9484
9485         * lyxtext.h:
9486         * text2.C: remove unused member number_of_rows
9487
9488         * Makefile.am:
9489         * BufferView2.C: remove file, move contents to...
9490         * BufferView.C: ... here
9491
9492         * BufferView_pimpl.C:
9493         * factory.C: move more inset creation to factory
9494
9495         * vspace.C: avoid direct usage of LyXText, ws changes
9496
9497         * BufferView.[Ch]:
9498                 don't provide direct access to WorkArea, use two simple
9499                 acessors haveSelction() and workHeight() instead
9500
9501
9502 2002-08-29  John Levon  <levon@movementarian.org>
9503
9504         * BufferView_pimpl.C (dispatch): do not continue when
9505           no buffer
9506
9507 2002-08-28  André Pönitz <poenitz@gmx.net>
9508
9509         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9510
9511         * BufferView.h:
9512         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9513
9514 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9515
9516         * buffer.C: increment LYX_FORMAT to 221
9517
9518         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9519         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9520
9521         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9522
9523         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9524
9525 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * factory.C (createInset): use LyXTextClass::floats
9528
9529         * MenuBackend.C (expandFloatListInsert):
9530         (expandFloatInsert):
9531         (expandToc):
9532
9533         * text2.C (setCounter):
9534
9535         * LaTeXFeatures.C (useFloat):
9536         (getFloatDefinitions):
9537
9538         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9539
9540         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9541         floatlist_, with accessor floats().
9542
9543         * FloatList.h: remove global FloatList
9544
9545 2002-08-26  André Pönitz <poenitz@gmx.net>
9546
9547         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9548
9549         * BufferView.h:
9550         * BufferView2.C:
9551         * BufferView_pimpl.C:
9552         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9553
9554 2002-08-25  John Levon  <levon@movementarian.org>
9555
9556         * LyXAction.C: fix margin note description
9557
9558 2002-08-24  John Levon  <levon@movementarian.org>
9559
9560         * buffer.C:
9561         * bufferlist.C:
9562         * bufferview_funcs.C:
9563         * lyxfont.C:
9564         * undo_funcs.C: cleanups
9565
9566         * lyxfunc.C: disable CUT/COPY when no selection
9567
9568 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9569
9570         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9571         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9572
9573         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9574         Add backward compatibility to "mono", "gray" and "no".
9575
9576 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9577
9578         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9579         (and file_format >= 200).
9580
9581 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9584
9585 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9586
9587         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9588
9589 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9590
9591         * BufferView_pimpl.C:
9592         * LyXAction.C:
9593         * buffer.C:
9594         * commandtags.h:
9595         * lyxfunc.C:
9596         * paragraph.[Ch]:
9597         * text2.C:
9598         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9599         inset and code to make it  work with the paragraph code. The inset
9600         can be anywhere in the paragraph, but will only do the expected
9601         thing in LaTeX if the layout file contains the parameter line
9602                         OptionalArgs    1
9603         (or more generally, a nonzero value) for that layout.
9604
9605 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9606
9607         * paragraph.h: remove the declaration of undefined counters class
9608         function.
9609
9610 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9611
9612         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9613         Dr. Richard Hawkins.
9614
9615 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9616
9617         * paragraph_funcs.h: remove some unneeded includes
9618
9619         * text.C (backspace): pasteParagraph now in global scipe
9620
9621         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9622         (pasteSelection): ditto
9623
9624         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9625         * paragraph_funcs.C (pasteParagraph): ... here
9626
9627 2002-08-20  André Pönitz <poenitz@gmx.net>
9628
9629         * commandtags.h: new LFUNs for swapping/copying table row/colums
9630
9631         * LyXAction.C:
9632         * lyxfunc.C: support for new lfuns
9633
9634 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9635
9636         * tabular.C:
9637         * buffer.[Ch]: remove NO_COMPABILITY stuff
9638
9639 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * boost.C (throw_exception): new file, with helper function for
9642         boost compiled without exceptions.
9643
9644         * paragraph.h:
9645         * lyxlength.C:
9646         * buffer.C:
9647         * ParameterStruct.h:
9648         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9649
9650         * bufferlist.C (emergencyWriteAll): use boost bind
9651
9652         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9653
9654         * text.C: include paragraph_funcs.h
9655         (breakParagraph): breakParagraph is now in global scope
9656
9657         * paragraph_funcs.[Ch]: new files
9658
9659         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9660         global scope
9661
9662         * buffer.C: include paragraph_funcs.h
9663         (insertStringAsLines): breakParagraph is now in global scope
9664
9665         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9666         paragraph_funcs.C
9667
9668         * CutAndPaste.C: include paragraph_funcs.h
9669         (cutSelection): breakParagraphConservative is now in global scope
9670         (pasteSelection): ditto
9671
9672         * buffer.h: declare oprator== and operator!= for
9673         Buffer::inset_iterator
9674
9675         * bufferlist.C (emergencyWrite): don't use fmt(...)
9676
9677         * text3.C: add using std::endl
9678
9679         * BufferView.C (moveCursorUpdate): remove default arg
9680
9681 2002-08-20  André Pönitz <poenitz@gmx.net>
9682
9683         * buffer.[Ch]: move inline functions to .C
9684
9685         * BufferView2.C:
9686         * BufferView_pimpl.C:
9687         * text.C:
9688         * buffer.[Ch]: use improved inset_iterator
9689
9690         * buffer.C:
9691         * paragraph.[Ch]: write one paragraph at a time
9692
9693 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9694
9695         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9696         style if style is not specified.
9697
9698 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * text2.C (setCounter): when searching for right label for a
9701         caption, make sure to recurse to parent insets (so that a caption
9702         in a minipage in a figure float works) (bug #568)
9703
9704 2002-08-20  André Pönitz <poenitz@gmx.net>
9705
9706         * text3.C: new file for LyXText::dispatch() and helpers
9707
9708         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9709
9710         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9711
9712 2002-08-19  André Pönitz <poenitz@gmx.net>
9713
9714         * lyxtext.h:
9715         * text.C: new LyXText::dispatch()
9716
9717         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9718
9719 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9720
9721         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9722
9723         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9724         Hebrew text.
9725
9726 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * Makefile.am: use $(variables) instead of @substitutions@
9729
9730 2002-08-15  André Pönitz <poenitz@gmx.net>
9731
9732         * lyxfunc.C:
9733         * BufferView_pimpl.C: streamlining mathed <-> outer world
9734         interaction
9735
9736         * commandtags.h:
9737         * LyXAction.C: remove unused LFUN_MATH
9738
9739 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9740
9741         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9742
9743 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * paragraph.C (Paragraph): reformat a bit
9746         (cutIntoMinibuffer): use builtin InsetList function instad of
9747         doing it manually.
9748         (getInset): ditto
9749
9750         * buffer.C: include boost/bind.hpp, add using std::for_each
9751         (writeFileAscii): use ParagraphList iterators
9752         (validate): use for_each for validate traversal of paragraphs
9753         (getBibkeyList): use ParagraphList iterators
9754         (resizeInsets): use for_each to resizeInsetsLyXText for all
9755         paragraphs.
9756         (getParFromID): use ParagraphList iterators
9757
9758         * BufferView2.C (lockInset): use paragraph list and iterators
9759
9760 2002-08-14  John Levon  <levon@movementarian.org>
9761
9762         * lyxserver.C: remove spurious xforms include
9763
9764 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9767
9768 2002-08-13  André Pönitz <poenitz@gmx.net>
9769
9770         * LyXAction.[Ch]:
9771         * lyxfunc.C: further cleaning
9772
9773 2002-08-13  André Pönitz <poenitz@gmx.net>
9774
9775         * funcrequest.h: new constructor
9776
9777         * funcrequest.C: move stuff here from .h
9778
9779         * Makefile.am:
9780         * BufferView_pimpl.C:
9781         * LyXAction.C:
9782         * toc.C:
9783         * lyxfunc.C: subsequent changes
9784
9785         * lyxfunc.h: new view() member function
9786
9787         * lyxfunc.C: subsequent changes
9788
9789 2002-08-13  Angus Leeming  <leeming@lyx.org>
9790
9791         * BufferView2.C:
9792         * BufferView_pimpl.C:
9793         * buffer.C:
9794         * converter.C:
9795         * importer.C:
9796         * lyxfunc.C:
9797         * lyxvc.C:
9798         * toc.C:
9799         * vc-backend.C:
9800         changes due to the changed LyXView interface that now returns references
9801         to member variables not pointers.
9802
9803 2002-08-13  Angus Leeming  <leeming@lyx.org>
9804
9805         * WordLangTuple (word, lang_code): return references to strings,
9806         not strings.
9807
9808         * BufferView.h:
9809         * SpellBase.h:
9810         * lyxtext.h: forward-declare WordLangTuple.
9811
9812         * BufferView2.C:
9813         * ispell.C:
9814         * pspell.C:
9815         * text.C: #include "WordLangTuple.h".
9816
9817         * lyxtext.h:
9818         * text.C: (selectNextWordToSpellcheck): constify return type.
9819
9820 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9821
9822         * buffer.C:
9823         * buffer.h:
9824         * lyxtext.h:
9825         * paragraph.C:
9826         * paragraph_pimpl.h:
9827         * text.C:
9828         * text2.C:
9829         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9830         suggested by Angus.
9831         Made updateCounter always count from start of buffer, and removed
9832         second argument (par).
9833         Reverted floats number display to '#'. Perhaps I'll try again when the
9834         code base is sanitized a bit.
9835
9836 2002-08-12  Angus Leeming  <leeming@lyx.org>
9837
9838         * buffer.[Ch] (getLabelList): constify.
9839
9840 2002-08-07  André Pönitz <poenitz@gmx.net>
9841
9842         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9843
9844         * funcrequest.h: extension to keep mouse (x,y) position
9845
9846 2002-08-12  Juergen Vigna  <jug@sad.it>
9847
9848         * BufferView2.C (insertErrors): forbid undo when inserting error
9849         insets.
9850
9851         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9852
9853 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9854
9855         * ParagraphList.[Ch]: new files
9856
9857         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9858
9859         * BufferView2.C (lockInset): ParagraphList changes
9860         * toc.C: ditto
9861         * text2.C: ditto
9862         * bufferlist.C: ditto
9863         * buffer.h: ditto
9864         * buffer.C: ditto
9865
9866 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9869         unused class variable counter_,
9870
9871         * paragraph.[Ch] (getFirstCounter): delete unused function
9872
9873         * counters.C: include LAssert.h
9874         (reset): add a new function with no arg, change other version to
9875         not have def. arg and to not allow empty arg.
9876
9877         * text2.C (setCounter): remove empty arg from call to Counters::reset
9878
9879 2002-08-11  John Levon  <levon@movementarian.org>
9880
9881         * Makefile.am: add WordLangTuple.h
9882
9883 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9886         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9887
9888         * insets/insettext.C: InsetList changes
9889
9890         * graphics/GraphicsSupport.C (operator()): InsetList changes
9891
9892         * toc.C (getTocList): InsetList changes
9893
9894         * paragraph_pimpl.[Ch]: InsetList changes
9895
9896         * paragraph.[Ch]: InsetList changes
9897
9898         * buffer.C (inset_iterator): InsetList changes
9899         (setParagraph): ditto
9900         * buffer.h (inset_iterator): ditto
9901         * iterators.C (operator++): ditto
9902         * iterators.h: ditto
9903
9904         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9905
9906         * InsetList.[Ch]: new files, most InsetList handling moved out of
9907         paragraph.C.
9908
9909         * BufferView2.C (removeAutoInsets): InsetList changes
9910         (lockInset): ditto
9911         (ChangeInsets): ditto
9912
9913 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9914
9915         * paragraph_pimpl.h (empty): new function
9916
9917         * paragraph.[Ch] (empty): new function
9918
9919         * other files: use the new Paragraph::empty function
9920
9921 2002-08-09  John Levon  <levon@movementarian.org>
9922
9923         * lyxtext.h: remove unused refresh_height
9924
9925 2002-08-09  John Levon  <levon@movementarian.org>
9926
9927         * Makefile.am:
9928         * sgml.h:
9929         * sgml.C:
9930         * buffer.C:
9931         * paragraph.h:
9932         * paragraph.C: move sgml char escaping out of paragraph
9933
9934         * paragraph.h:
9935         * paragraph.C: remove id setter
9936
9937         * buffer.C:
9938         * paragraph.C:
9939         * paragraph_pimpl.C: remove dead tex_code_break_column
9940
9941         * bufferview_funcs.C: small cleanup
9942
9943         * lyxfunc.C: remove dead proto
9944
9945         * lyxtext.h: make some stuff private. Remove some dead stuff.
9946
9947         * lyxgluelength.C: make as[LyX]String() readable
9948
9949 2002-08-08  John Levon  <levon@movementarian.org>
9950
9951         * LyXAction.h:
9952         * LyXAction.C:
9953         * MenuBackend.C:
9954         * ToolbarDefaults.C:
9955         * lyxfunc.C:
9956         * lyxrc.C:
9957         * toc.C: lyxaction cleanup
9958
9959 2002-08-08  John Levon  <levon@movementarian.org>
9960
9961         * BufferView2.C: small cleanup
9962
9963         * lyxfind.h:
9964         * lyxfind.C: move unnecessary header into the .C
9965
9966 2002-08-08  John Levon  <levon@movementarian.org>
9967
9968         * funcrequest.h: just tedious nonsense
9969
9970         * lyx_main.h:
9971         * lyx_main.C: cleanups
9972
9973         * buffer.C:
9974         * vspace.C: remove dead header lyx_main.h
9975
9976 2002-08-07  Angus Leeming  <leeming@lyx.org>
9977
9978         * Paragraph.[Ch]:
9979         * paragraph_pimpl.h:
9980         Forward declare class Counters in paragraph.h by moving the ctrs member
9981         variable into Paragraph::Pimpl.
9982         (counters): new method, returning a reference to pimpl_->ctrs.
9983
9984         * text2.C: ensuing changes.
9985
9986 2002-08-07  John Levon  <levon@movementarian.org>
9987
9988         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9989
9990         * BufferView_pimpl.C: announce X selection on double/triple
9991           click
9992
9993         * lyx_main.C: use correct bool in batch dispatch
9994
9995         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9996
9997 2002-08-07  André Pönitz <poenitz@gmx.net>
9998
9999         * funcrequest.h: new class to wrap a kb_action and its argument
10000
10001         * BufferView.[Ch]:
10002         * BufferView_pimpl[Ch]:
10003         * LaTeX.C:
10004         * LyXAction.[Ch]:
10005         * lyxfunc.[Ch]:
10006         * lyxrc.C: subsequent changes
10007
10008
10009 2002-08-07  John Levon  <levon@movementarian.org>
10010
10011         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10012           document options change.
10013
10014 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10015
10016         * counters.[Ch]
10017         * text2.C
10018         * paragraph.[Ch]
10019         * makefile.am: move counters functionality over from
10020         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10021
10022 2002-08-06  John Levon  <levon@movementarian.org>
10023
10024         * WordLangTuple.h: new file for word + language code tuple
10025
10026         * SpellBase.h:
10027         * pspell.h:
10028         * pspell.C:
10029         * ispell.h:
10030         * ispell.C:
10031         * lyxtext.h:
10032         * text.C:
10033         * text2.C:
10034         * BufferView.h:
10035         * BufferView2.C: use WordLangTuple
10036
10037         * layout.h:
10038         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10039
10040 2002-08-06  John Levon  <levon@movementarian.org>
10041
10042         * lyx_main.C: fix cmdline batch handling
10043
10044 2002-08-06  André Pönitz <poenitz@gmx.net>
10045
10046         * lyxrc.C: set default for show_banner to true
10047
10048 2002-08-06  John Levon  <levon@movementarian.org>
10049
10050         * pspell.C: fix a crash, and allow new aspell to work
10051
10052 2002-08-06  John Levon  <levon@movementarian.org>
10053
10054         * lyxfunc.C:
10055         * kbmap.C: small cleanup
10056
10057         * vspace.h:
10058         * vspace.C: add const
10059
10060 2002-08-05  John Levon  <levon@movementarian.org>
10061
10062         * LyXAction.C: back to tabular-insert
10063
10064 2002-08-04  John Levon  <levon@movementarian.org>
10065
10066         * BufferView.h:
10067         * BufferView.C: cosmetic change
10068
10069         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10070
10071         * bufferlist.C:
10072         * buffer.h:
10073         * buffer.C:
10074         * lyxcb.h:
10075         * lyxcb.C:
10076         * lyxserver.C:
10077         * lyxvc.C:
10078         * vc-backend.C:
10079         * BufferView2.C: purge all "Lyx" not "LyX" strings
10080
10081         * lyxcursor.h:
10082         * lyxcursor.C: attempt to add some documentation
10083
10084         * lyxfunc.C:
10085         * commandtags.h:
10086         * LyXAction.C:
10087         * ToolbarDefaults.C:
10088         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10089           merge with LFUN_TABULAR_INSERT
10090
10091         * Makefile.am:
10092         * SpellBase.h:
10093         * ispell.h:
10094         * ispell.C:
10095         * pspell.h:
10096         * pspell.C: split up i/pspell implementations into separate
10097           files, many cleanups
10098
10099         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10100
10101         * text2.C: some cleanup
10102
10103         * lyxfunc.C: don't check for isp_command == "none" any more, it
10104           didn't make any sense
10105
10106 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10107
10108         * counters.[Ch]
10109         * text2.C
10110         * paragraph.[Ch]
10111         * makefile.am: move counters functionality over
10112         from text2.C/paragraph.[Ch] to counters.[Ch], and
10113         make proper C++.
10114 2002-08-02  John Levon  <levon@movementarian.org>
10115
10116         * buffer.C: s/lyxconvert/lyx2lyx/
10117
10118 2002-08-02  Angus Leeming  <leeming@lyx.org>
10119
10120         * lyxlex.C: revert John's change as it breaks reading of the user
10121         preamble.
10122
10123 2002-08-02  Angus Leeming  <leeming@lyx.org>
10124
10125         * importer.C (Import):
10126         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10127         changes due to LyXView::view() now returning a boost::shared_ptr.
10128
10129 2002-08-02  John Levon  <levon@movementarian.org>
10130
10131         * lyxlex.C: small cleanup
10132
10133 2002-08-02  John Levon  <levon@movementarian.org>
10134
10135         * text2.C (status): small cleanup, no logic change
10136
10137 2002-08-01  John Levon  <levon@movementarian.org>
10138
10139         * buffer.h:
10140         * buffer.C (writeFile): don't output alerts, caller
10141           handles this
10142
10143         * bufferlist.C:
10144         * lyx_cb.C: from above
10145
10146         * lyxfunc.C: allow to open non-existent files
10147
10148 2002-07-31  John Levon  <levon@movementarian.org>
10149
10150         * lyxserver.C: don't let incidental errors get
10151           in the way (errno)
10152
10153 2002-07-30  John Levon  <levon@movementarian.org>
10154
10155         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10156
10157 2002-07-30  John Levon  <levon@movementarian.org>
10158
10159         * lyxserver.h:
10160         * lyxserver.C: remove I/O callback too
10161
10162 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10165         log.
10166
10167 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10168
10169         * many files: strip,frontStrip -> trim,ltrim,rtrim
10170
10171 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * PrinterParams.h: remove extern containsOnly, and include
10174         support/lstrings.h instead.
10175
10176         * LaTeX.C (scanAuxFile): modify because of strip changes
10177         (deplog): ditto
10178         * buffer.C (makeLaTeXFile): ditto
10179         * bufferparams.C (writeFile): ditt
10180         * lyxfont.C (stateText): ditto
10181         * lyxserver.C (read_ready): ditto
10182         * vc-backend.C (scanMaster): ditto
10183
10184         * BufferView_pimpl.h: ws changes
10185
10186         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10187
10188 2002-07-26  André Pönitz <poenitz@gmx.net>
10189
10190         * kb_sequence.C: remove unnedred usings
10191
10192 2002-07-26  Juergen Vigna  <jug@sad.it>
10193
10194         * lyxfind.C (LyXReplace): we have to check better if the returned
10195         text is not of theLockingInset()->getLockingInset().
10196
10197 2002-07-25  Juergen Vigna  <jug@sad.it>
10198
10199         * lyxfind.C (LyXReplace): don't replace if we don't get the
10200         right LyXText.
10201
10202         * undo_funcs.C (createUndo): remove debugging code.
10203
10204 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10205
10206         * buffer.C (parseSingleLyXformat2Token): Use default placement
10207         when reading old floats.
10208
10209         * FloatList.C (FloatList): Change the default placement of figure
10210         and tables to "tbp".
10211
10212 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * MenuBackend.C: using std::max
10215
10216 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * MenuBackend.C (expandToc):
10219         (expandToc2): code moved from xforms menu frontend. It is now
10220         generic and TOCs are transparent to menu frontends.
10221
10222 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10223
10224         * toc.C (getTocList): protect against buf=0
10225
10226         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10227         Menu as first parameter. Now, this calls itself recursively to
10228         expand a whole tree (this will be useful for TOC handling)
10229         (expandFloatInsert): remove 'wide' version of floats
10230
10231         * MenuBackend.h (submenuname): returns the name of the submenu.
10232         (submenu): returns the submenu itself, provided it has been
10233         created by MenuBackend::expand
10234
10235 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10238         insets which have noFontChange == true. (bug #172)
10239
10240 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * BufferView_pimpl.C: add connection objects and use them...
10243         (Pimpl): here.
10244
10245 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * MenuBackend.C (expandLastfiles):
10248         (expandDocuments):
10249         (expandFormats):
10250         (expandFloatListInsert):
10251         (expandFloatInsert):
10252         (expand): split expand in parts
10253
10254 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * lyx_gui.C: use lyx_gui::exit()
10257
10258 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * LyXAction.C: show the failing pseudo action
10261
10262 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10263
10264         * buffer.C (readFile): Run the lyxconvert script in order to read
10265         old files.
10266
10267 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * LyXAction.C:
10270         * commandtags.h:
10271         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10272
10273 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * LyXAction.C:
10276         * commandtags.h:
10277         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10278
10279 2002-07-22  Herbert Voss  <voss@lyx.org>
10280
10281         * lengthcommon.C:
10282         * lyxlength.[Ch]: add support for the vertical lengths
10283
10284 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * toc.[Ch]: std:: fixes
10287
10288 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * lyxrc.C: do not include lyx_main.h
10291
10292         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10293         for layouts
10294
10295         * lyxrc.C:
10296         * encoding.C:
10297         * bufferlist.C:
10298         * BufferView2.C: include "lyxlex.h"
10299
10300         * tabular.h:
10301         * bufferparams.h: do not #include "lyxlex.h"
10302
10303         * lyxtextclasslist.C (Add): remove method
10304         (classlist): renamed to classlist_
10305
10306         * paragraph_pimpl.C:
10307         * paragraph.C:
10308         * text2.C:
10309         * CutAndPaste.C:
10310         * bufferview_funcs.C:
10311         * bufferlist.C:
10312         * text.C:
10313         * LaTeXFeatures.C:
10314         * buffer.C:
10315         * toc.C (getTocList): use BufferParams::getLyXTextClass
10316
10317         * toc.C (getTocList): use InsetFloat::addToToc
10318
10319         * toc.[Ch]: new files, containing helper functions to handle table
10320         of contents
10321
10322         * lyxfunc.C (dispatch): no need to remove spaces around command
10323         given as a string
10324         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10325         first command of the sequence; it is not very clever, but I do not
10326         have a better idea, actually
10327
10328         * LyXAction.C (LookupFunc): make sure to remove space at the
10329         beginning and end of the command
10330
10331 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * MenuBackend.C (getMenubar): new method: return the menubar of
10334         this menu set
10335         (read): treat differently reading of menu and menubar (in
10336         particular, the menubar has no name now)
10337         (Menu::menubar): remove
10338
10339         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10340         saving is finished
10341
10342 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10343
10344         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10345         a bibitem inset in a RTL paragraph.
10346
10347 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * paragraph_pimpl.C: constify
10350
10351         * BufferView_pimpl.C:
10352         * LaTeX.C:
10353         * lyxfunc.C: fix dispatch in a nicer way
10354
10355 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * lyxfunc.C (dispatch):
10358         * BufferView_pimpl.C:
10359         * BufferView_pimpl.h:
10360         * BufferView.C:
10361         * BufferView.h: rename Dispatch() to dispatch()
10362
10363         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10364
10365         * lyxlayout.C (Read): honor DependsOn tag
10366
10367         * lyxlayout.[Ch] (depends_on): new method
10368
10369         * version.C.in: update lyx_docversion
10370
10371         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10372
10373         * paragraph.C (validate): remove from here...
10374         * paragraph_pimpl.C (validate): ... and move here
10375         (isTextAt): make it const
10376
10377         * buffer.C (getLists): ws cleanup
10378
10379 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10380
10381         * language.C (read): Use iso8859-1 encoding in latex_lang
10382         (this prevents LyX from crashing when using iso10646-1 encoding).
10383
10384 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10385
10386         * text2.C (toggleInset): if cursor is inside an inset, close the
10387         inset and leave cursor _after_ it
10388
10389 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * lyxfunc.C: move minibuffer completion handling out of here
10392
10393 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * BufferView_pimpl.C:
10396         * LaTeX.C: fix dispatch calls
10397
10398 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10399
10400         * text.C (drawChars): Fix Arabic text rendering.
10401
10402 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * LyXAction.C:
10405         * commandtags.h:
10406         * lyxfunc.C: remove message-push/pop
10407
10408         * lyxserver.C:
10409         * lyxfunc.h:
10410         * lyxfunc.C: rationalise some code by removing verboseDispatch
10411           in favour of a bool argument to dispatch()
10412
10413 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * lyx_main.C (init): make sure to read symlinks as absolute paths
10416
10417 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * lyxfunc.h:
10420         * lyxfunc.C: no need for commandshortcut to be a member
10421
10422 2002-07-15  André Pönitz <poenitz@gmx.net>
10423
10424         * converter.C: add support for $$s (scripts from lib/scripts dir)
10425         * lyx_main.C: white space
10426
10427 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * bufferlist.C:
10430         * lyxrc.h:
10431         * lyxrc.C: remove second exit confirmation
10432
10433 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * BufferView.h:
10436         * BufferView.C:
10437         * BufferView2.C:
10438         * BufferView_pimpl.h:
10439         * BufferView_pimpl.C:
10440         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10441
10442 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * MenuBackend.C (expand): add numeric shortcuts to document menu
10445
10446         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10447
10448 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * lyxfont.C (setLyXFamily):
10451         (setLyXSeries):
10452         (setLyXShape):
10453         (setLyXSize):
10454         (setLyXMisc):
10455         (lyxRead):
10456         * debug.C (value):
10457         * buffer.C (asciiParagraph): use ascii_lowercase
10458
10459 2002-07-15  Mike Fabian  <mfabian@suse.de>
10460
10461         * lyxlex_pimpl.C (search_kw):
10462         * lyxlex.C (getLongString):
10463         * converter.h (operator<):
10464         * converter.C (operator<):
10465         * buffer.C (parseSingleLyXformat2Token):
10466         (asciiParagraph):
10467         * ToolbarDefaults.C (read):
10468         * MenuBackend.C (checkShortcuts):
10469         (read):
10470         * LColor.C (getFromGUIName):
10471         (getFromLyXName): use the compare_ascii_no_case instead of
10472         compare_no_case, because in turkish, 'i' is not the lowercase
10473         version of 'I', and thus turkish locale breaks parsing of tags.
10474
10475 2002-07-16  Angus Leeming  <leeming@lyx.org>
10476
10477         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10478         now takes a Buffer const & argument.
10479
10480 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * BufferView.C (resize): check there's a buffer to resize
10483
10484 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * lyxfunc.C: remove dead code
10487
10488         * lyxserver.h:
10489         * lyxserver.C: use lyx_guii::set_read_callback
10490
10491 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10492
10493         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10494         an inset in a RTL paragraph.
10495
10496 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * lyxfunc.C: repaint after a font size update
10499
10500 2002-07-15  André Pönitz <poenitz@gmx.net>
10501
10502         * lyxlength.C: inBP should be able to return negative values
10503
10504 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * lyxfunc.C: use lyx_gui::update_fonts()
10507
10508 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * lyxfunc.C: use lyx_gui::update_color()
10511
10512 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * bufferlist.C:
10515         * lyxfunc.h:
10516         * lyxfunc.C:
10517         * lyxrc.h:
10518         * lyxrc.C: remove file->new asks for name option, and let
10519           buffer-new take an argument
10520
10521 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * BufferView_pimpl.C: remove unneeded extra repaint()
10524
10525 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * LyXAction.C: allow command-sequence with NoBuffer
10528
10529         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10530
10531 2002-07-10  Angus Leeming  <leeming@lyx.org>
10532
10533         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10534
10535 2002-07-09  Angus Leeming  <leeming@lyx.org>
10536
10537         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10538
10539 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * lengthcommon.h: whitespace
10542
10543         * lyxfunc.C: update scrollbar after goto paragraph
10544
10545         * lyxtext.h: factor out page break drawing, and fix it so
10546           page break/added space paints as selected nicely
10547
10548 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * BufferView_pimpl.C: add FIXMEs, clean up a little
10551
10552 2002-07-09  André Pönitz <poenitz@gmx.net>
10553
10554         * lyxfont.[Ch]: support for wasy symbols
10555
10556 2002-07-08  André Pönitz <poenitz@gmx.net>
10557
10558         * BufferView_pimpl.C: apply John's patch for #93.
10559
10560 2002-07-05  Angus Leeming  <leeming@lyx.org>
10561
10562         * BufferView_pimpl.C (buffer): generate previews if desired.
10563
10564         * LColor.h: add "preview" to the color enum.
10565
10566         * LColor.C (LColor): add a corresponding entry to the items array.
10567
10568         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10569         with this buffer.
10570
10571 2002-07-05  Angus Leeming  <leeming@lyx.org>
10572
10573         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10574         The body of the code is now in the method that is passed an ostream &
10575         rather than a file name.
10576         Pass an additional only_preamble parameter, useful for the forthcoming
10577         preview stuff.
10578
10579 2002-07-03  André Pönitz <poenitz@gmx.net>
10580
10581         * lyxfunc.C: simplify getStatus() a bit for math stuff
10582
10583 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10584
10585         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10586
10587 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10588
10589         * text.C (changeRegionCase): do not change case of all the
10590         document when region ends at paragraph end (bug #461)
10591
10592 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * paragraph.C (startTeXParParams):
10595         (endTeXParParams): add \protect when necessary
10596
10597 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10598
10599         * BufferView_pimpl.C (workAreaExpose): remove warning
10600
10601 2002-06-27  Angus Leeming  <leeming@lyx.org>
10602
10603         * Makefile.am: add lyxlayout_ptr_fwd.h.
10604
10605 2002-06-26  André Pönitz <poenitz@gmx.net>
10606
10607         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10608
10609 2002-06-25  Angus Leeming  <leeming@lyx.org>
10610
10611         * lyxfunc.C (dispatch): Comment out the call to
10612         grfx::GCache::changeDisplay. The method no longer exists now that the
10613         pixmap generation part of the graphics loader has been moved into
10614         InsetGraphics.
10615
10616 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * text2.C: layout as layout
10619
10620         * text.C: layout as layout
10621
10622         * tabular.C (OldFormatRead): layout as layout
10623
10624         * paragraph_pimpl.C (TeXDeeper): layout as layout
10625         (realizeFont): layout as layout
10626
10627         * paragraph.C (writeFile): layout as layout
10628         (validate): layout as layout
10629         (getFont): layout as layout
10630         (getLabelFont): layout as layout
10631         (getLayoutFont): layout as layout
10632         (breakParagraph): layout as layout
10633         (stripLeadingSpaces): layout as layout
10634         (getEndLabel): layout as layout
10635         (getMaxDepthAfter): layout as layout
10636         (applyLayout): layout as layout
10637         (TeXOnePar): layout as layout
10638         (simpleTeXOnePar): layout as layout
10639         (TeXEnvironment): layout as layout
10640         (layout): layout as layout
10641         (layout): layout as layout
10642
10643         * lyxtextclass.C (compare_name): new functor to work with
10644         shared_ptr, layout as layout
10645         (Read): layout as layout
10646         (hasLayout): layout as layout
10647         (operator): layout as layout
10648         (delete_layout): layout as layout
10649         (defaultLayout): layout as layout
10650
10651         * lyxlayout_ptr_fwd.h: new file
10652
10653         * lyxlayout.C (Read): layout as layout
10654
10655         * lyx_cb.C (MenuInsertLabel): layout as layout
10656
10657         * bufferlist.C (newFile): layout as layout
10658
10659         * buffer.C (readLyXformat2): layout as layout
10660         (parseSingleLyXformat2Token): layout as layout
10661         (insertStringAsLines): layout as layout
10662         (asciiParagraph): layout as layout
10663         (latexParagraphs): layout as layout
10664         (makeLinuxDocFile): layout as layout
10665         (simpleLinuxDocOnePar): layout as layout
10666         (makeDocBookFile): layout as layout
10667         (simpleDocBookOnePar): layout as layout
10668         (getLists): layout as layout
10669
10670         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10671
10672         * CutAndPaste.C (cutSelection): layout as layout
10673         (pasteSelection): layout as layout
10674         (SwitchLayoutsBetweenClasses): layout as layout
10675
10676         * BufferView_pimpl.C (Dispatch): layout as layout
10677         (smartQuote): layout as layout
10678
10679         * BufferView2.C (unlockInset): layout as layout
10680
10681 2002-06-24  André Pönitz <poenitz@gmx.net>
10682
10683         * lyxfunc.C: fix #487
10684
10685 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * lyxrc.h:
10688         * lyxrc.C:
10689         * lyxfunc.C: remove display_shortcuts, show_banner
10690
10691 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * Buffer_pimpl.C: oops, update on resize
10694
10695 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * buffer.C:
10698         * converter.C:
10699         * exporter.C:
10700         * lyxfunc.C:
10701         * BufferView.h:
10702         * BufferView.C: use repaint()
10703
10704         * BufferView_pimpl.h:
10705         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10706           as it's a clearer description. Remove superfluous
10707           redraws.
10708
10709 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * text.C: fix bug 488. Not ideal, but getting
10712           getWord() to work properly for the insets that
10713           matter is more difficult ...
10714
10715 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * BufferView_pimpl.C:
10718         * LyXAction.C:
10719         * commandtags.h:
10720         * lyxfunc.C: remove the six million index lyxfuncs to just
10721           one, and DTRT (bug 458)
10722
10723 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * BufferView.h:
10726         * BufferView.C:
10727         * BufferView_pimpl.h:
10728         * BufferView_pimpl.C: clean up resize() stuff,
10729           and unnecessary updateScreen()s
10730
10731 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView.h:
10734         * BufferView.C:
10735         * BufferView_pimpl.h:
10736         * BufferView_pimpl.C:
10737         * lyxfind.h:
10738         * lyxfind.C:
10739         * minibuffer.C: remove focus management of workarea,
10740           not needed. Use screen's greyOut()
10741
10742 2002-06-17  Herbert Voss  <voss@lyx.org>
10743
10744         * converter.C: (convert) do not post a message, when converting
10745         fails, let the calling function decide what to do in this case
10746
10747 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * lyxfunc.C: tidy up a little
10750
10751 2002-06-16    <alstrup@diku.dk>
10752
10753         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10754         Got rid of FORMS_H_LOCATION include. Now we are
10755         GUII.
10756
10757 2002-06-15  LyX Development team  <lyx@rilke>
10758
10759         * buffer.[Ch] (sgmlOpenTag):
10760         (sgmlCloseTag): Added support for avoiding pernicious mixed
10761         content. Return number of lines written.
10762
10763         (makeLinuxDocFile):
10764         (makeDocBookFile): Fixed calls to sgml*Tag.
10765         Simple white space clean.
10766
10767         (simpleDocBookOnePar): Simple white space clean.
10768
10769         * tabular.[Ch] (docBook): Renamed to docbook and got another
10770         argument to related with the pernicious mixed content.
10771
10772         (docbookRow): Fixed calls for docbook inset method.
10773
10774 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10775
10776         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10777         so it's X11 independent.
10778
10779         * kb*.[Ch]: ditto.
10780
10781         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10782
10783 2002-06-15  Lyx Development team  <lyx@electronia>
10784
10785         * intl.h: Renamed getTrans to getTransManager.
10786
10787 2002-06-14  Angus Leeming  <leeming@lyx.org>
10788
10789         * Makefile.am: nuke forgotten stl_string_fwd.h.
10790
10791 2002-06-12  Angus Leeming  <leeming@lyx.org>
10792
10793         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10794
10795 2002-06-13  Angus Leeming  <leeming@lyx.org>
10796
10797         * LaTeX.C:
10798         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10799
10800 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10801
10802         * kbmap.C (getiso): add support for cyrillic and greek
10803
10804 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * BufferView.h:
10807         * BufferView.C:
10808         * BufferView_pimpl.h:
10809         * BufferView_pimpl.C: move bogus scrolling logic
10810           to xforms
10811
10812 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * lyxfunc.C:
10815         * BufferView_pimpl.C: view->resize() change
10816
10817 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * BufferView_pimpl.C: topCursorVisible
10820           prototype change
10821
10822 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * Makefile.am:
10825         * lyx_gui.h:
10826         * lyx_gui.C: move to frontends/
10827
10828         * main.C:
10829         * lyx_main.h:
10830         * lyx_main.C: changes from above
10831
10832 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * intl.C:
10835         * intl.h:
10836         * kbmap.C:
10837         * kbsequence.C:
10838         * lyx_cb.C:
10839         * lyx_main.C: minor tidy
10840
10841 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * BufferView_pimpl.h:
10844         * BufferView_pimpl.C:
10845         * BufferView.h:
10846         * BufferView.C: make painter() const,
10847           remove dead code
10848
10849         * BufferView2.C: use screen() accessor
10850
10851         * lyx_main.h:
10852         * lyx_main.C: some minor cleanup
10853
10854 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * BufferView_pimpl.h:
10857         * BufferView_pimpl.C: remove enter/leaveView,
10858           use workHeight()
10859
10860 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * BufferView.h:
10863         * BufferView.C:
10864         * BufferView2.C:
10865         * BufferView_pimpl.h:
10866         * BufferView_pimpl.C: only construct screen once,
10867           rename
10868
10869         * lyxrc.C: remove pointless comment
10870
10871 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * BufferView.h:
10874         * BufferView.C: remove active() and belowMouse()
10875
10876         * BufferView_pimpl.h:
10877         * BufferView_pimpl.C: use workarea() not workarea_,
10878           and make it use a scoped_ptr instead
10879
10880 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10881
10882         * lyx_gui.C: add debug message on BadWindow
10883
10884 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10885
10886         * sp_spell.C: fdopen is not part of the C++ standard.
10887
10888         * paragraph.C (InsetIterator): use >= instead of ==
10889
10890 2002-06-07  Angus Leeming  <leeming@lyx.org>
10891
10892         Fixes needed to compile with Compaq cxx 6.5.
10893         * BufferView_pimpl.C:
10894         * DepTable.C:
10895         * buffer.C:
10896         * converter.C:
10897         * encoding.C:
10898         * lyx_gui.C:
10899         * lyx_main.C:
10900         * lyxtextclasslist.C:
10901         * minibuffer.C:
10902         * sp_spell.C:
10903         * tabular_funcs.C:
10904         * vc-backend.C:
10905         all c-library variables have been moved into namespace std. Wrap
10906         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10907
10908         * lyxlength.C:
10909         * tabular-old.C:
10910         * tabular.C:
10911         Add a using std::abs declaration.
10912
10913         * kbmap.h (modifier_pair):
10914         * paragraph.h (InsetTable, InsetList):
10915         * lyxfont.h (FontBits):
10916         type definition made public.
10917
10918         * bufferlist.C (emergencyWriteAll): the compiler complains that
10919         there is more than one possible lyx::class_fun template to choose from.
10920         I re-named the void specialisation as lyx::void_class_fun.
10921
10922         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10923
10924         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10925         the compiler is is unable to find tostr in write_attribute.
10926
10927 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10928
10929         * buffer.C (sgmlError): hide #warning
10930
10931 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * xtl/*: get rid of xtl, which is not in use anyway
10934
10935         * LyXAction.C (init):
10936         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10937         were unimplemented xtl experimentation
10938
10939 2002-06-04  André Pönitz <poenitz@gmx.net>
10940
10941         * lyxfunc.C: disable array operation on simple formulae
10942
10943 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * converter.C: constify a bit
10946
10947 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * lyx_gui.C: check xforms version correctly
10950
10951 2002-04-30  Herbert Voss  <voss@lyx.org>
10952
10953         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10954         "keep" option
10955
10956 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10959           attempt to register it with a VCS)
10960
10961 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * lyx_main.C (init): honor variables LYX_DIR_13x and
10964         LYX_USERDIR_13x
10965
10966 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * buffer.h:
10969         * buffer.C:
10970         * lyx_main.C: fix a crash on bad command line,
10971           and give a useful exit status on error
10972
10973         * lyxfunc.C (doImport): allow -i lyx to work
10974
10975 2002-03-30  André Pönitz <poenitz@gmx.net>
10976
10977         * lyxfunc.C: mathed font changes
10978
10979 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * LaTeX.C:
10982         * importer.h:
10983         * importer.C:
10984         * lyx_sty.h:
10985         * lyx_sty.C:
10986         * lyxlex.C:
10987         * lyxrow.h:
10988         * lyxtext.h:
10989         * paragraph.h:
10990         * paragraph.C:
10991         * texrow.h:
10992         * texrow.C:
10993         * text.C:
10994         * trans_mgr.h: srcdocs, and some minor cleanups
10995
10996 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10999         call getFont all the time)
11000
11001 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * switch from SigC signals to boost::signals
11004
11005 2002-05-29  André Pönitz <poenitz@gmx.net>
11006
11007         * paragraph_pimpl.C (getChar): don't call size() too often...
11008
11009 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * paragraph_pimpl.C (insertChar): do not try to update tables when
11012         appending (pos == size())
11013
11014         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11015         in order to reduce drastically the number of comparisons needed to
11016         parse a large document
11017
11018 2002-05-29  André Pönitz <poenitz@gmx.net>
11019
11020         * text.C:
11021         * text2.C:
11022         * lyxtextclass.C:
11023         * sp_pspell.h:
11024         * textclasslist.[Ch]:
11025         * sp_ispell.h: whitespace change
11026
11027 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11030         lyxaction directly now.
11031
11032 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * trans.C:
11035         * lyxfont.C:
11036         * lyxvc.C: remove unused headers
11037
11038 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * Makefile.am:
11041         * buffer.h:
11042         * undostack.h:
11043         * undostack.C:
11044         * undo_funcs.h:
11045         * undo_funcs.C: some cleanups. Use shared_ptr
11046           and a template for the undo stacks.
11047
11048 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * BufferView_pimpl.h:
11051         * BufferView_pimpl.C:
11052         * kbmap.h:
11053         * kbmap.C:
11054         * kbsequence.h:
11055         * kbsequence.C:
11056         * lyxfunc.h:
11057         * lyxfunc.C:
11058         * text2.C: use key_state/mouse_state
11059
11060 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11061
11062         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11063         and LSubstring
11064
11065         * chset.C: change include order
11066         (loadFile): use boost regex and get rid of LRegex and LSubstring
11067
11068         * Makefile.am (BOOST_LIBS): new variable
11069         (lyx_LDADD): use it
11070
11071         * LaTeX.C: change include order.
11072         (scanAuxFile): use boost regex and get rid of LRegex and
11073         LSubstring
11074         (deplog): ditto
11075
11076 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * ColorHandler.h:
11079         * ColorHandler.C:
11080         * FontInfo.h:
11081         * FontInfo.C: moved to frontends/xforms/
11082
11083         * FontLoader.h:
11084         * FontLoader.C: moved into frontends for GUIIzation
11085
11086         * Makefile.am:
11087         * lyx_gui.C:
11088         * lyxfont.C:
11089         * lyxfunc.C: changes from above
11090
11091 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * LColor.C: remove spurious X include
11094
11095         * BufferView_pimpl.C:
11096         * Makefile.am:
11097         * font.h:
11098         * font.C:
11099         * text.C:
11100         * text2.C: move font metrics to frontends/
11101
11102 2002-05-24  Juergen Vigna  <jug@sad.it>
11103
11104         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11105         setting the undo_cursor.
11106
11107         * ParagraphParameters.h: include local includes first.
11108
11109 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * BufferView_pimpl.C:
11112         * BufferView_pimpl.h:
11113         * Makefile.am:
11114         * WorkArea.h:
11115         * WorkArea.C:
11116         * screen.C: move WorkArea into frontends/
11117
11118         * lyxscreen.h:
11119         * screen.C:
11120         * text.C:
11121         * BufferView.C:
11122         * BufferView2.C: move LyXScreen into frontends/
11123
11124         * lyxlookup.h:
11125         * lyxlookup.C:
11126         * lyx_gui.C: move lyxlookup into frontends/xforms/
11127
11128 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * BufferView2.C:
11131         * BufferView_pimpl.C:
11132         * FontLoader.C:
11133         * LyXView.h:
11134         * LyXView.C:
11135         * Makefile.am:
11136         * WorkArea.C:
11137         * XFormsView.h:
11138         * XFormsView.C:
11139         * buffer.C:
11140         * bufferlist.C:
11141         * bufferview_funcs.C:
11142         * converter.C:
11143         * importer.C:
11144         * lyx_cb.C:
11145         * lyx_gui.C:
11146         * lyx_main.C:
11147         * lyx_find.C:
11148         * lyxfunc.C:
11149         * lyxvc.C:
11150         * minibuffer.C:
11151         * text.C:
11152         * text2.C:
11153         * trans.C:
11154         * vc-backend.C: move LyX/XFormsView into frontends/
11155
11156 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * Makefile.am:
11159         * PainterBase.C:
11160         * PainterBase.h:
11161         * Painter.C:
11162         * Painter.h:
11163         * WorkArea.C:
11164         * WorkArea.h:
11165         * screen.C:
11166         * tabular.C:
11167         * text.C:
11168         * text2.C: move Painter to frontends/
11169
11170 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11171
11172         * buffer.C: comment out some some code that depend upon lyx_format
11173         < 220
11174
11175         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11176         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11177
11178         * buffer.h (NO_COMPABILITY): turn off compability
11179
11180         * ColorHandler.C: include scoped_array.hpp
11181
11182         * font.C: Use more specific smart_ptr header.
11183         * Painter.C: ditto
11184         * gettext.C: ditto
11185         * ShareContainer.h: ditto
11186         * lyx_main.h: ditto
11187         * kbmap.h: ditto
11188         * FontInfo.h: ditto
11189         * BufferView_pimpl.h: ditto
11190         * ColorHandler.h: ditto
11191
11192         * kbmap.C (defkey): change call to shared_ptr::reset
11193
11194 2002-05-21  Juergen Vigna  <jug@sad.it>
11195
11196         * buffer.C (insertErtContents): fix to insert ert asis if it is
11197         non empty. Skip it completely if it contains only whitespaces.
11198
11199 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11200
11201         * BufferView_pimpl.C:
11202         * BufferView2.C: clear selection on paste (bug 393)
11203
11204 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * DepTable.C: include ctime
11207
11208 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11209
11210         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11211
11212 2002-05-14  Juergen Vigna  <jug@sad.it>
11213
11214         * text.C (breakParagraph): fixed function to honor the keepempty
11215         layout in the right maner and also to permit the right breaking
11216         algorithm on empty or non empyt keepempty paragraphs.
11217
11218         * paragraph.C (breakParagraph): we have to check also if the par
11219         is really empty (!size()) for isempty otherwise we do the wrong
11220         paragraph break.
11221
11222 2002-05-10  Juergen Vigna  <jug@sad.it>
11223
11224         * buffer.[Ch] : The following are only changes to the ert
11225         compatibility read reading old LaTeX layout and font stuff and
11226         convert it to ERTInsets.
11227
11228         * buffer.h: added isErtInset().
11229
11230         * buffer.C (struct ErtComp): add a fromlayout bool to check
11231         if we're inside a LaTeX layout.
11232         (isErtInset): new helper function.
11233         (insertErtContents): look for other ert insets before this one
11234         and insert the contents there, so that we don't have subsequent
11235         ERT insets with nothing between them. This way we create only one
11236         inset with multiple paragraphs. Also check if we don't insert only
11237         spaces ' ' as they are ignored anyway afterwards in the .tex file
11238         so if we have only spaces we will ignore this latex part in the
11239         new file.
11240         (parseSingleLyXformat2Token \\layout): better compatibility when
11241         reading layout-latex stuff.
11242         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11243         language tag.
11244         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11245         stuff after reading the inset only get the information back from
11246         the stack.
11247
11248 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11249
11250         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11251
11252         * LaTeXFeatures.C (getBabelOptions): New method.
11253
11254 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11255
11256         * BufferView_pimpl.C (Dispatch): work around missing argument for
11257         'layout'
11258
11259 2002-05-08  Juergen Vigna  <jug@sad.it>
11260
11261         * text.C (leftMargin): handle paragraph leftindent.
11262
11263         * paragraph.C (writeFile): write the new \\leftindent tag.
11264         (validate): handle leftindent code.
11265         (TeXEnvironment): handle paragraphleftindent code again.
11266
11267         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11268
11269         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11270         for paragrap_extra indent code and new token \\leftindent.
11271         (latexParagraphs): handle the leftindent as environment.
11272
11273         * ParameterStruct.h: added leftindent support.
11274
11275         * ParagraphParameters.C (leftIndent): added support functions for
11276         the paragraph left indent.
11277
11278         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11279         more appropriate.
11280
11281 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11282
11283         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11284         inside insetERT.
11285
11286         * text.C (computeBidiTables): No bidi in insetERT.
11287
11288         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11289         in RTL documents.
11290
11291 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * version.C.in: pre 5
11294
11295 2002-05-02  José Matos  <jamatos@fep.up.pt>
11296         * buffer.C (makeDocBookFile): white space changes, add newline to
11297         command styles.
11298         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11299
11300         * tabular.C (docBook): fix typo.
11301
11302 2002-05-03  Juergen Vigna  <jug@sad.it>
11303
11304         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11305         change in LyXText as we can not be sure it was not freed.
11306         (drawOneRow): remove unused code.
11307
11308         * text.C (drawInset): redo the calculation of the need_break_row as
11309         it could have a row which was already freed.
11310         (draw): look at the return value of drawInset and return false if
11311         it also returned false.
11312         (paintRowText): look at the return value of draw and return false if
11313         it also returned false.
11314
11315         * lyxtext.h: added bool return type to drawInset() and draw() so that
11316         if we have a change in the row so that the rowbreak has to be redone
11317         we abort drawing as it will be called again.
11318
11319 2002-05-02  Juergen Vigna  <jug@sad.it>
11320
11321         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11322         a change in the maintext also if we're inside an inset.
11323         (Dispatch): set the cursor again after a break line and after the
11324         screen has been updated as it could be we're in a different row.
11325
11326         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11327         to set the cursor behind the pargraph with > size().
11328         (setCursor): check also for the same paragraph when checking where
11329         to put the cursor if we have a NFR inset.
11330
11331         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11332         parts of layout read further up as it still was in the wrong
11333         position.
11334
11335 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * screen.C (drawFromTo): change sine fullRebreak always return
11338         true.
11339
11340         * buffer.C (parseSingleLyXformat2Token): reindent some
11341
11342         * BufferView_pimpl.C (update): change since fullRebreak always
11343         return true.
11344         (Dispatch): git rid of the last hardcoded "Standard"s.
11345
11346 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * text2.[Ch] (fullRebreak): make it return void now that we always
11349         returned true.
11350
11351 2002-04-30  Juergen Vigna  <jug@sad.it>
11352
11353         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11354         ert compatibility check for "latex" layout.
11355
11356 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11359         minipages: use col% instead of p%, and also use the current font.
11360         (makeLaTeXFile): Fix use babel condition.
11361         (parseSingleLyXformat2Token): Correct font when reading old floats.
11362
11363 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11364
11365         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11366         inserting list of floats.
11367
11368 2002-04-25  Herbert Voss  <voss@lyx.org>
11369
11370         * MenuBackend.C (expand): don't add the graphics extensions to the
11371         export menu
11372
11373 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11376         non-existing layout, do not complain if it was the default layout
11377         of the original class (bug #342)
11378
11379 2002-04-24  Juergen Vigna  <jug@sad.it>
11380
11381         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11382         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11383
11384 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * buffer.C (getBibkeyList): If using \bibliography, return the
11387         option field with the reference itself. Enables us to provide natbib
11388         support when using \bibliography.
11389
11390 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11391
11392         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11393
11394         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11395         natbib is provided by the LaTeX class.
11396
11397 2002-04-23  Juergen Vigna  <jug@sad.it>
11398
11399         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11400         Wakeup functions.
11401
11402         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11403
11404 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11405
11406         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11407
11408         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11409         ensuremath around textordmasculine, textordfeminine and
11410         textdegree.
11411
11412 2002-04-19  Juergen Vigna  <jug@sad.it>
11413
11414         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11415         reinitializing the buffer otherwise row-dimensions may be wrong.
11416         (update): reset also the selection cursors if they do exits otherwise
11417         their x/y positions may be wrong.
11418
11419         * text2.C (cursorDown): don't enter the inset if we came from a row
11420         above and are one row over the inset.
11421
11422         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11423         really leaving an inset.
11424
11425 2002-04-18  Juergen Vigna  <jug@sad.it>
11426
11427         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11428         of the selected paragraph does not have the selected layout also if
11429         the last one had!
11430
11431         * text2.C (setLayout): fixed bug which did not change last selected
11432         paragraph.
11433
11434         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11435         changed the read and substituted \\end_float with \\end_inset!
11436
11437         * BufferView_pimpl.C (cursorPrevious):
11438         (cursorNext): fixed to make it work with rows heigher than the work
11439         area without moving the cursor only the draw of the row.
11440         (workAreaMotionNotify): fix jumping over high rows.
11441
11442 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11445         Ressler.
11446
11447 2002-04-16  Juergen Vigna  <jug@sad.it>
11448
11449         * text2.C (setCursor): set also the irow().
11450         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11451         (cursorUp):
11452         (cursorDown): support for locking an inset if the x_fix value goes
11453         inside it. That way I can transverse insets too with cursor up/down.
11454
11455         * lyxrow.h: added irow helper function same as other (i) functions.
11456
11457         * BufferView_pimpl.C (cursorPrevious):
11458         (cursorNext): fixed for insets!
11459
11460 2002-04-15  Juergen Vigna  <jug@sad.it>
11461
11462         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11463         position otherwise it is wrong in some cases.
11464
11465         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11466         inside the inset before the call.
11467
11468 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * buffer.[Ch] (getBibkeyList): make it const.
11471
11472 2002-04-12  Juergen Vigna  <jug@sad.it>
11473
11474         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11475
11476         * text2.C (getCursorX): new helper function
11477         (setCursor): compute also ix_
11478         (setCursorFromCoordinates): set also ix.
11479
11480         * lyxcursor.h: added ix_ and helper functions.
11481
11482         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11483
11484         * buffer.C (insertStringAsLines): dont break paragraph if the this
11485         paragraph is inside an inset which does not permit it!
11486
11487         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11488         also with no chars on this paragraph.
11489         (paintRowText): only paint stuff if it's inside the workarea!
11490
11491         * paragraph.C (breakParagraph): honor keepempty flag and break the
11492         paragraph always below not above.
11493
11494         * BufferView2.C (unlockInset): update the paragraph layout on inset
11495         unlock as we changed paragraph in such a case.
11496
11497         * lyxfind.C (LyXFind): clear the former selection if not found!
11498
11499         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11500         again called in insertChar().
11501
11502         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11503         an inset which uses the whole row!
11504         (rightMargin): ditto.
11505         (insertChar): force a rebreak if we inserted an inset!
11506
11507 2002-03-28  Herbert Voss  <voss@lyx.org>
11508
11509         * lyxlength.[Ch]: add inBP() to get the right PS-point
11510         units (BigPoint). With inPixels we have rounding errors
11511
11512 2002-04-11  Juergen Vigna  <jug@sad.it>
11513
11514         * text2.C (setCursorFromCoordinates): set iy to the right value.
11515         (setCursor): add check if row->previous exists!
11516
11517         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11518         an old float_type as this was the case in the old code!
11519
11520         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11521
11522         * BufferView2.C (showLockedInsetCursor): use iy
11523         (fitLockedInsetCursor): ditto
11524
11525         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11526         locked insets as there we have the right value now.
11527
11528         * lyxcursor.C: added iy_ variable and iy functions to set to the
11529         baseline of cursor-y of the locked inset.
11530
11531         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11532         (setCursor): fixed for insets which need a full row.
11533
11534         * text.C (rowLastPrintable): don't ignore the last space when before
11535         an inset which needs a full row.
11536         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11537         as last character of a row when before a inset which needs a full row.
11538
11539 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * version.C.in: update date
11542
11543         * text2.C (fullRebreak): try to always return true and see what
11544         happens...
11545
11546 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11547
11548         * MenuBackend.C (expand): use Floating::listName
11549
11550         * FloatList.C (FloatList): add listName argument to the built-in
11551         floats
11552
11553         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11554         text associated with the float.
11555
11556 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11557
11558         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11559
11560 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * ShareContainer.h: add a couple of missing typenames.
11563
11564 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11565
11566         * lyxrc.C (getDescription): use _() correctly rather than N_().
11567
11568 2002-03-28  Herbert Voss  <voss@lyx.org>
11569
11570         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11571         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11572
11573 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11574
11575         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11576         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11577
11578 2002-03-29  Juergen Vigna  <jug@sad.it>
11579
11580         * lyxfunc.C (dispatch): add a missing fitCursor call.
11581
11582         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11583         it was scrolled by a cursor move, so return the bool status.
11584
11585         * BufferView.C (fitCursor): return the bool flag also to the outside
11586         world as this is needed.
11587
11588         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11589
11590         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11591         call the edit() as it is not needed (and wrong) IMO.
11592         (workAreaButtonPress): set the screen_first variable before evt.
11593         unlock the inset as this may change screen_first and then we have
11594         a wrong y position for the click!
11595
11596 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * MenuBackend.C (expand): another translation that I missed
11599
11600 2002-03-28  Juergen Vigna  <jug@sad.it>
11601
11602         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11603
11604         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11605
11606 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11607
11608         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11609
11610         * MenuBackend.C (expand): fix export/view/update when there is no
11611         document open.
11612
11613 2002-03-27  Herbert Voss  <voss@lyx.org>
11614
11615         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11616         and text%
11617
11618 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11619
11620         * bufferview_funcs.C (currentState): only show paragraph number
11621         for is DEVEL_VERSION is set.
11622
11623         * lyxfunc.C (dispatch): put warning in INFO channel
11624
11625         * MenuBackend.C (expand): translate the name of floats
11626
11627         * FloatList.C (FloatList): mark the float names for translation
11628
11629         * converter.C (convert): use LibScriptSearch
11630
11631 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * MenuBackend.C (defaults): fix default menu (we might as well get
11634         rid of it...)
11635
11636 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11639         directory.
11640
11641 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * lyxvc.C: reorder includes.
11644
11645 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11648           properly
11649
11650 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * CutAndPaste.C: change layouts earlier on paste
11653           to avoid crashing when calling getFont()
11654
11655 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11656
11657         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11658         irritating #error.
11659
11660 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * WorkArea.C: remove 'Pending' debug message.
11663
11664         * most files: ws cleanup
11665
11666         * buffer.[Ch]: ws changes
11667
11668         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11669
11670 2002-03-21  Juergen Vigna  <jug@sad.it>
11671
11672         * tabular.C (SetMultiColumn): collapse also the contents of the
11673         cells and set the last border right. Added a Buffer const * param.
11674
11675 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11678         linking or not.
11679
11680 2002-03-19  Juergen Vigna  <jug@sad.it>
11681
11682         * text2.C (clearSelection): reset also xsel_cache.
11683
11684         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11685         where it needs to be called (John tells us to do so too :)
11686         (selectionLost): reset sel_cache.
11687
11688         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11689
11690 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11691
11692         * text2.C (setCursorIntern): put debuging code in INSETS channel
11693
11694 2002-03-19  André Pönitz <poenitz@gmx.net>
11695
11696         * lyxfunc.C: tiny whitespace change
11697
11698 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * ToolbarDefaults.C (init):
11701         * LyXAction.C (init):
11702         * commandtags.h:
11703         * BufferView_pimpl.C (Dispatch):
11704         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11705
11706 2002-03-19  Allan Rae  <rae@lyx.org>
11707
11708         * exporter.C (Export): removeAutoInsets before doing anything else.
11709         While I've just introduced a dependency on BufferView this really is
11710         the best place to clean the buffer otherwise you need to cleanup in
11711         a dozen places before calling export or cleanup in a dozen functions
11712         that export calls.
11713
11714         * converter.C (runLaTeX):
11715         (scanLog): Better handling of removeAutoInsets and screen updates.
11716
11717         * lyxfunc.C (dispatch): small whitespace changes
11718
11719 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * WorkArea.C (C_WorkAreaEvent): return a value.
11722         (event_cb): return 1 if we handled the event, 0 otherwise.
11723
11724         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11725
11726 2002-03-18  Juergen Vigna  <jug@sad.it>
11727
11728         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11729         (GetAdditionalWidth): ditto.
11730         (RightLine): ditto.
11731         (LeftLine): ditto.
11732
11733         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11734         inset if we're there actually (probably not used right now but this
11735         is the direction to go for unifying code).
11736         (paste): disable code to clear the selection.
11737
11738         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11739         inside an InsetText and move the check further up as it is in the
11740         wrong place.
11741
11742         * text2.C (pasteSelection): set a selection over the pasted text.
11743
11744 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11745
11746         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11747         and libgraphics to build on Cygwin.
11748
11749 2002-03-15  Juergen Vigna  <jug@sad.it>
11750
11751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11752         inserting an Inset into the paragraph. I know this is not the best
11753         fix but we already use current_view in CutAndPaste so we will remove
11754         all of it's using at the same time.
11755
11756         * buffer.C (sgmlError): deactivated function till it is rewritten in
11757         the right mode, now it can create problems.
11758
11759         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11760         before accessing it.
11761
11762 2002-03-14  Juergen Vigna  <jug@sad.it>
11763
11764         * undo_funcs.C (textHandleUndo): do the right thing when updating
11765         the inset after the undo/redo.
11766
11767         * text2.C (setCursor): just some testcode for #44 not ready yet.
11768
11769         * undo_funcs.C (textHandleUndo): set the next() and previous()
11770         pointers of the paragraph to 0 before deleting otherwise we have
11771         problems with the Paragraph::[destructor].
11772
11773         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11774         on a paragraph insertion.
11775
11776 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * buffer.C (asciiParagraph): use += operator for char append to
11779         string.
11780
11781         * paragraph.C (getFontSettings): compare >= not just >
11782         (highestFontInRange): ditto
11783         (setFont): ditto
11784
11785 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * paragraph.C: change several algorithm to be more appripriate for
11788         the problem domain. This is lookip in FontList and in the InsetList.
11789
11790 2002-03-13  André Pönitz <poenitz@gmx.net>
11791
11792         * commandtags.h:
11793         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11794
11795 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * commandtags.h:
11798         * LyXAction.C:
11799         * lyxfunc.C:
11800         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11801
11802 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * Painter.C (display): anon helper function, adjust code for this
11805         change.
11806         (pixmap): remove function.
11807
11808         * Painter.h: remove private display variable.
11809
11810         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11811
11812 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * WorkArea.[Ch]: remove figinset_canvas cruft.
11815
11816 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * lyxtextclass.C (operator): add one item cache optimization.
11819
11820         * bufferlist.h: doxy changes
11821
11822         * bufferlist.C: ws changes
11823
11824         * DepTable.[Ch] (ext_exist): place const in the right spot.
11825
11826         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11827         call resizeInsets.
11828         (workAreaExpose): call resizeInsets when the with BufferView changes.
11829         (Dispatch): adjust for protectedBlank removal
11830         (specialChar): call updateInset if the insert went ok.
11831
11832         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11833         specialChar instead.
11834
11835         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11836
11837         * BufferView.h: doxy change
11838
11839         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11840
11841         * lyxtextclass.C (operator[]): remove non-const version
11842         (defaultLayout): remove non-const version
11843
11844 2002-03-12  Juergen Vigna  <jug@sad.it>
11845
11846         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11847         did resize the LyXText too.
11848
11849         * buffer.C (readLyXformat2): set layout information on newly allocated
11850         paragraphs.
11851
11852         * tabular.C (OldFormatRead): set layout information on the paragraph.
11853
11854 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11855
11856         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11857
11858 2002-03-11  Juergen Vigna  <jug@sad.it>
11859
11860         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11861         plainly wrong.
11862         (resizeCurrentBuffer): force also the insets to resize themselfes.
11863         (moveCursorUpdate): fixed up for InsetText.
11864
11865 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         * commandtags.h:
11868         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11869         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11870         value of Dialogs::tooltipsEnabled().
11871         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11872
11873 2002-03-08  Juergen Vigna  <jug@sad.it>
11874
11875         * BufferView_pimpl.C (updateInset): update inset inside inset also
11876         if it isn't inside theLockingInset().
11877
11878 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * buffer.C (asciiParagraph): redo some of the word and line length
11881         handling.
11882         (getLists): look for Caption instead of caption.
11883
11884 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11885
11886         * buffer.C (Buffer): initialize niceFile to true
11887         (makeLaTeXFile):
11888         (makeLinuxDocFile):
11889         (makeDocBookFile): make sure niceFile is true on exit
11890
11891 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11894
11895 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11896
11897         * LyXSendto.C: remove.
11898         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11899         * lyx_gui.C: remove now-redundant comment.
11900         * ColorHandler.h: remove forward declaration of class WorkArea.
11901         * lyxfunc.C: remove #include "WorkArea.h".
11902
11903 2002-03-07  Juergen Vigna  <jug@sad.it>
11904
11905         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11906         got moved away with the DEPM and also set the inset_owner always
11907         right which before could have been omitted.
11908
11909 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11910
11911         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11912         wanted layout is not found.
11913
11914 2002-03-07  Juergen Vigna  <jug@sad.it>
11915
11916         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11917
11918 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * paragraph.C (breakParagraph): use default layout not layout of
11921         prev paragraph.
11922         (Paragraph): clear ParagraphParameters.
11923
11924 2002-03-06  Juergen Vigna  <jug@sad.it>
11925
11926         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11927         otherwise it would not be a valid lenght. Fixed a special case in
11928         the minipage compatibility read where we end the document with a
11929         minipage.
11930
11931         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11932         was set as it could be 0 for InsetTexts first entry.
11933
11934 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * paragraph.C (writeFile): if layout is empty write out
11937         defaultLayoutName().
11938
11939         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11940         file without named layout we set layout to defaultLayoutName().
11941
11942 2002-03-06  Juergen Vigna  <jug@sad.it>
11943
11944         * CutAndPaste.C (copySelection): set layout for new paragraph.
11945
11946         * text.C (prepareToPrint): leave ERT inset left aligned
11947         (leftMargin): don't indent paragraphs inside ERT insets
11948
11949 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * paragraph.C (breakParagraph): dont call clear do the work manually
11952
11953         * paragraph.[Ch] (clear): remove function
11954
11955 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * paragraph.C (Paragraph): dont call clear, the work has already
11958         been done.
11959
11960         * lyxtextclass.C (operator): assert if n is empty
11961
11962         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11963         work manually instead.
11964
11965 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView_pimpl.C: protect selectionLost against text == 0
11968
11969 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * text.C (breakParagraph): fix a setting layout to '0' problem.
11972
11973 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11974
11975         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11976         final location of file, for the included files, and graphics.
11977
11978 2002-03-05  Juergen Vigna  <jug@sad.it>
11979
11980         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11981
11982 2002-03-04  Juergen Vigna  <jug@sad.it>
11983
11984         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11985
11986         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11987         last column of multicolumn cells.
11988         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11989
11990 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11991
11992         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11993         file if it doesn't go to a temporary file.
11994
11995         * buffer.C (sgmlOpenTag):
11996         (sgmlCloseTag):  remove extra newline insertion.
11997
11998 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * text.C (getRowNearY): comment out debug msg
12001
12002 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * text2.C: first -> first_y
12005
12006         * text.C (getRowNearY): add some attemts at a possible
12007         optimization, not working.
12008
12009         * tabular.[Ch]: add BufferParams to several function so that newly
12010         created paragraph can be initialized to he default layotu for the
12011         buffers textclass.
12012
12013         * tabular-old.C (ReadOld): add buf->params to call of Init
12014
12015         * screen.C: rename text->first to text->first_y
12016
12017         * paragraph.C (breakParagraph): always set layout in the broken
12018         paragraph
12019
12020         * lyxtextclass.C (Read): remove lowercase
12021         (hasLayout): ditto
12022         (operator): ditto
12023         (delete_layout): ditto
12024
12025         * lyxtext.h: rename first -> first_y
12026
12027         * lyxlayout.C (Read): remove lowercase
12028         (name): ditto
12029         (setName): ditto
12030         (obsoleted_by): ditto
12031
12032         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12033
12034         * buffer.C (insertErtContents): add params are to InsetERT
12035         (parseSingleLyXformat2Token): add code to check if a paragraphs
12036         layout really exist.
12037         (parseSingleLyXformat2Token): add params to several inset
12038         constructors
12039         (asciiParagraph): remove lowercase, do the layout comparisons with
12040         no_case
12041
12042         * BufferView_pimpl.C (cursorNext): first -> first_y
12043         (resizeCurrentBuffer): first -> first_y
12044         (updateScrollbar): first -> first_y
12045         (scrollCB): first -> first_y
12046         (workAreaMotionNotify): first -> first_y
12047         (workAreaButtonPress): first -> first_y
12048         (checkInsetHit): first -> first_y
12049         (cursorPrevious): first -> first_y
12050         (cursorNext): first -> first_y
12051         (Dispatch): add buffer_->params to severl inset contructors
12052
12053 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * lyxlayout.C (Read): remove some debug info that I forgot.
12056
12057         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12058         clean up the code slightly.
12059         (makeLinuxDocFile): ditto
12060         (makeDocBookFile): ditto
12061
12062         * text2.C: layout as string
12063
12064         * text.C: layout as string
12065
12066         * paragraph_pimpl.C: layout as string
12067
12068         * paragraph.[Ch]: layout as string
12069
12070         * lyxtextclasslist.[Ch]: layout as string
12071
12072         * lyxtextclass.[Ch]: layout as string
12073
12074         * lyxtext.h: layout as string
12075
12076         * lyxlayout.[Ch]: layout as string
12077
12078         * lyx_cb.C: layout as string
12079
12080         * bufferview_funcs.C: layout as string
12081
12082         * bufferparams.C: layout as string
12083
12084         * buffer.C: layout as string
12085
12086         * LyXView.[Ch]: layout as string
12087
12088         * LaTeXFeatures.[Ch]: layout as string
12089
12090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12091
12092         * BufferView_pimpl.C: change current_layout to string, remove
12093         lyx::layout_type.
12094         (Dispatch):
12095         (smartQuote):
12096         (insertInset):
12097         (workAreaButtonRelease): layout as string
12098
12099         * BufferView2.C (unlockInset): adjust
12100
12101         * vspace.C (asLatexCommand): use an explict temp variable.
12102
12103 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * Makefile.am: use FRONTEND_*
12106
12107 2002-03-01  Juergen Vigna  <jug@sad.it>
12108
12109         * tabular.C (SetWidthOfMulticolCell): changed to something better
12110         I hope but still work in progress.
12111         (recalculateMulticolumnsOfColumn): renamed function from
12112         recalculateMulticolCells as it is more appropriate now.
12113         (SetWidthOfCell): calculate multicols better.
12114
12115 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12118
12119         * lyxfunc.C (processKeySym): print sequence also if it is
12120         `deleted' (complete)
12121
12122         * kbsequence.C (print): print sequence even if it is deleted
12123         (complete would be a better word, actually).
12124
12125         * lyxfunc.C (dispatch): print complete options after a prefix key
12126
12127         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12128
12129 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12130
12131         * text2.C (setCharFont): eliminate setCharFont code duplication.
12132
12133 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12136         LFUN_TABULAR_FEATURE (bug #177)
12137
12138 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12139
12140         * Makefile.am: remove figure.h
12141
12142 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12143
12144         * Bufferview_pimpl.C:
12145         * CutAndPasteC:
12146         * LaTeX.C:
12147         * LyXSendto.C:
12148         * buffer.C:
12149         * bufferlist.C:
12150         * converter.C:
12151         * language.C:
12152         * lyxfunc.C:
12153         * lyxvc.C:
12154         * paragraph.C:
12155         * text.C:
12156         * text2.C: remove #include "lyx_gui_misc.h".
12157
12158         * LaTeX.C: added #include <cstdio>
12159
12160 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12161
12162         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12163         that the paragraph following this one can have.
12164
12165         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12166
12167         * vspace.C (asLatexCommand): fix bogus gcc warning
12168
12169         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12170
12171 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12172
12173         * text2.C (setLayout): get rid of redundant code
12174
12175 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12176
12177         * text2.C (incDepth): make sure depth cannot be increased beyond
12178         reasonable values.
12179
12180 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12181
12182         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12183         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12184
12185         * PainterBase.h (image):
12186         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12187         a LyXImage const *.
12188
12189 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * BufferView.C:
12192         * BufferView.h:
12193         * BufferView_pimpl.C:
12194         * BufferView_pimpl.h:
12195         * LaTeXFeatures.C:
12196         * LyXAction.C:
12197         * LyXView.C:
12198         * Makefile.am:
12199         * UpdateList.h:
12200         * UpdateList.C:
12201         * buffer.C:
12202         * figure.h:
12203         * figureForm.C:
12204         * figureForm.h:
12205         * figure_form.C:
12206         * figure_form.h:
12207         * lyx_cb.C:
12208         * lyx_gui.C:
12209         * lyx_gui_misc.C:
12210         * lyxfunc.C:
12211         * sp_base.h:
12212         * sp_ispell.h:
12213         * sp_pspell.h:
12214         * sp_spell.C: remove fig inset, and the crap house of
12215           cards that follows it
12216
12217 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * Makefile.am:
12220         * lyxserver.C:
12221         * os2_defines.h:
12222         * os2_errortable.h:
12223         * nt_defines.h: move .h into support/
12224
12225         * vms_defines.h: remove
12226
12227         * WorkArea.C: add space in debug output
12228
12229         * text2.C:
12230         * paragraph.C:
12231         * buffer.C: add WITH_WARNINGS
12232
12233         * vc-backend.h:
12234         * vc-backend.C:
12235         * bufferlist.C: s/retrive/retrieve/, add docs
12236
12237         * vspace.h:
12238         * vspace.C:
12239         * kbmap.h:
12240         * lyxlength.h:
12241         * lyxgluelength.h:
12242         * length_common.h:
12243         * chset.h:
12244         * chset.C: add docs
12245
12246         * lyxgui.C: add ID to X error handler
12247
12248         * lyxtestclass.c: fix typo
12249
12250 2002-02-26  Juergen Vigna  <jug@sad.it>
12251
12252         * tabular_funcs.C (write_attribute): changed so that some default
12253         attributes are not written at all.
12254         (getTokenValue): set default values before trying to read the
12255         value so we have the return value always set as default if we don't
12256         find the token we search for.
12257
12258         * tabular.C (Write): write bools as bools not as strings!
12259
12260 2002-02-22  Juergen Vigna  <jug@sad.it>
12261
12262         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12263         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12264
12265         * text.C (leftMargin): don't add an indent for paragraphs inside
12266         tabular cells (fix #208).
12267
12268 2002-02-21  José Matos  <jamatos@fep.up.pt>
12269
12270         * tabular.C (docBook): fixed support for long tables.
12271
12272 2002-02-20  Juergen Vigna  <jug@sad.it>
12273
12274         * text2.C (getFont): get the drawing font of the Inset if this
12275         paragraph is inside an inset (only important for InsetERT for now).
12276
12277         * buffer.C (insertErtContents): use new lanugage params in ERT
12278         constructor.
12279
12280         * CutAndPaste.C: commenting out seemingly uneeded code.
12281
12282 2002-02-19  Allan Rae  <rae@lyx.org>
12283
12284         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12285         Iterators might be simple to use but they also get invalidated.
12286         (removeAutoInsets): renamed saved cursor tracking variables and added
12287         some comments to clarify what everything does.
12288
12289 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12290
12291         * Chktex.C:
12292         * LaTeX.C:
12293         * LyXSendto.C:
12294         * converter.C:
12295         * lyx_cb.C:
12296         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12297         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12298
12299         * lyxfunc.C:
12300         * vc-backend.h: remove #include "support/syscall.h"
12301
12302         * LaTeX.C:
12303         * LyXSendto.C:
12304         * converter.C: rearrange #includes in Lars' approved fashion.
12305
12306         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12307         forward declare class Timeout in the header file.
12308
12309         * XFormsView.C: changes due to the above.
12310
12311         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12312         similar to LyXView.
12313
12314         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12315         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12316
12317 2002-02-18  José Matos  <jamatos@fep.up.pt>
12318
12319         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12320         insets contents.
12321
12322 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12323
12324         * a lot of small ws changes
12325         * add a lot of using std::XXX
12326         * use std construcs some places where approp.
12327         * use some exisint stuff from lyxfunctional where approp.
12328         * Make file changes to use partial linking (lets test this now...)
12329
12330 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12331
12332         * Chktex.C:
12333         * buffer.C:
12334         remove #include "support/syscontr.h" as it's redundant. Always has been.
12335
12336         * Chktex.C:
12337         * LaTeX.C:
12338         * LyXSendto.C:
12339         * converter.C:
12340         * lyx_cb.C:
12341         * vc-backend.C:
12342         change Systemcalls::System to Systemcalls::Wait and
12343         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12344         No change of functionality, just reflects the stripped down Systemcalls
12345         class.
12346
12347 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12348
12349         * debug.[Ch]: add a GRAPHICS type to the enum.
12350
12351 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12354
12355         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12356         there is an inset.
12357
12358 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12361         match the changes below.
12362
12363         * text2.C (toggleInset): if there is not editable inset at cursor
12364         position, try to see if cursor is _inside_ a collapsable inset
12365         and close it.
12366
12367 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12368
12369         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12370         document menu has a nice checkbox
12371
12372 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * lyxlength.C (asLatexString): change PW to output as percent of
12375         \textwidth.
12376
12377         * lengthcommon.C: change '%' to 't%'
12378
12379         * lyxfunc.C (dispatch): a few comments from Martin
12380
12381 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * WorkArea.h:
12384         * WorkArea.C:
12385         * BufferView_pimpl.h:
12386         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12387           the X selection.
12388
12389 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12390
12391         * vspace.C (inPixels): fix compiler warning
12392
12393 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * lyxfunc.C (getStatus): fix status message for disabled commands.
12396
12397 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView_pimpl.C: fix crash on close buffer
12400         during selection (#227)
12401
12402 2002-01-27  Herbert Voss  <voss@lyx.org>
12403
12404         * buffer.C: link old Figure to new graphic inset
12405
12406 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12407
12408         * FontLoader.C (getFontinfo): Change the latex font names in order
12409         to match the names of type1inst.
12410
12411 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12412
12413         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12414
12415         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12416         (extchanged): ditto
12417         (ext_exist): ditto
12418         (remove_files_with_extension): ditto
12419         (remove_file): ditto
12420         (write): ditto
12421
12422         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12423         document is smaller than the work area height. Do not initialize
12424         static variables to 0.
12425
12426 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12427
12428         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12429
12430         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12431         LFUN_LAYOUT_PARAGRAPHS.
12432
12433         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12434         tabular. It is possible to provide a possible cell, which will
12435         typically be the actcell from the corresponding insettabular
12436
12437         * lyxfunc.C (getStatus): small cleanup; disable
12438         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12439         true
12440
12441 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12442
12443         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12444
12445         * paragraph.C (startTeXParParams):
12446         (endTeXParParams): new methods. The LaTeX code to
12447         start/end paragraph formatting
12448         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12449         empty (fixes bug #200)
12450
12451         * vspace.C (inPixels): adapt to the change below
12452         (inPixels): [later] more cleanups (remove unused variables)
12453
12454         * lyxlength.C (inPixels): change to use a width and a height as
12455         parameter.
12456
12457 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12458
12459         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12460         Replaced with \paperwidth
12461
12462         * DepTable.C (insert): add std:: qualifier
12463
12464 2002-01-18  Allan Rae  <rae@lyx.org>
12465
12466         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12467         updated also?
12468
12469         * text.C (drawInset): Turned out I didn't know enough about how
12470         rebreaking worked.  This fixes most of the redraw problems.  I see
12471         an occasional cursor trail when a line is broken now and the cursor
12472         placement can seem out by a few pixels also after a rebreak.
12473
12474 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12475
12476         * buffer.C (parseSingleLyXformat2Token): update because minipage
12477         width is now a LyXLength
12478
12479         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12480
12481         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12482         math insets
12483
12484 2002-01-17  Juergen Vigna  <jug@sad.it>
12485
12486         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12487
12488         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12489         is set correctly and the inset is updated correctly.
12490
12491 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12492
12493         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12494         the beginning of the loop.
12495
12496 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * lyxrc.C: improve help for use_scalable_fonts
12499
12500 2002-01-17  Allan Rae  <rae@lyx.org>
12501
12502         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12503
12504 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12507         make sure to set their inset_owner to the right value (bug #171)
12508
12509 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12510
12511         * DepTable.h
12512         * DepTable.C: Implement mtime checking to reduce time spent doing
12513         CRCs.
12514
12515 2002-01-16  Juergen Vigna  <jug@sad.it>
12516
12517         * tabular.C (GetAdditionalHeight): one of error fixed.
12518
12519         * lyxrc.C (output): small fix in writing use_pspell.
12520
12521 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12522
12523         * sp_base.h: #include LString.h
12524
12525 2002-01-16  Allan Rae  <rae@lyx.org>
12526
12527         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12528         Can someone check this please?
12529
12530         * text.C (drawInset): It was possible that p.row would be removed by
12531         breakAgainOneRow upsetting a few other settings.  There may be another
12532         small tweak possible by setting need_break_row = 0 when p.row has been
12533         removed but I don't know enough about the logic here.
12534
12535 2002-01-15  Allan Rae  <rae@lyx.org>
12536
12537         * text.C (insertChar): removed conditional truism.
12538
12539         * BufferView2.C (removeAutoInsets): More tweaks.
12540         cur_par_prev could be a stray pointer.  Check for trailing empty line
12541         in case last line was cur_par and only had an error inset on it.
12542
12543 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12546         absolute
12547
12548         * vc-backend.C (most methods):
12549         * exporter.C (Export):
12550         * converter.C (convert):
12551         (runLaTeX):
12552         * LyXSendto.C (SendtoApplyCB):
12553         * lyxfunc.C (dispatch):
12554         (menuNew):
12555         (open):
12556         (doImport):
12557         * lyx_cb.C (AutoSave):
12558         (InsertAsciiFile):
12559         * BufferView_pimpl.C (MenuInsertLyXFile):
12560         * buffer.C (runChktex): use Buffer::filePath().
12561
12562         * buffer.h: rename filename to filename_; rename filepath to
12563         filepath_ and make it private
12564         (filePath): new method
12565
12566         * buffer.C (writeFile): use fileName()
12567         (getLatexName):
12568
12569         * lyx_main.C (init): fix starting  of LyX when the binary is a
12570         link from so,ewhere else.
12571
12572         * minibuffer.C: include <cctype> for isprint
12573
12574 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12575
12576         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12577         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12578         name clash with InsetCollapsable's width function.
12579
12580 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * lastfiles.C: include <iterator>
12583
12584 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12587         std::count.
12588
12589         * buffer.C (makeLaTeXFile): ditto.
12590         Also make loop operation more transparent.
12591
12592 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12593
12594         * ToolbarDefaults.C: remove trailing comma closing namespace.
12595
12596         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12597
12598         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12599         as in WorkArea.
12600
12601         * trans.C (Load): comment out unused variable, allowed.
12602
12603 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * minibuffer.[Ch] (append_char): new method to recieve input from the
12606         drop-down completion browser. If a key was pressed, then recieve this
12607         char and append it to the existing string.
12608         (peek_event): modify the positioning data passed to the completion
12609         browser so that it can be placed above the minibuffer rather than below.
12610 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * LyXAction.C (init): alloe error-next for readonly documents.
12613
12614         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12615         count.
12616
12617 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * bufferlist.C (readFile): create the buffer _after_ checking that
12620         the file exists.
12621
12622         * lyxfunc.C (verboseDispatch): fix handling of arguments
12623
12624         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12625
12626         * lyxrc.C: use string::erase() instead of initializing to "".
12627
12628
12629 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C:
12633         * WorkArea.h:
12634         * WorkArea.C:
12635         * text2.C: tell X when we have made a selection for copying
12636
12637 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12638
12639         * BufferView_pimpl.C (MenuInsertLyXFile):
12640         * lyxfunc.C (menuNew):
12641         (open):
12642         (doImport): add shortcuts to directory buttons
12643
12644         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12645         open a float)
12646
12647         * lyxfunc.C (setStatusMessage):
12648         (getStatusMessage): new methods
12649         (getStatus):use setStatusMessage instead of setErrorMessage
12650         (dispatch): when function is disabled, set error message here
12651         [instead of in getStatus previously]
12652
12653         * BufferView_pimpl.C (workAreaButtonRelease): update
12654         toolbar/menubar here too.
12655
12656 2002-01-13  Allan Rae  <rae@lyx.org>
12657
12658         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12659         Now seems indestructible.  Remaining task is to audit all other
12660         code affected by deleteEmptyParagraphMechanism.  One small quirk
12661         left is that an empty document with an error in the preamble can
12662         be made to report an error but no error box appears.  I don't know
12663         where it goes.
12664         (removeAutoInsets): Improved comments.
12665
12666 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * Thesaurus.h:
12669         * Thesaurus.C: update for Aiksaurus 0.14
12670
12671 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * text2.C (firstParagraph): removed member function, all uses
12674         replaces with ownerParagraph
12675         (redoParagraphs): here
12676         (updateInset): here
12677         (toggleAppendix): here
12678         * BufferView2.C (insertErrors): here
12679         (setCursorFromRow): here
12680
12681 2002-01-13  Allan Rae  <rae@lyx.org>
12682
12683         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12684         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12685         There is still a way to segfault this although you may have to do this
12686         multiple times: Have an InsetERT with an unknown command in it.
12687         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12688         <down-arrow>, <Enter> again, View->DVI, BANG!
12689
12690         * text2.C (setCursor):
12691         (deleteEmptyParagraphMechanism):
12692         * lyxtext.h (setCursor):
12693         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12694         Making use of the return value may help fix other bugs.
12695
12696 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12697
12698         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12699
12700         * LyXView.C (updateMenubar): call MenuBar::update here
12701         (updateToolbar): but not here
12702         (showState): do not update toolbar/menubar
12703
12704         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12705         should need to care about that.
12706
12707         * lyxfunc.C (verboseDispatch): simplify a bit
12708         (getStatus): have a version which takes a pseudoaction, and
12709         another which requires a (kb_action,string).
12710
12711         * LyXAction.C (retrieveActionArg): make it work also when action
12712         is not a pseudo-action.
12713         (getActionName): simplify a bit
12714         (helpText):
12715
12716 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * lyxfunc.C (verboseDispatch): new families of methods with
12719         several ways to specify a command and a bool to indicate whether
12720         the command name and shortcut should be displayed in minibuffer
12721         (eventually, we could extend that to a finer bitmask like
12722         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12723         (dispatch): the pristine dispatch command which just, well,
12724         dispatchs! Note it still sets its result to minibuffer; I'm not
12725         sure we want that.
12726
12727         * lyxfunc.h: remove setHintMessage
12728
12729         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12730
12731 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * BufferView_pimpl.C (specialChar): delete new inset if we have
12734         not been able to insert it.
12735
12736         * kbmap.C: revert to using int instead of kb_action, since all we
12737         are dealing with is pseudo-actions.
12738
12739         * LyXAction.C (searchActionArg): change to return int instead of
12740         kb_action, since the result is a pseudoaction.
12741
12742 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * buffer.C (insertErtContents): Fix (partially) the font bug.
12745
12746 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12747
12748         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12749         as the other one is broken on my machine!
12750
12751 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12752
12753         * commandtags.h:
12754         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12755
12756 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12759         reflect their actual use. Provide compatibility code for older lyxrc
12760         files.
12761
12762         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12763         FL_NORMAL_STYLE.
12764         change names of popup font variables in line with the changes to lyxrc.C
12765
12766 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * buffer.C (asciiParagraph): avoid outputing a word twice after
12769         an inset.
12770
12771         * lyxrc.C (getDescription): document that document_path and
12772         template_path can be empty.
12773
12774 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * LaTeXFeatures.C (getMacros):
12777         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12778
12779         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12780
12781         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12782         getPackages.
12783         (getPackages): rename feature "floats" to "float". Use an array to
12784         iterate over 'simple' features (i.e. just a \usepackage). Add
12785         handling of "amsmath" (renamed from "amsstyle").
12786
12787 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12788
12789         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12790         features list.
12791
12792 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12793
12794         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12795         FuncStaus::FuncStatus & FuncStaus::some_method().
12796
12797 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12798
12799         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12800         of the func_satus stuff. Edited and massaged in various ways by
12801         JMarc.
12802
12803         * lyxfunc.C (getStatus): use FuncStatus
12804
12805 2002-01-08  Juergen Vigna  <jug@sad.it>
12806
12807         * text.C (nextBreakPoint): use function Inset::isChar().
12808
12809         * paragraph.C (TeXOnePar): use function
12810         Inset::forceDefaultParagraphs.
12811
12812         * buffer.C (latexParagraphs): use function
12813         Inset::forceDefaultParagraphs.
12814
12815 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12816
12817         * lyx_gui.C (init): set the style of the menu popups to
12818         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12819
12820 2002-01-07  Juergen Vigna  <jug@sad.it>
12821
12822         * text.C (setHeightOfRow): small fix
12823         (prepareToPrint): don't look at alignment if we don't have the place
12824         for doing it.
12825
12826 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * box.C: New file. Move the Box methods and functions out of box.h,
12829         following Lars' suggestion.
12830
12831 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12832
12833         * box.h: #include "support/LOstream.h", needed for inlined function.
12834
12835         * lyxtextclass.C:
12836         * lyxtextclasslist.C: added some using std declarations.
12837
12838 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * box.h: make signed dimensions to allow insets wider than
12841           the screen (bug #162)
12842
12843         * BufferView_pimpl.C: add some insetHit debug
12844
12845 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * vc-backend.C: add FIXME
12848
12849 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * lyxfunc.C (getStatus): enable code for showing math font status
12852         in toolbar/menu.
12853
12854 2002-01-07  Juergen Vigna  <jug@sad.it>
12855
12856         * text.C (nextBreakPoint): removed debug output not needed anymore.
12857
12858 2002-01-06  Juergen Vigna  <jug@sad.it>
12859
12860         * text.C (nextBreakPoint): fixed up this function we had this bug
12861         since ever but now hopefully we break row better.
12862         (insertChar): we have to check if an inset is the next char as it
12863         could now happen that a large inset is causing a break.
12864
12865 2002-01-05  Juergen Vigna  <jug@sad.it>
12866
12867         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12868         if it doesn't like to be drawed.
12869
12870 2002-01-04  Juergen Vigna  <jug@sad.it>
12871
12872         * BufferView2.C (lockInset): forgot to set a cursor.
12873
12874         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12875
12876 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12877
12878         * FormMathsPanel.C:
12879         * FormMathsPanel.h
12880         * MathsSymbols.C:
12881         * form_maths_panel.C:
12882         * form_maths_panel.h:
12883         * form_maths_panel.fd: implemented sub- and super- buttons in math
12884         panel.
12885
12886         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12887         (or ^ space) to be used as in TeX (req'd by André).
12888
12889         * lyxfunc.C: Allow ^ and _ again to be used both as
12890         super/subscript (mathed) and as themselves (in text).
12891
12892 2002-01-03  Allan Rae  <rae@lyx.org>
12893
12894         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12895         "LyX" or the filename of the current buffer if it has one.  This is a
12896         modified form of John Levon's patch.
12897
12898         * XFormsView.C (setWindowTitle): also set icon title.
12899
12900         * LyXView.h (setWindowTitle): signature changed.
12901         * XFormsView.h (setWindowTitle): ditto.
12902
12903 2002-01-02  Juergen Vigna  <jug@sad.it>
12904
12905         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12906
12907 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * screen.C (topCursorVisible): introduce a temp var for
12910         text->cursor.row(), handle the case where this row is null. (kindo
12911         hachish)
12912
12913         * text2.C (setCursor): add a couple of asserts.
12914
12915         * paragraph.h (inset_iterator): add -> operator
12916
12917         * paragraph.[Ch] (autoDeleteInsets): remove member function
12918
12919         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12920         cursor pos correctly and handle inset deletion by itself.
12921         (insertErrors): move iterator declaration out of for expression
12922
12923         * lyxtextclass.C: add <algorithm>
12924
12925         * Makefile.am: added the new files to sources, removed layout.C
12926
12927         * layout.C: removed file
12928
12929         * layout.h: remove LYX_DUMMY_LAYOUT
12930
12931         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12932         layout.
12933
12934         * lyxlayout.[Ch]:
12935         * lyxtextclass.[Ch]:
12936         * lyxtextclasslist.[Ch]: new files
12937
12938         * include order changes to a lot of files, also changes because of
12939         the six new files.
12940
12941 2001-12-27  Juergen Vigna  <jug@sad.it>
12942
12943         * buffer.C (asciiParagraph): more fixes.
12944
12945         * tabular.C (ascii): make ascii export support export of only the
12946         data separated by a column-delimiter.
12947         (ascii): better support for ascii export.
12948
12949         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12950
12951 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * tabular_funcs.C: use a "using std::getline" instead of the
12954         previous fix from Angus (necessary for cxx + lyxstring)
12955
12956 2001-12-24  Juergen Vigna  <jug@sad.it>
12957
12958         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12959
12960         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12961         problems. First check a minipage also if we have some ert-contents
12962         (not only on par->size(), second set the right depth of the paragraph
12963         on the relink to the root-paragraph-list!
12964
12965         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12966         which then did not anymore update the main paragraphs on undo/redo!
12967
12968 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12969
12970         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12971         code. Support all font-changing funcs (even those which are not in
12972         menu currently). Support for reporting font settings in
12973         mathed (disabled until Andre provides a function on mathed's side).
12974
12975         * func_status.h (toggle): small helper function to set toggle
12976         state on a flag.
12977
12978 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * tabular_funcs.C: getline -> std::getline
12981
12982 2001-12-21  Juergen Vigna  <jug@sad.it>
12983
12984         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12985         accessed and could be 0 (I couldn't generate this but it seems
12986         Michael could!).
12987
12988 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12991         * tabular_funcs.h: here and include iosfwd
12992
12993 2001-12-20  Juergen Vigna  <jug@sad.it>
12994
12995         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12996         inside inset but undo_par was.
12997
12998 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * Thesaurus.C: always include <config.h> in sources.
13001
13002         * Painter.h:
13003         * lyxlookup.h:
13004         * box.h: do not include <config.h> in header files
13005
13006         * text.C (paintLastRow): remove unused variable
13007
13008         * text.C (transformChar):
13009         (insertChar):
13010         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13011
13012         * Painter.C (text):
13013         * font.C (width): rewrite to use uppercase() instead of
13014         islower/toupper.
13015
13016         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13017
13018 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * lyxfind.C: clean up of find failure position change
13021
13022 2001-12-20  Juergen Vigna  <jug@sad.it>
13023
13024         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13025
13026         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13027         (TeXRow): added to LaTeX a single tabular row.
13028         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13029         (Latex): simplified and finally good LT-h/f support.
13030         (various_functions): just small adaptions for LT-h/f support.
13031
13032         * tabular_funcs.[hC]: added and moved here all not classfunctions
13033         of LyXTabular.
13034
13035 2001-12-19  Juergen Vigna  <jug@sad.it>
13036
13037         * tabular.[Ch]: better support for longtabular options (not finished
13038         yet!)
13039
13040 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * text.C (paintLastRow): use the label font instead of the font of
13043         the last character to compute the size of *_BOX. This makes more
13044         sense and avoids a crash with empty paragraphs.
13045         Use Painter::rectangle to draw EMPTY_BOX.
13046
13047 2001-12-19  Juergen Vigna  <jug@sad.it>
13048
13049         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13050         the paragraphs if the replaced paragraph is not the first one!
13051         Tried to delete not used paragraphs but does not work yet so for
13052         now it's inside #ifdef's and by default off!
13053
13054 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13055
13056         * MenuBackend.C: include "lyx_main.h" instead of declaring
13057         lastfiles (actually was declared as LastFiles* instead of a
13058         scoped_ptr).
13059
13060 2001-12-17  Juergen Vigna  <jug@sad.it>
13061
13062         * tabular.C (AppendColumn): applied John's fix
13063
13064 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * BufferView.h:
13067         * BufferView.C:
13068         * BufferView_pimpl.h:
13069         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13070
13071         * Makefile.am:
13072         * box.h: new start of class for above
13073
13074         * lyxfunc.C: ignore space-only minibuffer dispatches.
13075           Show the command name when it doesn't exist
13076
13077         * minibuffer.C: don't add empty lines to the history
13078
13079         * minibuffer.C: add a space on dropdown completion
13080
13081 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * text.C: fix line above/below drawing in insets
13084
13085 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * lyxlength.C (LyXLength): Initialize private variables.
13088
13089 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13090
13091         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13092         when inserting error insets.
13093
13094 2001-12-13  Juergen Vigna  <jug@sad.it>
13095
13096         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13097         actually sometimes the before-paragraph.
13098         (setUndo): don't clear the redostack if we're not actually undoing!
13099
13100 2001-12-06  Juergen Vigna  <jug@sad.it>
13101
13102         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13103         and fixed redoing of main paragraph, so we can use it now ;)
13104
13105         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13106
13107 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13110         Juergen's request
13111
13112 2001-12-13  André Pönitz <poenitz@gmx.net>
13113
13114         * undostack.[Ch]:
13115         * undo_func.C: minor cleanup
13116
13117 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13120         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13121         font in urw-fonts package which is marked as -urw-fontspecific and
13122         does not work (incidentally, changing the encoding in the
13123         fonts.dir of this package to -adobe-fontspecific fixes the
13124         problem).
13125
13126         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13127         is a crash when undoing first paragraph (Juergen, please take a
13128         look). THis does not mean the undo fix is wrong, just that it
13129         uncovers problems.
13130
13131         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13132         the (Paragraph*) version when needed instead of duplicating the
13133         code.
13134
13135         * text.C (workWidth): use Inset::parOwner to find out where the
13136         inset has been inserted. This is a huge performance gain for large
13137         documents with lots of insets. If Inset::parOwner is not set, fall
13138         back on the brute force method
13139
13140         * paragraph_pimpl.C (insertInset):
13141         * paragraph.C (Paragraph):
13142         (cutIntoMinibuffer): set parOwner of insets when
13143         inserting/removing them
13144
13145         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13146
13147 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13148
13149         * commandtags.h:
13150         * LyXAction.C:
13151         * lyx_main.C:
13152         * lyxfunc.C:
13153         * mathed/formulabase.C:
13154         * mathed/math_cursor.[Ch]:
13155         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13156
13157
13158 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * lyxlength.[Ch] (operator!=): new function
13161
13162 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13163
13164         * text.C (workWidth): use Inset::parOwner to find out where the
13165         inset has been inserted. This is a huge performance gain for large
13166         documents with lots of insets. If Inset::parOwner is not set, fall
13167         back on the brute force method
13168
13169         * paragraph_pimpl.C (insertInset):
13170         * paragraph.C (Paragraph):
13171         (cutIntoMinibuffer): set parOwner of insets when
13172         inserting/removing them
13173
13174         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13175
13176 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * tabular-old.C (getTokenValue):
13179         * tabular.C (getTokenValue):
13180         (write_attribute): new versions for LyXLength
13181         (everywhere): adjust the use of widths
13182
13183         * tabular.h: change the type of widths from string to LyXLength
13184
13185 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13186
13187         * paragraph.C: fixed missing line number count when exporting
13188         Environments to LaTeX file
13189
13190         * buffer.C: added informational message for checking line numbers.
13191
13192 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13193
13194         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13195         paragraph, do the 'double space' part, but not the 'empty
13196         paragraph' one.
13197
13198         * text.C (workWidth): small optimization
13199         (getLengthMarkerHeight): use minimal size for negative lengths.
13200
13201 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13202
13203         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13204
13205         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13206
13207 2001-12-11  André Pönitz <poenitz@gmx.net>
13208
13209         * FontLoader.C:
13210         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13211
13212 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * text2.C: keep selection on a setFont()
13215
13216 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * lyx_cb.C: another bv->text misuse, from insert label
13219
13220 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13221
13222         * kbsequence.h:
13223         * kbsequence.C: re-instate nmodifier mask
13224
13225 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13226
13227         * lyx_main.h: make lyxGUI private.
13228
13229 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13230
13231         * lyxfind.C: place the cursor correctly on failed search
13232
13233 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * text.C (getLengthMarkerHeight): for small heights, the arrows
13236         are not always on top/bottom of the text
13237         (drawLengthMarker): smaller arrows; take the left margin in
13238         account; draw also vfills.
13239         (paintFirstRow):
13240         (paintLastRow): remove special code for vfill and standard spaces,
13241         since everything is handled in drawLengthMarker now.
13242
13243 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * buffer.C (insertErtContents): try to handle font and language
13246         interaction a bit better.g
13247
13248         * ColorHandler.C (updateColor): change the hash to cover the whole
13249         LColor enum, ws cleanup
13250         (getGCLinepars): ditto
13251         (getGCLinepars): only lookup in the linecache once.
13252
13253 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13254
13255         * iterators.C (operator++): Make the iterator more robust
13256
13257         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13258         (John's patch)
13259         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13260
13261 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13262
13263         * lyxtext.h:
13264         * text.C: better added space drawing
13265
13266 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * LyXView.C:
13269         * BufferView2.C: fix layout combo update on inset unlock
13270
13271 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * Makefile.am: don't compile unused files
13274
13275 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13276
13277         * lyxfunc.C:
13278         * commandtags.h:
13279         * LyXAction.C: remove old LFUN_LAYOUTNO
13280
13281 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13282
13283         * paragraph_pimpl.h:
13284         * paragraph_pimpl.C: isTextAt() doesn't need font param
13285
13286 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * lyxlex.h:
13289         * lyxlex.C: little cleanup
13290
13291 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * BufferView_pimpl.C: fix insertAscii for insets
13294
13295 2001-12-05  Juergen Vigna  <jug@sad.it>
13296
13297         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13298         set the right font on the "multi" paragraph paste!
13299
13300 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * trans_decl.h:
13303         * trans_mgr.[Ch]:
13304         * trans.[Ch]:
13305         * lyxgluelength.C:
13306         * lyxlength.C: remove out-commented code.
13307
13308         * BufferView_pimpl:
13309         * CutAndPaste.C:
13310         * DepTable.C:
13311         * buffer.C:
13312         * chset.C:
13313         * lastfiles.C:
13314         * lyxlex.C:
13315         * lyxlex_pimpl.C:
13316         * lyxserver.C:
13317         * screen.C:
13318         * tabular-old.C:
13319         * tabular.C:
13320         * text.C:
13321         * trans_mgr.C:
13322         * vc-backend.C: change "while(" to "while ("
13323
13324         * lyxlength.[Ch]: add zero function to check if length is zero or
13325         not
13326         * lyxgluelength.C: use it
13327
13328 2001-12-05  Allan Rae  <rae@lyx.org>
13329
13330         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13331         Works for 2.95.3, from what I understand of Garst's reports this should
13332         work for other g++ versions.  We're screwed if the abs(int) definition
13333         changed between bugfix releases of gcc.
13334
13335 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13336
13337         * text.C: fix chapter label offset !
13338
13339 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13340
13341         * lyxtext.h:
13342         * text.C: fix hfill at end of line, clean up
13343
13344 2001-12-04  Juergen Vigna  <jug@sad.it>
13345
13346         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13347         that we force an update of the inset and it's owners if neccessary.
13348
13349 2001-12-03  Juergen Vigna  <jug@sad.it>
13350
13351         * text.C (rowLast): simplified code
13352
13353 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * lyxfunc.C: fix show options on timeout
13356
13357 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * screen.C (topCursorVisible): scroll half a page when the cursor
13360         reached top of bottom of screen
13361
13362 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * minibuffer.C: deactivate on loss of focus
13365
13366 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * vspace.[Ch] (operator!=): add operator.
13369
13370 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * BufferView_pimpl.C: refuse to open an inset when
13373         there's a selection.
13374
13375 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * BufferView_pimpl.C: allow to click on RHS of full row insets
13378
13379 2001-11-30  Juergen Vigna  <jug@sad.it>
13380
13381         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13382         insets for undo reasons.
13383
13384 2001-11-28  André Pönitz <poenitz@gmx.net>
13385
13386         * vspace.[Ch]: cosmetical changes
13387
13388 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * LyXAction.h:
13391         * LyXAction.C:
13392         * lyxfunc.h:
13393         * lyxfunc.C:
13394         * kbmap.h:
13395         * kbmap.C:
13396         * lyxrc.C:
13397         * kbsequence.h:
13398         * kbsequence.C: part re-write of old kb code
13399
13400         * Painter.C:
13401         * WorkArea.C: remove Lgb_bug_find_hack
13402
13403 2001-11-30  José Matos <jamatos@fep.up.pt>
13404
13405         * buffer.C (makeDocBookFile): add a comment to point a hack.
13406         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13407         Fixed a double write of labels.
13408
13409 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13410
13411         * LaTeX.C:
13412         * LaTeX.h Fixed bug in LaTeX class where it would not
13413         re-run latex if no depfiles were changed, but the .dvi was removed.
13414
13415 2001-11-28  André Pönitz <poenitz@gmx.net>
13416
13417         * all the files from the change on 2001/11/26:
13418         use lyx::layout_type instead of LyXTextClass::size_type
13419         use lyx::textclass_type instead of LyXTextClassList::size_type
13420
13421 2001-11-29  Juergen Vigna  <jug@sad.it>
13422
13423         * text.C: added support for paragraph::isFreeSpacing()
13424
13425         * buffer.C: same as above
13426
13427         * paragraph.h: inserted isFreeSpacing() function to enable
13428         FreeSpacing inside InsetERT.
13429
13430         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13431         of the paragraph's in the cut/copy buffer to 0!
13432
13433         * text2.C (removeRow): remove the assert as it can!
13434
13435         * lyxtext.h: added helper function firstRow returning firstrow and
13436         made firstrow private again.
13437
13438         * BufferView2.C (lockInset): don't relock if we're already locked!
13439
13440         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13441         the only paragraph.
13442         (removeRow): added Assert::(firstrow)
13443
13444         * debug.C: forgot to add INSETTEXT here.
13445
13446 2001-11-28  Juergen Vigna  <jug@sad.it>
13447
13448         * sp_spell.C (initialize): changed error text to more general
13449         spellchecker command use (not only ispell!)
13450
13451         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13452
13453         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13454
13455 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * vspace.C: initialise lyxgluelength on failure
13458
13459 2001-11-28  Allan Rae  <rae@lyx.org>
13460
13461         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13462         declaration & definition that looks like a function declaration.
13463
13464 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13465
13466         * BufferView2.C (copy):
13467         (copyEnvironment): do not clear the selection when doing a copy.
13468
13469         * text.C (paintFirstRow): compilation fix
13470
13471 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13472
13473         * tabular.C (Latex): correct line count when writing latex.
13474
13475 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13476
13477         * paragraph_pimpl.h:
13478         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13479           bug a bit
13480
13481 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * text.C:
13484         * LColor.h:
13485         * LColor.C: change vfillline->added_space
13486
13487         * text.C: add markers and text for added space
13488
13489         * vspace.C: fix comment
13490
13491 2001-11-28  André Pönitz <poenitz@gmx.net>
13492
13493         * paragraph.C: whitespace changes
13494         * all the other files from the change on 2001/11/26:
13495         change *::pos_type into lyx::pos_type
13496
13497 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13498
13499         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13500         language of the document when inserting error insets.
13501
13502 2001-11-26  André Pönitz <poenitz@gmx.net>
13503
13504         * BufferView_pimpl.[Ch]:
13505         *       CutAndPaste.C:
13506         * buffer.[Ch]:
13507         * lyxcursor.[Ch]:
13508         * lyxfind.C:
13509         * lyxfunc.C:
13510         * lyxrow.[Ch]:
13511         * paragraph.[Ch]:
13512         * paragraph_pimpl.[Ch]:
13513         * sp_spell.C:
13514         * text.C:
13515         * text2.C: reduce header dependencies, introduce type for positions
13516
13517 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * <various>: change to use Alert.h
13520
13521 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13524         when encountering an unknown token.
13525         (readLyXformat2): Show an error message if there were unknown tokens.
13526
13527 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13528
13529         * BufferView2.C:
13530         * BufferView_pimpl.C:
13531         * buffer.C:
13532         * paragraph.h:
13533         * text.C:
13534         * text2.C: use par->isInset()
13535
13536 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * paragraph_pimpl.h:
13539         * paragraph_pimpl.C: cleanup
13540
13541 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * text2.C (removeRow):
13544         * text.C (setHeightOfRow): remove useless (and costly) call to
13545         getRow.
13546
13547 2001-11-20  Allan Rae  <rae@lyx.org>
13548
13549         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13550         Now need Inset*::checkInsertChar() to return true for appropriate
13551         cases so that the characters in the minibuffer will actually be
13552         inserted.
13553
13554 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * text.C: change the order of the includes.
13557         (workWidth): initialize it at once.
13558         (workWidth): make maxw unsigned
13559         (setHeightOfRow): remove unused variable (inset)
13560         (selectSelectedWord): remove unused variable (inset)
13561         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13562
13563 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13564
13565         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13566         server is not running.
13567         (openConnection):
13568         (closeConnection): add debug info when server is disabled.
13569
13570         * ColorHandler.C (getGCForeground): send debug message to GUI
13571         channel.
13572
13573         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13574
13575         * kbmap.C (bind): modify because return conventions of
13576         kb_sequence::parse have changed.
13577
13578         * kbsequence.C (parse): only ignore spaces and not any stupid
13579         control character. This avoids tests like s[i] <= ' ', which are
13580         guaranteed to fail with 8bit characters and signed chars.
13581         Change return code to string::npos when there have been no error
13582         (0 was a bad idea when error is at first character)
13583
13584 2001-11-14  José Matos  <jamatos@fep.up.pt>
13585
13586         * buffer.h:
13587         * buffer.C (simpleDocBookOnePar): removed unused argument.
13588
13589 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13592         insets which are part of a word. Paragraph::isLetter takes care of
13593         that now. Use Paragraph::isInset to identify insets.
13594         (selectSelectedWord): do not test for hyphenation break.
13595
13596         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13597         that protected spaces are considered as spaces.
13598
13599         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13600         Inset::isLetter.
13601
13602 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * lyxserver.h:
13605         * lyxserver.C: fix it. and small cleanup.
13606
13607 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * BufferView_pimpl.C: use inline helpers
13610
13611         * LaTeXFeatures.h:
13612         * LaTeXFeatures.C: fix typos
13613
13614         * Spacing.h:
13615         * Spacing.C: move spacing_string into class
13616
13617         * ToolbarDefaults.C: move stuff into namespace anon
13618
13619         * layout.h: update enum
13620
13621         * lyxfunc.C: use better debug
13622
13623         * minibuffer.h: fix typo
13624
13625         * debug.h:
13626         * debug.C:
13627         * WorkArea.C: add and use Debug::WORKAREA
13628
13629         * lyxtext.h:
13630         * text.C:
13631         * text2.C: code re-organisation, inline helpers
13632
13633 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13634
13635         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13636         std::vector.empty().
13637
13638 2001-11-09  Allan Rae  <rae@lyx.org>
13639
13640         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13641         '\n's after tables.  Tabular and ERT inset work now makes this no
13642         longer necessary.
13643
13644 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * minibuffer.h:
13647         * minibuffer.C: fix crash, improve drop-down completion
13648
13649 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * lyxserver.h:
13652         * lyxserver.C: invalidate fd's when doing endPipe()
13653
13654 2001-11-08  José Matos  <jamatos@fep.up.pt>
13655
13656         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13657         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13658
13659         * paragraph.h:
13660         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13661
13662 2001-11-07  José Matos  <jamatos@fep.up.pt>
13663
13664         * buffer.h:
13665         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13666         const qualifier.
13667
13668         * buffer.C (sgmlOpenTag):
13669         * buffer.C (sgmlCloseTag): removed debug info.
13670
13671         * buffer.h (sgmlOpenTag):
13672         * buffer.h (sgmlCloseTag): made public.
13673
13674 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * buffer.C (saveParamsAsDefaults):
13677         * lyx_cb.C (MenuLayoutSave): remove
13678
13679         * LyXAction.C (init):
13680         * commandtags.h:
13681         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13682
13683 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * buffer.C (setPaperStuff): removed from here...
13686
13687         * bufferparams.C (setPaperStuff): ... and moved there.
13688
13689 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * minibuffer.h:
13692         * minibuffer.C:
13693         * XFormsView.C: add support for drop-down completion
13694
13695 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13696
13697         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13698         commands.
13699
13700 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13703         disabled.
13704
13705 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * lyx_main.C: change ref to known bugs
13708
13709 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13710
13711         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13712         to work around older babel problems.
13713
13714 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13715
13716         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13717
13718 2001-10-24  Juergen Vigna  <jug@sad.it>
13719
13720         * tabular-old.C (ReadOld): below variable changes reflected.
13721
13722         * tabular.[Ch]: added ltType struct for longtable header/footer
13723         defines and changed all instances where they are used. Added
13724         future support for double top/bottom rows.
13725
13726 2001-10-24  José Matos  <jamatos@fep.up.pt>
13727
13728         * buffer.h (docbookHandleCaption):
13729         * buffer.C (docbookHandleCaption): removed unused function.
13730         (makeDocBookFile): moved docbook supported version to v4.1.
13731
13732 2001-10-24  José Matos  <jamatos@fep.up.pt>
13733
13734         * tabular.h:
13735         * tabular.C (docbookRow): new function to export docbook code of a row.
13736         (DocBook): now honors the longtable flags.
13737
13738 2001-10-23  José Matos  <jamatos@fep.up.pt>
13739
13740         * LaTeXFeatures.h:
13741         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13742         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13743
13744         * buffer.C (makeLinuxDocFile):
13745         (makeDocBookFile): reworked the preamble, more clean, and with
13746         support for lyx defined entities. Changed the document declaration
13747         to be more XML friendly.
13748
13749         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13750         if we need to output XML that should be done with a filter.
13751
13752 2001-10-22  Juergen Vigna  <jug@sad.it>
13753
13754         * sp_pspell.h (class PSpell): add alive function needed in the
13755         controller to see if the spellchecker could be started.
13756
13757 2001-10-22  Juergen Vigna  <jug@sad.it>
13758
13759         * buffer.C (insertStringAsLines): modify the font for inserting
13760         chars in certain conditions by calling checkInsertChar(font).
13761
13762 2001-10-19  Juergen Vigna  <jug@sad.it>
13763
13764         * text.C (workWidth): use getRow instead of wrong algorithm.
13765         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13766
13767 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * lyxserver.h:
13770         * lyxserver.C:
13771         * lyx_main.h:
13772         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13773
13774 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * text.C (workWidth): do not search for the exact row when
13777         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13778         optimization for big documents.
13779
13780 2001-10-18  Juergen Vigna  <jug@sad.it>
13781
13782         * text.C (workWidth): new function with added Inset * parameter.
13783
13784 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13785
13786         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13787
13788         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13789         change return type of getColumnNearX.
13790
13791
13792         * text.C (changeRegionCase): use uppercase/lowercase instead of
13793         toupper/tolower.
13794         (leftMargin):
13795         (rightMargin): simplify code by factoring out the uses of
13796         textclasslist.
13797         (labelFill):
13798         (numberOfHfills):
13799         (setHeightOfRow):
13800         (appendParagraph): use Paragraph::size_type
13801
13802 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * vspace.C (asLatexString): add a missing break
13805
13806 2001-10-15  Herbert Voss  <voss@perce.de>
13807
13808         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13809
13810 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13811
13812         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13813         is not available.
13814
13815 2001-10-10  André Pönitz <poenitz@gmx.net>
13816
13817         * lyxfunc.C: removed greek_kb_flag.
13818
13819 2001-10-10  Herbert Voss  <voss@perce.de>
13820
13821         * lyx_main.C: delete global string help_lyxdir.
13822
13823 2001-10-09  Herbert Voss  <voss@perce.de>
13824
13825         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13826
13827         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13828
13829         * lyx_main.C: added global string help_lyxdir.
13830
13831         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13832
13833 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13834
13835         * lyxrc.C (set_font_norm_type): support iso8859-4
13836
13837 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13838
13839         * LaTeX.C (deplog): add another regex for MikTeX
13840
13841 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13842
13843         * lyxrc.C (set_font_norm_type): support iso8859-3
13844
13845 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13848
13849         * LaTeXFeatures.C: remove special case of french and index
13850
13851         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13852         before \begin{document}). This solves several incompatibilities.
13853
13854 2001-10-03  Garst Reese  <reese@isn.net>
13855
13856         * lyx_cb.C: change CheckTex error msg.
13857
13858 2001-10-03  José Matos  <jamatos@fep.up.pt>
13859
13860         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13861
13862 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * .cvsignore: update
13865
13866         * lyx_main.C (commandLineVersionInfo): use new style version info.
13867
13868         * buffer.C (writeFile):
13869         (makeLaTeXFile):
13870         (makeLinuxDocFile):
13871         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13872
13873         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13874
13875         * version.h: update to use stuff in version.C
13876
13877         * version.C.in: new file. Contains version information determined
13878         at compile time. This is a merging of version.h and
13879         version_info.h.in.
13880
13881 2001-10-03  Juergen Vigna  <jug@sad.it>
13882
13883         * BufferView_pimpl.C (update): don't change "dirty" status in
13884         updateInset call.
13885
13886 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13887
13888         * WorkArea.C (c-tor): re-position version string slightly.
13889
13890 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13891
13892         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13893         revert to previous code.
13894
13895         WorkArea.[Ch]: (show, destroySplash): methods removed.
13896
13897         WorkArea.C: rework code so that it's an amalgam of the codes before and
13898         after the splash screen was moved to WorkArea.
13899
13900 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * lyxrc.C (read):
13903         * vspace.C (inPixels):
13904         (lyx_advance):
13905         * kbmap.C (bind):
13906         * buffer.C (insertStringAsLines):
13907         (asciiParagraph): fix types to be large enough
13908
13909         * lyxlex_pimpl.h: change member status from short to int
13910
13911         * layout.h: fix type of endlabeltype
13912
13913         * kbmap.C (bind):
13914         * kbsequence.C (parse): change return type to string::size_type
13915
13916         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13917         variable
13918
13919         * Bullet.C (bulletSize):
13920         (bulletEntry): do not use short ints as parameters
13921
13922         * BufferView2.C (insertLyXFile): change a char to an int.
13923
13924         * WorkArea.C (WorkArea): remove unneeded floats in computation
13925
13926 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13927
13928         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13929
13930         * paragraph.C (asString): Do not ignore newline/hfill chars when
13931         copying to the clipboard.
13932
13933 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13936         after a multi-line inset.
13937
13938 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * paragraph.C (validate): Set NeedLyXFootnoteCode
13941
13942 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13943
13944         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13945         and decrease-error to decrease.
13946
13947 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13950         it more readable (should be equivalent)
13951
13952 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13953
13954         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13955
13956 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13957
13958         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13959         of a cursor (row, etc.) after a character has been deleted
13960         (deleteEmptyParagraphMechanism): call the method above on _all_
13961         cursors held by the LyXText when a double space has been
13962         detected/deleted.
13963
13964 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13965
13966         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13967         pixmap.
13968         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13969
13970         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13971         background. Use greyOut() and the new show() methods to toggle between
13972         the foreground and background. Add code to remove the splash after
13973         its initial showing.
13974
13975         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13976         (create_forms): no longer call Dialogs::showSplash.
13977
13978 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * .cvsignore: add version_info.h
13981
13982 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * version_info.h.in: new file
13985
13986         * Makefile.am: add version_info.h.in
13987
13988         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13989         version_info.h instead of VERSION_INFO
13990
13991 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13994         The ERT inset now returns string().
13995
13996 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * lyxtext.h, text.C (selectNextWord): renamed as
13999         selectNextWordToSpellcheck.
14000
14001         * text.C (selectNextWordToSpellcheck): Modified to not select
14002         words inside an ERT inset.
14003
14004 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * lyx_cb.C (MenuLayoutSave): change a bit the question
14007
14008         * sp_base.h: include <sys/types.h>
14009
14010 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14013
14014 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14015
14016         * several files: fix typos in user-visible strings
14017
14018 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * text2.C (pasteSelection): do not set the selection, since it
14021         will be cleared later. Actually, the intent was to fix the way the
14022         selection was set, but I figured rmoving the code was just as good.
14023
14024 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14025
14026         * FontLoader.C (available): Check if font is available without
14027         loading the font.
14028
14029 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14030
14031         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14032
14033 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * lyxrc.[Ch]: added display_graphics variable and associated code.
14036
14037 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * bufferparams.C (hasClassDefaults): new method. Returns true if
14040         the buffer parameters correspond to known class defaults
14041
14042 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * XFormsView.C (show): set minimum size to the main window.
14045
14046 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * text2.C (copySelection):
14049         (cutSelection):
14050         * lyxfind.C (LyXReplace):
14051         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14052         LyXText::selectionAsString.
14053
14054         * paragraph.C (asString): add "label" argument to the second form
14055
14056         * text2.C (selectionAsString): add "label" argument and pass it to
14057         Paragraph::asString.
14058
14059 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * lyx_main.C (commandLineHelp): remove version information
14062
14063 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14064
14065         * lyx_main.C: add -version commandline option
14066
14067 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14068
14069         * paragraph.h: make the optional constructor arg required instead.
14070         some modifications to other files because of this.
14071
14072         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14073
14074         * lyxserver.C (C_LyXComm_callback): make it static
14075
14076         * lyx_main.C (error_handler): make it static
14077
14078         * lyx_gui.C (LyX_XErrHandler): make it static
14079
14080         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14081
14082         * WorkArea.C: make the extern "C" methods static.
14083
14084         * Makefile.am (lyx_LDADD): simplify
14085
14086 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14089         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14090
14091         * LyXAction.C (init):
14092         * lyxfunc.C (dispatch): associated code removal.
14093
14094 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * lyxfont.h (isSymbolFont): shut off warning
14097
14098         * text.C (setHeightOfRow):
14099         (getVisibleRow): fix crash with empty paragraphs which have a
14100         bottom line
14101
14102 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14103
14104         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14105         code.
14106
14107 2001-09-04  José Matos  <jamatos@fep.up.pt>
14108         * buffer.C
14109         * buffer.h
14110         * tabular.C (docbook): rename docBook method to docbook.
14111
14112 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * Makefile.am: add dependencies to main.o.
14115
14116 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * FontLoader.C (available): Return false if !lyxrc.use_gui
14119
14120 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14121
14122         * FontInfo.C (query):
14123         * converter.C (view):
14124         * importer.C (Import):
14125         * exporter.C (Export): Can not -> cannot.
14126
14127 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * BufferView_pimpl.C: allow to create index inset even if
14130           string is empty
14131
14132 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * buffer.C (getLists): replace boost::tie code with an explicit pair
14135         as boost::tie can break some compilers.
14136
14137         * iterators.h: Added a std:: declaration to the return type of
14138         ParIterator::size.
14139
14140 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14143           case.
14144
14145 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * iterators.[Ch]: New files. Provide paragraph iterators.
14148
14149         * buffer.C (changeLanguage): Use paragraph iterators.
14150         (isMultiLingual): ditto
14151
14152         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14153
14154 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * FontLoader.C: Support for cmr font.
14157
14158 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14161         (available): New method.
14162
14163         * FontInfo.C (getFontname): Use scalable fonts even when
14164         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14165         found.
14166
14167 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * converter.C (Formats::view): reverted! Incorrect fix.
14170
14171 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * converter.C (Formats::view): only output the -paper option
14174         if the dvi viewer is xdvi, thereby fixing bug #233429.
14175
14176 2001-08-23  Herbert Voss  <voss@perce>
14177
14178         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14179
14180 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14181
14182         * Spacing.h (Spacing): Set space to Default on in the default
14183         constructor.
14184
14185 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * vc-backend.h (RCS::versionString): add RCS to version
14188         (CVS::versionString): add CVS to version
14189
14190         * vc-backend.C (scanMaster): do not add CVS to version.
14191         (scanMaster): do not add RCS to version
14192
14193         * lyxvc.C (versionString): new method
14194
14195         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14196
14197 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * Spacing.C (set): initialize fval
14200
14201 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14202
14203         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14204         " or \.
14205
14206 2001-08-16  Juergen Vigna  <jug@sad.it>
14207
14208         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14209
14210 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * BufferView_pimpl.C:
14213         * figureForm.C:
14214         * lyxtext.h:
14215         * text2.C: setParagraph takes linespacing now
14216
14217 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14218
14219         * LyxAction.C: add internal LFUN_CITATION_INSERT
14220
14221         * LyXView.C: actually apply fix
14222
14223         * bufferlist.C: fix open non-existent file
14224
14225         * lyxfind.C: fix indentation
14226
14227         * lyxfunc.C: remove unneeded assert, fix typo
14228
14229 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14230
14231         * MenuBackend.C: use "Floatname List"
14232
14233 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14236         when converting LaTeX layout to insetERT.
14237         Generate a non-collapsed float when reading old float
14238
14239 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14240
14241         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14242         ERT insets.
14243
14244 2001-08-13  Juergen Vigna  <jug@sad.it>
14245
14246         * text.C (fill): return 0 instead of 20 as this seems to be the more
14247         correct value.
14248
14249 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14250
14251         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14252         lyxrc.font_norm.
14253
14254 2001-08-13  Juergen Vigna  <jug@sad.it>
14255
14256         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14257         casesensitive off.
14258         (SearchBackward): comment out the unlocking of the inset_owner this
14259         should not be needed!
14260
14261 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * Many files: Remove inherit_language, and add latex_language
14264
14265         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14266         collapsible insets.
14267
14268 2001-08-10  Juergen Vigna  <jug@sad.it>
14269
14270         * text.C (prepareToPrint): fixed hfill-width in draw!
14271
14272         * BufferView2.C (selectLastWord): save the selection cursor as this
14273         now is cleared in the function LyXText::clearSelection!
14274
14275 2001-08-08  Juergen Vigna  <jug@sad.it>
14276
14277         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14278         BACKSPACE type functions.
14279
14280         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14281         is only cutted from the document but not put in the cut-buffer, where
14282         still the old stuff should be.
14283
14284         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14285
14286         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14287
14288         * tabular.C (SetWidthOfCell): fixed special case where the width
14289         was not updated!
14290         (LeftLine): handle '|' in align_special.
14291         (RightLine): ditto
14292         (LeftAlreadyDrawed): ditto
14293         (SetWidthOfCell): ditto
14294
14295 2001-08-07  Juergen Vigna  <jug@sad.it>
14296
14297         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14298
14299 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14302         * lyxlex.[hC]: ditto
14303
14304 2001-08-06  Juergen Vigna  <jug@sad.it>
14305
14306         * text.C (getVisibleRow): fix up row clearing a bit.
14307
14308 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14309
14310         * minibuffer.C: make sure the X server sees the changes in the input.
14311
14312 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14313
14314         * paragraph.C (getFont): split into...
14315         (getLabelFont): this
14316         (getLayoutFont): and this
14317         * paragraph_pimpl.C (realizeFont): calling this
14318
14319         * text2.C (getFont): split into...
14320         (getLayoutFont): this
14321         (getLabelFont): and this
14322         (realizeFont): all three calling this
14323
14324         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14325         files where used.
14326
14327 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14330
14331 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14332
14333         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14334         layouts from the Quote inset insertion.
14335
14336 2001-08-03  Juergen Vigna  <jug@sad.it>
14337
14338         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14339
14340         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14341         only if status not is already CHANGED_IN_DRAW (second level).
14342
14343         * text.C (draw): don't set the need_break_row when inside an
14344         InsetText LyXText.
14345
14346 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14347
14348         * buffer.C (parseSingleLyXformat2Token): handle more latex
14349         conversion cases.
14350
14351         * bufferview_funcs.[hC]: change function names to
14352         begin with small char, adjust other files.
14353
14354 2001-08-02  André Pönitz <poenitz@gmx.net>
14355
14356         * lyxfunc.C:
14357         BufferView_pimpl.C: remove broken special code for math-greek
14358
14359 2001-08-02  Juergen Vigna  <jug@sad.it>
14360
14361         * BufferView_pimpl.C (update): redone this function so that we
14362         update the text again if there was a CHANGE_IN_DRAW.
14363
14364         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14365         (drawFromTo): added a new internal bool which is used by draw() and
14366         redraw() function.
14367         (general): some cursor drawing problems fixed.
14368
14369 2001-08-01  Juergen Vigna  <jug@sad.it>
14370
14371         * lyxfind.C (LyXFind): fixed
14372         (SearchForward): ditto
14373         (SearchBackward): ditto
14374
14375         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14376         spurius drawing of the cursor in the main area.
14377
14378         * text2.C (status): small fix which could lead to a segfault!
14379         (clearSelection): remove unneeded BufferView param.
14380
14381 2001-08-01  André Pönitz <poenitz@gmx.net>
14382
14383         * lyxfunc.C: small change due to changed mathed interface
14384
14385 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14388
14389 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * lyxfunc.c: fail gracefully if file doesn't exist
14392
14393         * LyXSendto.C:
14394         * buffer.C:
14395         * lyxfunc.C:
14396         * BufferView_pimpl.C: IsDirWriteable() proto changed
14397
14398         * LyXView.C: fix updateWindowTitle() to store the last title
14399
14400 2001-07-31  Juergen Vigna  <jug@sad.it>
14401
14402         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14403         the font (wrong since using of Paragraph::highestFontInRange).
14404
14405         * paragraph.C (highestFontInRange): added a default_size parameter.
14406
14407         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14408         (setHeightOfRow): reformat
14409
14410 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * converter.[hC] + affected files: move to (inital-char)lowercase
14413         function names.
14414
14415         * ParagraphParameters.C (ParagraphParameters): remove commented code
14416
14417         * PainterBase.[Ch]: remove commented code
14418
14419         * LaTeXFeatures.h: add "bool floats" for float.sty
14420
14421         * LaTeXFeatures.C (LaTeXFeatures): init floats
14422         (require): handle float
14423         (getPackages): do it with floats
14424
14425 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14426
14427         * BufferView_pimpl.C (Dispatch): improve handling of
14428         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14429
14430         * commandtags.h: #include lyxfont.h here temporarily to avoid
14431         keybinding bug.
14432
14433         * bufferlist.h: include LString.h here.
14434
14435 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14436
14437         * text2.C (getStringToIndex): new method.
14438
14439 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14440
14441         * *: Reduced header file dependencies all over.
14442
14443 2001-07-30  Baruch Even  <baruch@lyx.org>
14444
14445         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14446
14447 2001-07-29  Baruch Even  <baruch@lyx.org>
14448
14449         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14450
14451 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14452
14453         * ParameterStruct.h (endif): add a default constructor to make
14454         sure that all variables is initialized.
14455
14456         * ParagraphParameters.C (ParagraphParameters): adjust
14457
14458 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14461         index; also, check that there is something to index, and that it
14462         does not span over several paragraphs.
14463         (doubleClick): use WHOLE_WORD_STRICT for double click.
14464
14465         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14466
14467         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14468         scheme.
14469
14470 2001-07-26  Baruch Even  <baruch@lyx.org>
14471
14472         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14473         an InsetFig figure, backwards compatible reading of old figure code.
14474
14475 2001-07-27  Juergen Vigna  <jug@sad.it>
14476
14477         * text2.C: font.realize function adaption.
14478
14479         * text.C (draw): add a warnings lyxerr text if needed.
14480
14481         * layout.C: font.realize function adaption.
14482
14483         * language.C: add inherit_language and implement it's handlings
14484
14485         * bufferview_funcs.C (StyleReset): remove language parameter from
14486         font creation (should be language_inherit now).
14487
14488         * bufferparams.C (writeFile): handle ignore_language.
14489
14490         * paragraph.C (getFontSettings): the language has to be resolved
14491         otherwise we have problems in LyXFont!
14492
14493         * lyxfont.C (lyxWriteChanges): added document_language parameter
14494         (update): removed unneeded language parameter
14495
14496         * paragraph.C (validate): fixed wrong output of color-package when
14497         using interface colors for certain fonts in certain environments,
14498         which should not seen as that on the final output.
14499
14500 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * BufferView_pimpl.C:
14503         * Thesaurus.h:
14504         * Thesaurus.C:
14505         * Makefile.am:
14506         * commandtags.h:
14507         * LyXAction.C: add thesaurus support
14508
14509         * lyxfind.h:
14510         * lyxfind.C: add "once" parameter, for thesaurus, to not
14511           move to the next match
14512
14513 2001-07-26  Juergen Vigna  <jug@sad.it>
14514
14515         * lyxfont.C (realize): honor ignore_language too!
14516         (resolved): ditto.
14517
14518         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14519
14520         * text.C (draw): one place more for ignore_language to not draw
14521         itself!
14522
14523 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14524
14525         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14526
14527 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14530         the minipage conversion problem.
14531
14532 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14535         insert an inset.
14536
14537 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14538
14539         * BufferView.h: don't forward declare WorkArea
14540
14541         * BufferView.C: don't include WorkArea.h
14542
14543 2001-07-25  André Pönitz <poenitz@gmx.net>
14544
14545         * commandtags.h:
14546         * LyXAction.C:
14547         * lyxfunc.C:  new LFUN 'math-space'
14548
14549         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14550
14551 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * text2.C (toggleInset): call open/close
14554
14555 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * lyxfunc.C (dispatch): add debug for the disabled case
14558
14559         * font.C (buttonText): make similar to rectText
14560
14561         * buffer.C (readInset): comment out parsing of insetlist and
14562         insttheorem
14563
14564         * PainterBase.C (rectText): small correction
14565
14566         * BufferView_pimpl.C: comment out insettheorem and insetlist
14567         * LyXAction.C: ditto
14568         * commandtags.h: ditto
14569
14570 2001-07-24  Juergen Vigna  <jug@sad.it>
14571
14572         * text.C (draw): honor the ignore_language.
14573
14574         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14575
14576 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14579         char inset.
14580
14581 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14582
14583         * lyxtext.h: remove unused (and unimplemented) methods
14584
14585 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14586
14587         * text.C (getVisibleRow): honor background color
14588
14589         * PainterBase.h:
14590         * Painter.h: remove default color argument for fillRectangle
14591
14592         * text.C (backgroundColor): new method
14593
14594 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * text.C (getVisibleRow): adjust
14597
14598         * font.[Ch] (rectText): new method, metrics
14599         (buttonText): new method, metrics
14600
14601         * PainterBase.[hC]: make rectText and buttonText always draw and take
14602         fewer paramteres.
14603
14604 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14605
14606         * ToolbarDefaults.C (read):
14607         * MenuBackend.C (read): allow escaping in all strings
14608
14609         * BufferView_pimpl.C (insertAndEditInset): new method.
14610         (Dispatch): use insertAndEditInset whenever appropriate.
14611
14612         * BufferView_pimpl.C (insertNote): removed
14613
14614         * BufferView_pimpl.C (smartQuote): new method, moved from
14615         BufferView; if an insetquote cannot be inserted, insert a '"'
14616         character instead.
14617
14618         * BufferView2.C: remove insertCorrectQuote();
14619
14620         * lyxfunc.C (getStatus): Add support for all remaingin
14621         inset-insert lfuns.
14622
14623         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14624
14625         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14626         command (necessary to pass " as parameter of self-insert.
14627
14628         * text.C (selectWordWhenUnderCursor):
14629         (selectWord): add word_location parameter
14630         (selectWordWhenUnderCursor): same + remove special code for word
14631         boundary.
14632         (selectNextWord): use kind() to guess type of insetspecialchar,
14633         not latex().
14634
14635         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14636         (insertErtContents): create ert insets as collapsed.
14637         (readInset): better compatibility code for Info inset.
14638
14639 2001-07-20  Juergen Vigna  <jug@sad.it>
14640
14641         * lyxfunc.C (dispatch): use always LyXFind now!
14642
14643         * text2.C (init): add a reinit flag so that the LyXText can be
14644         reinited instead of deleted and reallocated (used in InsetText).
14645
14646         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14647
14648         * text.C: ditto
14649
14650         * text2.C: ditto
14651
14652 2001-07-18  Juergen Vigna  <jug@sad.it>
14653
14654         * text.C (selectNextWord): handle insets inside inset by calling
14655         always the bv->text functions so that we can go up the_locking_inset!
14656
14657         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14658         in strange locations when inside an inset!
14659
14660         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14661         handling to include insets.
14662
14663         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14664
14665 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * LyXAction.C (init):
14668         * commandtags.h:
14669         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14670         LIGATURE_BREAK, since the name is so stupid.
14671
14672 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14673
14674         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14675         InsetInfos.
14676
14677         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14678
14679         * sp_form.[Ch]: remove.
14680
14681         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14682
14683         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14684         InsetInfo.
14685
14686         * src/buffer.C (readInset): ditto.
14687
14688 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14689
14690         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14691         menuSeparator(), endOfSentenceDot(), ldots() and
14692         hyphenationPoint(), which are therefore removed.
14693         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14694
14695         * LyXAction.C (init):
14696         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14697
14698         * paragraph.C (getWord): removed.
14699
14700         * BufferView_pimpl.C (Dispatch): use last word or selection for
14701         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14702
14703         * lyx_main.C (queryUserLyXDir): do not ask before creating
14704         user_dir, except if it has been named explicitely.
14705
14706 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14707
14708         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14709         a document of zero size.
14710
14711 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14712
14713         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14714         approriately in the c-tor and in require().
14715         (getPackages): output the appropriate LaTeX for natbib support.
14716
14717         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14718         variables "use_natbib" and "use_numerical_citations" when reading the
14719         LyX file.
14720         (readInset): read the various natbib cite commands.
14721         (validate): white-space change.
14722
14723         * bufferparams.[Ch]: new variables "bool use_natbib" and
14724         "bool use_numerical_citations".
14725         (writeFile): output them in the LyX file.
14726
14727 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14728
14729         * lyxfunc.C (getStatus): add support for all the inset insertion
14730         commands.
14731
14732         * text2.C (insertInset):
14733         * paragraph.C (insetAllowed):
14734         * BufferView_pimpl.C (insertInset): update to take in account the
14735         renaming of insertInsetAllowed
14736
14737         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14738
14739         * text2.C (getInset): new method. returns inset at cursor position.
14740
14741         * BufferView_pimpl.C (Dispatch): changes because of this.
14742
14743         * LyXAction.C (init): rename open-stuff to inset-toggle.
14744
14745         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14746
14747         * text2.C (toggleInset): renamed from openStuff; use
14748         Inset::open().
14749
14750 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14751
14752         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14753
14754         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14755
14756 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14757
14758         * buffer.C (readLyXformat2): Add filename to the error dialog
14759
14760 2001-07-18  Juergen Vigna  <jug@sad.it>
14761
14762         * tabular.C (GetCellNumber): put an assert here instead of the check!
14763
14764 2001-07-17  Juergen Vigna  <jug@sad.it>
14765
14766         * BufferView_pimpl.C (toggleSelection): adapted too.
14767
14768         * text.C (selectNextWord): adapted for use with insets.
14769         (selectSelectedWord): ditto
14770
14771 2001-07-17  Juergen Vigna  <jug@sad.it>
14772
14773         * sp_spell.C (PSpell): fix initialitation order.
14774
14775 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14776
14777         * paragraph.C: spacing
14778
14779 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14780
14781         * sp_spell.C: repair language selection for pspell
14782
14783 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * lyxfunc.h: change more methods to begin with lower char.
14786
14787 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14788
14789         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14790         for unknown layouts.
14791
14792 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14793
14794         * buffer.C (readLyXformat2): Generate an error dialog if there are
14795         unknown layouts.
14796
14797 2001-07-16  Juergen Vigna  <jug@sad.it>
14798
14799         * sp_spell.C: always compile ISpell part.
14800
14801         * lyxrc.C: added use_pspell entry and it's handling.
14802
14803 2001-07-13  Juergen Vigna  <jug@sad.it>
14804
14805         * sp_spell.C: removed double includes.
14806
14807 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14808
14809         Consistent use of Lsstream.h:
14810         * Lsstream.h: added using std::stringstream for consistencies sake.
14811
14812         * buffer.C: removed using std::stringstream
14813
14814         * lyxfont.C (stateText):
14815         * paragraph.C (asString):
14816         * text.C (selectNextWord, selectSelectedWord):
14817         * text2.C (setCounter):
14818         * vspace.C (asString, asLatexString):
14819         std::ostringstream -> ostringstream.
14820
14821 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14822
14823         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14824         * commandtags.h: add LFUN_HELP_ABOUTLYX
14825         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14826
14827 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14828
14829         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14830         cursorToggle()
14831         * lyx_gui_misc.C: remove spellchecker
14832         * lyxfunc.C: showSpellchecker
14833         * sp_base.h: added
14834         * sp_ispell.h: added
14835         * sp_pspell.h: added
14836         * sp_spell.C: added
14837         * sp_form.[Ch]: removed
14838         * spellchecker.[Ch]: removed
14839
14840 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14841
14842         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14843         is set.
14844         (simpleTeXSpecialChars): Simply print the input character without
14845         any special translation if pass_thru is set.
14846
14847         * layout.h: Added bool pass_thru to layout class for being able to
14848         implement pass through of a paragraph for Literate Programming.
14849
14850         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14851         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14852         * layout.C (Read): add "passthru" to list of layout tags and add
14853         code to set the pass_thru boolean when it is read.
14854
14855 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * trans_decl.h: remove allowed from KmodInfo
14858
14859         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14860         remove allowed code
14861         (Load): adjust
14862
14863         * paragraph_pimpl.C (erase): use boost::prior
14864
14865         * Painter.C (text): use data() instead of c_str() when length is
14866         also provided.
14867         * WorkArea.C (putClipboard): ditto
14868         * font.h (width): ditto
14869
14870         * BufferView2.C: use it-> instead of (*it). for iterators
14871         * texrow.C: ditto
14872         * paragraph_pimpl.C: ditto
14873         * paragraph.C: ditto
14874         * minibuffer.C: ditto
14875         * language.C: ditto
14876         * kbmap.C: ditto
14877         * encoding.C: ditto
14878         * counters.C: ditto
14879         * converter.C: ditto
14880         * chset.C: ditto
14881         * Variables.C: ditto
14882         * TextCache.C: ditto
14883         * MenuBackend.C: ditto
14884         * LyXAction.C: ditto
14885         * LColor.C: ditto
14886         * FloatList.C: ditto
14887         * DepTable.C: ditto
14888         * ColorHandler.C (LyXColorHandler): ditto
14889
14890 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14891
14892         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14893
14894         * text2.C (openStuff): reintroduce this method (which had been
14895         nuked in NEW_INSETS frenzy).
14896
14897         * lyxfunc.C (Dispatch): when an action has not been handled, use
14898         its name in the error message, not its number.
14899
14900         * paragraph.C (inInset): change method name to begin with lowercase.
14901
14902         * undo_funcs.C:
14903         * text2.C: updates because of this.
14904
14905 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14906
14907         * ToolbarDefaults.C (add): add spaces in error message
14908
14909 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14912         (readLyXformat2): rename return_par to first_par, use lyxlex's
14913         pushToken and remove the manual push handling.
14914         (parseSingleLyXformat2Token): add another ert comp. variable:
14915         in_tabular, rename return_par to first_par. handle newlines better
14916
14917 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14920
14921 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text2.C (getParFromID): removed
14924
14925         * buffer.C (getParFromID): new method moved form lyxtext.
14926         * BufferView2.C (insertErrors): adjust
14927         (setCursorFromRow): adjust
14928         * BufferView_pimpl.C (restorePosition): adjust
14929         * lyxfunc.C (Dispatch): adjust
14930         * undo_funcs.C (textUndo): adjust
14931         (textRedo): adjust
14932         (textHandleUndo): adjust
14933         (textHandleUndo): adjust
14934
14935 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14936
14937         * buffer.C: up' the LYX_FORMAT
14938
14939         * lyxfont.h: turn NO_LATEX on as default
14940
14941         * buffer.C (insertErtContents): new methods of tex style compability.
14942         (parseSingleLyXformat2Token): use it several places.
14943         * tabular.C (OldFormatRead): and here
14944
14945 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * text2.C: remove some commented code.
14948         reindent file.
14949
14950         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14951         * trans.C: changes because of the above.
14952
14953 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * text2.C (setCounter): Fix counters bug with bibliography layout.
14956
14957 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14958
14959         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14960         own member functions
14961         (simpleTeXSpecialChars): ditto
14962
14963 2001-07-06  Juergen Vigna  <jug@sad.it>
14964
14965         * a lot of files: changed the access to LyXText::status and the
14966         call of undo-functions.
14967
14968         * undo.[Ch]: added a inset_id to the undo informations.
14969
14970         * undo_funcs.[Ch]: added and moved here all undo functions.
14971
14972         * lyxtext.h: give the status enum a weight, made status_ a private
14973         variable and made accessor functions for it, removed the whole bunch
14974         of undo-functions as they are now in their own file, make some
14975         functions publically available. Added function ownerParagraph with
14976         int parameter.
14977
14978         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14979         made InInset() a const function, added getParFromID() function.
14980
14981         * buffer.[Ch]: added const version for inset_iterator functions,
14982         added getInsetFromID() function.
14983
14984         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14985         changed undo functions for new version.
14986
14987 2001-07-05  Juergen Vigna  <jug@sad.it>
14988
14989         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14990         unknow mechanism does not call the proper constructor but only this
14991         one also if I request the other!?
14992
14993 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14994
14995         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14996
14997         * text2.C (LyXText): use initialization lists.
14998
14999         * lyxtext.h (Selection): initialize set_ and mark_
15000         (init): remove method
15001
15002 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15005
15006 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * screen.[Ch]: change method names to begin with lowercase
15009
15010         * BufferView_pimpl.C (updateScrollbar): simplify further and
15011         hopefully make it a bit faster.
15012
15013 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15016         calling directly xforms functions.
15017
15018         * Painter.C (Painter):
15019         * lyx_cb.C (MenuWrite):
15020         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15021         fl_display.
15022
15023         * lyx_gui.C: remove bogus guiruntime extern declaration.
15024
15025 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15026
15027         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15028         in NEW_INSETS
15029         (redoDrawingOfParagraph): ditto
15030         (redoParagraphs): ditto
15031         (cutSelection): don't create a object for CutAndPaste use the
15032         static method directly
15033         (pasteSelection): ditto
15034
15035         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15036         LyXview (+ rename)
15037
15038 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * modifications to some other files because of this.
15041
15042         * Makefile.am (lyx_SOURCES): add XFormsView
15043
15044         * XFormsView.[Ch]: new files
15045
15046         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15047         the main window. Move the gui dependent stuff to XFormsView
15048
15049 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * tabular.C (GetCellInset): update cur_cell also in the row/col
15052         version of this function.
15053
15054         * lyxfunc.C: no need to include figure_form.h here.
15055
15056         * FontLoader.h:
15057         * lyxfunc.h:
15058         * lyxscreen.h:
15059         * text2.C:
15060         * lyxvc.C: no need to include forms.h here.
15061
15062 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15065
15066         * lyxfunc.C (Dispatch):
15067         * Spacing.C (set):
15068         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15069         constructor argument.
15070
15071 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * paragraph.C (Paragraph): dont't clear, and just set layout.
15074         (makeSameLayout): use params's copy contructor.
15075
15076         * ParagraphParameters.[Ch] (makeSame): delete method
15077
15078 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * Variables.[Ch]: fix indentation, rename set to isSet
15081
15082 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * lyxfunc.C (Dispatch): fix typo
15085
15086 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15089         upper_bound.
15090
15091         * bufferlist.C: include assert.h for emergencyWrite().
15092
15093 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15096           give up at last (bug #425202) !
15097
15098 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * lyx_gui_misc.C:
15101         * sp_form.h:
15102         * sp_form.C:
15103         * spellchecker.h:
15104         * spellchecker.C: strip spellchecker options and bring up
15105           preferences tab instead
15106
15107 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15110         the istringstream constructor
15111
15112 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * paragraph.C (getLayout): fix return value
15115
15116         * paragraph.h: do not declare getLayout as inline.
15117
15118         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15119
15120 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15121
15122         * lyxcursor.h (operator<): new func
15123         (operator>): new func
15124         (operator>=): new func
15125         (operator<=): new func
15126
15127         * text.C (changeCase): use selection.start and selection.end
15128         (changeRegionCase): require from to be <= to. Require par to be a
15129         valid paragraph.
15130
15131         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15132
15133 2001-06-27  Juergen Vigna  <jug@sad.it>
15134
15135         * text.C (cursorLeftOneWord): changed to return the cursor and added
15136         overlay with BufferView * parameter which calls this one.
15137         (getWord): added
15138         (selectWord): use new getWord function.
15139         (changeCase): renamed from changeWordCase as and extended to work
15140         also on selections.
15141
15142         * lyxtext.h: added enum word_location
15143
15144         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15145         changeCase as this operates now also on selections.
15146
15147 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15148
15149         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15150
15151         * many files: send debug output to Debug::INFO instead of
15152         Debug::ANY.
15153
15154         * converter.C (View):
15155         (Convert):
15156         (Move): send debug output to Debug::FILES instead of console.
15157
15158 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15159
15160         * lyxfunc.C (getStatus): use func_status
15161
15162         * func_status.h: new header, describing the results of
15163         LyXFunc::getStatus;
15164
15165         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15166         LFUN_MATH_HALIGN.
15167
15168 2001-06-25  The LyX Project  <jug@sad.it>
15169
15170         * buffer.C (sgmlOpenTag):
15171         (sgmlCloseTag):
15172         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15173
15174 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15175
15176         * text2.C: remove some dead code
15177
15178         * tabular.C (GetCellInset): store the last cell checked (gotten)
15179
15180         * tabular.h: add the helper for the speedup
15181
15182         * lyxtext.h: remove some dead code
15183
15184 2001-06-26  The LyX Project  <Asger>
15185
15186         * paragraph.C: Change export to LaTeX of alignment to
15187         \begin{center} and family for better roundtrip work with reLyX.
15188
15189         * Tune the math drawing a bit.
15190
15191 2001-06-25  The LyX Project  <Asger>
15192
15193         * LColor.C (LColor): New color for math background. New color
15194         for buttons.
15195
15196 2001-06-25  The LyX Project  <jug@sad.it>
15197
15198         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15199
15200         * lyxfunc.C (Open):
15201         * bufferlist.C (newFile): do not restrict to files ending with
15202         .lyx
15203
15204         * BufferView_pimpl.C (MenuInsertLyXFile):
15205
15206 2001-06-24  The LyX Project  <jug@sad.it>
15207
15208         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15209         of compare_no_case
15210
15211 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * lyxtext.h: rename most methods to begin with a small char.
15214         Lots of changes because of this.
15215
15216         * paragraph.C (Paragraph): do not call fitToSize
15217         (erase): call Pimpl::erase
15218         (insertChar): call Pimpl::insertChar
15219         (insertInset): call Pipl::insertInset
15220         (breakParagraph): do not call fitToSize
15221         (breakParagraphConservative): do not call fitToSize
15222         (fitToSize): remove method
15223
15224         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15225
15226 2001-06-24  The LyX Project  <Asger>
15227
15228         * Fix Qt compilation^2
15229
15230 2001-06-24  The LyX Project  <jug@sad.it>
15231
15232         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15233         depthHook(getDepth()-1).
15234
15235         * paragraph.h:
15236         * ParagraphParameters.h:
15237         * ParameterStruct.h: change type of depth to unsigned int ==
15238         depth_type. Many adaptations to other files before of that.
15239
15240 2001-06-24  The LyX Project  <Asger>
15241
15242         * Fix Qt compilation.
15243
15244 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15245
15246         * paragraph.h: renamed several methods to begin with small letter.
15247         several changes to many parts of the code because of this.
15248
15249 2001-06-23  The LyX Project  <jug@sad.it>
15250
15251         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15252         rewritten to discard all double spaces when KeepEmpty is off
15253         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15254         to only handle newlines but not fiddle with spaces and friends.
15255
15256         * lyxfunc.C (MenuNew): when doing 'new from template', use
15257         template_path as default directory
15258
15259 2001-06-23  The LyX Project  <Asger>
15260
15261         * Clean-up of header file includes all over
15262         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15263
15264 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15265
15266         * paragraph.h: renamed from lyxparagraph.h
15267
15268 2001-06-23  Asger  <lyx@violet.home.sad.it>
15269
15270         * Buffer.h: Removed Buffer::resize
15271         * BufferList.h: Removed BufferList::resize
15272         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15273         the document lazily when we change the width, or the font settings.
15274
15275 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15276
15277         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15278
15279 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * buffer.h: remove out of date comment
15282
15283 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15284
15285         * lyxscreen.h:
15286         * screen.C: fix "theoretical" GC leak
15287
15288 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * LaTeX.C (scanAuxFile):
15291         (deplog): remove trailing \r when reading stream (useful under
15292         win32)
15293
15294 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15295
15296         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15297         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15298         and BufferView::theLockingInset(Inset*), so should use them and not
15299         access bv_->text->the_locking_inset directly.
15300
15301         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15302
15303 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15304
15305         * Makefile.am:
15306         * tex-defs.h: remove old unused file
15307
15308 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * BufferView_pimpl.C: fix typo, remove minibuffer message
15311           when buffer has loaded
15312
15313 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * lyxfunc.C (Dispatch): use stringstream
15316         (MenuNew): use stringstream
15317         (Open): use stringstream
15318
15319         * importer.C (Import): use stringstream
15320
15321         * bufferview_funcs.C (CurrentState): use stringstream
15322
15323         * LaTeX.C (run): use stringstream
15324
15325         * BufferView_pimpl.C (savePosition): use stringstream
15326         (restorePosition): use stringstream
15327         (MenuInsertLyXFile): use stringstream
15328
15329 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * BufferView.C:
15332         * Bullet.C:
15333         * ColorHandler.C:
15334         * FontInfo.C:
15335         * FontLoader.C:
15336         * LColor.C:
15337         * LaTeXFeatures.C:
15338         * Painter.C:
15339         * gettext.C:
15340         * lyx_gui_misc.C:
15341         * lyxserver.C:
15342         * vspace.C: removed // -*- C++ -*- as first line.
15343
15344         * lyxfind.h:
15345         * version.h: added // -*- C++ -*- as first line.
15346
15347 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15350
15351         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15352         of string
15353
15354 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15357         of floats.
15358
15359 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15360
15361         * gettext.C: include LString.h even when --disable-nls is on.
15362
15363 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15364
15365         * converter.h (Get): changed argument type from int to
15366         FormatList::size_type to avoid unnecessary conversion.
15367
15368         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15369         before using it.
15370
15371 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * gettext.h: include LString.h even when --disable-nls is on.
15374
15375 2001-06-07  Juergen Vigna  <jug@sad.it>
15376
15377         * text.C (BreakAgain): subst spaces with tabs.
15378
15379         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15380         (resizeInsetsLyXText): set force on resizeLyXText.
15381
15382 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * gettext.h (gettext_init):
15385         (locale_init): use a real definition instead of a macro
15386
15387 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15388
15389         * Bufferview_pimpl.C:
15390         * LColor.h:
15391         * LColor.C: further lcolor tidies
15392
15393 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15394
15395         * BufferView_pimpl.C (updateScrollbar): simplify.
15396
15397         * BufferView2.C: don't include insets/insetinfo.h, change
15398         prototype for insertInset and call the Pimpl version. let
15399         updateInset call Pimpl version.
15400
15401         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15402         gotoInset to BufferView::Pimpl
15403
15404 2001-06-01  Juergen Vigna  <jug@sad.it>
15405
15406         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15407         inside a LockingInset (is the update needed at all?).
15408
15409 2001-05-31  Juergen Vigna  <jug@sad.it>
15410
15411         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15412         here not the old one otherwise how should we compare it afterwards
15413         if it's the same!
15414
15415 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15416
15417         * lyxfont.C:
15418         * tabular.C:
15419         * tabular-old.C:
15420         * FontInfo.C: bring C functions into global namespace when
15421         necessary
15422
15423 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * LString.h: make sure config.h has been loaded before LString.h.
15426
15427         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15428         (one for each char read by EatLine!).
15429
15430         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15431         variables.
15432
15433 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15436         to the same as the par we break from
15437
15438 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15439
15440         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15441
15442         * MenuBackend.C (expand): also create menu entries for wide
15443         versions of the floats.
15444
15445         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15446
15447         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15448
15449         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15450         frontends/Makefile.am
15451
15452         * text2.C: adjust
15453         * text.C: adjust
15454
15455
15456         * tabular.C (getTokenValue): add std::
15457
15458         * tabular-old.C (getTokenValue): add std::
15459         (getTokenValue): ditto
15460         (getTokenValue): ditto
15461
15462         * screen.C (ToggleSelection): adjust
15463
15464         * lyxtext.h: put selection cursors inside a Selection struct.
15465
15466         * lyxfunc.C (moveCursorUpdate): adjust
15467
15468         * lyxfont.C (latexWriteStartChanges): add std::
15469
15470         * lyxfind.C: adjust
15471
15472         * font.h: delete with(char const *, LyXFont const &)
15473
15474         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15475
15476         * FontInfo.C (getFontname): add std::
15477
15478         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15479         (workAreaButtonPress): adjust
15480         (tripleClick): adjust
15481         (update): adjust
15482         (moveCursorUpdate): adjust
15483         (Dispatch): adjust
15484
15485         * BufferView2.C (gotoInset): adjust
15486
15487 2001-05-30  Juergen Vigna  <jug@sad.it>
15488
15489         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15490         to check pspell I add this as default as I now have new pspell
15491         libraries and they seem to use this.
15492
15493 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15494
15495         * text2.C (CutSelection): make the cursor valid before the call to
15496         ClearSelection.
15497
15498 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15501         relied on 0 terminated strings and other horrors. Bug found due to
15502         the new assert in lyxstring!
15503
15504         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15505         KP_ keys.
15506
15507 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15508
15509         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15510         to latinkeys.bind.
15511
15512         * lyxfunc.C (processKeySym): change method of getting to the
15513         self-insert char.
15514
15515         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15516         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15517         * BufferView_pimpl.[Ch]: here as private methods.
15518
15519 2001-05-28  Juergen Vigna  <jug@sad.it>
15520
15521         * text.C (SetHeightOfRow): added the update() call again as it is
15522         needed to initialize inset dimensions!
15523
15524 2001-05-16  Juergen Vigna  <jug@sad.it>
15525
15526         * text2.C (SetCharFont): Add new function with BufferView * and
15527         bool toggleall parameters for setting insets internal fonts.
15528         (SetFont): Freeze the undo as we may change fonts in Insets and
15529         all this change should be inside only one Undo!
15530
15531         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15532         setting font's in insets as for them we have the SetFont function!
15533
15534 2001-05-15  Juergen Vigna  <jug@sad.it>
15535
15536         * text2.C (ClearSelection): to be sure we REALLY don't have any
15537         selection anymore!
15538
15539         * tabular.C (TeXCellPreamble): fixed the left border problem for
15540         multicolumn cells.
15541
15542 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15543
15544         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15545         dependancy file
15546
15547 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15550         LFUN_BREAKPARAGRAPH.
15551
15552         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15553         help test to "internal only", similar for LFUN_INSERT_URL
15554
15555         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15556         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15557         auto_region_delete and deadkeys.
15558
15559 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15560
15561         * LColor.h:
15562         * LColor.C: remove some dead entries, tidy a little
15563
15564 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15567         commented code.
15568         (Dispatch): implement LFUN_ESCAPE
15569
15570         * commandtags.h: add LFUN_ESCAPE
15571
15572         * LyXAction.C (init): add entry for LFUN_ESCAPE
15573
15574         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15575         Remove commented code.
15576         (insertNote): moved here
15577         (open_new_inset): moved here
15578
15579         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15580         BufferView_pimpl
15581
15582 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * kbmap.C (findbinding): clean it up and make it work correctly.
15585
15586         * lyx_main.C (init): do not pass argc and argv as parameters
15587
15588 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15589
15590         * buffer.C: fix path for OS/2 & Win32
15591
15592         * lyx_gui.C:
15593         * lyx_main:
15594         * lyx_main.C: Added os:: class.
15595
15596         * os2_defines.h: update
15597
15598 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15601         better by trying again with reduced state.
15602
15603 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyxrc.C (read): print error about invalid key sequence only when
15606         debugging (because not all latinX keysyms are known to some X
15607         servers)
15608
15609         * kbsequence.C (getiso): add a few std:: qualifiers
15610         (getiso): comment out extra return statement.
15611
15612 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15615         handling.
15616         (Dispatch): enhance the accent inset a bit. (not perfect)
15617
15618 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15619
15620         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15621
15622 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15623
15624         * bufferlist.C (emergencyWrite): fix assert() call
15625
15626 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15627
15628         * text.C (InsertChar): Added trivial patch to only send the "you
15629         can not do multiple spaces this way" message once during a
15630         session.
15631
15632 2001-05-08  Baruch Even  <baruch@lyx.org>
15633
15634         * Makefile.am: Changed order of libraries to get LyX to link properly
15635         with the gnome frontend.
15636
15637 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * LaTeXFeatures.h: add a std:: qualifier
15640
15641 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15642
15643         * paragraph.C (String): use stringstream
15644
15645 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15646
15647         * paragraph.C (writeFile): remove footflag arg
15648
15649         * buffer.C (makeLaTeXFile): use stringstream
15650         (latexParagraphs): remove footnot gurba
15651
15652         * LaTeXFeatures.C (getPackages): use stringstream
15653         (getMacros): likewise
15654         (getTClassPreamble): likewise
15655         (getFloatDefinitions): new method
15656
15657         * paragraph.C (writeFile): reindent
15658         (Erase): reindent
15659
15660         * WorkArea.h: revert the xpos + etc changes.
15661
15662         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15663
15664         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15665
15666         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15667         (pasteSelection): likewise
15668         * text2.C (CreateUndo): likewise
15669
15670 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * minibuffer.C (peek_event): temporarily reduce the functionality
15673         of the minibuffer (to allow args on lfuns)
15674
15675         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15676         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15677
15678         * buffer.C (readInset): add compability reading of old float
15679         lists, add reading of new style float list.
15680         (readInset): avoid reevaluation of inscmd.getCmdName()
15681         (getLists): reindent
15682
15683         * MenuBackend.C (MenuItem): implement parsing of
15684         md_floatlistinsert and md_floatinsert.
15685         (expand::LastFiles): move initalizaton of iterators out of loop,
15686         avoid reevaluation.
15687         (expand::Documents): introduce typdedef vector<string> Strings,
15688         and use it.
15689         (expand::ExportFormats): introduce typedef vector<Format const *>
15690         Formats, and use it.
15691         (expand): implement FloatListInsert and FloatInsert.
15692
15693         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15694         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15695         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15696
15697         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15698         handling.
15699         (Dispatch::LFUN_FLOAT_LIST): implement
15700
15701 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15702
15703         * LaTeX.C (run): Fix problem with --export code.
15704
15705 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * BufferView.[Ch] (workarea): removed.
15708         (getClipboard) new method; wrapper for workarea()->getClipboard()
15709
15710         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15711         bug.
15712
15713         * WorkArea.h (width, height, xpos, ypos): These methods all
15714         returned the dimensions of the work_area sub-area of WorkArea,
15715         resulting in a position error if the WorkArea were resized. Now
15716         return the dimensions of the entire WorkArea.
15717
15718         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15719
15720 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15721
15722         * LaTeX.C (deplog): correct the syntax of regex reg1
15723
15724 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15725
15726         * undo.C: remove !NEW_INSETS cruft
15727
15728 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15729
15730         * text2.C: remove !NEW_INSETS cruft
15731
15732         * text.C: remove !NEW_INSETS cruft
15733
15734         * tabular.C: remove !NEW_INSETS cruft
15735
15736         * spellchecker.C: remove !NEW_INSETS cruft
15737
15738         * lyxtext.h: remove !NEW_INSETS cruft
15739
15740         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15741
15742         * lyxfunc.C: remove !NEW_INSETS cruft
15743
15744         * lyxfind.C: remove !NEW_INSETS cruft
15745
15746         * lyx_cb.C: remove !NEW_INSETS cruft
15747
15748         * figureForm.C: remove  !NEW_INSETS cruft
15749
15750         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15751
15752         * buffer.[Ch]: remove !NEW_INSETS cruft
15753
15754         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15755
15756         * CutAndPaste.C: remove !NEW_INSETS cruft
15757
15758         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15759
15760         * BufferView2.C: remove !NEW_INSETS cruft
15761
15762         * BufferView.h: remove !NEW_INSETS cruft
15763
15764 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * Lsstream.h: include LString.h before the sstream headers to
15767         fix problem with gcc 2.95.3 and lyxstring
15768
15769 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * lyx_main.C: add using directives when needed for C functions
15772         declared in std:: namespace.
15773
15774 2001-04-27  Juergen Vigna  <jug@sad.it>
15775
15776         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15777         (SetHeightOfRow): comment out the update call should not be needed!
15778
15779 2001-04-13  Juergen Vigna  <jug@sad.it>
15780
15781         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15782         (LyXTabular): tried to minimize operator= operations (and realized
15783         hopfully Lars wish).
15784
15785 2001-04-27  Juergen Vigna  <jug@sad.it>
15786
15787         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15788
15789 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15792
15793         * buffer.C (readInset): hack to make listof algorithm work
15794
15795         * BufferView_pimpl.C: hack to make listof algorithm work
15796
15797 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * LyXAction.C: removed all !NEW_INSETS cruft
15800         (init): moved lfun_item in method
15801
15802         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15803
15804 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * BufferView2.C (theLockingInset): white space.
15807
15808 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15809
15810         * minibuffer.C: include <iostream>
15811
15812         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15813
15814         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15815
15816         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15817
15818         * text.[Ch] (TransposeChars): new method
15819
15820 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * call message directly through LyXView instead of through LyXFunc
15823         * BufferView2.C: adjust
15824         * BufferView_pimpl.C: adjust
15825         * FontLoader.C: adjust
15826         * buffer.C: adjust
15827         * bufferview_funcs.C: adjust
15828         * converter.C: adjust
15829         * figureForm.C: adjust
15830         * importer.C: adjust
15831         * lyx_cb.C: adjust
15832         * lyx_gui_misc.C: adjust
15833         * lyxfunc.C: adjust
15834         * lyxvc.C: adjust
15835         * text2.C: adjust
15836         + more files in subdirs
15837
15838         * lyxparagraph.h (size): move up int file
15839         (GetLayout): ditto
15840
15841         * adjust all uses of Assert to lyx::Assert.
15842
15843         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15844         lyxfunctional in namespace lyx
15845         * layout.C (hasLayout): ditto
15846         (GetLayout): ditto
15847         (GetLayout): ditto
15848         (delete_layout): ditto
15849         (NumberOfClass): ditto
15850         * converter.C (GetFormat): ditto
15851         (GetNumber): ditto
15852         (Add): ditto
15853         (Delete): ditto
15854         (SetViewer): ditto
15855         * bufferlist.C (getFileNames): ditto
15856         (emergencyWriteAll): ditto
15857         (exists): ditto
15858         (getBuffer): ditto
15859         * MenuBackend.C (hasSubmenu): ditto
15860         (hasMenu): ditto
15861         (getMenu): ditto
15862         * BufferView_pimpl.C (getInsetByCode): ditto
15863
15864 2001-04-18  Juergen Vigna  <jug@sad.it>
15865
15866         * vspace.C (asLatexString): fixed the 100% problem.
15867
15868 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * lyxfunc.C (Dispatch):
15871         * minibuffer.C:
15872         * minibuffer.h: add a few std:: qualifiers
15873
15874 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * minibuffer.[Ch]: reimplement so that commands is initiated and
15877         run from lyxfunc, simplified som handling, and made the completion
15878         and history code for complete. wip.
15879
15880         * lyxfunc.C (processKeySym): call message
15881         (miniDispatch): new temporary method
15882         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15883         (LFUN_MESSAGE): implement
15884         (LFUN_MESSAGE_PUSH): implement
15885         (LFUN_MESSAGE_POP): implement
15886         (initMiniBuffer): the initial/defualt minibuffer message.
15887
15888         * lyxfont.[Ch]: inline some more getters
15889
15890         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15891
15892         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15893
15894         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15895         (AutoSave): use LFUN_MESSAGE
15896         (Reconfigure): ditto
15897
15898         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15899
15900         * figureForm.C: use LFUN_MESSAGE
15901
15902         * converter.C (runLaTeX): use LFUN_MESSAGE
15903
15904         * bufferview_funcs.C: use LFUN_MESSAGE
15905         (Melt): ditto
15906         (changeDepth): ditto
15907
15908         * bufferparams.h: use boost::
15909
15910         * bufferlist.h: inherit privately from noncopyable
15911
15912         * bufferlist.C (loadLyXFile): remove some commented code.
15913
15914         * buffer.C (runChktex): use LFUN_MESSAGE
15915
15916         * ShareContainer.h: inherit privately from noncopyable
15917
15918         * ParagraphParameters.[hC] (depth): inline it.
15919
15920         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15921         methods.
15922         (message): new method
15923         (messagePush): ditto
15924         (messagePop): ditto
15925         (show): init minibuffer
15926         (showState): direct call
15927
15928         * LaTeX.[Ch]: inherit privately from noncopyable
15929         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15930         instead of WriteStatus.
15931
15932         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15933
15934         * BufferView_pimpl.C (buffer): don't init minibuffer
15935         (workAreaButtonPress): use LFUN_MESSAGE
15936         (workAreaButtonRelease): ditto
15937         (savePosition): ditto
15938         (restorePosition): ditto
15939         (MenuInsertLyXFile): ditto
15940         (workAreaExpose): don't init minibuffer
15941         (update): remove commented code, simplify
15942
15943         * BufferView2.C (openStuff): use LFUN_MESSAGE
15944         (toggleFloat): ditto
15945         (menuUndo): ditto
15946         (menuRedo): ditto
15947         (copyEnvironment): ditto
15948         (pasteEnvironment): ditto
15949         (copy): ditto
15950         (cut): ditto
15951         (paste): ditto
15952         (gotoInset): ditto
15953         (updateInset): remove some commented code
15954
15955         * lastfiles.h: inherit privately from noncopyable
15956         * layout.h: ditto
15957         * lyx_gui.h: ditto
15958         * lyx_main.h: ditto
15959         * lyxlex.h: ditto
15960         * lyxlex_pimpl.h: ditto
15961
15962         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15963         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15964         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15965
15966         * LyXAction.h: inherit privately from noncopyable, add methods
15967         func_begin, func_end, returning iterators to the func map.
15968
15969         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15970         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15971         (func_begin): new method
15972         (func_end): new method
15973
15974         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15975         and not)
15976         (copySelection): ditto
15977         (pasteSelection): ditto
15978
15979         * BufferView.C: whitespace change
15980         * BufferView.h: inherit privately from noncopyable
15981
15982 2001-04-16  Allan Rae  <rae@lyx.org>
15983
15984         * tabular-old.C (l_getline):
15985         * spellchecker.C (sc_check_word):
15986         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15987         an unrecognised preprocessor directive.  So ensure they're wrapped.
15988
15989 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15990
15991         * src/exporter.C (Export): Give an error message when path to file
15992         contains spaces.
15993
15994 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15995
15996         * LaTeX.C (deplog): Always check that foundfile exists.
15997
15998 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * lyx_main.h:
16001         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16002
16003 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * tabular.[Ch] (getLabelList): implement new method
16006
16007         * minibuffer.h: comment ouf setTiimer
16008
16009         * minibuffer.C (ExecutingCB): constify res
16010         (peek_event): constify s
16011         (Set): constify ntext
16012         (Init): constify nicename
16013
16014         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16015
16016         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16017         (savePosition): use two params to Minibuffer::Set
16018         (restorePosition): ditto
16019
16020 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * lyx_main.C: include language.h
16023
16024         * Makefile.am (lyx_main.o): add language.h
16025
16026 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16027
16028         * exporter.C:
16029         * paragraph.C:
16030         * screen.C:
16031         * tabular.C:
16032         * CutAndPaste.C: include gettext.h
16033
16034         * lyxfont.h: remove old hack with ON and OFF.
16035
16036         * lyxparagraph.h:
16037         * lyxfont.h: do not include language.h...
16038
16039         * BufferView2.C:
16040         * LaTeXFeatures.C:
16041         * Painter.C:
16042         * bufferview_funcs.C:
16043         * font.C:
16044         * lyxfont.C:
16045         * text.C:
16046         * text2.C:
16047         * trans_mgr.C:
16048         * paragraph.C: ... but do it here instead
16049
16050 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16053
16054         * tabular.C: small reformat
16055
16056         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16057         NEW_INSETS version
16058         (GetChar): ditto
16059         (BreakParagraph): ditto
16060         (SetOnlyLayout): ditto
16061         (SetLayout): ditto
16062
16063         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16064         with one arg less.
16065
16066         * lastfiles.C: removed most using decl, add std:: where needed
16067
16068         * buffer.C: ws changes
16069
16070         * MenuBackend.C (class compare_format): put into anon namespace
16071         (expand): constify label, names, action, action2
16072         (expand):
16073
16074         * text.C (SingleWidth): constify font
16075         (IsBoundary): constify rtl2
16076         (GetVisibleRow): constify ww
16077
16078         * LaTeX.C (deplog): constify logfile
16079
16080         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16081         start_x, end_x
16082         (workAreaExpose): constify widthChange, heightChange
16083
16084         * lyxrow.C (par): moved
16085         (height): moved
16086         (next): moved
16087         * lyxrow.h: as inlines here
16088
16089         * lyxfont.h (shape): moved from lyxfont.C
16090         (emph): moved from lyxfont.C
16091
16092         * lyxfont.C (LyXFont): use initialization list for all
16093         constructors
16094         (shape): move to lyxfont.h as inline
16095         (emph): move to lyxfont.h as inline
16096
16097
16098 2001-04-04  Juergen Vigna  <jug@sad.it>
16099
16100         * vspace.C: had to include stdio.h for use of sscanf
16101
16102 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16103
16104         * BufferView.h:
16105         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16106         independent of xforms.
16107
16108 2001-04-02  Juergen Vigna  <jug@sad.it>
16109
16110         * spellchecker.C: fixed namespace placing!
16111
16112 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16113
16114         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16115         the LyXParagraph * is 0.
16116
16117 2001-03-29  Juergen Vigna  <jug@sad.it>
16118
16119         * vspace.C: added support for %, c%, p%, l%.
16120         (stringFromUnit): added helper function.
16121         (asLatexString): changed to give right results for the %-values.
16122
16123         * buffer.C: convert the widthp in a width%.
16124
16125 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16126
16127         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16128         figureForm.[Ch].
16129
16130         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16131         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16132
16133         * lyx_cb.[Ch]: see above.
16134
16135         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16136         form1.[Ch].
16137
16138         * form1.[Ch]:
16139         * lyx.[Ch]: replaced by figure_form.[Ch].
16140
16141         * lyx_gui.C:
16142         * lyx_gui_misc.C:
16143         * lyxfunc.C: changed headers associated with above changes.
16144
16145 2001-03-27  Juergen Vigna  <jug@sad.it>
16146
16147         * BufferView_pimpl.C: set the temporary cursor right!
16148
16149 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16150
16151         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16152
16153 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16154
16155         * LString.h: removed "using std::getline"!
16156
16157         * BufferView_pimpl.C (Dispatch): changes due to changes in
16158         InsetInclude::Params.
16159
16160         * buffer.C (tag_name): removed redundant break statements as they were
16161         producing lots of warnings with my compiler.
16162
16163 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16164
16165         * LString.h: add "using std::getline" when using the real <string>.
16166
16167 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16168
16169         * buffer.C: removed bitset usage.
16170         PAR_TAG moved to an anonymous name space.
16171         (tag_name): new funtion, also in the anonymous namespace.
16172         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16173         (makeDocBookFile): clean code. Completed transition from string arrays
16174         to string vectors.
16175         (SimpleDocBookOnePar): code clean.
16176
16177 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16178
16179         * tabular.C: add some comments.
16180
16181 2001-03-22  Juergen Vigna  <jug@sad.it>
16182
16183         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16184         compatibility read a bit and fixed bug with minipage in different
16185         depth.
16186
16187 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16188
16189         * buffer.C (pop_tag): removed.
16190         (push_tag): removed.
16191         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16192         array replaced with vector. Added support for CDATA sections.
16193         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16194         at any nest level.
16195         (makeDocBookFile): XML conformant declaration of CDATA section,
16196         fixed bug related to <emphasis> in the first paragraph char.
16197         (sgmlOpenTag): exclude empty tags.
16198         (sgmlCloseTag): ditto.
16199
16200         * buffer.h (pop_tag): removed.
16201         (push_tag): removed.
16202
16203 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16204
16205         * language.h (Languages): added size_type and size().
16206
16207 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16208
16209         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16210         response on compability reading of minipages. One probliem is that
16211         the old usage of minipages was «flertydig»
16212
16213         * several files here and in subdirs: don't use static at file
16214         scope use anon namespaces instead.
16215
16216 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16217
16218         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16219         LaTeX output. This is necessary for Literate document
16220         processing.
16221
16222 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16223
16224         * buffer.C: insert hfill when needed.
16225
16226         * tabular.C (l_getline): use string::erase, small whitespace change.
16227
16228         * BufferView_pimpl.C: try the anon namespace.
16229         * WorkArea.C: ditto
16230
16231 2001-03-16  Juergen Vigna  <jug@sad.it>
16232
16233         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16234         otherwise it won't open options-dialogs.
16235
16236         * buffer.C: honor pextraWidth(p) on converting minipages.
16237
16238         * tabular.C (l_getline): changed the functions to strip trailing \r.
16239
16240 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16241
16242         * BufferView_pimpl.C:
16243         * minibuffer..C: added "using SigC::slot" declaration.
16244
16245 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16246
16247         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16248
16249         * text2.C: ditto
16250
16251         * text.C: ditto
16252
16253         * paragraph.C: ditto
16254
16255         * lyxtext.h: NO_PEXTRA
16256
16257         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16258
16259         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16260         * ParameterStruct.h: ditto
16261         * ParagraphParameters.h: ditto
16262         * lyxparagraph.h: ditto
16263
16264 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16265
16266         * buffer.C: add compability for minipage alignment.
16267         (latexParagraphs): remove unwanted pextra check.
16268
16269         * several files: remove CXX_WORKING_NAMESPACES
16270
16271         * buffer.C (pop_tag): tie is in namespace boost
16272
16273         * BufferView.h: noncopyable is in namespace boost
16274         * lyxlex.h: ditto
16275         * lyx_main.h: ditto
16276         * lyx_gui.h: ditto
16277         * layout.h: ditto
16278         * lastfiles.h: ditto
16279         * bufferlist.h: ditto
16280         * ShareContainer.h: ditto
16281         * LyXView.h: ditto
16282         * LyXAction.h: ditto
16283         * LaTeX.h: ditto
16284
16285 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16286
16287         * Merging changes from BRANCH_MVC back into HEAD.
16288
16289         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16290
16291 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16292
16293         * BufferView_pimpl.C: change from intl.C
16294
16295         * combox.h:
16296         * combox.C:
16297         * Makefile.am: move combox.*
16298
16299         * form1.h:
16300         * form1.C:
16301         * lyx_gui.C:
16302         * intl.h:
16303         * intl.C: remove dialog (covered by prefs)
16304
16305 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16306
16307         * lyxfunc.C (Dispatch): removed redundant break statement.
16308
16309 2001-03-14  Juergen Vigna  <jug@sad.it>
16310
16311         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16312
16313 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16314
16315         * buffer.C: add hack to fix compability reading of minipages.
16316
16317 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16318
16319         * buffer.C (getLists): Cleanup.
16320
16321 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * lyxfont.C (update): don't honor toggleall on font size.
16324
16325 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16326
16327         * bmtable.c:
16328         * bmtable.h:
16329         * Makefile.am: moved to frontends/xforms/
16330
16331         * lyx_gui_misc.C:
16332         * lyxfunc.C:
16333         * BufferView_pimpl.C: changes for moved mathpanel
16334
16335 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16336
16337         * gettext.h: fix gettext_init() in --disable-nls
16338
16339 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16340
16341         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16342
16343 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16344
16345         * lyx.C:
16346         * lyx.h: strip external form
16347
16348 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16349
16350         * BufferView_pimpl.C: add comment, destroySplash()
16351
16352 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16353
16354         * BufferView_pimpl.C:
16355         * LyXAction.C:
16356         * buffer.C:
16357         * commandtags.h:
16358         * lyxfunc.C: use re-worked insetinclude
16359
16360 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16361
16362         * buffer.C: add using std::stringstream.
16363
16364         * lyx_cb.C: readd using std::ios.
16365
16366         * buffer.C: add using std::map.
16367
16368         * BufferView_pimpl.C: add using std::vector.
16369
16370         * ShareContainer.h: add std:: to swap.
16371
16372         * buffer.h: add some typedefs
16373         * buffer.C (getLists): use them
16374         (getLists): renamed from getTocList.
16375         add a counter for the different float types and use it in the
16376         generated string.
16377         (getLists): use the same counter for the NEW_INSETS and the "non"
16378         NEW_INSETS
16379
16380         * lyx_cb.h: remove unused items, includes, using etc.
16381
16382         * ShareContainer.h: remove some commented code, add more comments
16383         and "documentation".
16384
16385 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * buffer.C (getTocList): make the list also when NEW_INSETS is
16388         defined.
16389
16390         * buffer.h: remove TocType
16391
16392         * buffer.C (getTocList): change to return a map<string,
16393         vector<TocItem> >, implement for dynamic number of list.
16394
16395         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16396         * text2.C (PasteSelection): adjust
16397         * CutAndPaste.C (pasteSelection): adjust
16398
16399         * FloatList.C (FloatList): update from the new_insets branch.
16400         * Floating.[Ch]: ditto
16401         * LaTeXFeatures.C: ditto
16402         * buffer.C: ditto
16403         * lyxlex_pimpl.C: ditto
16404
16405         * paragraph.C (Last): remove when NEW_INSETS is defined.
16406
16407         * other file: changes because of the above.
16408
16409 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16410
16411         * lyxparagraph.h: rename next to next_, previous to previous_,
16412         make them private for NEW_INSETS. Rename Next() to next(),
16413         Previous() to previous().
16414
16415         * other files: changes because of the above.
16416
16417 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16418
16419         * BufferView.h:
16420         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16421         problem.
16422
16423 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16424
16425         * main.C (main): pass lyx_localedir to gettext_init().
16426
16427         * gettext.h: remove locale_init and gettext_init macros
16428
16429         * gettext.C (locale_init): new function
16430         (gettext_init): new function
16431
16432         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16433         setlocale().
16434
16435 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16436
16437         * Moved credits to frontends:
16438         * credits.[Ch]: removed
16439         * credits_form.[Ch]: removed
16440         * lyx_gui_misc.C: remove credits stuff
16441         * Makefile.am:
16442
16443 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16444
16445         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16446
16447         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16448         unneeded destructor.
16449
16450         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16451         a standalone pointer again.
16452
16453         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16454
16455 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16456
16457         * Makefile.am:
16458         * filedlg.h:
16459         * filedlg.C:
16460         * LyXAction.C:
16461         * ToolbarDefaults.C:
16462         * bufferlist.C:
16463         * commandtags.h:
16464         * form1.C:
16465         * form1.h:
16466         * lyx_cb.C:
16467         * lyx_cb.h:
16468         * lyxfunc.h:
16469         * lyxfunc.C:
16470         * BufferView_pimpl.C: use new file dialog in GUII
16471
16472         * lyx_cb.h:
16473         * lyx_cb.C: remove LayoutsCB to Toolbar
16474
16475 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16476
16477         * ShareContainer.h (get): add std:: qualifier
16478
16479 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16480
16481         * ShareContainer.h: define a proper ShareContainer::value_type
16482         type (and use typename to please compaq cxx)
16483
16484 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16485
16486         * lyxparagraph.h: move serveral local vars to
16487         ParameterStruct/ParagraphParameters., use ShareContainer in
16488         FontTable., make vars in FontTable private and add getter and
16489         setter.
16490
16491         * paragraph.C: changes because of the above.
16492
16493         * lyxfont.h: remove copy constructor and copy assignment. (the
16494         default ones is ok), move number inside FontBits. move inlines to
16495         lyxfont.C
16496
16497         * lyxfont.C: add number to initializaton of statics, move several
16498         inlines here. constify several local vars. some whitespace
16499         cleanup. Dont hide outerscope variables.
16500
16501         * Spacing.h: add two new constructors to match the set methods.
16502
16503         * ShareContainer.h: new file, will perhaps be moved to support
16504
16505         * ParameterStruct.h: new file
16506
16507         * ParagraphParameters.h: new file
16508
16509         * ParagraphParameters.C: new file
16510
16511         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16512         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16513
16514         * BufferView_pimpl.C: ParagraphParameter changes.
16515         * buffer.C: Likewise.
16516         * bufferview_funcs.C: Likewise.
16517         * text.C: Likewise.
16518         * text2.C: Likewise.
16519
16520 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * lyxfind.C (LyXReplace): do not redefine default argument in
16523         implementation.
16524         (IsStringInText): ditto
16525         (SearchForward): ditto
16526         (SearchBackward): ditto
16527
16528 2001-03-06  Juergen Vigna  <jug@sad.it>
16529
16530         * lyxfind.C (IsStringInText): put parentes around expressions.
16531
16532 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16533
16534         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16535
16536 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16537
16538         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16539
16540         * stl_string_fwd.h: add comment
16541
16542         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16543
16544         * tabular.h:
16545         * tabular.C: remove unused DocBook methods
16546
16547         * intl.C:
16548         * language.C:
16549         * paragraph.C:
16550         * buffer.C:
16551         killed DO_USE_DEFAULT_LANGUAGE
16552
16553 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16554
16555         * lyx_gui.C: do not include language.h.
16556
16557         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16558         arguments in function implementation.
16559
16560 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16561
16562         * BufferView_pimpl.C: add <ctime>
16563
16564 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16565
16566         * BufferView_pimpl.C: add using std::find_if
16567
16568 2001-02-27  José Matos  <jamatos@fep.up.pt>
16569
16570         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16571         by OnlyPath.
16572
16573 2001-02-11  José Matos  <jamatos@fep.up.pt>
16574
16575         * buffer.C (makeDocBookFile): command styles now have a parameter as
16576         "title" by default.
16577
16578 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16579
16580         * layout_forms.[Ch]: removed
16581         * lyx_cb.[Ch]: out character
16582         * lyx_gui.C: out character
16583         * lyx_gui_misc.C: out character
16584         * bufferview_funcs.C: : out character,
16585         added toggleall as parameter in ToggleAndShow
16586
16587 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16588
16589         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16590
16591         * text2.C (SetCurrentFont): Disable number property at boundary.
16592
16593 2001-02-26  Juergen Vigna  <jug@sad.it>
16594
16595         * lyxfunc.C (getStatus): added a string argument override function so
16596         that this is correctly called from LyXFunc::Dispatch if it contains a
16597         do_not_use_argument which is used!
16598         (Dispatch): added check for "custom" export and call appropriate func.
16599
16600 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * lyxrc.C: Add language_command_local, language_use_babel and
16603         language_global_options.
16604
16605         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16606
16607         * buffer.C (makeLaTeXFile): Use language_use_babel and
16608         language_global_options.
16609
16610 2001-02-23  Juergen Vigna  <jug@sad.it>
16611
16612         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16613         which works with LyXText and putted it inside BufferView. Here now we
16614         only call for that part the BufferView::Dispatch() function.
16615
16616         * BufferView.C (Dispatch): added.
16617
16618         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16619         functions which needs to use a LyXText over from LyXFunc.
16620         (MenuInsertLyXFile): added
16621         (getInsetByCode): added
16622         (moveCursorUpdate): added
16623         (static TEXT): added
16624
16625 2001-02-22  Juergen Vigna  <jug@sad.it>
16626
16627         * BufferView_pimpl.C (update): call a status update to see if LyXText
16628         needs it.
16629
16630 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16631
16632         * vc-backend.C (revert): implement for CVS
16633         (getLog): implement for CVS
16634
16635 2001-02-20  Juergen Vigna  <jug@sad.it>
16636
16637         * text2.C (ClearSelection): added BufferView param for inset_owner call
16638
16639         * lyxfunc.C (TEXT): added this function and use it instead of
16640         directly owner->view()-text of getLyXText().
16641
16642 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16643
16644         * src/layout_forms.C: out preamble
16645         * src/layout_forms.h: out preamble
16646         * src/lyx_cb.C: out preamble
16647         * src/lyx_cb.h: out preamble
16648         * src/lyx_gui.C: out preamble
16649         * src/lyx_gui_misc.C: out preamble
16650         * src/lyxfunc.C: connect with guii preamble
16651
16652 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16653
16654         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16655
16656 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16657
16658         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16659         whether to run bibtex.
16660
16661 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16662
16663         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16664
16665 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16666
16667         * Makefile.am (lyx_SOURCES): removed bibforms.h
16668
16669         * vspace.h: doxygen
16670
16671         * text.C (GetVisibleRow): make several local vars const
16672
16673         * tabular.C: small cleanup.
16674
16675         * lyxserver.C (callback): use compare instead of strncmp
16676
16677         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16678         inlines to after class or to paragraph.C
16679
16680         * lyxfont.h: remove friend operator!=
16681
16682         * converter.h: move friend bool operator< to non friend and after
16683         class def.
16684
16685         * combox.h: small cleanup
16686
16687         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16688         to inlines after class def.
16689
16690         * buffer.C (pop_tag): use string operations instead of strcmp
16691
16692         * bmtable.c: doxygen, small cleanup
16693
16694         * LaTeX.h: remove friend operator==
16695
16696 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16697
16698         * screen.C:
16699         * lyxrc.[Ch]:
16700         * lyxfunc.C:
16701         * lyxfont.[Ch]:
16702         * lyx_cb.C:
16703         * intl.[Ch]:
16704         * commandtags.h:
16705         * buffer.C:
16706         * WorkArea.[Ch]:
16707         * LyXAction.C:
16708         * BufferView_pimpl.C:
16709         * BufferView.[Ch]: remove cruft
16710
16711 2001-02-14  Juergen Vigna  <jug@sad.it>
16712
16713         * lyxfunc.C: removed #if 0 unused code
16714
16715         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16716
16717         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16718
16719         * text2.C (SetSelection): added a BufferView * parameter
16720
16721 2001-02-13  Juergen Vigna  <jug@sad.it>
16722
16723         * lyxfunc.C (Dispatch): fixed protected blank problem.
16724         * BufferView2.C (protectedBlank): added LyxText * parameter.
16725
16726         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16727         (AppendColumn): same as above for column_info.
16728
16729         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16730         (moveCursorUpdate): use a LyXText param for support of InsetText.
16731
16732         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16733         (tripleClick): ditto
16734
16735         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16736
16737         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16738
16739         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16740
16741         * text2.C (SetSelection): set correct update status if inset_owner
16742         (ToggleFree): ditto
16743
16744 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16745
16746         * tabular.C: remove some commented code.
16747
16748 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16749
16750         * BufferView_pimpl.C: call hideSplash()
16751
16752         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16753
16754         * include_form.h:
16755         * bibforms.h: remove
16756
16757         * lyxfunc.C:
16758         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16759           add LFUN_CHILD_CREATE
16760
16761         * counters.h: fix tiny typo
16762
16763         * lyx_cb.C:
16764         * lyx.h:
16765         * lyx_gui.C:
16766         * lyx.C: move splash to frontends/xforms/
16767
16768         * lyx_gui_misc.C: move Include and Bibform to frontends
16769
16770         * lyxvc.h: clarify comment
16771
16772         * vspace.C: tiny housekeeping
16773
16774 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16775
16776         * text.C (PrepareToPrint): RTL Fix.
16777
16778         * paragraph.C (GetUChar): New method.
16779         (String):  Use GetUChar.
16780
16781         * buffer.C (asciiParagraph): Use GetUChar.
16782
16783 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16784
16785         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16786
16787 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16788
16789         * buffer.h:
16790         * buffer.C: rename to getLogName(), handle
16791           build log / latex log nicely
16792
16793 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * MenuBackend.C:
16796         * MenuBackend.h: remove support for reference menuitem type.
16797
16798 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16799
16800         * BufferView_pimpl.C: housekeeping
16801         * BufferView_pimpl.h:
16802         * LyXView.h:
16803         * Makefile.am:
16804         * Timeout.C:
16805         * Timeout.h:
16806         * minibuffer.h: move Timeout GUI-I
16807
16808 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16809
16810         * lyxrc.C (read): Update converters data-structures.
16811
16812 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16813
16814         * LaTeX.h (operator!=): add operator != for Aux_Info
16815
16816 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16817
16818         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16819
16820         * LaTeXLog.C: deleted, useful code moved to Buffer
16821
16822         * buffer.h:
16823         * buffer.C: new function getLatexLogName()
16824
16825         * lyx_gui_misc.C:
16826         * lyx_gui.C:
16827         * lyxvc.C:
16828         * lyxvc.h:
16829         * lyxfunc.C: use frontends for LaTeX and VC logs
16830
16831 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16832
16833         * LaTeX.h: yet another std:: that Allan forgot.
16834
16835         * Variables.C (set): renamed from isset(), because this clashes
16836         with some HP-UX macros (grr).
16837
16838 2001-02-06  Allan Rae  <rae@lyx.org>
16839
16840         * LaTeX.h: Another bug fix.  Missing std:: this time.
16841
16842 2001-02-04  Allan Rae  <rae@lyx.org>
16843
16844         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16845         floats problem. I've left it commented out because it's not quite
16846         correct.  It should also test that the current object is a table or
16847         figure inset.  But I haven't gotten around to figuring out how to do
16848         that.  I *think* it'll be something like: "table" == inset.type()
16849
16850         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16851         bool.
16852
16853 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16854
16855         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16856         all the citation/databases/styles in the auxilary file.
16857         (run): Rerun latex if there was a babel language error.
16858
16859 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * text.C (Backspace): Preserve the font when changing newline char
16862         with a space.
16863         (BreakParagraph): If the cursor is before a space, delete the space.
16864
16865         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16866
16867 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16870         new argument (code).
16871         (ChangeCitationsIfUnique): New method.
16872
16873         * paragraph.C (GetPositionOfInset): Handle bibkey.
16874
16875 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * BufferView_pimpl.h: change type of Position::par_pos to
16878         LyXParagraph::size_type.
16879
16880 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16881
16882         * BufferView_pimpl.C (savePosition, restorePosition): Write
16883         messages to minibuffer.
16884
16885 2001-01-28  José Matos  <jamatos@fep.up.pt>
16886
16887         * buffer.C (makeDocBookFile): adds support for document language.
16888         A silly restriction on the name of LatexCommand types where removed.
16889         Added support for CDATA sections, allows to chars unescaped, used
16890         among others in code, to avoid escape < and >.
16891
16892 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16893
16894         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16895         saved positions instrad of a stack. Furthermore, a position is
16896         stored using paragraph id/paragraph position.
16897
16898         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16899         Remove LFUN_REF_BACK.
16900
16901 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16902
16903         * converter.C (dvipdfm_options): New method.
16904
16905 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16906
16907         * vspace.C (isValidLength): Fix for empty input string.
16908
16909 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16910
16911         * LyXAction.C (init): change description of LFUN_FIGURE to
16912         "Insert Graphics"
16913
16914 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16915
16916         * LaTeX.C: add using directive
16917
16918 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16919
16920         * MenuBackend.C (expand): Fix the sorting of the formats.
16921
16922 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16923
16924         * lyx_main.C: tiny error message fix
16925
16926 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16929         calling fl_initialize(). This fixes the problem with ',' as
16930         decimal separator in text files.
16931
16932 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16933
16934         * trans.C (process): Fix the keymap bug.
16935
16936 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16937
16938         * LaTeX.C (scanAuxFiles): New method. Provides support for
16939         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16940         (scanLogFile) Scan for "run BibTeX" messages.
16941
16942         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16943         OT1 font encoding. Also, load the aecompl package if the ae
16944         package is loaded.
16945
16946         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16947
16948 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * texrow.C (increasePos): turn two error messages into debug
16951         messages.
16952
16953 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16954
16955         * LaTeX.C (scanAux): Handle the \@input macro.
16956         (runBibTeX): Use scanAux().
16957
16958         * language.C (latex_options_): New field.
16959
16960         * LaTeXFeatures.C (getMacros): Add language macros.
16961
16962         * buffer.C (makeLaTeXFile): Small fix.
16963
16964 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16965
16966         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16967
16968         * text2.C: add a using directive.
16969
16970 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16971
16972         * BufferView2.C:
16973         * lyx_gui_misc.h:
16974         * lyxfr1.C:
16975         * lyxfunc.C: kill LyXBell.
16976
16977 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16978
16979         * text.C (IsBoundary): Remove the error message
16980
16981         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16982
16983         * lyxrc.C (setDefaults): Correct initialization value for
16984         font_norm_type.
16985
16986 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16987
16988         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16989         gotoError().
16990
16991         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16992         and GotoNextNote().
16993
16994         * src/LyXAction.C: Added reference-next.
16995
16996         * text.C (InsertChar): Use contains instead of strchr.
16997
16998         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16999
17000 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17001
17002         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17003         alignment commands (when needed).
17004
17005         * text.C (InsertChar): Add ':' to number separator chars.