]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Implement os::current_root for native Win32 builds.
[lyx.git] / src / ChangeLog
1 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
4
5 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * lyxlength.C (asLatexString): get rid of setprecision
8
9 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10
11         * text2.C (setLayout): remove unused variable endpit.
12         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
13
14         * paragraph.C (onlyText): remove unused variable style.
15
16         * cursor.C (bruteFind): remove unused variables beg and end.
17
18         * Makefile.am (dist_noinset_DATA): not needed anymore
19
20         * cheaders/*: remove.
21
22 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * text3.C: fix LFUN_MATH_MODE.
25
26 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * buffer_funcs.C (countWords): new function. Counts words between
29         two iterators.
30
31         * BufferView_pimpl.C (getStatus, dispatch): handle
32         LFUN_WORDS_COUNT.
33
34         * LyXAction.C (init): 
35         * lfuns.h: add LFUN_WORDS_COUNT.
36
37 2004-12-19  Angus Leeming  <leeming@lyx.org>
38
39         * buffer.C (save): s/slashify_path/internal_path/.
40
41 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * lyxfind.C (findChange): do not search for end of pars, because
44         the change tracker cannot handle this (fixes bug 1719).
45
46 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * paragraph.[Ch] (autoBreakRows): remove
49
50         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
51
52         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
53         avoid using the paragraph one
54
55         * text2.C (LyXText, insertStringAsLines): adjust
56         
57 2004-12-16  Angus Leeming  <leeming@lyx.org>
58
59         * bufferlist.C:
60         * lyx_main.C: 
61         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
62
63 2004-12-14  Angus Leeming  <leeming@lyx.org>
64
65         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
66
67         * bufferlist.C (emergencyWrite):
68         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
69         GetEnvPath("HOME").
70
71 2004-12-14  Angus Leeming  <leeming@lyx.org>
72
73         * main.C: (main): no longer pass pointers to os::init.
74
75 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * undo.C (textUndoOrRedo): simplify logic, fix a crash
78         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
79
80 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * lyxfunc.C: 
83         * text3.C: remove selection_possible global flag
84
85 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
86
87         * text2.C (getSelectionSpan): remove
88         (changeDepth, changeDepthAllowed): adjust
89
90 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
91
92         * Makefile.am (BOOST_LIBS): use boost variables
93
94 2004-12-03  José Matos <jamatos@lyx.org>
95
96         * buffer.C: format up to 238.
97
98 2004-12-03  José Matos  <jamatos@lyx.org>
99
100         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
101
102 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * cursor.C (goUpDown): remove call to idxUpDown2
105
106 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
107
108         * tabular.[Ch]: use size_t-like types for cell, row and column
109         indices
110
111 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * lyxfunc.C (getStatus): do not lose previous information when
114         calling BufferView::getStatus; do not set a default "Command
115         disabled" message at the beginning, but just before returning.
116
117 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * cursor.h (getStatus): add better comment from src/cursor.C
120
121 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * text3.C (getStatus): return false when the lfun is not handled
124
125 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * broken_headers.h: remove
128
129         * Makefile.am (lyx_SOURCES): remove broken_headers.h
130
131 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
132
133         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
134         offset_ref accessors
135
136         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
137         top_y_, merge fitcursor with update
138         (updateScrollbar, scrollDocView, fitCursor, center, update): new
139         coord scheme
140         (metrics): introduce
141         (workAreaDispatch): adapt to new coord scheme
142         (redoCurrentBuffer): remove
143
144         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
145
146         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
147         CurStatus enum.
148
149         * coordcache.[Ch]: add paragraph cache and helpers
150
151         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
152         adjust everywhere
153
154         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
155         (targetX, setTargetX): introduce
156
157         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
158         baseline -> ascent, as the rest of lyx
159
160         * lyxtext.h: remove redoParagraphs, updateParPositions,
161         fullRebreak, redoParagraphInternal. move dist to anon namespace in
162         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
163         have ascent/descent (ascent is ascent of first par)
164
165         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
166         step of BufferView
167
168         * paragraph.[Ch]: unify dimension handling with the rest of lyx
169
170         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
171
172         * pariterator.C: fix infinite loop introduced in par->pit renaming
173
174         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
175         in insets and LyXText, draw two off-screen paragraphs using
176         NullPainter, and adapt to new coord scheme
177
178         * text.C:
179         * text2.C:
180         * text3.C: adapt lfun handlers to the new coord scheme, which
181         means: there's only guaranteed coord information for onscreen pars
182         plus one above and one below. This implies that one can do search
183         from y coordinates in the range [-1,workHeight]
184
185 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
186
187         * rename a lot of InsetOld to InsetBase
188
189 2004-11-25  Angus Leeming  <leeming@lyx.org>
190
191         * BufferView_pimpl.C:
192         * lyx_cb.C:
193         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
194
195 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
198         call BufferView::getStatus if LCursor::getStatus did nothing
199         (setStatusMessage, getStatusMessage): removed.
200
201         * FuncStatus.C (message): new methods. Used to provide an error
202         message indicating why a command is disabled.
203         (clear, |=, FuncStatus): update for message.
204
205 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * lyxfunc.C (dispatch): always call sendDispatchMessage
208
209 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * BufferView.C:
212         * BufferView_pimpl.C:
213         * CutAndPaste.C:
214         * FontIterator.C:
215         * buffer.C:
216         * cursor.C:
217         * cursor_slice.[Ch]:
218         * dociterator.[Ch]:
219         * lyxfind.C:
220         * paragraph_funcs.C:
221         * pariterator.C:
222         * rowpainter.C:
223         * text.C:
224         * text2.C:
225         * text3.C:
226         * undo.C: par->pit renaming
227
228 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
229
230         * tabular.C (cellstruct): use initialization, store a shared_ptr
231         to insettext instead of the insettext directly, adjust to fit.
232         (operator=):  new function
233         (swap): new function
234         (rowstruct): use initialization
235         (columnstruct): use initialization
236         (ltType): use initialization
237
238
239         * lyxlength.h (swap): new function
240
241         * LColor.[Ch] (operator=): use the common semantics
242
243 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * lyxfind.C (findNextChange): update the bufferview after setting
246         the selection.
247
248 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
251         number of InsetOptArgs has already been inserted.
252
253         * output_latex.C (latexOptArgInsets): new method. This outputs all
254         the optarg insets, up to the limit defined in the layout file.
255         (optArgInset): removed
256         (TeXOnePar): call latexOptArgInsets; correctly update texrow
257
258 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * paragraph.C (isLetter): remove special spellchecker-related
261         code; return true also for digits
262         (isWord, isKomma): remove
263
264         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
265         * lyxfind.C (MatchString()): use isLetter instead of isWord
266
267 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
268
269         * pariterator.h (operatir=): comment out un-implemented member
270         function.
271
272         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
273         static cast.
274
275 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
276
277         * lyxfont.h: include LColor.h to satisfy concept checks.
278
279 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
280
281         * pariterator.h: add typdefs for value_type, difference_type,
282         pointer and reference to satisfy concept checks. Also add default
283         constructor for same reason.
284
285         * pariterator.C (operator++): add post-increment operator to
286         satisfy concept checks.
287
288         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
289         checks.
290
291         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
292
293         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
294         checks. Also rename base_type to BaseType to follow naming
295         standard better.
296
297         * FloatList.h: include Floating.h to satisfy concept checks.
298
299 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * lyxfunc.C (getStatus): when the origin of the request is menu or
302         toolbar, and the LyXView does not have focus, do as if there was
303         no buffer (bug 1720)
304
305         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
306         FuncRequest to individual entries of LFUN_SEQUENCE
307
308 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * output_latex.C (TeXOnePar): override runparams.moving_arg
311         according to the needprotect value of the current paragraph (bug
312         1739)
313
314         * paragraph.C (simpleTeXOnePar): no need to override
315         runparams.moving_args here
316
317 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
318
319         * vspace.C: fix off-by-one-error, related to fix #1682
320
321 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * lengthcommon.C: a more general fix for bug 1682
324
325 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * text.C (backspace): fix crash
328
329 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * format.[Ch] (getFormatFromFile): new method
332         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
333
334 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
337
338 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * lyxfunc.C (dispatch): remove the verbose argument
341         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
342         instead
343
344         * kbmap.C (defkey): set the origin of func to KEYBOARD
345
346         * MenuBackend.C (MenuItem):
347         * ToolbarBackend.C (add): set the origin of func to UI
348
349         * funcrequest.[Ch]: add origin member, which indicates which part
350         of LyX requests an action
351
352 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * converter.C (move): don't lie in the error message
355         * converter.h (isReachable, move): document
356
357 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
358
359         * buffer.C: remove unused using lyx::support::atoi
360         * paragraph_funcs.C: ditto
361
362 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * bufferlist.C (exists): use bind and equal_to instead of
365         compare_memfun
366         (getBuffer): ditto
367         * lyxtextclasslist.C (NumberOfClass): ditto
368
369         * cursor.C (insert): use for_each instead of explicit for loop
370
371         * bufferlist.C (getFileNames): use std::transform and
372         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
373
374         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
375         for loop
376
377         * buffer.C (changeLanguage): use for_each instead of explicit for
378         loop
379         (hasParWithID): implement using getParFromID
380
381         * LaTeXFeatures.C: ws change only
382
383         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
384         to cleanup a bit.
385
386         * BufferView_pimpl.C (trackChanges): use for_each instead of
387         expilicit for loop
388
389 2004-11-04  André Pönitz  <poenitz@gmx.net>
390
391         * undo.h:
392         * undo.C (textUndoOrRedo): fix crash when creating undo information.
393
394         * dociterator.C (asDocIterator): use hard assert again.
395
396 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyxlength.C (asLatexString): rewrite so that it does not use
399         snprintf anymore
400
401 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * text3.C (specialChar, dispatch): make sure cursor moves to the
404         right after inserting an inset
405
406 2004-11-02  José Matos  <jamatos@lyx.org>
407
408         * output_docbook.C (docbook):
409         * paragraph.C (getID):
410         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
411         garantee that the output is always legal.
412
413         * tabular.C (docbook):
414         * outputprams.[Ch]: remove mixed contents.
415
416 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
417
418         * text2.C (setCounter): prevent endless loop
419
420 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * exporter.C (copyFile): use the mover instead of support::copy()
423         * exporter.C (Export): pass format and latex name to copyFile()
424         * exporter.h (addExternalFile): document
425         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
426
427 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
430
431 2004-10-30  José Matos  <jamatos@lyx.org>
432
433         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
434         text and no inset or font change. This allows to use CDATA
435         sections just for the whole paragraph.
436
437 2004-10-30  José Matos  <jamatos@lyx.org>
438
439         * paragraph.C (getFirstWord): remove unused variable.
440
441 2004-10-30  José Matos  <jamatos@lyx.org>
442
443         * paragraph.C (getFirstWord): the content should always be escaped
444         there.
445         (simpleDocBookOnePar):
446         * output_docbook.C (makeEnvironment): replace reference to CDATA
447         to style pass_thru.
448
449 2004-10-30  José Matos  <jamatos@lyx.org>
450
451         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
452
453 2004-10-30  José Matos  <jamatos@lyx.org>
454
455         * output_docbook.C (makeParagraphs):
456         * paragraph.[Ch] (emptyTag): for docbook and company, if the
457         standard paragraph has only a given type of content drop the wrapper.
458
459 2004-10-29  José Matos  <jamatos@lyx.org>
460
461         * output_docbook.C (makeEnvironment):
462         * sgml.C (openTag):
463         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
464
465 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
466
467         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
468         (cleanID): sanitize any id.
469
470 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
471
472         * buffer.C, lyxlex_pimpl.C:
473         * lyxlex_pimpl.C (setFile):
474         s/getExtFromContents/getFormatFromContents/
475
476 2004-10-28  José Matos  <jamatos@lyx.org>
477
478         * output_docbook.C (makeEnvironment): move id to broadest possible
479         scope.
480
481         * sgml.C (openTag): apply substitution of <> for all attributes.
482
483 2004-10-28  José Matos  <jamatos@lyx.org>
484
485         * buffer.C (makeLinuxDocFile, makeDocBookFile):
486         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
487         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
488
489         * sgml.[Ch]: new version for open and closeTag for paragraph and
490         for strings. Now they handle the ids of paragraphs.
491
492 2004-10-26  Angus Leeming  <leeming@lyx.org>
493
494         * Makefile.am: add mover.[Ch].
495
496         * converter.C (convert, move): use the new Movers to move external
497         files to the temp directory.
498
499         * lyx_main.C (init): ensure that the global system_movers data
500         is initialised.
501
502         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
503         preferences file.
504
505         * mover.[Ch]: new files, defining a Mover as a utility to move an
506         external file between directories and, if necessary, manipulate this
507         file using a helper script.
508
509 2004-10-25  José Matos  <jamatos@lyx.org>
510
511         * output_docbook.C (makeCommand): merge two if's that tested the
512         same condition.
513
514 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * sgml.C (escapeString): fix warning in a better way
517
518 2004-10-25  José Matos  <jamatos@lyx.org>
519
520         * sgml.C (escapeString): import the require boosts header file for
521         tie, and avoid a signed unsigned comparison.
522
523 2004-10-25  José Matos  <jamatos@lyx.org>
524
525         * sgml.h: add #include <string>
526
527 2004-10-25  José Matos  <jamatos@lyx.org>
528
529         * sgml.[Ch] (escapeString): new function to escape all the string.
530
531 2004-10-24  José Matos  <jamatos@lyx.org>
532
533         * paragraph.[Ch] (getFirstWord): new function to get the first
534         word. Useful for description.
535         (simpleDocBookOnePar): remove depth argument, add another that
536         says where to start the paragraph.
537
538         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
539         use the new functions to fix cleanly the support for descriptions.
540
541 2004-10-24  José Matos  <jamatos@lyx.org>
542
543         * buffer.C (makeLinuxDocFile, makeDocBookFile):
544         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
545         * output_linuxdoc.C (linuxdocParagraphs):
546         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
547         add buffer as argument.
548
549 2004-10-24  José Matos  <jamatos@lyx.org>
550
551         * output_docbook.C (makeEnvironment, searchEnvironment): place
552         CDATA inside paragraphs and fix scope for listitems.
553
554 2004-10-24  José Matos  <jamatos@lyx.org>
555
556         * output_docbook.C: remove using statement for stack.
557
558 2004-10-23  José Matos  <jamatos@lyx.org>
559
560         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
561         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
562         docbook. The new scheme is recursive and makes use of iterators, the
563         same as latex export works.
564         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
565         directly with the paragraph contents. This code was moved up to
566         output_docbook.C (docbookParagraphs).
567         * sgml.C (openTag, closeTag): removed unneeded newlines.
568         (closeEnvTags) removed.
569
570 2004-10-23  André Pönitz  <poenitz@gmx.net>
571
572         * undo.C (textUndoOrRedo):
573         * dociterator.C (asDocIterator): work around crash
574
575         * cursor.C (getStatus): replace ASSERT by more verbose error message
576           and manual correction of the problem. Should increase stability
577           while providing more sensible information.
578
579 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
582
583         * bufferlist.C (previous, next): new methods
584
585         * lfuns.h:
586         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
587
588 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
589
590         * buffer.C (makeDocBookFile): add dsssl stylesheet control
591         entities to preamble.
592
593 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
594
595         * messages.C (Pimpl): strip off translation context information
596
597 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
600         the cursor is correct (bug 1694)
601
602 2004-10-13  José Matos  <jamatos@lyx.org>
603
604         * output_docbook.C (docbookParagraphs): fix closing tags in the
605         end of the document.
606
607 2004-10-09  José Matos  <jamatos@lyx.org>
608
609         * buffer.C: format up to 237.
610         * bufferparams.C (write): use tostr to convert booleans to strings.
611
612 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
613
614         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
615
616 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * LaTeX.C: implement use of babel language in xindy.
619
620 2004-10-05  José Matos  <jamatos@lyx.org>
621
622         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
623         Add new translators to help reading and writing the lyx file.
624
625 2004-10-05  José Matos  <jamatos@lyx.org>
626
627         * ParagraphParameters.C (read):
628         * text.C (readParToken): replace nexToken by more appropriate lex
629         methods.
630
631 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
632
633         * LaTeX.C (runMakeIndex):
634         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
635         (usually 'makeindex') configurable.
636
637         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
638         with a variable rather than with a number.
639
640 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * output_latex.C (TeXOnePar): make sure font setting is the first
643         thing that gets output (and the last at the end). Should fix bug
644         1404.
645
646 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
647
648         * pch.h: use proper signal include
649
650         * LaTeX.h: Use preferred calling of Boost.Signal
651         * buffer.h: ditto
652
653 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
654
655         * pch.h: dont include <boost/function/function0.hpp>
656
657         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
658
659         * paragraph_pimpl.h: remove usage of ShareContainer
660
661         * paragraph_pimpl.C: remove initialization of ShareContainer.
662
663 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         Fix bug #1666
666
667         * BufferView.C (putSelectionAt): change the semantics when
668         backwards == true: now, this just swaps cursor and anchor wrt the
669         forward case
670
671         * BufferView.h (putSelectionAt): add some documentation
672
673         * lyxfind.C (findBackwards): rewrite using while(). In particular,
674         make sure backwardChar is done at least once (to avoid getting
675         stuck)
676         (findNextChange): use putSelectionAt in the forward direction
677         (operator()): use Paragraph::isWord
678
679 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
680
681         * Spacing.C (set): c_str fix
682
683 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * lyx_cb.C (Reconfigure): quote the name of configure script in
686         case it contains spaces
687
688 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
689
690         * client: new dir
691
692         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
693         (BOOST_LIBS): use top_buildir when looking for the file
694
695 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * pch.h: do not use include boost/format.hpp, multiple symbols
698                 will result (gcc bug)
699
700
701 2004-08-23  José Matos  <jamatos@lyx.org>
702
703         * bufferparams.C (readToken): fix reading of the author field.
704
705 2004-08-20  José Matos  <jamatos@lyx.org>
706
707         * lyxrc.C: remove support/translator.h inclusion since it is not used.
708
709 2004-08-20  José Matos  <jamatos@lyx.org>
710
711         * lyxlex.[Ch] (findToken): remove function.
712
713         * ParagraphParameters.C (findToken):
714         * bufferparams.C (findToken): replace call for previous function
715         with local copy. This local function has one more argument, the
716         read string argument.
717
718 2004-08-16  José Matos  <jamatos@lyx.org>
719
720         * ParagraphParameters.C (write):
721         * Spacing.C (writeFile):
722         * bufferparams.C (writeLaTeX):
723         * lyx_cb.C (Reconfigure):
724         * paragraph.C (write):
725         * tabular.C (write): remove unnecessary space at end of line.
726
727
728 2004-08-16  José Matos  <jamatos@lyx.org>
729
730         * text.C (readParagraph): remove debug message.
731
732 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
733
734         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
735         crash
736
737         * output_plaintext.C (asciiParagraph): set depth correctly
738
739         * outputparams.h: add member depth
740
741         * paragraph_funcs.C (ownerPar): remove.
742
743         * text2.C (setCounter): remove first_pit; comment out some
744         non-working code that uses ownerPar
745
746         * BufferView.C (getParentLanguage): remove. Not used anymore, and
747         uses ownerPar
748
749 2004-08-16  José Matos  <jamatos@lyx.org>
750
751         * text.C (readParToken, readParagraph, read): report all unknown tokens.
752         For the same level of importance use the same chanel to report problems.
753         (read): add code to deal with \begin_body and \end_body.
754
755
756 2004-08-15  José Matos  <jamatos@lyx.org>
757
758         * lyxlex.C (getString): fix comment, buffer::readBody is now
759         buffer:readDocument.
760
761         * tex-strings.C (string_papersize): Default -> default,
762         Custom -> custom, for consistency with other options.
763
764 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
765
766         * pch.h: new file
767
768         * Makefile.am: support pch
769
770 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * text.C (readParToken): remove the static LyXFont variable and
773         pass it as a parameter instead. This fixes a nasty bug where an
774         inset will be inserted with a bad font in some situations
775         (readParagraph): adapt
776
777         * text2.C (setCounter): reduce number of calls to pars_[pit]
778
779         * text.C (singleWidth): add an assert, fix a test
780
781         * rowpainter.C (paintText): reduce number of calls to singleWidth
782
783         * paragraph.C (isHfill):
784         (isNewline): ws only
785
786 2004-08-14  André Pönitz  <poenitz@gmx.net>
787
788         * text.C:
789         * text2.C:
790         * rowpainter.C:
791         * lyxtext.h (several functions): use a Paragraph & argument
792         instead of par_type
793
794 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * metricsinfo.h: add a new field ltr_pos to PainterInfo
797
798         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
799
800         * text.C (singleWidth): remove useless test
801
802 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * tabular.h: remove bogus comments
805
806         * tabular.C (getDescentOfRow):
807         (isPartOfMultiColumn): add assertions
808
809         * lyxlength.C (inPixels): remove #warning
810
811 2004-08-14  André Pönitz  <poenitz@gmx.net>
812
813         * paragraph.h: inline getChar()
814
815         * BufferView.h: remove unused declarations
816
817 2004-08-14  José Matos  <jamatos@lyx.org>
818
819         * Buffer.[Ch] (readDocument): new name for old readBody.
820         * Buffer.C: new file format, new keywords: \begin_document,
821         \begin_header, \begin_body, \end_body.
822
823         * bufferparams.C (readToken): replace all calls to lex.nextToken
824         by lex.next(). Do the same to eatLine except where really needed.
825
826         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
827         line when writing to the lyx file.
828
829         * output_plaintext.C (asciiParagraph): fix Bibliography style
830         handling.
831
832         * text.C (read): fix end of file handling.
833
834 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * MenuBackend.C (Menu::operator[]): new method to access
837         individual menu items
838         (Menu::hasFunc): new method. search for an item that corresponds
839         to a given func
840         (MenuBackend::specialMenu): new method
841         (MenuBackend::expand): if a special menu has been set, skip
842         entries whose func() appears in this menu
843
844 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
845
846         * text3.C: use Debug::DEBUG a bit more
847
848         * text.C (leftMargin): try to simplify a tiny bit change var x to
849         l_margin. Dont output the wide margins always.
850         (rightMargin): no margin in inner texts
851
852         * rowpainter.h (nestMargin): new func
853         (changebarMargin): new func
854         (rightMargin): new func
855
856         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
857         now functions.
858         (paintLast): ditto
859
860         * factory.C (createInset): modify setDrawFrame
861
862         * cursor.C: use Debug::DEBUG a bit more
863
864 2004-08-14  André Pönitz  <poenitz@gmx.net>
865
866         * coordcache.[Ch]:
867         * Makefile.am: new files to accomodate an 'external' (x,y)-position
868         cache for all insets in (at least partially) visible (top-level)
869         paragraphs.
870
871         * BufferView_pimpl.C: reset external coord cache before every update.
872         This means the coord cache only contains valid entries.
873
874 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
875
876         bug 1096
877         * BufferView_pimpl.C (getInsetByCode): move function out of class
878         and change in to a template in anon namespace. Also fix to do what
879         suits us better.
880
881 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
882
883         bug 1305
884         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
885         of char
886         (breakParagraph): rename par to par_offset and use a local
887         reference. Add code to keep the language over a rebreak.
888         (breakParagraphConservative): rename par to par_offset, use a
889         local reference
890         (mergeParagraph): ditto
891         (outerHook): ditto
892         (isFirstInSequence): ditto
893         (outerFont): rename pit to par_offset
894
895         * paragraph.C: ws change
896         * paragraph.h: ditto
897         * text3.C: ditto
898         * text.C: ditto
899
900 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
903         treatment for ']'
904
905         * paragraph.C (simpleTeXOnePar): when we have a \item with
906         optional argument, enclose the argument with curly brackets (in
907         case it contains a closing square bracket)
908
909         * text2.C (editXY):
910         * text2.C (editXY):
911         * text3.C (checkInsetHit): constify
912
913 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
916         documents (bug 1629)
917
918 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         Fix toggling of collapsable insets with the mouse (bug 1558)
921
922         * lyxfunc.C (dispatch): adapt to LCursor changes
923
924         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
925         make sure that dispatch is not invoked twice
926
927         * cursor.C (needsUpdate): new method
928         (dispatch): return void
929         (result): new method, to access the DispatchResult of the cursor.
930
931 2004-08-13  José Matos  <jamatos@lyx.org>
932
933         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
934
935 2004-08-13  André Pönitz  <poenitz@gmx.net>
936
937         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
938
939         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
940           multiple cells
941
942 2004-08-12  André Pönitz  <poenitz@gmx.net>
943
944         * text3.C: take out the 'cursor right' form insertInset and only
945         do it in those places when it is really needed. Fixes crash on
946         C-m...
947
948 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
951
952         * BufferView_pimpl.C (setBuffer): initialize the current font of
953         the underlying LyXText
954
955 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * kbsequence.C (print): use UI native formatting for menu
958         shortcuts
959
960         * text.C (insertChar): call Paragraph::insertChar with a font
961         argument (cosmetic)
962
963         * paragraph.C (insertInset, insertChar): the version that takes a
964         LyXFont argument is now a wrapper around the other one (the
965         opposite used to be true).
966
967         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
968         argument. Font setting is done in Paragraph now.
969
970 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * outputparams.h: add new members intitle and lang.
973
974         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
975         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
976
977 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
978
979         * text3.C (dispatch): remove special handling of button 4 and 5,
980         it is now taken care of in the frontend code.
981
982 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
983
984         * Spacing.h: add <string> (STLPort compile fix)
985
986 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
987
988         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
989
990 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
991
992         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
993         to bool.
994
995         * converter.C (showMessage): inherit from unary_function, make
996         operator() const.
997
998         * buffer.C (writeFile): initialize retval
999
1000         * InsetList.h: rename private variable list to list_
1001         * InsetList.[Ch]: adjust accordingly.
1002
1003 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1004
1005         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1006         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1007         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1008         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1009         * ParagraphParameters.C, LaTeXFeatures.C: replace
1010         "support/std_sstream.h" with <sstream>
1011
1012 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1013
1014         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1015         * lyxsocket.C (LyXServerSocket): ditto
1016         (serverCallback): ditto
1017
1018 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1019
1020         * LaTeXFeatures.C: check release date when loading jurabib.
1021
1022 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1023
1024         * lyxserver.C (startPipe): call register_socket_callback
1025         (endPipe): call unregister_socket_callback
1026
1027 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1028
1029         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1030         (LyXServerSocket): register the callback
1031         (LyXServerSocket): unregister the callback
1032         (fd): delete function
1033         (serverCallback): improve error checking and setup the callbacks.
1034         (dataCallback): change arg to fd.
1035         (writeln): new func (copied fro the client socket) used for server
1036         write to client.
1037         (LyXDataSocket): simplify
1038         (~LyXDataSocket): close ann unregiser callback
1039         (server): delete function
1040         (fd): delete function
1041         (readln): small changes, improve some std::string usage
1042         (writeln): constify a bit
1043
1044 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1047         Qt frontend
1048
1049 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1052         after it has been populated
1053
1054 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * text2.C (insertInset): move cursor when inserting inset.
1057
1058 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * kbmap.C (findbindings): a couple of new methods. returns a
1061         container of kb_sequence objects. The real work is done by the
1062         private recursive version
1063         (printbindings): uses findbindings to print out a bracketed list
1064         of bindings (renamed from findbinding).
1065
1066         * MenuBackend.C (binding): use kb_keymap::findbindings
1067
1068         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1069
1070 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1071
1072         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1073
1074 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1075
1076         * paragraph.C (isWord): return true on insets that report
1077         isLetter().
1078
1079         * text.C (getWord): use Paragraph::isWord to decide what is in a
1080         word and what is not; fix bug 1609.
1081
1082 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1083
1084         * tex-strings.C: add "none" to string_paperpackages[], fixes
1085         off-by-one-error in the paperpackage selection.
1086
1087         * lyxlex.[Ch]:
1088         * tex-strings.[Ch]: char const * string[n]
1089         -> char const * const string[]
1090
1091 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1094         command, return early.
1095
1096 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1097
1098         * debug.h: add DEBUG to enum and fix size of ANY.
1099
1100         * debug.C: add support for Debug::DEBUG
1101         (showTags): cast errorTags.level to unsigned int
1102
1103         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1104         (redoCurrentBuffer): ditto
1105         (updateScrollbar): ditto
1106         * cursor.C (dispatch): ditto
1107         * text2.C (setLayout): ditto
1108         (setFont): ditto
1109         (updateCounters): ditto
1110         (editXY): ditto
1111         (deleteEmptyParagraphMechanism): ditto
1112
1113 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1114
1115         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1116         annotations to cleanup the Makefile slightly.
1117
1118 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * lyxrc.C: do not set user_email to a default value but use empty
1121         instead. The entry used to be translated, which does not work
1122         since at the point where lyxrc is constructed there is no
1123         translation service available
1124
1125         * messages.C (getLocaleDir): remove and use directly
1126         lyx_localedir() instead
1127
1128 2004-06-02  Angus Leeming  <leeming@lyx.org>
1129
1130         Fix crash caused by dereferencing null pointer 'exportdata' in
1131         OutputParams by creating a new ExportData variable on the heap,
1132         storing it in a boost::shared_ptr.
1133         The crash was triggered when generating an Instant Preview
1134         of an external inset.
1135
1136         * Makefile.am: add outputparams.C
1137
1138         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1139         (c-tor): allocate memory to it.
1140
1141         * exporter.C (c-tor): associated changes.
1142
1143 2004-06-01  Angus Leeming  <leeming@lyx.org>
1144
1145         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1146         contains data before calling isInset(0). (Bug 1513.)
1147
1148 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1149
1150         * exporter.C (checkOverwrite): new method
1151         * exporter.C (copyFile): new method
1152         * exporter.C (Export): copy referenced files to the document dir
1153         * exporter.[Ch]: new class ExportedFile
1154         * exporter.[Ch]: new class ExportData. Contains currently the
1155         names of referenced external files
1156         * outputparams.h: add exportdata member.
1157
1158 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1161         version.C-tmp
1162
1163 2004-05-19  Angus Leeming  <leeming@lyx.org>
1164
1165         * LaTeXFeatures.C:
1166         * ToolbarBackend.C:
1167         * bufferparams.C:
1168         * lyxfunc.C: small changes due to the introduction of namespace
1169         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1170
1171 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1172
1173         * text3.C (dispatch): supress update when only moving the cursor
1174         * cursor.C (selHandle): remove commented code
1175
1176 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1177
1178         * paragraph.C (startTeXParParams): correct column count
1179         * CutAndPaste.C (pasteSelection): remove const_cast
1180         * output_docbook.C (docbookParagraphs): remove const_cast
1181         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1182         const_cast and return ParagraphList::const_iterator
1183         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1184         * output_plaintext.C (writeFileAscii): remove const_cast
1185         * paragraph.[Ch] (simpleTeXOnePar): make const
1186         * paragraph_funcs.C (outerPar): use const iterators
1187         * paragraph_pimpl.C (validate): use const iterators
1188         * text.C (setHeightOfRow): use const iterators
1189
1190 2004-05-17  Angus Leeming  <leeming@lyx.org>
1191
1192         * lfuns.h:
1193         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1194
1195         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1196         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1197         if the citation engine has changed.
1198
1199 2004-05-14  José Matos  <jamatos@lyx.org>
1200
1201         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1202         if the textclass does not provide it. Have it different for sgml and
1203         xml.
1204         support the language of document.
1205         * output_docbook.C (docbookParagraphs):
1206         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1207         first anchor as the id of the paragraph, remove special case code.
1208         * sgml.C (escapeChar): escape only < & >.
1209
1210 2004-05-14  Angus Leeming  <leeming@lyx.org>
1211
1212         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1213         dependencies on src/frontends/controllers/biblio.h. Define a
1214         CiteEngine_enum wrapper class to enable the enum to be forward
1215         declared.
1216
1217 2004-05-12  Angus Leeming  <leeming@lyx.org>
1218
1219         * buffer.C: up LYX_FORMAT to 234.
1220         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1221         use_numerical_citations with a single biblio::CiteEngine cite_engine
1222         variable.
1223         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1224
1225 2004-05-13  José Matos  <jamatos@lyx.org>
1226
1227         * converter.h:
1228         * converter.C (Converter, readFlags): add xml member.
1229         * outputparams.h: add XML flavor.
1230         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1231
1232 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * lyxfunc.C (dispatch):
1235         (getStatus): fix handling of LFUN_SEQUENCE
1236
1237 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * debug.C (showLevel): do not forget the end-of-line marker
1240
1241 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1242
1243         * kbmap.C (read): do not stop parsing a bind file when an error
1244         occurs (bug 1575)
1245
1246 2004-04-29  Angus Leeming  <leeming@lyx.org>
1247
1248         * cursor.C:
1249         * factory.C:
1250         * pariterator.C:
1251         * text2.C: wrap a bunch of #warning statements
1252         inside #ifdef WITH_WARNINGS blocks.
1253
1254 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1255
1256         * buffer.C: increment format to 233.
1257
1258 2004-04-28  Angus Leeming  <leeming@lyx.org>
1259
1260         * BufferView_pimpl.C:
1261         * lyxfunc.C:
1262         * text3.C:
1263         s/updateToolbar()/updateToolbars()/
1264         s/Toolbar.h/Toolbars.h/
1265
1266 2004-04-28  Angus Leeming  <leeming@lyx.org>
1267
1268         * BufferView.[Ch] (c-tor):
1269         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1270         No longer passes these data to the WorkArea generator.
1271
1272 2004-04-28  Angus Leeming  <leeming@lyx.org>
1273
1274         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1275
1276 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1277
1278         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1279
1280 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * output_latex.C (TeXEnvironment): make sure that there is a line
1283         break before \end{foo} for the last paragraph of a document
1284         (TeXOnePar): if the paragraph is at the end of the document (or
1285         inset) and the language has to be reset, then make sure that the
1286         line break is _before_ the language command, not after (fixes bug
1287         1225); also make sure that the language reset command is the first
1288         thing after the paragraph (to ensure proper nesting of
1289         environments and thus fix bug 1404)
1290
1291 2004-04-21  John Levon  <levon@movementarian.org>
1292
1293         * ToolbarBackend.h:
1294         * ToolbarBackend.C: make "name" be a programmatic name
1295         and a gui_name field.
1296
1297         * lyxfunc.C: display the minibuffer on M-x
1298
1299 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1302         (bug 1526)
1303
1304 2004-04-19  Angus Leeming  <leeming@lyx.org>
1305
1306         * BufferView_pimpl.C (setBuffer): changed preview interface.
1307
1308         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1309         possible values.
1310
1311 2004-04-19  John Levon  <levon@movementarian.org>
1312
1313         * BufferView_pimpl.C:
1314         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1315
1316 2004-04-05  Angus Leeming  <leeming@lyx.org>
1317
1318         * text.C (redoParagraphs): add call to updateCounters(), thereby
1319         fixing the missing "Figure #:" label from the caption of a
1320         figure float.
1321
1322 2004-04-13  Angus Leeming  <leeming@lyx.org>
1323
1324         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1325         cursor is clicked out of an inset.
1326
1327 2004-04-13  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1330         than an InsetOld one.
1331
1332 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1333
1334         * format.[Ch]: add editor to Format
1335         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1336         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1337
1338 2004-04-08  André Pönitz  <poenitz@gmx.net>
1339
1340         * metricsinfo.h: remove PainterInfo::width member
1341
1342 2004-04-08  Angus Leeming  <leeming@lyx.org>
1343
1344         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1345         "\providecommand" rather than "\newcommand", thereby preventing
1346         clashes with packages that define "\boldsymbol" themselves.
1347         Eg, beamer.
1348
1349 2004-04-08  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1352         thereby squashing an unnecessary warning.
1353
1354 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1355
1356         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1357         setBuffer()
1358
1359 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1360
1361         * BufferView.C (setCursor): call redoParagraph (some insets could
1362         have been opened)
1363         (putSelectionAt): remove the 'double update' trick
1364
1365         * BufferView_pimpl.C (fitCursor): call refreshPar
1366         (workAreaDispatch): remove an uneeded update call
1367         (dispatch): remove some manual update calls
1368
1369         * cursor.[Ch]: remove cached_y_, updatePos
1370         (selHandle): set noUpdate when appropriate
1371
1372         * lyxfunc.C (dispatch): track if we need an update
1373
1374         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1375
1376         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1377         (paintSelection): cheap optimization, do not call cursorX when not
1378         needed
1379         (paintPars): change signature
1380         (refreshPar): add
1381         (paintText): adjust
1382         (paintTextInset): adjust
1383
1384         * text.C: adjust
1385
1386 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * lengthcommon.C: compilation fix: remove explicit array size from
1389         unit_name[] and friends
1390
1391 2004-04-05  Angus Leeming  <leeming@lyx.org>
1392
1393         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1394
1395         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1396         present only for the preferences dialog.
1397         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1398
1399 2004-04-05  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1402         to enable the frontends to export changes to lyxrc correctly.
1403
1404         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1405
1406 2004-04-07  André Pönitz  <poenitz@gmx.net>
1407
1408         * cursor.[Ch] (selClear, adjust): remove math
1409
1410         * cursor_slice.C: more agressive assert
1411
1412         * lyxfunc.C:
1413         * BufferView_pimpl.C: rework mouse event dispatch
1414
1415         * dociterator.C:
1416         * paragraph.C:
1417         * text2.C:
1418         * text3.C: adjust
1419
1420 2004-04-05  André Pönitz  <poenitz@gmx.net>
1421
1422         * cursor.[Ch] (valign, halign...): remove unneeded functions
1423
1424 2004-04-05  Angus Leeming  <leeming@lyx.org>
1425
1426         * lyxlength.[Ch] (unit_name et al.): const-correct.
1427
1428 2004-04-05  Angus Leeming  <leeming@lyx.org>
1429
1430         * BufferView_pimpl.C:
1431         * buffer.C:
1432         * counters.C:
1433         * cursor.C:
1434         * lyxfunc.C
1435         * paragraph.C:
1436         * pariterator.C:
1437         * text.C:
1438         * text2.C:
1439         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1440
1441 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1442
1443         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1444
1445 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1448         * BufferView_pimpl.[Ch] (getStatus)
1449         * BufferView.[Ch] (getStatus): add
1450         * lyxfunc.C (getStatus): move lfuns handled in
1451         BufferView::dispatch to te function above
1452         * Cursor.C (setSelection): set selection() = true
1453
1454 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1455
1456         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1457
1458 2004-03-31  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyxfunc.C (dispatch): Fall through to the generic
1461         Dialogs::show("preamble").
1462
1463 2004-03-31  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyxfunc.C (dispatch): Fall through to the generic
1466         Dialogs::show("spellchecker").
1467
1468 2004-03-31  Angus Leeming  <leeming@lyx.org>
1469
1470         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1471         preferences dialog.
1472
1473 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1474
1475         * BufferView.C
1476         * cursor.[Ch]
1477         * dociterator.[Ch]:
1478         * insetiterator.[Ch]:
1479         * lyxfind.C:
1480         * lyxfunc.C:
1481         * pariterator.[Ch]:
1482         * text2.C:
1483         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1484
1485 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1486
1487         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1488         insets where we are putting the cursor.
1489
1490 2004-03-31  Angus Leeming  <leeming@lyx.org>
1491
1492         * lfuns.h:
1493         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1494
1495         * lyxrc.[Ch] (read, write): overloaded member functions taking
1496         a std::[io]stream arguments.
1497
1498         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1499
1500 2004-03-31  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1503         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1504
1505         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1506         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1507
1508 2004-03-31  Angus Leeming  <leeming@lyx.org>
1509
1510         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1511         the LFUN_ALL_INSETS_TOGGLE code.
1512
1513 2004-03-30  Angus Leeming  <leeming@lyx.org>
1514
1515         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1516         has died. Fall through to the generic Dialogs::show("document").
1517
1518 2004-03-30  Angus Leeming  <leeming@lyx.org>
1519
1520         * lfuns.h:
1521         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1522         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1523
1524         * lyxfunc.C (getStatus, dispatch): define the actions for these
1525         lfuns. Little more than a cut and pste job from ControlDocument.C
1526
1527         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1528
1529 2004-03-30  Angus Leeming  <leeming@lyx.org>
1530
1531         * lfuns.h:
1532         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1533         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1534
1535         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1536         open/closed state of ollapsable insets. Usage:
1537
1538         all-inset-toggle <state> <name>, where
1539         <state> == "open" || "closed" || "toggle" and
1540         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1541
1542         * lyxtext.h, text2.C (toggleInset): removed.
1543
1544         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1545         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1546         now passes LFUN_INSET_TOGGLE to the found inset.
1547
1548         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1549         is now invoked as "all-insets-toggle toggle branch".
1550
1551 2004-03-30  Angus Leeming  <leeming@lyx.org>
1552
1553         * dociterator.C:
1554         * insetiterator.C:
1555         * pariterator.[Ch]: added/corrected header blurb.
1556
1557 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * dociterator.[Ch]: add an inset_ member
1560         (backwardPos): implemented
1561         (backwardPos, forwardPos): use inset_ when the stack is empty.
1562         (doc_iterator_begin, doc_iterator_end): implemented
1563         * pariterator.[Ch]: adjust, add begin, end
1564         * insetiterator.[Ch]: adjust, add begin, end
1565         * cursor.C:
1566         * document.C:
1567         * BufferView.C:
1568         * BufferView_pimpl.C:
1569         * CutAndPaste.C: adjust
1570
1571 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1572
1573         * buffer.C: increment file format to 232.
1574         * LaTeXFeatures.C: add bibtopic package.
1575         * bufferparams.[Ch]: param \use_bibtopic.
1576
1577         * lyxrc.[Ch]: add lyxrc bibtex_command
1578         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1579
1580         * buffer.C: increment file format to 231.
1581
1582 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1583
1584         * dociterator.C: implement forwardPar
1585         * iterators.[Ch]: remove, replaced by
1586         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1587         * BufferView.C:
1588         * BufferView_pimpl.C:
1589         * CutAndPaste.C:
1590         * buffer.C:
1591         * bufferview_funcs.C:
1592         * cursor.C:
1593         * lyxfind.C
1594         * lyxfunc.C
1595         * paragraph_funcs.C
1596         * toc.C:
1597         * Makefile.am: adjust
1598
1599 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * CutAndPaste.C (pasteSelection): fix 2 crashes
1602         (eraseSelection): fix a crash
1603         * paragraph_funcs.C: remove a warning
1604
1605 2004-03-28  Angus Leeming  <leeming@lyx.org>
1606
1607         * lfuns.h:
1608         * LyXAction.C (init): new LFUN_PRINT.
1609
1610         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1611
1612 2004-03-27  Angus Leeming  <leeming@lyx.org>
1613
1614         * lfuns.h:
1615         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1616
1617         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1618
1619 2004-03-27  Angus Leeming  <leeming@lyx.org>
1620
1621         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1622         insetlist always contains non-null pointers to insets.
1623
1624 2004-03-26  Angus Leeming  <leeming@lyx.org>
1625
1626         * src/BufferView_pimpl.C:
1627         * src/CutAndPaste.C:
1628         * src/buffer.C:
1629         * src/iterators.C:
1630         * src/output_plaintext.C:
1631         * src/outputparams.h:
1632         * src/paragraph_funcs.C:
1633         * src/rowpainter.C:
1634         * src/text.C:
1635         * src/text2.C:
1636         * src/frontends/controllers/ControlErrorList.C:
1637         * src/frontends/gtk/FileDialogPrivate.C:
1638         * src/frontends/gtk/GPainter.C:
1639         * src/frontends/gtk/GToolbar.C:
1640         * src/frontends/qt2/QRef.C:
1641         * src/mathed/math_scriptinset.C: squash compiler warnings.
1642
1643 2004-03-26  Angus Leeming  <leeming@lyx.org>
1644
1645         * ispell.C (LaunchIspell::start):
1646         * lyx_cb.C (AutoSaveBuffer::start):
1647         invoke run(DontWait) rather than runNonBlocking().
1648
1649 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1652
1653 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1654
1655         * kbsequence.C (print): adjust
1656
1657         * kbmap.C (printKeySym): rename and change signature
1658         (printKey): use LyXKeySym::print()
1659
1660 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1661
1662         * undo.C: add using std::advance to compile for stlport
1663
1664 2004-03-24  Angus Leeming  <leeming@lyx.org>
1665
1666         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1667         it leads to a crash when no buffer is present.
1668
1669 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1670             Martin Vermeer  <martin.vermeer@hut.fi>
1671
1672         * lyxfunc.C (dispatch):
1673         * bufferparams.C (readToken): use the new LColor::setColor
1674
1675         * LColor.[Ch] (setColor): new version that takes two strings as
1676         argument and creates a new color entry if necessary
1677
1678 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1679
1680         * buffer.C (makeLaTeXFile): if the main latex file that is
1681         processed is usually a subdocument of some master, then pretend
1682         for a while that it is actually the master
1683
1684 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1685
1686         * buffer.C (getLabelList):
1687         (getBibkeyList): use getMasterBuffer()
1688         (getMasterBuffer): new method. Returns the main document in the
1689         case where one is using included documents.
1690
1691 2004-03-25  André Pönitz  <poenitz@gmx.net>
1692
1693         * Makefile.am:
1694         * iterators.[Ch]:
1695         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1696
1697         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1698
1699         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1700         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1701
1702         * ParameterStruct.h: merge with ParagraphParameters
1703
1704         * lyxtext.h: remove LyXText::parOffset() and getPar()
1705
1706         * text3.C: Remove all 'manual' update calls. We do now one per user
1707         interaction which is completely sufficient.
1708
1709         * Bidi.C:
1710         * BufferView.[Ch]:
1711         * BufferView_pimpl.C:
1712         * FontIterator.[Ch]:
1713         * MenuBackend.C:
1714         * ParagraphParameters.[Ch]:
1715         * buffer.C:
1716         * buffer.h:
1717         * bufferlist.C:
1718         * cursor.[Ch]:
1719         * cursor_slice.[Ch]:
1720         * dociterator.[Ch]:
1721         * errorlist.[Ch]:
1722         * factory.C:
1723         * lfuns.h:
1724         * lyxfind.C:
1725         * lyxfunc.C:
1726         * output_docbook.[Ch]:
1727         * output_latex.[Ch]:
1728         * output_linuxdoc.[Ch]:
1729         * output_plaintext.[Ch]:
1730         * paragraph.[Ch]:
1731         * paragraph_funcs.[Ch]:
1732         * paragraph_pimpl.[Ch]:
1733         * rowpainter.C:
1734         * tabular.[Ch]:
1735         * text.C:
1736         * text2.C:
1737         * toc.C:
1738         * undo.[Ch]: adjust
1739
1740         * frontends/controllers/ControlDocument.C:
1741         * frontends/controllers/ControlErrorList.C:
1742         * frontends/controllers/ControlSpellchecker.C:
1743         * insets/inset.C:
1744         * insets/inset.h:
1745         * insets/insetbase.h:
1746         * insets/insetbibitem.C:
1747         * insets/insetbox.C:
1748         * insets/insetbranch.C:
1749         * insets/insetcaption.C:
1750         * insets/insetcharstyle.C:
1751         * insets/insetcharstyle.h:
1752         * insets/insetcollapsable.C:
1753         * insets/insetcollapsable.h:
1754         * insets/insetert.C:
1755         * insets/insetfloat.C:
1756         * insets/insetfoot.C:
1757         * insets/insetmarginal.C:
1758         * insets/insetnote.C:
1759         * insets/insetoptarg.C:
1760         * insets/insettabular.C:
1761         * insets/insettext.C:
1762         * insets/insettext.h:
1763         * insets/insetwrap.C:
1764         * mathed/math_mboxinset.C:
1765         * mathed/math_nestinset.C:
1766         * mathed/math_scriptinset.C:
1767         * mathed/math_scriptinset.h:
1768         * support/types.h:
1769
1770 2004-03-24  Angus Leeming  <leeming@lyx.org>
1771
1772         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1773         deal with any child processes that have finished but are waiting to
1774         communicate this fact to the rest of LyX.
1775
1776 2004-03-24  Angus Leeming  <leeming@lyx.org>
1777
1778         64-bit compile fixes.
1779
1780         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1781         (c-tor): pass lyx::pos_types rather than ints.
1782
1783         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1784         lyx::pos_type.
1785
1786         * text.C (Delete): compile fix.
1787         (getPar): ensure that function declaration is the same as that in
1788         the header file.
1789
1790 2004-03-23  Angus Leeming  <leeming@lyx.org>
1791
1792         * ispell.C (LaunchIspell):
1793         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1794         a boost::shred_ptr rather than a std::auto_ptr.
1795
1796 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1799         handle LFUN_FILE_INSERT_*
1800
1801         * lyxrc.C (setDefaults, getDescription, output, read):
1802         * lyxrc.h: remove ps_command
1803
1804 2004-03-22  Angus Leeming  <leeming@lyx.org>
1805
1806         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1807         Ensure that error_handler is processed once only and that all data
1808         is saved before attempting to output any warning messages.
1809
1810         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1811
1812 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1815
1816 2004-03-19  André Pönitz  <poenitz@gmx.net>
1817
1818         * cursor.[Ch] (reset): take main text inset as argument
1819
1820         * BufferView: adjust
1821         * BufferView_pimpl.C: adjust
1822
1823         * paragraph.[Ch]: fix completely broken operator=()
1824
1825 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * LColor.C (getFromLyXName): make sure that the color name is used
1828         as lowercase.
1829
1830 2004-03-17  Angus Leeming  <leeming@lyx.org>
1831
1832         * lfuns.h:
1833         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1834
1835         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1836         dialog and to kill a forked process.
1837
1838 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * text2.C (setCursorFromCoordinates): fix font problem
1841
1842 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1845         bogus "rebuild cursor" code
1846
1847 2004-03-11  André Pönitz  <poenitz@gmx.net>
1848
1849         * buffer.[Ch]: use InsetText instead of LyXText as container for
1850         the main lyx text.
1851
1852         * dociterator.[Ch]: drop the BufferView * member which is not needed
1853         anymore after the change to buffer.C
1854
1855         * paragraph_funcs.C:
1856         * text.C:
1857         * text2.C:
1858         * BufferView.[Ch]:
1859         * BufferView_pimpl.[Ch]:
1860         * cursor.[Ch]:
1861         * cursor_slice.[Ch]: adjust
1862
1863         * text3.C: fix bug in mathDispatch
1864
1865 2004-03-08  André Pönitz  <poenitz@gmx.net>
1866
1867         * undo.[Ch]: use 'StableDocumentIterator' as base for
1868         the Undo struct.
1869
1870 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1871
1872         * LaTeXFeatures.C:
1873         * bufferparams.[Ch]: add jurabib support and param.
1874
1875         * LaTeX.C: add FIXME/comment.
1876
1877 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1878
1879         * buffer.C: increment file format to 230.
1880
1881 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * cursor.C (dispatch): avoid infinite loops
1884
1885 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * rowpainter.C (paintSelection): fix x coordinates
1888
1889 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * text.C (rowBreakPoint): fix breaking before displayed insets
1892
1893 2004-03-01  André Pönitz  <poenitz@gmx.net>
1894
1895         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1896
1897         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1898
1899         * Makefile.am:
1900         * BufferView.C:
1901         * BufferView_pimpl.C:
1902         * buffer.C:
1903         * lyxfind.C:
1904         * lyxfunc.C:
1905         * text.C:
1906         * text2.C:
1907         * text3.C: adjust
1908
1909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * lyxtext.h:
1912         * text.C:
1913         * text2.C:
1914         * rowpainter.C:
1915         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1916         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1917
1918 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * Bidi.[Ch] (computeTables): const correctness
1921         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1922         fill_hfill, fill_label_hfill and x from Row
1923         * lyxtext.h: prepareToPrint returns a RowMetrics
1924         * rowPainter.C: adjust
1925         * text.C (prepareToPrint): use width, not textWidth. adjust
1926         (redoParagraphInternal, cursorX): adjust
1927         * text2.C (getColumnNearX): adjust
1928         (init): put a default value to the top LyXText::width
1929
1930 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1931
1932         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1933
1934 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * lyxtext.h: add FontIterator class
1937
1938         * text.C (FontIterator, operator*, operator->, operator++): add
1939         (rowBreakPoint, setRowWidth): adjust (fixing a
1940         rebreaking bug)
1941
1942 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1943
1944         * BufferView_pimpl.C (workAreaDispatch): allow also
1945         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1946
1947 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * text.C (rowBreakPoint): fix a bug showing with very large insets
1950
1951 2004-02-25  André Pönitz  <poenitz@gmx.net>
1952
1953         * text3.C:
1954         * cursor.[Ch]: move some mathed specific code to mathed
1955
1956 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1957
1958         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1959         use_tempdir in preferences
1960         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1961         tempfile creation
1962         * lyx_main.C: ensure that tempdir is valid
1963         * lyxlex.h: correct typo
1964         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1965         * paragraph.[Ch] (isMultiLingual): make const
1966         * cursor.[Ch] (openable): make const
1967
1968 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1969
1970         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1971
1972 2004-02-20  André Pönitz  <poenitz@gmx.net>
1973
1974         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1975
1976         * cursor.[Ch]: prepare for localized getStatus()
1977
1978         * lyxtext.h:
1979         * tabular.C:
1980         * text.C:
1981         * text2.C:
1982         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1983
1984 2004-02-20  André Pönitz  <poenitz@gmx.net>
1985
1986         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1987
1988 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1989
1990         * text2.C (setCursorFromCoordinates): switch to absolute coords
1991         (cursorUp): adjust
1992         (cursorDown): adjust
1993         * text3.C (dispatch): adjust
1994
1995 2004-02-16  André Pönitz  <poenitz@gmx.net>
1996
1997         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1998           insets/ChangeLog)
1999
2000         * cursor_slice.[Ch]: remove unneeded acessor function
2001
2002         * lyxtext.h: rename rtl() to isRTL()
2003
2004         * rowpainter.C:
2005         * tabular.C:
2006         * text.C:
2007         * text2.C:
2008         * text3.C: adjust
2009
2010 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * rowpainter.C (paintSelection): coord fix
2013
2014 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2015
2016         * Spacing.C: compile fix
2017
2018 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * cursor.C (dispatch): restore current_ before returning
2021
2022 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * text2.C (cursorUp, cursorDown): fix coords
2025         (moveUp): fix crash
2026
2027 2004-02-12  André Pönitz  <poenitz@gmx.net>
2028
2029         * lyxtext.h:
2030         * text.C:
2031         * text2.C:
2032         * text3.C: add LCursor & parameter to most cursor movement functions
2033           remove usage of LyXText::cursorRow() and cursorPar()
2034
2035         * cursor.[Ch]: add textRow() needed members
2036
2037         * BufferView.C:
2038         * BufferView_pimpl.C:
2039         * paragraph.[Ch]:
2040         * BufferView.C:
2041         * BufferView_pimpl.C: adjust
2042
2043 2004-02-11  André Pönitz  <poenitz@gmx.net>
2044
2045         * lyxfunc.C:
2046         * BufferView.[Ch]:
2047         * BufferView_pimpl.C: shift undo/redo handling
2048
2049         * cursor.[Ch]: fix mathed crash
2050
2051         * lyxfind.C:
2052         * lyxtext.h: move selectionAsText to LCursor
2053
2054         * output_latex.C:
2055         * paragraph.C:
2056         * text.C:
2057         * text2.C:
2058         * text3.C: adjust
2059
2060         * rowpainter.C: fix excessive drawing
2061
2062 2004-02-06  André Pönitz  <poenitz@gmx.net>
2063
2064         * BufferView.[Ch]:
2065         * BufferView_pimpl.[Ch]:
2066         * text3.C: move some text specific LFUN handling
2067
2068 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * text3.C (checkInsetHit): adjust coords
2071         * text2.C (getColumnNearX): adjust coords
2072         (edit): adjust coords
2073         * text.C (getRowNearY): add two asserts
2074
2075 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2076
2077         * converter.C:
2078         * format.C: add using std::distance to compile on gcc 2.95/stlport
2079
2080 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2083
2084 2004-02-04  André Pönitz  <poenitz@gmx.net>
2085
2086         * BufferView.[Ch] (insertInset):
2087         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2088
2089         * text2.C:
2090         * text3.C: adjust
2091
2092 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2095         on the default clause of the switch
2096         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2097         wasn't catched by LCursor::dispatch
2098
2099 2004-02-03  André Pönitz  <poenitz@gmx.net>
2100
2101         * BufferView.C:
2102         * cursor.[Ch]: some additional asserts
2103
2104         * undo.[Ch]: remove LyXText dependency in interface
2105
2106         * lyxfunc.C: adjust
2107
2108         * lyxtext.h (firstPar, lastPar): remove dead functions
2109
2110         * text.C:
2111         * text2.C:
2112         * text3.C:
2113         * paragraph.[Ch]: adjust
2114
2115 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * lyxfind.C (find): fix argument order in call to ::find
2118
2119 2004-02-02  André Pönitz  <poenitz@gmx.net>
2120
2121         * cursor.[Ch]: remove direct access to anchor
2122
2123         * text.C: remove findText() hack
2124
2125 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2126
2127         * iterators.[Ch] (lockPath): remove in favour of...
2128         * BufferView.[Ch] (setCursor): this addition
2129         * BufferView.C (putSelectionAt): adjust
2130         * undo.C (performUndoOrRedo): adjust
2131         * lyxfunc.C (dispatch): adjust
2132
2133 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * iterators.C (lockPath): add a missing slice
2136         * undo.C (performUndoOrRedo): remove redundant positioning code
2137
2138 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2139
2140         * vc-backend.C (scanMaster): ";" -> ';'
2141
2142 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2143
2144         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2145         std::binary_function
2146
2147         * lyxtextclass.C (compare_name): rename to...
2148         (LayoutNamesEqual): ...this
2149
2150         * lyxlex_pimpl.C (compare_tags): inherit from
2151         std::binary_function, put back into anon namespace
2152
2153         * lyxfind.C (MatchString): inherig from std::binary_function
2154         (findChange): use empty() istead of !size()
2155
2156         * format.C (FormatNamesEqual): new functor
2157         (getFormat): use it
2158         (getNumber): use it
2159         (add): use it
2160         (erase): use it
2161         (setViewer): use it
2162
2163         * converter.C (compare_Converter): rename to...
2164         (ConverterEqual): ...this, and fixup a bit.
2165         (getConverter): use it, and make function const
2166         (getNumber): use it, and make function const
2167         (add): use it
2168         (erase): use it:
2169
2170         * bufferlist.C: add using boost::bind
2171
2172         * MenuBackend.C (MenuNamesEqual): new functor
2173         (hasMenu): use it, and make function const
2174         (hasSubmenu): use nested bind to get rid of compare_memfun.
2175
2176 2004-01-30  André Pönitz  <poenitz@gmx.net>
2177
2178         * BufferView_pimpl.C:
2179         * cursor.C:
2180         * cursor.h:
2181         * cursor_slice.[Ch]:
2182         * lyxfunc.C:
2183         * lyxtext.h:
2184         * paragraph_funcs.C:
2185         * paragraph_funcs.h:
2186         * rowpainter.C:
2187         * text.C:
2188         * text2.C:
2189         * text3.C: move some of the edit(x,y) handling to the insets
2190         some coordinate changes.
2191
2192 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2193
2194         * text.C: add using statements for std::advance and std::distance
2195
2196         * paragraph.C: add using statement for std::distance
2197
2198         * lyxfind.C: add using statement for std::advance
2199
2200         * cursor.C (region): remove std:: from swap
2201         (openable): use nucleus in stead of operator->
2202
2203         * BufferView.C: add using statements for std::distance and std::swap
2204
2205 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2206
2207         * iterators.C: Remove the pimple, move the needed structures to
2208         the header file. Create accessor for the positions stack.
2209         (asPosIterator): remove function
2210
2211         * PosIterator.C (PosIterator): move constructors to top of file
2212         (PosIterator): reimplement the constructor taking a ParIterator in
2213         terms of setFrom.
2214         (setFrom): new function
2215         (operator!=): inline it
2216
2217 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2218
2219         * lyxfind.C (replaceAll): use std::advance
2220
2221         * iterators.h: inherit from std::iterator.
2222
2223         * PosIterator.C (advance, distance): remove
2224         * PosIterator.h: interit from std::iterator.
2225
2226 2004-01-26  André Pönitz  <poenitz@gmx.net>
2227
2228         * BufferView.[Ch]:
2229         * BufferView_pimpl.[Ch]:
2230         * InsetList.[Ch]:
2231         * PosIterator.[Ch]:
2232         * buffer.h:
2233         * bufferview_funcs.C:
2234         * cursor.[Ch]:
2235         * cursor_slice.h:
2236         * factory.[Ch]:
2237         * iterators.[Ch]:
2238         * lyxfind.C:
2239         * lyxfunc.C:
2240         * lyxtext.h:
2241         * output_docbook.C:
2242         * output_latex.C:
2243         * output_linuxdoc.C:
2244         * output_plaintext.C:
2245         * paragraph.[Ch]:
2246         * paragraph_funcs.[Ch]:
2247         * paragraph_pimpl.[Ch]:
2248         * rowpainter.C:
2249         * tabular.C:
2250         * tabular.h:
2251         * text.C:
2252         * text2.C:
2253         * text3.C: more IU:  dumps most of the rest of the mathcursor
2254     implementation into cursor.[Ch]; "globalize" a bit of it.
2255
2256 2004-01-25  Angus Leeming  <leeming@lyx.org>
2257
2258         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2259
2260 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2261
2262         * LaTeXFeatures.h: add nice_ and nice() const
2263         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2264
2265 2004-01-20  André Pönitz  <poenitz@gmx.net>
2266
2267         * BufferView.[Ch]:
2268         * BufferView_pimpl.C:
2269         * PosIterator.C:
2270         * bufferview_funcs.C:
2271         * cursor.[Ch]:
2272         * cursor_slice.[Ch]:
2273         * factory.C:
2274         * iterators.C:
2275         * lyx_cb.C:
2276         * lyxfind.C:
2277         * lyxfunc.C:
2278         * lyxtext.h:
2279         * rowpainter.C:
2280         * text.C:
2281         * text2.C:
2282         * text3.C:
2283         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2284           LCursor and mathcursor parts to LCursor and InsetBase.
2285
2286 2004-01-15  André Pönitz  <poenitz@gmx.net>
2287
2288         * cursor_slice.[Ch]: add a few covienience functions
2289
2290         * funcrequest.[Ch]: remove BufferView * member
2291
2292         * BufferView_pimpl.C:
2293         * cursor.C:
2294         * factory.[Ch]:
2295         * lyxfind.[Ch]:
2296         * lyxfunc.C:
2297         * lyxtext.h:
2298         * text3.C:
2299         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2300
2301 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2302
2303         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2304         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2305
2306 2004-01-13  André Pönitz  <poenitz@gmx.net>
2307
2308         * textcursor.[Ch]:
2309         * lyxtext.h: hide cursor and selection anchor behind accessor function
2310
2311         * BufferView.C:
2312         * BufferView_pimpl.[Ch]:
2313         * PosIterator.C:
2314         * bufferview_funcs.C:
2315         * cursor.h:
2316         * lyxfind.C:
2317         * lyxfunc.C:
2318         * text.C:
2319         * text2.C:
2320         * text3.C:
2321         * undo.C: adjust
2322
2323         * cursor.h:
2324         * cursor_slice.[Ch]: some integer type changes for inset unification
2325
2326         * lyxcursor.[hC]: remove, it's CursorSlice now.
2327
2328         * Makefile.am:
2329         * BufferView_pimpl.[Ch]:
2330         * bufferview_funcs.C:
2331         * cursor_slice.C:
2332         * lyxtext.h:
2333         * text.C:
2334         * text2.C:
2335         * text3.C:
2336         * textcursor.[Ch]: adjust
2337
2338 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * text2.C (undoSpan): add and use
2341         * text.C (breakParagraph): use undoSpan (fix bug 578)
2342         * lyxtext.h: adjust
2343
2344 2004-01-08  Angus Leeming  <leeming@lyx.org>
2345
2346         * BufferView_pimpl.C (MenuInsertLyXFile):
2347         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2348         * lyxfunc.C (menuNew, open, doImport):
2349         FileFilterList change to the FileDialog open and save functions.
2350
2351 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2352
2353         * ShareContainer.h: make isEqual and isUnique adaptable
2354
2355         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2356
2357 2004-01-07  Angus Leeming  <leeming@lyx.org>
2358
2359         * LyXAction.C:
2360         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2361
2362         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2363
2364         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2365         functions replacing find, replace and replaceAll.
2366
2367         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2368         LFUN_WORDFIND(FORWARD|BACKWARD).
2369
2370 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * text.C (breakParagraph): remove an outdated #warning
2373
2374 2004-01-07  André Pönitz  <poenitz@gmx.net>
2375
2376         * lyxfind.C: somewhat clearer logic
2377
2378         * text.C: prevent crash in cursorX on unitialized row cache
2379
2380 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * lyxcursor.[Ch] (operator>): add
2383         * textcursor.C (selStart, selEnd): use std::min and std::max
2384
2385 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2386
2387         * Chktex.C: include boost/format.hpp
2388
2389 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2390
2391         * InsetList.C: replace functor MathcIt with adaptable functor
2392         InsetTablePosLess
2393         (insetIterator): modify accordingly
2394
2395         * BranchList.h: move the BranchNamesEqual functor here from...
2396         * BranchList.C: ... to here
2397
2398         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2399         SameName and match.
2400         (add): replace a finding loop with std::find_if.
2401
2402 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2403
2404         * output_docbook.C: moving LatexParam functionality into
2405         .layout files
2406
2407 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2408
2409         * buffer.C: increment format to 229.
2410
2411 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2412
2413         * LaTeXFeatures.C:
2414         * lyx_sty.[Ch]: remove minipageindent_def
2415
2416         * LyXAction.C:
2417         * factory.C:
2418         * lfuns.h:
2419         * lyxfunc.C:
2420         * text3.C: remove LFUN_INSET_MINIPAGE
2421
2422 2003-12-28  Angus Leeming  <leeming@lyx.org>
2423
2424         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2425
2426 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * text2.C (setParagraph): fix off-by-one crash
2429
2430 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2431
2432         * output_docbook.C: header stuff for AGU
2433
2434 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2435
2436         * text2.C (redoCursor): remove
2437         * text.C:
2438         * text3.C:
2439         * BufferView_pimpl.C: remove calls to redoCursor and
2440         setCursor(cursor.par(), cursor.pos()) all around
2441
2442 2003-12-15  Angus Leeming  <leeming@lyx.org>
2443
2444         * buffer.C: up the format to 228.
2445
2446 2003-12-15  André Pönitz  <poenitz@gmx.net>
2447
2448         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2449         slices
2450
2451         * Makefile.am:
2452
2453         * BufferView_pimpl.C:
2454         * cursor.[Ch]:
2455         * lyxcursor.[Ch]:
2456         * rowpainter.[Ch]:
2457         * lyxtext.h:
2458         * text.C:
2459         * text2.C:
2460         * text3.C: adjust
2461
2462 2003-12-15  Angus Leeming  <leeming@lyx.org>
2463
2464         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2465         than getFromGUIName to manipulate the color.
2466
2467 2003-12-14  Angus Leeming  <leeming@lyx.org>
2468
2469         * BranchList.[Ch]: minimize the API.
2470         (Branch::getBranch, getColor): now return a 'const &'.
2471         (Branch::setSelected) now returns a bool set to true if the
2472         selection status changes.
2473         (BranchList::clear, size, getColor, setColor, setSelected,
2474         allBranches, allSelected, separator): removed.
2475         (BranchList::find): new functions, returning the Branch with
2476         the given name.
2477         (BranchList::add, remove): return a bool indicating that
2478         the operation was successful.
2479
2480         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2481         new InsetBranch::isBranchSlected member function.
2482
2483         * LColor.[Ch]: mimimize the API.
2484         (fill): renamed as addColor and made private.
2485         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2486         versions of these functions taking a string arg have been removed.
2487
2488         * bufferparams.C (readToken):
2489         * lyxfunc.C (dispatch):
2490         * lyxrc.C (read): changes due to the altered BranchList and
2491         LColor APIs.
2492
2493         * factory.C (createInset, readInset): changes due to altered
2494         InsetBranch c-tor.
2495
2496 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2497
2498         * factory.C:
2499         * lyxfunc.C: remove insetminipage. "minipage-insert"
2500         now produces a frameless minipage box inset.
2501
2502 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * textcursor.[Ch] (selStart,selEnd): add new methods
2505         remove selection::start, end, use LyXCursor::operator<
2506         * lyxcursor.[Ch] (operator<): add
2507         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2508         * BufferView.[Ch] (unsetXSel): add
2509         * text2.C (clearSelection): use unsetXSel,adjust
2510         * text.C: adjust
2511         * text3.C: adjust
2512         * rowpainter.C: adjust
2513         * bufferview_funcs.C (put_selection_at): adjust
2514
2515 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2516
2517         * BufferView_pimpl.C: small coord. correction
2518
2519 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2522         dragging over the splash screen.
2523
2524 2003-12-11  Angus Leeming  <leeming@lyx.org>
2525
2526         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2527         as it is now handled in LyXText::dispatch.
2528
2529         * text3.C (doInsertInset): remove a level of nesting.
2530
2531 2003-12-11  Angus Leeming  <leeming@lyx.org>
2532
2533         * factory.C (createInset): changes due to the changed interface to
2534         InsetCommandMailer::string2params.
2535
2536 2003-12-10  Angus Leeming  <leeming@lyx.org>
2537
2538         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2539         'dialog-show-new-inset <inset name>'
2540
2541 2003-12-10  Angus Leeming  <leeming@lyx.org>
2542
2543         * buffer.C: up the format to 227.
2544
2545         * factory.C: the box inset is now identified simply by 'Box'.
2546
2547 2003-12-10  Angus Leeming  <leeming@lyx.org>
2548
2549         * buffer.C: up the format to 226.
2550
2551         * factory.C: the note inset is now identified simply by 'Note'.
2552
2553 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2554
2555         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2556         when a pit is enough. Standarize a couple of loops.
2557
2558 2003-12-05  Angus Leeming  <leeming@lyx.org>
2559
2560         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2561         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2562         data to the re-worked "log" dialog.
2563
2564 2003-12-03  André Pönitz  <poenitz@gmx.net>
2565
2566         * PosIterator.C:
2567         * iterators.C:
2568         * lyxtext.h:
2569         * output_latex.C:
2570         * paragraph_funcs.C:
2571         * text.C:
2572         * text2.C: use Inset::getText instead of Inset::getParagraph
2573
2574 2003-12-03  André Pönitz  <poenitz@gmx.net>
2575
2576         * buffer.[Ch]:
2577         * lyxtext.h:
2578         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2579         InsetText::read() as LyXText::read()
2580
2581 2003-12-02  Angus Leeming  <leeming@lyx.org>
2582
2583         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2584         type. Add a comment in the implementation that the function uses
2585         the stream's bad() function rather than fail() as the std::streams
2586         would do.
2587
2588 2003-12-02  André Pönitz  <poenitz@gmx.net>
2589
2590         * lyxlex.[Ch]: make interface more similar to std::stream
2591
2592         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2593
2594 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2595
2596         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2597
2598 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2599
2600         * vspace.[Ch]: remove VSpace::NONE
2601
2602 2003-12-01  André Pönitz  <poenitz@gmx.net>
2603
2604         * buffer.[Ch]:
2605         * lyxtext.h: move ParagraphList member to LyXText
2606         rename LyXText::ownerParagraphs to LyXText::paragraph
2607
2608         * CutAndPaste.C:
2609         * bufferview_funcs.C:
2610         * iterators.[Ch]:
2611         * lyx_cb.C:
2612         * paragraph.C:
2613         * rowpainter.C:
2614         * tabular.C:
2615         * text.C:
2616         * text2.C:
2617         * text3.C: adjust
2618
2619         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2620
2621         * undo.C: fix cursor positioning
2622
2623 2003-12-01  John Levon  <levon@movementarian.org>
2624
2625         * BufferView_pimpl.C: fix a crash on exit with
2626         a buffer open
2627
2628 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2629
2630         * BranchList.C: fix setSelected() method.
2631
2632 2003-11-28  André Pönitz  <poenitz@gmx.net>
2633
2634         * ParagraphParameters.[Ch]:
2635         * ParameterStruct.h: remove space above/below from Paragraph to
2636          InsetVSpace
2637
2638         * BufferView_pimpl.C:
2639         * factory.C:
2640         * lyxfunc.C:
2641         * lyxtext.h:
2642         * output_latex.C:
2643         * paragraph.C:
2644         * paragraph_funcs.C:
2645         * rowpainter.[Ch]:
2646         * text.C:
2647         * text2.C:
2648         * text3.C: adjust
2649
2650 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * factory.C: Syntax change for CharStyles
2653
2654 2003-11-28  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView.[Ch]:
2657         * BufferView.[Ch]:
2658         * buffer.[Ch]:
2659         * buffer.[Ch]: move LyXText member
2660
2661 2003-11-28  André Pönitz  <poenitz@gmx.net>
2662
2663         * BufferView.[Ch]: make LyXText * text a private member
2664
2665         * BufferView_pimpl.C:
2666         * cursor.C:
2667         * iterators.C:
2668         * lyx_cb.C:
2669         * lyxfind.C:
2670         * lyxtext.h:
2671         * rowpainter.[Ch]:
2672         * text.C:
2673         * text2.C:
2674         * undo.C: adjust
2675
2676         * output_plaintext.C: cleanup
2677
2678 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2679
2680         * buffer.C:
2681         * lyxtextclass.[Ch]: parametrize SGML document header
2682
2683 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2684
2685         * converter.[Ch]:
2686         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2687         getFlavor().
2688
2689 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * text2.C (setFont): rework using PosIterator (no more recursive)
2692         (setCharFont): no more needed
2693         (setLayout): no more selection cursors fiddling (done by redoCursor)
2694         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2695         destroy remaining ones)
2696
2697 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2700         * lyxtext.h: ditto
2701         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2702         selection cursors
2703         * lyxfunc.C: adjust
2704         * text3.C: adjust + re-allow multi par depth changes
2705         * textcursor.C: simplify a bit
2706
2707 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2708
2709         * src/buffer.C:
2710         * src/lyxlayout.C:
2711         * src/lyxlayout.h:
2712         * src/lyxtext.h:
2713         * src/output_docbook.C:
2714         * src/output_latex.C:
2715         * src/paragraph.C:
2716         * src/paragraph.h:
2717         * src/sgml.C:
2718         * src/sgml.h:
2719         * src/text2.C: Introducing a number of tags parametrizing various
2720         XML formats that we may want to support
2721
2722 2003-11-25  André Pönitz  <poenitz@gmx.net>
2723
2724         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2725
2726         * lyxtext.h (leftMargin/rightMargin): simplify interface
2727
2728         * rowpainter.C:
2729         * text.C:
2730         * text2.C:
2731         * text3.C: adjust
2732
2733 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2734
2735         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2736         master file to any child files. Fixes bug 546.
2737
2738 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2739
2740         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2741
2742 2003-11-24  André Pönitz  <poenitz@gmx.net>
2743
2744         * rowpainter.C: simplification
2745
2746         * text2.C (updateCounters): remove call to redoParagraph on
2747         changed labels as this is far too expensive.
2748
2749 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * converter.C (convert): fix a crash: this function gets
2752         called with buffer == 0 from importer code.
2753
2754 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2755
2756         * text3.C (cursorPrevious): make sure that we do not compare
2757         iterators form different containers.
2758         (cursorNext): ditto
2759
2760         * rowpainter.C (paintSelection): make sure that we do not compare
2761         iterators from different containers.
2762
2763         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2764         iterators from different ParagraphList containers.
2765         [NEXT] ditto
2766
2767         * text2.C (LyXText): change order of initialization slightly
2768         (operator=): new function. copy all variables except cache_par_
2769         (moveUp): make sure that we do not compare iterators from
2770         different ParagraphList constainers.
2771         (moveDown): ditto
2772
2773         * text.C (firstPar): new function
2774         (lastPar): new function
2775         (endPar): new function
2776
2777         * lyxtext.h: move things around and group public functions, public
2778         variables, private functions, private variables
2779
2780 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2781
2782         * factory.C: change call to InsetERT constructor to avoid
2783         additional invocation of method status
2784         * text2.C (toggleInset): remove redundant update() call
2785         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2786         instead of a Bufferview pointer
2787
2788 2003-11-21  André Pönitz  <poenitz@gmx.net>
2789
2790         * rowpainter.C: simplification
2791
2792 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2793
2794         * text3.C (dispatch): make possible to extend a word/row selection
2795         with the mouse
2796
2797 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * lyxtext.h: x0_,y0_ -> xo_,yo_
2800         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2801         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2802         * rowpainter.C (paintRows): paint full paragraphs
2803
2804 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2807         screen coordinates)
2808
2809 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2810
2811         * lyxtext.h: add x0_, y0_
2812         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2813         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2814
2815 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2816
2817         * text2.C (setCursorIntern): move the x_target update here *
2818         * text3.C: change some bv() to true/false in calls to
2819         cursorUp/Down/Right/Left
2820         * cursor.C: use helper function.
2821
2822 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2825         * paragraph_funcs.[Ch]: correct comment
2826         * rowpainter.C: do not paint selections away from bv->cursor()
2827         Fix a long standing selection painting bug.
2828         * text3.C: generalize mouse-selection code to LyXTexts other that
2829         top one
2830         * textcursor.C: do not use y coords if we can use par offsets
2831
2832 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2833
2834         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2835         cursor position after e.g. inset insert)
2836
2837 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * lyxfind.C (replace): adjust to locking removal + some
2840         code simplification
2841
2842 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2845         of the path
2846
2847 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2848
2849         * lyxlayout.[Ch]:
2850         * output_docbook.C: XML sanitation: new layout
2851         parameters InnerTag and CommandDepth
2852
2853 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2854
2855         * BufferView_pimpl.C:
2856         * factory.C:
2857         * text3.C: Fix the insertion and modification of button-style
2858         insets
2859
2860 2003-11-13  André Pönitz  <poenitz@gmx.net>
2861
2862         * InsetList.[Ch]: remove deleteLyXText
2863
2864         * paragraph.[Ch]: cache beginOfBody position
2865
2866         * Bidi.C:
2867         * text.C:
2868         * text2.C:
2869         * text3.C: remove superfluous update() calls
2870
2871         * vspace.C: cleanup
2872
2873 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2874
2875         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2876         * BufferView.C (fitLockedInsetCursor): remove
2877         * cursor.[Ch] (getDim): add
2878         * text.C (getRowNearY): add faster version
2879         * text3.C: remove some update calls
2880
2881 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2882
2883         * LaTeXFeatures.C:
2884         * LyXAction.C:
2885         * MenuBackend.C:
2886         * MenuBackend.h:
2887         * dispatchresult.h:
2888         * factory.C:
2889         * lfuns.h:
2890         * lyxfunc.C:
2891         * lyxtextclass.C:
2892         * lyxtextclass.h:
2893         * text3.C: The Character Style /XML short element patch.
2894
2895 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2896
2897         * text3.C:
2898         * factory.C: Small step to solving 'unable to insert some insets'
2899         problem
2900
2901 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2902
2903         * cursor.[Ch] (updatePos): new function for updating the y
2904         position of the tip inset
2905         * bufferview_funcs.C (put_selection_at):
2906         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2907
2908 2003-11-11  André Pönitz  <poenitz@gmx.net>
2909
2910         * text.C: remove big comment on invalid Paragraph pointers as it is
2911         not valid anymore
2912
2913 2003-11-11  André Pönitz  <poenitz@gmx.net>
2914
2915         * text_funcs.[Ch]: merge with ...
2916
2917         * text.C: ... this
2918
2919         * lyxtext.h:
2920         * text2.C:
2921         * text3.C: adjust
2922
2923         * Makefile.am: remove text_funcs.[Ch]
2924
2925 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2926
2927         * cursor.C (getPos): return absolute cached y coord
2928
2929         * BufferView_pimpl.C (fitCursor): new simplistic code
2930         (workAreaDispatch): add a fitCursor call
2931
2932 2003-11-10  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView.[Ch]:
2935         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2936
2937 2003-11-10  André Pönitz  <poenitz@gmx.net>
2938
2939         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2940         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2941         indicate that the cursor needs to leave an inset
2942
2943         * lyxtext.h: remove inset locking
2944
2945         * cursor.[Ch]: re-implement functionality provided by inset locking
2946
2947         * BufferView.[Ch]:
2948         * BufferView_pimpl.[Ch]:
2949         * LyXAction.C:
2950         * bufferview_funcs.[Ch]:
2951         * factory.C:
2952         * funcrequest.[Ch]:
2953         * iterators.C:
2954         * lyx_cb.C:
2955         * lyxfind.C:
2956         * lyxfunc.C:
2957         * text.C:
2958         * text2.C:
2959         * text3.C:
2960         * undo.C: adjust
2961
2962 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2963
2964         * PosIterator.[Ch]: replace the stack with a vector, add inset
2965         accesor
2966         * iterators.[C]: adjust
2967
2968 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2969
2970         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2971         replaced
2972         * paragraph_funcs.C (readParToken): put the correct id in the
2973         error item, not the id of the top paragraph
2974
2975 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2978         * bufferview_funcs.C (put_selection_at): use the above
2979
2980 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2983
2984 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2985
2986         * output_linuxdoc.h:
2987         * output_plaintext.h:
2988         * output.h:
2989         * output_docbook.h: add #include statements
2990
2991 2003-11-05  José Matos  <jamatos@lyx.org>
2992
2993         * output_docbook.[Ch]:
2994         * output_latex.[Ch]:
2995         * output_linuxdoc.[Ch]:
2996         * output_plaintext.[Ch]: New files for output formats.
2997         * output.[Ch]: New file for helper functions.
2998
2999         * buffer.[Ch]:
3000         * paragraph_funcs.[Ch]: output functions moved to new files.
3001
3002         * outputparams.h: rename of latexrunparams.h
3003
3004         * LaTeX.[Ch]:
3005         * buffer.[Ch]:
3006         * bufferlist.[Ch]:
3007         * converter.[Ch]:
3008         * exporter.C:
3009         * paragraph.[Ch]:
3010         * paragraph_funcs.[Ch]:
3011         * paragraph_pimpl.[Ch]:
3012         * tabular.[Ch]: rename ascii to plaintext
3013         and LatexRunParams to OutputParams.
3014
3015 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * iterators.[Ch] (text): require bv argument
3018         * undo.C (recordUndo):
3019         * lyxfunc.C (dispatch):
3020         * bufferview_funcs.C (put_selection_at): adjust
3021
3022 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3023
3024         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3025
3026 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3029         nestings
3030
3031 2003-11-04  André Pönitz  <poenitz@gmx.net>
3032
3033         * cursor.[Ch]: restructure
3034
3035         * BufferView.[Ch]:
3036         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3037
3038         * iterators.[Ch] (asCursor): remove
3039
3040         * lfuns.h: remove LFUN_INSET_EDIT
3041
3042         * lyxfunc.C:
3043         * tabular.C:
3044         * text.C:
3045         * text2.C:
3046         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3047
3048 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3049
3050         * lyxfind.[Ch]: complete overhaul
3051         * BufferView_pimpl.C:
3052         * lyxfunc.C: adjust
3053         * paragraph.[Ch] (insert): add
3054
3055 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3056
3057         * BufferView.[Ch]:
3058         * lyxtext.h:
3059         * text.C: remove dead spellcheck code
3060
3061 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * dispatchresult.h: add a val setter
3064
3065         * cursor.C (dispatch): use a tempvar for data_[i]
3066
3067 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * PosIterator.[Ch]: compile fix
3070
3071 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * text.C (cursorPar): deactivate the cursor cache
3074
3075 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3076
3077         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3078
3079 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * text3.C (dispatch): adjust for new DisptchResult semantics.
3082
3083         * lyxfunc.C (dispatch): handle update when return from
3084         Cursor::dispatch, adjust for new DispatchResult semantics.
3085
3086         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3087         DispatchResult(true) mean to not update. Add class functions for
3088         setting dispatched and update, as well as reading.
3089
3090         * cursor.C (dispatch): don't handle update here
3091
3092 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3095         * trans_mgr.C: adjust
3096
3097         * paragraph_funcs.C (readParToken): exception safety
3098
3099         * lyxvc.h: store the vcs pointer in a scoped_ptr
3100         * lyxvc.C: adjust
3101
3102         * lyxsocket.C (serverCallback): exception safety
3103
3104         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3105
3106         * ispell.C (clone): make it return a auto_ptr
3107
3108         * factory.C (createInset): exception safety
3109         (readInset): exception safety
3110
3111         * bufferlist.C (newBuffer): exception safety
3112
3113         * Thesaurus.C (Thesaurus): use initialization for aik_
3114
3115         * MenuBackend.C (expandToc): exception safety.
3116
3117 2003-11-03  André Pönitz  <poenitz@gmx.net>
3118
3119         * buffer.C:
3120         * buffer.h:
3121         * bufferview_funcs.C: remove getInsetFromId()
3122
3123         * lyxcursor.[Ch]:
3124         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3125
3126         * lyxfunc.C:
3127         * text2.C:
3128         * text3.C: adjust
3129
3130 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * PosIterator.C (distance, advance): new
3133         * bufferview_funcs.[Ch] (put_selection_at): new
3134         * iterators.[Ch] (lockPath): new
3135
3136 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * iterators.[Ch] (asPosIterator): added
3139         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3140         * PosIterator.[Ch]: added
3141
3142 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * text3.C:
3145         * lyxfunc.C:
3146         * cursor.C (dispatch):
3147         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3148
3149         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3150         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3151         contructor, add a class function dispatched. Remove operator>=
3152
3153 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * debug.C: only use the default constructor for debugstream
3156         (lyxerr) here.
3157
3158         * main.C (main): include debug.h and setup the lyxerr streambuf
3159         here.
3160
3161 2003-10-31  José Matos  <jamatos@lyx.org>
3162
3163         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3164
3165         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3166         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3167         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3168         * paragraph_pimpl.C (simpleTeXSpecialC):
3169         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3170         add LatexRunParams argument.
3171
3172         * exporter.C (Export): change call accordingly.
3173
3174         * latexrunparams.h: add new member to take care of the other backends.
3175 2003-10-30  José Matos  <jamatos@lyx.org>
3176
3177         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3178         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3179         factorise code for paragraph output.
3180         * buffer.[Ch]:
3181         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3182         move functions.
3183
3184 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * text3.C (dispatch):
3187         * lyxfunc.C (dispatch):
3188         * cursor.C (dispatch):
3189         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3190
3191         * dispatchresult.h: make the dispatch_result_t ctor explicit
3192
3193 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3194
3195         * sgml.[Ch]:
3196         * buffer.C: small refactoring of docbook stuff
3197
3198 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3201         meaning.
3202
3203 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3206         operator dispatch_result_t, and operators for == != and >=
3207
3208         * cursor.C (dispatch): adjust for operator dispatch_result_t
3209         removal. comment out call to update
3210
3211         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3212
3213 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * text3.C:
3216         * text2.C:
3217         * text.C:
3218         * lyxtext.h:
3219         * lyxfunc.C:
3220         * cursor.C:
3221         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3222         (dispatch):
3223
3224         * dispatchresult.h: new file, DispatchResult broken out of
3225         insets/insetbase.h
3226
3227         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3228
3229 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * text.C (rowBreakPoint): put a hack inside #if 0
3232
3233 2003-10-28  André Pönitz  <poenitz@gmx.net>
3234
3235         * lyxtext.h:
3236         * metricsinfo.C:
3237         * paragraph_funcs.C:
3238         * rowpainter.C:
3239         * text.C:
3240         * text2.C: general cleanup (lots of small stuff)
3241
3242 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * text2.C (cursorEnd): simple fix to the "end key goes to one
3245         before the end on last row" bug
3246
3247 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * text.C (backspace): fix the "zombie characters"
3250
3251 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3254
3255 2003-10-27  André Pönitz  <poenitz@gmx.net>
3256
3257         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3258
3259         * factory.C: handle new InsetPagebreak, InsetLine
3260
3261         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3262         and move handling into new InsetPagebreak, InsetLine
3263
3264         * BufferView_pimpl.C:
3265         * LyXAction.C:
3266         * ParagraphParameters.C:
3267         * ParameterStruct.h:
3268         * lyxfunc.C:
3269         * lyxtext.h:
3270         * paragraph.C:
3271         * paragraph.h:
3272         * paragraph_funcs.C:
3273         * paragraph_pimpl.C:
3274         * rowpainter.C:
3275         * text.C:
3276         * text2.C:
3277         * text3.C: adjust
3278
3279 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * text.C:
3282         * lyxrow_funcs.[Ch]:
3283         * Bidi.C:
3284         * paragraph.C:
3285         * lyxtext.h:
3286         * rowpainter.C:
3287         * text2.C:
3288         * text3.C: remove lastPos uses in favour of Row::endpos
3289
3290 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * undo.C (performUndoOrRedo): fix two crashes by setting a
3293         cursor by hand and reordering some calls. Use bv->lockInset instead
3294         of inset->edit because the latter loses cursor information
3295
3296 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3299         by Martin
3300         (rowBreakPoint): fix width. change point to point + 1.
3301         Add a missing check.
3302
3303 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3304
3305         * MenuBackend.C:
3306         * lyxfunc.C: fix (at least partly) the problems
3307         with the Nav menu and headers inside branch insets
3308         reported by Kayvan
3309
3310 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3311
3312         * paragraph.C (getChar): add strong asserts
3313
3314         * lyxrow_funcs.C (lastPos): remove hideous hack
3315
3316         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3317         (fill): adjust to that (avoid an infinite loop)
3318
3319 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3322
3323 2003-10-23  André Pönitz  <poenitz@gmx.net>
3324
3325         * RowList_fwd.h: change list<> to vector<> to gain speed
3326         after suggestion from Alfredo
3327
3328 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * lyxtext.h: move the bidi stuff from here...
3331         * text.C: and here
3332         * text2.C: and here
3333         * Bidi.[Ch]: ... to here
3334
3335 2003-10-23  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxtext.h:
3338         * text.C (isLastRow, isFirstRow): new functions
3339
3340         * paragraph.h: new width cache member
3341
3342         * rowpainter.C: replace RowList::iterator with Row & where possible
3343
3344         * lyxfunc.C: replace several view()->text with a single call
3345
3346         * toc.C: fix 'unused' warning
3347
3348 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3351         when woring with stream::pos_type
3352         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3353
3354 2003-10-22  André Pönitz  <poenitz@gmx.net>
3355
3356         * lyxtext.h:
3357         * text.C: use Row & instead of RowList::iterator
3358
3359         * lyxrow.h: rename end() to endpos()
3360
3361         * rowpainter.C:
3362         * text.C:
3363         * text2.C: adjust
3364
3365 2003-10-22  Angus Leeming  <leeming@lyx.org>
3366
3367         * buffer.[Ch] (fully_loaded): new member function, returning true
3368         only when the file has been loaded fully.
3369         Used to prevent the premature generation of previews and by the
3370         citation inset to prevent computation of the natbib-style label.
3371
3372         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3373         templates are all set up.
3374
3375         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3376
3377 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * text.C: fixed an "oops" in the "is a bit silly"
3380         bug fix
3381
3382 2003-10-21  André Pönitz  <poenitz@gmx.net>
3383
3384         * FuncStatus.[Ch]: small stuff, whitespace
3385
3386         * lyxfont.[Ch]: operator<<() for debug reasons
3387
3388         * lyxfunc.C:
3389         * lyxrow_funcs.C:
3390         * lyxtext.h: whitespace, spelling
3391
3392         * paragraph.C: naming of variables
3393
3394         * text.C:
3395         * text2.C: small stuff
3396
3397
3398 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3399
3400         * text.C: (1) finish off the inset display() work;
3401         (2) fix the "is a bit silly" bug (accessing char
3402         past end of par).
3403
3404 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3405
3406         * text.C: re-introduce display() for insets, fixing the
3407         various bugs (stretch of line above, math inset
3408         positioning, ...)
3409
3410 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3411
3412         * text.C (rightMargin): remove spurious semicolon
3413
3414         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3415         1415)
3416
3417 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3418
3419         * text3.C: fix one crash due to wrong cursor def
3420
3421 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3422
3423         * vc-backend.C (scanMaster): make the regex static
3424
3425         * LaTeX.C (scanAuxFile): make the regexs static
3426
3427         * text3.C (doInsertInset, dispatch, dispatch):
3428         * text2.C (cursorUp, cursorDown):
3429         * text.C (selectNextWordToSpellcheck):
3430         * BufferView_pimpl.C (dispatch):
3431         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3432
3433 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3434
3435         * lyxsocket.C: include <cerrno>
3436
3437 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3438
3439         * lyxfunc.C (dispatch): remove textcache stuff
3440
3441         * bufferlist.C (release): remove textcache stuff
3442         (closeAll): ditto
3443
3444         * TextCache.C: delete file
3445         * TextCache.h: delete file
3446
3447         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3448
3449         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3450         delete of the bv_->text.
3451         (resizeCurrentBuffer): remove texcache stuff
3452         (workAreaResize): ditto
3453
3454 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3457         action.
3458
3459 2003-10-16  André Pönitz  <poenitz@gmx.net>
3460
3461         * lyxrow.[Ch]:
3462         * paragraph.h:
3463         * rowpainter.C:
3464         * text.C:
3465         * text2.C:
3466         * text3.C: speed up by storing y positions per paragraph plus per-row
3467         offset instead of having a 'full' y position in the row.
3468
3469 2003-10-15  André Pönitz  <poenitz@gmx.net>
3470
3471         * iterators.[Ch]:
3472         * iterators.[Ch]:
3473         * undo.[Ch]: make undo aware of inner insets
3474
3475 2003-10-14  Angus Leeming  <leeming@lyx.org>
3476
3477         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3478         static member functions LyX::ref() and LyX::cref.
3479         (lastfiles): new accessor functions for the new lastfiles_ member var.
3480         (addLyXView, views_): add a new LyXView to the list of views_.
3481         (updateInset): loop over all LyXViews to call their own updateInset
3482         member function, returning a pointer to the Buffer owning the inset.
3483
3484         * BufferView_pimpl.C (loadLyXFile):
3485         * MenuBackend.C (expandLastfiles):
3486         * bufferlist.C (MenuWrite, QuitLyX):
3487         lastfiles is no longer a global variable.
3488         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3489
3490         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3491         static function. Access through LyX::cref().emergencyCleanup().
3492
3493 2003-10-14  André Pönitz  <poenitz@gmx.net>
3494
3495         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3496
3497         * undo.[Ch]: restoring part of 'undo in insets'
3498
3499         * Makefile.am:
3500         * undo_funcs.[Ch]: merge with undo.[Ch]
3501
3502         * tabular.C: small cleansing stuff
3503
3504 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * paragraph_funcs.C (readParToken): report unknown insets as error
3507         boxes. Use the outer paragraph as location (also for unknown
3508         tokens).
3509
3510         * factory.C (readInset): do not abort on reading an unknown inset.
3511         Eat it and return 0.
3512
3513 2003-10-13  Angus Leeming  <leeming@lyx.org>
3514
3515         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3516
3517         * lyxrc.C: displayTranslator is now a function,
3518         declared in GraphicsTypes.h.
3519
3520 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3521
3522         * format.C: new placeholder $$a to pass the socket address.
3523
3524         * bufferlist.[Ch]: new function getBufferFromTmp.
3525
3526         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3527           files in the temporary dir.
3528
3529 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3530
3531         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3532
3533         * Makefile.am: add lyxsocket.[Ch].
3534
3535         * lyx_main.C (error_handler): handle SIGPIPE.
3536
3537 2003-10-13  André Pönitz  <poenitz@gmx.net>
3538
3539         * BufferView_pimpl.C:
3540         * lyxtext.h:
3541         * text.C:
3542         * text2.C:
3543         * text3.C:
3544         * undo_funcs.[Ch]: use paroffset_type instead of
3545           ParagraphList::iterators to prevent multiple conversion
3546           (and get a more robust interface)
3547
3548 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3551         * lyxtext.h: ditto
3552         * text3.C (dispatch): ditto
3553
3554 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3557         move the onlyfile, use onlyfile instead of foundfile in a couple
3558         of places.
3559
3560         * DepTable.C (update): flush the error stream a bit more
3561
3562 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * lyxserver.C (callback): adjust
3565
3566         * lyxfunc.C (getStatus): add a missing brace in commented code
3567         (ensureBufferClean): reindent
3568         (dispatch): delete version taking a string
3569
3570 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * LaTeX.C (deplog): move found file handlig from here...
3573         (handleFoundFile): .. to new function here.
3574         (deplog): make sure to discover several files mentioned on the
3575         same log line.
3576
3577 2003-10-10  André Pönitz  <poenitz@gmx.net>
3578
3579         * lyxfunc.C:
3580         * lyxtext.h:
3581         * tabular.C:
3582         * text.C:
3583         * text2.C:
3584         * text3.C: fix some of the tabular crashes
3585
3586 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3587
3588         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3589
3590         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3591
3592 2003-10-09  André Pönitz  <poenitz@gmx.net>
3593
3594         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3595
3596         * BufferView.C:
3597         * BufferView_pimpl.C:
3598         * bufferview_funcs.C:
3599         * lyx_cb.C:
3600         * lyxcursor.C:
3601         * lyxfind.C:
3602         * lyxfunc.C:
3603         * lyxtext.h:
3604         * text.C:
3605         * text2.C:
3606         * text3.C:
3607         * text_funcs.[Ch]:
3608         * textcursor.[Ch]:
3609         * undo_funcs.C: adjust
3610
3611 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * text2.C (incrementItemDepth): new function, use a backtracking
3614         algorithm to discover the correct item depth.
3615         (resetEnumCounterIfNeeded): new function, use a backtracking
3616         algorithm to discover if counter reset is needed.
3617         (setCounter): use them. Simplify a bit. Add different labels for
3618         different item depths for itemize.
3619
3620         * paragraph.C (Paragraph): remove initialization of enumdepth
3621         (operator=): ditto
3622
3623         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3624         enumerate and itemize. Change the type of itemdepth to signed char.
3625
3626 2003-10-08  André Pönitz  <poenitz@gmx.net>
3627
3628         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3629           thing assignable.
3630         * text.C:
3631         * text2.C: adjust
3632
3633         * tabular.[Ch]: fix crash after 'row-insert'
3634
3635 2003-10-08  Angus Leeming  <leeming@lyx.org>
3636
3637         Fix doxygen warnings.
3638
3639         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3640         Remove CutAndPaste:: prefix from header file declaration.
3641
3642         * LColor.h (fill): remove LColor:: prefix from declaration.
3643
3644         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3645         use lyx::depth_type rather than Paragraph::depth_type so that
3646         header file and .C file match.
3647
3648         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3649
3650         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3651         * aspell.C: \file aspell_local.C -> \file aspell.C
3652         * gettext.C: \file gettext.C -> \file src/gettext.C
3653         * gettext.h: \file gettext.h -> \file src/gettext.h
3654         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3655         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3656         * text.C: \file text.C -> \file src/text.C
3657
3658         * toc.C: move comment so that doxygen is not confused.
3659
3660 2003-10-07  Angus Leeming  <leeming@lyx.org>
3661
3662         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3663
3664 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3665
3666         * aspell.C:
3667         * aspell_local.h: add forgotten std::string's.
3668
3669 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3670
3671         * LaTeXFeatures.C:
3672         * LyXAction.C:
3673         * factory.C:
3674         * lfuns.h:
3675         * lyxfunc.C:
3676         * text3.C: The Box patch. Fancybox support, minipage, parbox
3677
3678 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3679
3680         * CutAndPaste.h:
3681         * DepTable.h:
3682         * FloatList.h:
3683         * LaTeXFeatures.h:
3684         * ParagraphParameters.h:
3685         * TextCache.h:
3686         * Thesaurus.h:
3687         * bufferlist.h:
3688         * exporter.h:
3689         * importer.h:
3690         * lastfiles.h:
3691         * lyxfind.h:
3692         * lyxfont.h:
3693         * lyxlex.h:
3694         * lyxtextclasslist.h:
3695         * messages.h:
3696         * paragraph.h:
3697         * paragraph_pimpl.C:
3698         * textcursor.h: add <string> and other small fixes to make Lars'
3699         std::string patch compile with STLport.
3700
3701 2003-10-06  Angus Leeming  <leeming@lyx.org>
3702
3703         * LColor.h: Add missing #include <string>.
3704
3705 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3706
3707         * All most all file in all subdirs: Make <string> be the prefered
3708         way of getting to std::string, add using declarations.
3709
3710 2003-10-06  André Pönitz  <poenitz@gmx.net>
3711
3712         * metricsinfo.C: initialize LyXFont before changing attribute.
3713         (fixes the 'math in \emph is upright' bug)
3714
3715 2003-10-06  André Pönitz  <poenitz@gmx.net>
3716
3717         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3718
3719 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3720
3721         * graph.C:
3722         * paragraph_pimpl.C: Small fixes to build using STLport
3723
3724 2003-10-02  André Pönitz  <poenitz@gmx.net>
3725
3726         * lyxfunc.C:
3727         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3728
3729 2003-10-01  André Pönitz  <poenitz@gmx.net>
3730
3731         * factory.C: assert early
3732
3733 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * lyx_main.C: remove the global debug object
3736
3737         * debug.h: adjust for new debugstream
3738
3739         * debug.C: adjust for new debugstream and keep the global debug
3740         object here.
3741
3742 2003-09-22  Angus Leeming  <leeming@lyx.org>
3743
3744         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3745         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3746         an incomplete class LyXFont.
3747
3748 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3749
3750         * factory.C: bug fix in branches
3751
3752 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * lyxfunc.C (processKeySym): adjust
3755         (dispatch): adjust
3756         (dispatch): change arg name from ev to func, adjust
3757         (sendDispatchMessage): ditto
3758
3759         * lyx_main.C (defaultKeyBindings): adjust keybindings
3760         (deadKeyBindings): ditto
3761
3762         * kbsequence.C (addkey): return a FuncRequest
3763
3764         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3765
3766         * kbmap.C (bind): take a FuncRequest as arg, adjust
3767         (read): adjust
3768         (lookup): adjust
3769         (defkey): change to take a FuncRequest as arg, adjust
3770         (findbinding): take a FuncRequest as arg, adjust.
3771
3772         * funcrequest.h (operator=): added
3773
3774         * funcrequest.C (FuncRequest): default kb_action changed from
3775         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3776
3777         * buffer.C (dispatch): simplify
3778         (dispatch): adjust to take a FuncRequest as arg, adjust
3779
3780         * boost.C (assertion_failed): change assertion message slightly
3781
3782         * ToolbarBackend.C (read): simplify
3783
3784         * MenuBackend.C (binding): adjust call to findbinding, add a
3785         message if no binding is found.
3786         (read): simplify
3787         (expandToc): correct by adding a empty FuncRequest
3788
3789         * LyXAction.C: include <boost/assert.hpp>
3790         (isPseudoAction): delete function
3791         (LookupFunc): change name to...
3792         (lookupFunc): this. change return type to FuncRequest.
3793         (getActionName): take kb_action as arg, simplify
3794         (funcHasFlag): add an assert, simplify.
3795
3796 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * toc.C (action): return a FuncRequest, simplify
3799
3800         * lyxfunc.C (processKeySym): adjust
3801         (getStatus): delete version that takes an int.
3802         (getStatus): adjust
3803         (dispatch): delete version that takes action as int
3804         (dispatch): adjust
3805         (sendDispatchMessage): simplify and adjust
3806
3807         * funcrequest.C (getArg): take unsigned int as arg
3808
3809         * ToolbarBackend.C (read): adjust
3810         (add): delete version that takes func as a string.
3811         (getIton): take a FuncRequest as arg
3812
3813         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3814         action.
3815
3816         * MenuBackend.C (MenuItem): add a new construct that only takes a
3817         Kind, simplify the constructor use for submenus.
3818         (add): adjust
3819         (expandLastfiles): adjust
3820         (expandDocuments): adjust
3821         (expandFormats): adjust
3822         (expandFloatListInsert): adjust
3823         (expandFloatInsert): adjust
3824         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3825
3826         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3827         Remove class variables lyx_pseudo_map and lyx_arg_map
3828
3829         * LyXAction.C (searchActionArg): delete function
3830         (getPseudoAction): delete function
3831         (retrieveActionArg): delete function
3832         (LookupFunc): make it return kb_action, simplify.
3833         (getActionName): simplify
3834
3835         * factory.C (createInset): fix new bug
3836
3837 2003-09-19  Angus Leeming  <leeming@lyx.org>
3838
3839         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3840         masterFilename_ parameter in the include inset.
3841
3842         * factory.C (createInset): changes due to the changes to InsetInclude.
3843
3844 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3845
3846         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3847
3848 2003-09-18  Angus Leeming  <leeming@lyx.org>
3849
3850         * buffer.C:
3851         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3852         Inset::fillWithBibKeys.
3853         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3854
3855 2003-09-18  Angus Leeming  <leeming@lyx.org>
3856
3857         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3858         variables.
3859         (ctor): pass and store a 'Buffer const &'
3860         (buffer): new member function.
3861
3862         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3863         '*this' to the LaTeXFeatures ctor.
3864
3865 2003-09-18  Angus Leeming  <leeming@lyx.org>
3866
3867         * LColor.h:
3868         * lyxfont.C:
3869         * lyxfont.h:
3870         * lyxtext.h:
3871         * text.C: rename EnumLColor as LColor_color.
3872
3873 2003-09-18  Angus Leeming  <leeming@lyx.org>
3874
3875         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3876         remove #include "insets/insetbase.h" from cursor.h.
3877
3878 2003-09-18  Angus Leeming  <leeming@lyx.org>
3879
3880         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3881         InsetOld_code to remove #include "inset.h".
3882
3883         * iterators.C: add #include "insets/inset.h"
3884
3885 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3886
3887         * BufferView.C: remove more locking stuff that apparently doesn't
3888         do anything sensible.
3889
3890 2003-09-16  André Pönitz  <poenitz@gmx.net>
3891
3892         * paragraph.[Ch]:
3893         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3894           performance boost.
3895
3896 2003-09-16  Angus Leeming  <leeming@lyx.org>
3897
3898         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3899
3900         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3901         arg/return type.
3902
3903         * paragraph.h: remove #include "lyxfont.h". Forward declare
3904         LyXFont_size.
3905
3906 2003-09-16  Angus Leeming  <leeming@lyx.org>
3907
3908         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3909         of support/textutils.h.
3910         (isWord): move the contents of support/textutils.h's IsWordChar here.
3911
3912         * buffer.C:
3913         * lyxfind.C:
3914         * rowpainter.C:
3915         * text.C:
3916         * text2.C: add #include "paragraph.h".
3917
3918         * rowpainter.C:
3919         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3920
3921 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * main.C:
3924         * lyx_main.C:
3925         * lyx_cb.C:
3926         * buffer.C:
3927         * LaTeX.C: use namespace alias for lyx::support::os
3928
3929 2003-09-16  Angus Leeming  <leeming@lyx.org>
3930
3931         * bufferparams.C:
3932         * bufferview_funcs.C:
3933         * factory.C:
3934         * lyxfunc.C:
3935         * paragraph_pimpl.C:
3936         * rowpainter.C:
3937         * text.C: add #include "LColor.h".
3938
3939 2003-09-16  Angus Leeming  <leeming@lyx.org>
3940
3941         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3942         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3943         return LyXFont &.
3944         Store the FontBits::color variable as an int rather than as an
3945         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3946         file.
3947
3948         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3949         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3950         string calls together.
3951
3952         * lyxrc.C: add #include "LColor.h".
3953
3954 2003-09-15  Angus Leeming  <leeming@lyx.org>
3955
3956         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3957         a cow_ptr.
3958
3959 2003-09-15  Angus Leeming  <leeming@lyx.org>
3960
3961         * LColor.h: add an EnumLColor wrapper for LColor::color.
3962
3963         * lyxfont.[Ch] (color, setColor, realColor):
3964         * lyxtext.h, text.C (backgroundColor):
3965         pass EnumLColor args to/from the functions, rather than LColor::color
3966         ones.
3967
3968         * lyxfont.h:
3969         * lyxtext.h: forward declare EnumLColor.
3970
3971         * lyx_main.C: add #include "LColor.h".
3972
3973 2003-09-15  Angus Leeming  <leeming@lyx.org>
3974
3975         * .cvsignore: add lyx-gtk.
3976
3977 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * Chktex.C
3980         * LaTeX.C
3981         * LaTeXFeatures.C
3982         * ParagraphParameters.C
3983         * Spacing.C
3984         * buffer.C
3985         * bufferparams.C
3986         * bufferview_funcs.C
3987         * chset.C
3988         * counters.C
3989         * funcrequest.C
3990         * lyxfont.C
3991         * lyxgluelength.C
3992         * lyxlength.C
3993         * paragraph.C
3994         * paragraph_funcs.C
3995         * text3.C
3996         * vc-backend.C: remove usage of STRCONV
3997
3998 2003-09-15  Angus Leeming  <leeming@lyx.org>
3999
4000         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4001         explicitly define the color passed to the painter.
4002
4003 2003-09-15  Angus Leeming  <leeming@lyx.org>
4004
4005         * bufferparams.C (BufferParams): reorder member initializers to avoid
4006         compiler warning.
4007
4008 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4011         * text.C (updateRowPositions): remove an unusual nop
4012
4013 2003-09-12  André Pönitz  <poenitz@gmx.net>
4014
4015         * BufferView_pimpl.C:
4016         * Bullet.C:
4017         * layout.h:
4018         * lyxfunc.C:
4019         * lyxlayout.[Ch]:
4020         * lyxtextclass.C:
4021         * rowpainter.C:
4022         * text.C:
4023         * text2.C:
4024         * Counters.[Ch]: finish the 'automatic counters' job
4025
4026 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4027
4028         * aspell.C: include <boost/assert.cpp> (compile fix)
4029
4030 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4031
4032         * boost.C (assertion_failed): use lyx::support::abort instead of
4033         assert.
4034
4035 2003-09-10  Angus Leeming  <leeming@lyx.org>
4036
4037         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4038         with their _fwd progeny.
4039
4040 2003-09-09  Angus Leeming  <leeming@lyx.org>
4041
4042         134 files throughtout the source tree: replace 'using namespace abc;'
4043         directives with the appropriate 'using abc::xyz;' declarations.
4044
4045 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4046
4047         * boost.C (emergencyCleanup): moved here from LAssert.c
4048         (assertion_failed): new function, called by BOOST_ASSERT
4049
4050         * several files: change Assert to BOOST_ASSERT
4051
4052 2003-09-09  Angus Leeming  <leeming@lyx.org>
4053
4054         * buffer.[Ch]: Add an Impl class and move Buffer's member
4055         variables into it. As a result move several header files out of
4056         buffer.h.
4057
4058         Add header files to lots of .C files all over the tree as a result.
4059
4060 2003-09-09  Angus Leeming  <leeming@lyx.org>
4061
4062         * buffer.[Ch]: make Buffer's member variables private. Add
4063         accessor functions.
4064
4065         Lots of changes all over the tree as a result.
4066
4067 2003-09-08  Angus Leeming  <leeming@lyx.org>
4068
4069         * graph.C: #include <config.h>.
4070
4071 2003-09-08  Angus Leeming  <leeming@lyx.org>
4072
4073         * BranchList.C:
4074         * BufferView.C:
4075         * BufferView_pimpl.C:
4076         * CutAndPaste.C:
4077         * DepTable.C:
4078         * LaTeX.C:
4079         * LaTeXFeatures.C:
4080         * LyXAction.C:
4081         * MenuBackend.C:
4082         * TextCache.C:
4083         * aspell.C:
4084         * buffer.C:
4085         * bufferlist.C:
4086         * changes.C:
4087         * chset.C:
4088         * converter.C:
4089         * counters.C:
4090         * debug.C:
4091         * graph.C:
4092         * ispell.C:
4093         * lyx_cb.C:
4094         * lyxfind.C:
4095         * lyxfunc.C:
4096         * lyxlex_pimpl.C:
4097         * lyxrc.C:
4098         * lyxrow.C:
4099         * paragraph.C:
4100         * rowpainter.C:
4101         * texrow.C:
4102         * text.C:
4103         * text2.C:
4104         * toc.C: remove redundant using directives.
4105
4106 2003-09-07  Angus Leeming  <leeming@lyx.org>
4107
4108         * LaTeXFeatures.h: remove #include "support/types.h".
4109         * ToolbarBackend.h: remove #include <algorithm>.
4110         * changes.h: remove #include <ctime>.
4111         * debug.h: remove #include <iosfwd>.
4112         * graph.h: remove #include "support/std_string.h".
4113         * lyx_main.h: remove #include <csignal>.
4114         * lyxlex_pimpl.h: remove #include <fstream>.
4115         * sgml.h: remove #include <algorithm>, <utility>.
4116         * toc.h: remove #include "support/std_ostream.h".
4117         Add #include <iosfwd>.
4118
4119 2003-09-07  Angus Leeming  <leeming@lyx.org>
4120
4121         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4122
4123         * converter.h: forward declare LatexRunParams.
4124         * encoding.h: remove #include "lyxrc.h".
4125         * lyxtext.h: remove #include "LColor.h".
4126         * lyxtextclass.h: remove #include "support/types.h".
4127         * trans.h: remove #include "tex-accent.h".
4128         * trans_mgr.h: remove #include "tex-accent.h".
4129         * insets/inset.h: remove #include "support/types.h", <vector>.
4130         * insets/insetcollapsable.h: remove #include "LColor.h".
4131         * insets/insetinclude.h: remove #include "dimension.h".
4132         * insets/insetlatexaccent.h: remove #include "dimension.h".
4133         * insets/insetoptarg.h:: remove #include "insettext.h".
4134         * insets/insettext.h: remove #include "dimension.h",
4135         <boost/shared_ptr.hpp>
4136
4137         * insets/renderers.h: add #include "dimension.h".
4138         * insets/updatableinset.h: add #include "support/types.h".
4139
4140         * many .C files: Associated changes.
4141
4142 2003-09-06  Angus Leeming  <leeming@lyx.org>
4143
4144         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4145         one, inside testInvariant.
4146
4147         * PrinterParams.C: new file.
4148         * PrinterParams.[Ch]: move the function bodies out of line.
4149
4150 2003-09-06  Angus Leeming  <leeming@lyx.org>
4151
4152         * ParagraphParameters.h: forward declare ParameterStruct rather than
4153         including its header file.
4154         (depth): moved out-of-line.
4155
4156 2003-09-06  Angus Leeming  <leeming@lyx.org>
4157
4158         * BufferView_pimpl.h:
4159         * kbmap.h:
4160         * kbsequence.h:
4161         * lyxfunc.h: forward declare LyXKeySym rather than
4162         #include "frontends/LyXKeySym.h".
4163
4164         * BufferView_pimpl.C:
4165         * kbmap.C:
4166         * kbsequence.C:
4167         * lyxfunc.C: associated changes.
4168
4169 2003-09-06  Angus Leeming  <leeming@lyx.org>
4170
4171         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4172         As a result, can remove the #include "insets/inset.h" from BufferView.h
4173
4174 2003-09-06  Angus Leeming  <leeming@lyx.org>
4175
4176         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4177         As a result, can remove the #include "insets/inset.h" from BufferView.h
4178
4179 2003-09-06  Angus Leeming  <leeming@lyx.org>
4180
4181         * buffer_funcs.C:
4182         * buffer.h:
4183         * bufferlist.C:
4184         * BufferView.C:
4185         * bufferview_funcs.C:
4186         * BufferView_pimpl.C:
4187         * CutAndPaste.C:
4188         * lyx_cb.C:
4189         * lyxfunc.C:
4190         * paragraph.h:
4191         * ParagraphParameters.C:
4192         * tabular.C:
4193         * text3.C:
4194         * toc.C:
4195         * undo_funcs.C:
4196         * frontends/controllers/ControlDocument.C:
4197         * insets/insetcaption.C: rearrange the #includes into some sort of
4198         coherent order.
4199
4200         * buffer.h: remove #includes ErrorList.h, undo.h
4201
4202 2003-09-06  Angus Leeming  <leeming@lyx.org>
4203
4204         * support/types.h: add a 'depth_type' typedef, used to store the
4205         nesting depth of a paragraph.
4206
4207         * paragraph.h:
4208         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4209         defining explicitly.
4210
4211         * buffer.h:
4212         * paragraph_funcs.h:
4213         * ParagraphParameters.h:
4214         * sgml.h: use lyx::depth_type rather than Paragraph or
4215         ParameterStruct's depth_type.
4216
4217         * buffer.h
4218         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4219
4220         * BufferView.C:
4221         * BufferView_pimpl.C:
4222         * CutAndPaste.C:
4223         * ParagraphParameters.C:
4224         * buffer_funcs.C:
4225         * bufferlist.C:
4226         * bufferview_funcs.C:
4227         * lyx_cb.C:
4228         * lyxfunc.C:
4229         * tabular.C:
4230         * text3.C:
4231         * toc.C:
4232         * undo_funcs.C:
4233         * frontends/LyXView.C:
4234         * frontends/controllers/ControlDocument.C:
4235         * frontends/controllers/ControlErrorList.C:
4236         * insets/insetbibitem.C:
4237         * insets/insetbranch.C:
4238         * insets/insetcaption.C:
4239         * insets/insetcollapsable.C:
4240         * insets/insetenv.C:
4241         * insets/insetert.C:
4242         * insets/insetfloat.C:
4243         * insets/insetfoot.C:
4244         * insets/insetfootlike.C:
4245         * insets/insetnewline.C:
4246         * insets/insetquotes.C:
4247         * insets/insettabular.C:
4248         * insets/insettext.C:
4249         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4250
4251         * frontends/controllers/ControlChanges.C: #include "changes.h".
4252
4253 2003-09-06  Angus Leeming  <leeming@lyx.org>
4254
4255         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4256         than #including paragraph.h.
4257
4258         * ParagraphList.h:
4259         * RowList.h: deleted. Superfluous.
4260
4261         * CutAndPaste.h:
4262         * iterators.h:
4263         * lyxcursor.h:
4264         * lyxtext.h:
4265         * text_funcs.h:
4266         * undo.h:
4267         * undo_funcs.h:
4268         * insets/inset.h:
4269         * insets/insettext.h: use ParagraphList_fwd.h rather than
4270         ParagraphList.h.
4271
4272         * paragraph.h: don't forward declare ParagraphList.
4273
4274         * buffer.h:
4275         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4276         rather than ParagraphList.h. paragraph.h is still needed for the
4277         Paragraph::depth_type parameters.
4278
4279         * textcursor.h: enable it to compile stand-alone in light of the
4280         above changes.
4281
4282         * bufferview_funcs.C:
4283         * iterators.C:
4284         * lyxfunc.C:
4285         * lyxrow_funcs.C:
4286         * paragraph.C:
4287         * rowpainter.C:
4288         * text.C:
4289         * text2.C:
4290         * text3.C:
4291         * text_funcs.C:
4292         * textcursor.C:
4293         * undo.C:
4294         * frontends/controllers/ControlParagraph.C:
4295         * frontends/controllers/ControlTabular.C:
4296         * insets/insetmarginal.C:
4297         * insets/insetminipage.C:
4298         * insets/insetnote.C:
4299         * insets/insetoptarg.C: add header files needed to compile again.
4300
4301 2003-09-06  Angus Leeming  <leeming@lyx.org>
4302
4303         * RowList_fwd.h: new file, forward-declaring Row rather than
4304         #including lyxrow.h.
4305
4306         * lyxrow_funcs.h:
4307         * lyxtext.h:
4308         * paragraph.h:
4309         * insets/insettext.h: use it instead of RowList.h
4310
4311         * bufferview_funcs.C:
4312         * lyxfunc.C:
4313         * lyxrow_funcs.C:
4314         * paragraph.C:
4315         * rowpainter.C:
4316         * text.C:
4317         * text2.C:
4318         * text3.C: #include "RowList.h".
4319
4320 2003-09-05  Angus Leeming  <leeming@lyx.org>
4321
4322         * factory.C (createInset):
4323         * vspace.C (c-tor): replace sscanf call with an istringstream.
4324         * ispell.C: re-add missing HP/UX headers.
4325         * lyxserver.C: re-add missing  os2 headers.
4326
4327 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4328
4329         * BranchList.C:
4330         * graph.C:
4331         * ispell.C:
4332         * lastfiles.C:
4333         * lyx_cb.C:
4334         * lyxserver.C:
4335         * texrow.C:
4336         * text3.C: re-add missing system headers, needed for 2.95.2.
4337
4338 2003-09-05  Angus Leeming  <leeming@lyx.org>
4339
4340         Changes most place everywhere due to the removal of using directives
4341         from support/std_sstream.h.
4342
4343 2003-09-05  Angus Leeming  <leeming@lyx.org>
4344
4345         Replace LString.h with support/std_string.h,
4346         Lsstream.h with support/std_sstream.h,
4347         support/LIstream.h with support/std_istream.h,
4348         support/LOstream.h with support/std_ostream.h.
4349
4350         Changes resulting throughout the tree.
4351
4352 2003-09-05  Angus Leeming  <leeming@lyx.org>
4353
4354         * sgml.h: ensure that the header file can be compiled stand-alone.
4355         * *.C: strip out redundant #includes. (320 in total.)
4356
4357 2003-09-04  Angus Leeming  <leeming@lyx.org>
4358
4359         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4360         here (from getPackages).
4361
4362         * debug.[Ch]: add a new EXTERNAL tag.
4363
4364 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4365
4366         * text2.C (cursorEnd): simplify
4367         (setCursor): adjust
4368         (getColumnNearX): adjust
4369
4370         * text.C (computeBidiTables): adjust
4371         (fill): adjust
4372
4373         * rowpainter.C (paintChars): adjust
4374         (paintSelection): adjust
4375         (paintChangeBar): adjust
4376         (paintText): adjust
4377
4378         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4379         lastPos instead.
4380         (numberOfSeparators): adjust
4381
4382 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4383
4384         * LyXAction.C:
4385         * box.[Ch]:
4386         * lfuns.h:
4387         * lyxfunc.C:
4388         * text3.C: Restricts the mouse click functionality
4389         of insets like bibtex, include, toc and floatlist to the visible
4390         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4391         up the dialogs. Cursor has to be in front of the inset (i.e.
4392         start of row) for this to function.
4393
4394 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4395
4396         * bufferview_funcs.C (currentState): output row information
4397
4398 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4399
4400         * bufferview_funcs.C (currentState): output paragraph position
4401
4402 2003-09-04  Angus Leeming  <leeming@lyx.org>
4403
4404         * FloatList.h: move out #include "Floating.h".
4405         * LaTeX.h: move out #include "DepTable.h".
4406         * LyXAction.h: move out #include "funcrequest.h".
4407         * buffer.h: move out #include "author.h", "iterators.h".
4408         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4409         * lyx_main.h: move out #include "errorlist.h".
4410         * lyxfunc.h: move out #include "FuncStatus.h".
4411         * lyxtext: move out #include "lyxcursor.h".
4412         * paragraph_pimpl.h: move out #include "counters.h".
4413
4414 2003-09-03  Angus Leeming  <leeming@lyx.org>
4415
4416         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4417         preamble_snippets list, enabling us to add snippets to the preamble
4418         only if the snippet was not there already.
4419
4420 2003-09-04  Angus Leeming  <leeming@lyx.org>
4421
4422         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4423
4424 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4427         update
4428
4429 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * BranchList.C: point fix, earlier forgotten
4432
4433 2003-09-02  Angus Leeming  <leeming@lyx.org>
4434
4435         * box.C (contains): renamed from 'contained' after a fantastic
4436         amount of hot air.
4437
4438 2003-09-02  John Levon  <levon@movementarian.org>
4439
4440         * BufferView.C:
4441         * lyxcursor.h:
4442         * lyxcursor.C:
4443         * lyxfunc.C:
4444         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4445
4446 2003-09-02  John Levon  <levon@movementarian.org>
4447
4448         * text2.C: simplification of cursorEnd(), including partial
4449         fix for bug 1376
4450
4451 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * buffer.C (readFile): add a space
4454
4455 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4458
4459 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * buffer.C (readFile): new function, take a filename and a
4462         ParagraphList::iterator
4463         (readFile): adjust
4464         (readFile): adjust, make it private. don't use setStream, make
4465         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4466         always contain the filename.
4467
4468         * BufferView.C (insertLyXFile): simplify and make it work for
4469         gzipped files.
4470
4471 2003-08-30  John Levon  <levon@movementarian.org>
4472
4473         * Makefile.am: fix dist (from Kayvan)
4474
4475 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4476
4477         * most files: change to use const Buffer refs
4478
4479 2003-08-27  André Pönitz  <poenitz@gmx.net>
4480
4481         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4482         on top of ownerPar().
4483
4484 2003-08-27  John Levon  <levon@movementarian.org>
4485
4486         * funcrequest.C: properly initialise POD members
4487
4488 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4489
4490         * lyxtext.h (top_y): move top_y from here
4491         * text.C:
4492         * text2.C:
4493         * text3.C:
4494         * BufferView.[Ch]:
4495         * BufferView_pimpl.[Ch]: to here
4496         * frontends/screen.C:
4497         * insets/insettabular.C:
4498         * insets/insettext.C: adjust
4499         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4500
4501 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * BufferView.[Ch]:
4504         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4505
4506 2003-08-26  André Pönitz  <poenitz@gmx.net>
4507
4508         * paragraph_func.[Ch] (outerPar): new function
4509
4510         * paragraph.C:
4511         * paragraph_funcs.C:
4512         * paragraph_funcs.h:
4513         * paragraph_pimpl.C:
4514         * text2.C: remove Inset::par_owner
4515
4516 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4517
4518         * lyxrow_funcs.C:
4519         * lyxtext.h:
4520         * text.C:
4521         * text2.C: eliminates the needFullRow/display() stuff
4522         altogether, putting the logic in metrics/draw in the insets.
4523
4524 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * text2.C (redoParagraphInternal, redoParagraphs):
4527         * text.C (redoParagraph): add a call to updateRowPositions at the
4528         end of each 'metrics-like' call. Remove all others.
4529         (getRow): remove the 'y-computing' version.
4530         (getRowNearY): do not compute nor return the real y. Solve the
4531         'y < 0' problem and simplify.
4532
4533 2003-08-22  Angus Leeming  <leeming@lyx.org>
4534
4535         * *.[Ch]: clean-up of licence and author blurbs.
4536         Also move config.h out of a few .h files and into a few .C files.
4537
4538 2003-08-22  André Pönitz  <poenitz@gmx.net>
4539
4540         * lyxrow.[Ch]: add x_ and *fill_ members
4541
4542         * lyxtext.h:
4543         * text.C:
4544         * rowpainter.C:
4545         * text2.C: adjust/remove prepareToPrint() calls
4546
4547 2003-08-22  André Pönitz  <poenitz@gmx.net>
4548
4549         * lyxrow.[Ch]: add  end_ member
4550
4551         * lyxrow_funcs.C: use LyXRow::end_
4552
4553         * lyxtext.h (singleWidth): add LyXFont parameter
4554
4555         * rowpainter.C:
4556         * text2.C: adjust LyXText::singleWidth() calls
4557
4558         * text.C (redoParagraph): simplify row breaking logic
4559
4560
4561 2003-08-19  André Pönitz  <poenitz@gmx.net>
4562
4563         * funcrequest.C: initialize button_ member
4564
4565         * text3.C:
4566         * rowpainter.[Ch]: interface consolidation
4567
4568 2003-08-18  André Pönitz  <poenitz@gmx.net>
4569
4570         * BufferView.C:
4571         * BufferView_pimpl.C:
4572         * lyxfind.C:
4573         * paragraph_funcs.C:
4574         * rowpainter.C:
4575         * text3.C: remove LyXScreen::draw() and fitCursor calls
4576
4577         * BranchList.h: remove spurious semicolons
4578
4579         * MenuBackend.C: fix branchlist related crash
4580
4581 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4582
4583         * BranchList.[Ch]:
4584         * InsetList.[Ch]:
4585         * LColor.[Ch]:
4586         * LyXAction.C:
4587         * Makefile.am:
4588         * MenuBackend.[Ch]:
4589         * bufferparams.[Ch]:
4590         * factory.C:
4591         * lfuns.h:
4592         * lyxfunc.C:
4593         * text3.C: implements the 'branch inset'
4594         idea. This allows the output of various versions of a document
4595         from a single source version, selectively outputing or suppressing
4596         output of parts of the text.
4597         This implementation contains a 'branch list editor' in a separate
4598         tab of the document settings dialog. Branches are user definable
4599         and have a "display colour" to distinguish them on-screen.
4600
4601         ColorHandler was somewhat cleaned up.
4602         (1) make possible a dynamically growing LColor list by allowing
4603         the graphic context cache to grow along (vector);
4604         (2) eliminate an IMHO unnecessary step in colour allocation.
4605
4606 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4607
4608         * BufferView_pimpl.C: compile fix
4609
4610 2003-08-15  André Pönitz  <poenitz@gmx.net>
4611
4612         * rowpainter.C: remove extra metrics calls
4613
4614         * lyxtext.h: merge the two constructors into a single one,
4615           pass reference to owner's par list
4616
4617         * BufferView_pimpl.C:
4618         * text.C:
4619         * text2.C: adjust
4620
4621 2003-08-15  André Pönitz  <poenitz@gmx.net>
4622
4623         * lyxrow_funcs.[Ch]:
4624         * lyxtext.h:
4625         * paragraph.h:
4626         * paragraph_funcs.C:
4627         * rowpainter.C:
4628         * text.C:
4629         * text2.C:
4630         * text3.C:
4631         * text_funcs.C: split LyXText::rowlist_ into individual
4632         Paragraph::rows_ chunks
4633
4634         * BufferView.[Ch]:
4635         * BufferView_pimpl.[Ch]:
4636         * lyxfind.C:
4637         * lyxtext.h:
4638         * text3.C: remove toggleSelection()
4639
4640 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4641
4642         * bufferlist.C: beautify two alerts (shorter text of buttons)
4643         * buffer.C: Remove redundant ' ' from message
4644         * tabular.h:
4645         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4646         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4647         rename VALIGN_CENTER to VALIGN_MIDDLE
4648
4649 2003-08-11  André Pönitz  <poenitz@gmx.net>
4650
4651         * lyxtext.h (getPar):
4652         * text.C: new function
4653
4654 2003-08-11  André Pönitz  <poenitz@gmx.net>
4655
4656         * Makefile.am:
4657         * tracer.[Ch]: remove unneeded files
4658
4659         * InsetList.[Ch]: remove resizeInsetsLyXText()
4660
4661         * lyxtext.h:
4662         * text.C:
4663         * text2.C:
4664         * text3.C: merge insertParagraphs() and appendParagraph()
4665         remove breakAgain(), update()
4666
4667         * BufferView_pimpl.[Ch]:
4668         * bufferview_funcs.[Ch]:
4669         * lyxfunc.C:
4670         * paragraph.[Ch]:
4671         * rowpainter.C:
4672         * tabular.C: adjust after text & InsetList changes.
4673
4674 2003-08-08  André Pönitz  <poenitz@gmx.net>
4675
4676         * text.C (insertChar, backspace): replace rowlist fiddling
4677         with rebreak of full par
4678
4679         * lyxtext.h:
4680         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4681         checkParagraph, updateInset): removed
4682
4683 2003-08-07  André Pönitz  <poenitz@gmx.net>
4684
4685         * paragraph.C:
4686         * text3.C: merge some LFUN handlers, remove dead code
4687
4688 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4689
4690         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4691
4692 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * text2.C (DEPM): fix part of bug 1255 and 1256
4695
4696 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4697
4698         * BufferView_pimpl.C (workAreaDispatch): change to use
4699         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4700         that are no mouse related.
4701
4702 2003-08-05  André Pönitz  <poenitz@gmx.net>
4703
4704         * BufferView.[Ch]:
4705         * BufferView_pimpl.[Ch]:
4706         * bufferview_funcs.C:
4707         * text2.C:
4708         * text3.C: rip out "deep update"
4709
4710         * textcursor.[Ch] (last_sel_cursor): remove unused member
4711
4712 2003-08-04  André Pönitz  <poenitz@gmx.net>
4713
4714         * BufferView.[Ch]:
4715         * BufferView_pimpl.[Ch]:
4716         * ParagraphParameters.C:
4717         * bufferview_funcs.C:
4718         * lyx_cb.C:
4719         * lyxfind.C:
4720         * lyxfunc.C:
4721         * text.C:
4722         * text2.C:
4723         * text3.C: replace "complicated" BufferView::update(...) calls with
4724         simpler ones.
4725
4726         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4727
4728 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4729
4730         * Makefile.am (lyx_SOURCES): add paper.h
4731
4732 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4733
4734         * Makefile.am: move things around so that both lyx-qt and
4735         lyx-xforms can be built (according to --with-frontend). Then lyx
4736         is a symbolic link to lyx-[firstfrontend]
4737
4738 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4739
4740         * Always use std::endl with lyxerr
4741
4742 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4743
4744         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4745
4746 2003-08-01  André Pönitz  <poenitz@gmx.net>
4747
4748         * BufferView.[Ch]:
4749         * BufferView_pimpl.[Ch]:
4750         * lyxfunc.C:
4751         * text3.C: merge BufferView::repaint() and BufferView::update()
4752
4753 2003-08-01  José Matos  <jamatos@lyx.org>
4754
4755         * buffer.[Ch]: file_format is no longer a buffer data element.
4756
4757 2003-08-01  André Pönitz  <poenitz@gmx.net>
4758
4759         * BufferView.C:
4760         * lyxtext.h:
4761         * text.C:
4762         * text2.C: make redoParagraph more independent of current cursor
4763
4764         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4765         * text.C:
4766         * text2.C: remove unneeded members
4767
4768 2003-07-30  André Pönitz  <poenitz@gmx.net>
4769
4770         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4771
4772         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4773           create a single function...
4774
4775         * paragraph_funcs.C (moveItem): ... here.
4776
4777         * text.C:
4778           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4779
4780 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * LColor.[Ch]: Add comment and greyedout logical colors.
4783
4784 2003-07-30  André Pönitz  <poenitz@gmx.net>
4785
4786         * tabular.C: don't use Assert too heavily. This crashes where it
4787           shouldn't
4788
4789 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4792         is disabled (bug 1232)
4793
4794 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * factory.C: limited 'arg' scope
4797
4798 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4799
4800         * factory.C: fixed Note submenu issues
4801
4802 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4803
4804         * factory.C: submenu for Note/Comment/Greyedout
4805
4806 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * lyx_main.C (LyX):
4809         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4810
4811 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4812
4813         * LaTeXFeatures.C:
4814         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4815         greyedout. Patch provided by Jürgen Spitzmüller.
4816
4817 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4818
4819         * kbmap.C (read): fix error message when reading bind files
4820
4821 2003-07-29  Angus Leeming  <leeming@lyx.org>
4822
4823         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4824         certainly does not do what it purports to do. I am doing it, and
4825         us, a favour by killing it.
4826
4827 2003-07-28  José Matos  <jamatos@lyx.org>
4828
4829         * buffer.C (readBody, do_writeFile):
4830         * paragraph.C(readParagraph): \end_document replaces \the_end.
4831
4832 2003-07-29  André Pönitz  <poenitz@gmx.net>
4833
4834         * BufferView.[Ch]:
4835         * BufferView_pimpl.[Ch]:
4836         * lyxfunc.C:
4837         * text2.C:
4838         * text3.C:
4839         * textcursor.[Ch]: remove toggleToggle & Co
4840
4841 2003-07-28  José Matos  <jamatos@fep.up.pt>
4842
4843         * buffer.C (readParagraph):
4844         * params_func (readParToken, readParagraph):
4845         * paragraph.C (write): \layout -> \begin_layout.
4846
4847 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * lyxlex_pimpl.C (setFile): clean up slightly.
4850
4851         * bufferparams.h: add compressed var
4852
4853         * buffer_funcs.C (readFile): adjust for LyXLex change
4854         (newFile): ditto + simplify
4855
4856         * buffer.C (writeFile): handle writing of compressed files
4857
4858         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4859         Check if the file is compressed and set a bufferparm if so.
4860
4861         * Makefile.am (lyx_LDADD): remove explicit -lz
4862
4863 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4864
4865         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4866         makeDocBookFile): put the real LyX version in the first line of
4867         the file
4868
4869         * version.h:
4870         * version.C.in: remove lyx_docversion
4871
4872         * tabular.C (write_attribute): add a template-based version to
4873         write enums properly
4874
4875 2003-07-28  André Pönitz  <poenitz@gmx.net>
4876
4877         * lyxtext.h:
4878         * text.C:
4879         * text2.C:
4880         * text3.C: use doubles again for x-coordinates. They are needed.
4881
4882 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * messages.C (getLocaleDir): use lyx_localedir()
4885
4886         * lyxlex_pimpl.C (setFile): compress stuff
4887
4888         * buffer.C (writeFile): add some compression stuff
4889         (do_writeFile): new func, dont call expliti close... will this
4890         breake anything?
4891
4892         * Makefile.am (lyx_LDADD): add -lz
4893
4894 2003-07-28  José Matos  <jamatos@fep.up.pt>
4895
4896         * buffer.C: increment file format.
4897         * paragraph_funcs (readParagraph, readParToken):
4898         * paragraph.C (readParagraph): add \end_layout.
4899
4900 2003-07-27  Angus Leeming  <leeming@lyx.org>
4901
4902         * Makefile.am: remove special casing for configure-time setting of
4903         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4904
4905         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4906         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4907
4908 2003-07-26  André Pönitz  <poenitz@gmx.net>
4909
4910         * paragraph_func.[Ch]:
4911         * paragraph.C (realizeFont): inline it whereever it is used
4912
4913         * rowpainter.C:
4914         * text.C:
4915         * text2.C:
4916         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4917
4918
4919 2003-07-26  André Pönitz  <poenitz@gmx.net>
4920
4921         *       lyxtext.h:
4922         * text.C:
4923         * text2.C: get rid of LyXText::need_break_row
4924
4925 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * toc.[Ch]: put namespace toc inside namespace lyx
4928
4929         * MenuBackend.C (expandToc2): adjust for lyx::toc
4930         (expandToc): ditto
4931
4932         * lyxfunc.C (dispatch): adjust for lyx::find
4933
4934         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4935         lyx::find instead. Reorganize a bit.
4936         (LyXReplace): rename to replace
4937         (LyXFind): rename to find
4938
4939         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4940         (dispatch): ditto
4941
4942 2003-07-26  André Pönitz  <poenitz@gmx.net>
4943
4944         * text.C (setHeightOfRow): restrict scope of temporary variable
4945
4946         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4947           code (never has been used?)
4948
4949 2003-07-27  Asger Alstrup  <alstrup@local>
4950
4951         * text.C (fill): Optimise algorithm to exploit that we can reuse
4952         the LyXFont for many characters.
4953         (setHeightOfRow): Same thing.
4954         (rowBreakPoint): Same thing.
4955
4956 2003-07-26  Asger Alstrup  <alstrup@local>
4957
4958         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4959
4960         * text.C (singleWidth): Spurious font copying in hot-spot
4961         singleWidth avoided. Reorder tests for arabic for efficiency.
4962
4963         * text.C (fill): handle empty paragraphs better.
4964
4965 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4966
4967         * ispell.C:
4968         * encoding.h: add includes
4969
4970         * lyxrc.C: remove reading of bind files
4971
4972         * lyx_main.C (init): setup bindings and menus only if we have a
4973         gui.
4974
4975         * kbmap.C (read): new method. Do the actual reading of bind
4976         files.
4977
4978         * converter.C (dvipdfm_options):
4979         * bufferparams.C:
4980         * lyxrc.C (read):
4981         (output): adapt PAPER_* enums.
4982
4983         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4984
4985         * bufferparams.h: remove paper-related enums from there
4986
4987         * paper.h: New file. A trivial header file to hold paper-related
4988         enums. It should later expand to contain many paper-related
4989         horrors access.
4990
4991         * lyxrc.C: declare extern displayTranslator
4992
4993 2003-07-27  José Matos  <jamatos@fep.up.pt>
4994
4995         * tabular.[Ch] (linuxdoc): add support for tables and figures
4996         (linuxdoc).
4997
4998 2003-07-27  José Matos  <jamatos@fep.up.pt>
4999
5000         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5001         consistency in both functions.
5002         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5003
5004 2003-07-26  Asger Alstrup  <alstrup@local>
5005
5006         * rowpainter.C (paintRows): Change algorithm to work directly on
5007         the insets rather than asking every character in the document
5008         whether its an inset.
5009
5010 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * buffer.C (openFileWrite): factorize some code
5013
5014 2003-07-26  Angus Leeming  <leeming@lyx.org>
5015
5016         * lyx_cb.C:
5017         * lyx_main.[Ch]: replace occurances of system_tempdir with
5018         os::getTmpDir().
5019
5020 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * rename Inset to InsetOld
5023
5024 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5025
5026         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5027         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5028         which I think is a bit clearer. EDIT is gone, since it was
5029         premature optimisation, and broken for mathed anyway.
5030         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5031         with cursor positioning in insets as well (math insets still do not
5032         work, but that's a different story anyway.) It mysteriously
5033         crashes sometimes with undo in the first paragraph, but I'm fairly
5034         confident that this is a compiler bug.
5035
5036 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * paragraph.C (Paragraph): adjust for new clone return type
5039         (operator==): ditto
5040         (copyIntoMinibuffer): ditto
5041
5042 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5043
5044         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5045         by not having a special case, and always doing a full rebreak of
5046         the document after undo.
5047
5048 2003-07-23  Angus Leeming  <leeming@lyx.org>
5049
5050         * factory.C (createInset): InsetExternal::setParams now takes a
5051         Buffer const * arg.
5052
5053 2003-07-23  Angus Leeming  <leeming@lyx.org>
5054
5055         * factory.C (createInset): changed interface to the external and
5056         graphics mailers' string2params functions.
5057
5058 2003-07-23  Angus Leeming  <leeming@lyx.org>
5059
5060         * factory.C (createInset): pass a
5061         Buffer const * parameter to InsetExternalMailer's string2params.
5062
5063 2003-07-22  John Levon  <levon@movementarian.org>
5064
5065         * Thesaurus.h: include the right aiksaurus header
5066
5067 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5068
5069         * MenuBackend.C (expand): check menu shortcuts unconditionally
5070
5071 2003-07-21  Angus Leeming  <leeming@lyx.org>
5072
5073         * factory.C (createInset): pass a
5074         buffer_path parameter to InsetGraphicsMailer's string2params.
5075
5076 2003-07-21  Angus Leeming  <leeming@lyx.org>
5077
5078         * BufferView_pimpl.C (buffer):
5079         * buffer.C (d-tor):
5080         * lyx_main.C (LyX):
5081         * lyxfunc.C (dispatch):
5082         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5083         rather than the grfx shortcut.
5084
5085 2003-07-21  André Pönitz  <poenitz@gmx.net>
5086
5087         * rowpainter.C: remove unused variables
5088
5089         * tabular_funcs.C:
5090         * tabular_funcs.h: move to tabular.C
5091         * Makefile.am: adjust
5092
5093         * tabular.[Ch]: basic optical cleaning
5094
5095         * author.h: pass references, not values
5096
5097 2003-07-18  André Pönitz  <poenitz@gmx.net>
5098
5099         * lyxtext.h:
5100         * metricsinfo.C:
5101         * metricsinfo.h:
5102         * rowpainter.C:
5103         * text.C:
5104         * text2.C:
5105         * text3.C: two-phase drawing for InsetText and InsetTabular
5106         some float -> int changes.
5107
5108 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * lyx_main.C: fix the fix
5111
5112 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * lyx_main.C: fix a crash in batch mode if no files specified
5115         * converter.C: ws
5116
5117 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * format.[Ch] (papersize): moved to BufferParams
5120         * converter.[Ch] (dvips_options): moved to BufferParams
5121         (dvipdfm_options): moved to anon namespace
5122         * bufferparams.[Ch]: added above functions.
5123
5124 2003-07-17  André Pönitz  <poenitz@gmx.net>
5125
5126         * lyxtext.h:
5127         * rowpainter.C:
5128         * text2.C: don't call inset->update() anymore
5129
5130         * metricsinfo.[Ch]: add convenience constructor
5131
5132 2003-07-16  André Pönitz  <poenitz@gmx.net>
5133
5134         * lyxcursor.[Ch]:
5135         * lyxfunc.[Ch]:
5136         * text.C:
5137         * text2.C: replace the LyXCursor::irow_ member with
5138          on-demand computation of the value
5139
5140 2003-07-16  John Levon  <levon@movementarian.org>
5141
5142         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5143
5144 2003-07-15  André Pönitz  <poenitz@gmx.net>
5145
5146         * text.C:
5147         * text2.C: remove no more needed refresh_row
5148
5149 2003-07-15  André Pönitz  <poenitz@gmx.net>
5150
5151         * lyxtext.h:
5152         * rowpainter.C:
5153         * text2.C:
5154         * text3.C: refresh_status tristate -> need_update bool
5155
5156 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5157
5158         * lyxtext.h (init): remove reinit argument (act as if always true)
5159         * text2.C: adjust to that
5160
5161 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5162
5163         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5164         * text3.C: use it to delete selections in some cases
5165         (bugs 441, 673, 702, 954).
5166
5167 2003-07-14  André Pönitz  <poenitz@gmx.net>
5168
5169         * rowpainter.[Ch]: reduce interface
5170
5171 2003-07-14  André Pönitz  <poenitz@gmx.net>
5172
5173         * BufferView_pimpl.C:
5174         * text2.C: adjust after removing unused BufferView * argument
5175
5176 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * text2.C (init): fix a crash fired on resize
5179
5180 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * buffer.[Ch]: added new closing signal
5183         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5184         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5185         BufferView::Pimpl via the closing the signal
5186
5187 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * buffer.[Ch]: take out all bv-related from buffer
5190         * BufferView.C:
5191         * BufferView_pimpl.[Ch]: connect to new signals
5192         * CutAndPaste.C: removed useless asserts
5193         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5194         * lyxvc.[Ch]:
5195         * vc-backend.[Ch]:
5196         * lyxfunc.C: moved view-related funciontality from vc here
5197         * paragraph.C: removed outdated comments
5198         * text.C: ws
5199
5200 2003-07-10  André Pönitz  <poenitz@gmx.net>
5201
5202         * BufferView_pimpl.C:
5203         * tabular.h:
5204         * tabular_funcs.C:
5205         * text.C:
5206         * text2.C: remove InsetText::InnerCache, clean up consequences
5207
5208 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5209
5210         * ispell.C: fix two typos in error messages
5211
5212 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5213
5214         * Extend Note inset to other forms of annotation like Comment
5215         and Greyedout. Right button click gives dialog.
5216
5217         Files modified or added (+):
5218
5219         * insetnote.[Ch]
5220         * FormNote.[Ch]      +
5221         * ControlNote.[Ch]   +
5222         * form_note.fd       +
5223         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5224         frontends/controllers
5225         * xforms/Dialogs.C
5226         * factory.C
5227
5228 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5229
5230         * aspell.C: add missing namespace lyx::support
5231
5232 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5233
5234         * BufferView.[Ch] (newFile): Add
5235         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5236         * LaTeX.[Ch] (message): added this signal and use it
5237         * buffer.[Ch] (busy, message): added these signals and use them
5238         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5239         * converter.C:
5240         * exporter.C:
5241         * format.C:
5242         * importer.C: use buffer signals instead of direct bv calling
5243         * lyx_cb.[Ch] (ShowMessage): removed
5244         * lyx_main.C:
5245         * lyxfunc.C:
5246         * paragraph_funcs.C:
5247         * text2.C: use buffer signals
5248
5249 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * introduce namespace lyx::graphics
5252
5253 2003-07-02  André Pönitz  <poenitz@gmx.net>
5254
5255         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5256
5257 2003-07-01  André Pönitz  <poenitz@gmx.net>
5258
5259         * text.C:
5260         * text2.C:
5261         * text3.C:
5262         * text_funcs.[Ch]:
5263         * textcursor.h:
5264         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5265           text*.C to text_func.C
5266
5267 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * introduce namespace lyx::support
5270
5271 2003-06-30  André Pönitz  <poenitz@gmx.net>
5272
5273         * Chktex.C:
5274         * funcrequest.C:
5275         * lyxtext.h:
5276         * text.C: re-enable --with-included-string
5277
5278 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * textcursor.C: add <config.h>
5281
5282         * text.C (getWord): remove const from word_location arg
5283
5284         * lyxvc.C (getLogFile): fix const type order
5285
5286         * lyxtext.h: remove const from word_location arg, add arg name
5287
5288         * lyxlayout.h: currect type on labeltype.
5289
5290         * importer.C: correct \file
5291
5292         * converter.C (intToFormat): use std:: on ret val, ws changes
5293
5294         * bufferlist.h: correct \file
5295
5296         * buffer.C (makeLinuxDocFile): fix const type order
5297         (makeDocBookFile): ditto
5298         (fillWithBibKeys): use std:: on stdlib args.
5299
5300         * CutAndPaste.C: fix authors.
5301         (availableSelections): use std:: on return vector
5302
5303 2003-06-27  André Pönitz  <poenitz@gmx.net>
5304
5305         * BufferView_pimpl.C:
5306         * bufferview_funcs.C:
5307         * lyxcursor.C:
5308         * lyxcursor.h:
5309         * lyxfunc.C:
5310         * lyxtext.h:
5311         * rowpainter.C:
5312         * text.C:
5313         * text2.C:
5314         * text3.C: remove LyXCursor::row_ member
5315
5316         * lyxtext.h:
5317         * text.C: rename fullRebreak() to partialRebreak() and implement
5318           a fullRebreak() that really bereks fully
5319
5320         * textcursor.h: new struct for cursor-related data
5321
5322 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5323
5324         * lyx_main.C (LyX): get full path of document loaded on the
5325         command line
5326
5327 2003-06-26  André Pönitz  <poenitz@gmx.net>
5328
5329         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5330           remove unused/broken operator>,<,>=.
5331
5332         *       text.C: remove only use of broken operator<= in an Assert().
5333
5334 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5335
5336         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5337         moved errorlist_.clear to showErrorList
5338
5339 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5340
5341         * converter.C (scanLog, runLaTeX):
5342         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5343         move the bv->showErrorList call to the callers
5344         * lyxfunc.C: i.e. here...
5345         * text2.C: and here
5346         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5347         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5348         namespace, the second to...
5349         * buffer_funcs (BufferFormat, parseErrors): added
5350         * errorlist.C (ErrorList(TeXErrors const &)): removed
5351
5352 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5353
5354         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5355
5356 2003-06-24  "Garst R. Reese" <reese@isn.net>
5357
5358         * debug.C: fix typo
5359
5360 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5361
5362         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5363
5364         * version.C.in: change docversion to 1.4
5365
5366 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * buffer.C: fix a bug just introduced
5369
5370 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5371
5372         * buffer.[Ch]: added the parseError signal and use it, removed
5373         sgmlError
5374         * BufferView.[Ch] (addError): moved to ...
5375         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5376         to the Buffer::parseError signal to catch (guess what) parse errors
5377         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5378
5379 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5380
5381         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5382         ability to create a buffer and to return an existing one from
5383         the list. Moved these functions to...
5384         * buffer_funcs.[Ch]: added
5385         * BufferView.[Ch] (loadLyXFile): added
5386         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5387         job removed from bufferlist::loadLyXFile.
5388         * buffer.C (setReadOnly): make it work without view
5389         (i.e added an if (users))
5390
5391 2003-06-19  Angus Leeming  <leeming@lyx.org>
5392
5393         * lfuns.h:
5394         * LyXAction.C (init):
5395         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5396         with LFUN_DIALOG_SHOW <name> <data>.
5397
5398 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5399
5400         * CutAndPaste.C (availableSelections): small compilation fix for
5401         ancient (gcc 2.9x) compilers
5402
5403 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5404
5405         * text3.C (cursorNext): add tmp var
5406
5407         * text2.C (updateCounters): for function calling out of for clause
5408         (replaceSelectionWithString): ditto
5409         (insertStringAsParagraphs): ditto
5410         (getColumnNearX): add tmp var
5411         (setCursorFromCoordinates): add tmp var
5412         (cursorDownParagraph): add tmp var
5413         (deleteEmptyParagraphMechanism): add tmp var
5414
5415         * text.C (insertChar): add tmp var
5416
5417         * rowpainter.C (paintDepthBar): add tmp var
5418
5419         * CutAndPaste.C (availableSelections): potentially check all
5420         paragraphs in a cut to fill the shown strings.
5421
5422 2003-06-18  André Pönitz  <poenitz@gmx.net>
5423
5424         * kbmap.[Ch]: use vector<> instead of list<>
5425
5426 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5427
5428         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5429         pasteSelection with index
5430
5431         * text2.C (pasteSelection): modify, call pasteSelection with index
5432
5433         * paragraph.C (asString): reimplement version with no interval to
5434         call the one with interval.
5435
5436         * lyxtext.h: add index arg to pasteSelection
5437
5438         * MenuBackend.C (MenuItem): handle PasteRecent
5439         (Menu::read::Menutags): add md_pasterecent
5440         (read): handle it
5441         (expandPasteRecent): new function
5442         (expand): use it
5443
5444         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5445
5446         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5447         the limited stack
5448         (availableSelections): new function
5449
5450 2003-06-17  Angus Leeming  <leeming@lyx.org>
5451
5452         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5453
5454 2003-06-17  Angus Leeming  <leeming@lyx.org>
5455
5456         * lfuns.h:
5457         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5458
5459         * lyxfunc.C (dispatch): invoke it.
5460
5461 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5462
5463         * iterators.C (operator++, ParPosition): reintroduce some
5464         const_cast for the benefit of older compilers.
5465
5466 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5467
5468         * text3.C (dispatch): do not modify clipboard when doing
5469         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5470         LFUN_DELETE_SKIP on a selection selection
5471
5472 2003-06-16  André Pönitz  <poenitz@gmx.net>
5473
5474         * BufferView.C:
5475         * buffer.C:
5476         * buffer.h:
5477         * paragraph.C:
5478         * tabular.[Ch]: IU of clone() and getLabelList();
5479
5480 2003-06-13  André Pönitz  <poenitz@gmx.net>
5481
5482         * tabular.h: compactification
5483
5484 2003-06-12  André Pönitz  <poenitz@gmx.net>
5485
5486         * tabular.C:
5487         * tabular.h:
5488         * tabular_funcs.h: some renaming plus whitespace
5489
5490 2003-06-12  André Pönitz  <poenitz@gmx.net>
5491
5492         * BufferView.C:
5493         * BufferView_pimpl.C:
5494         * CutAndPaste.C:
5495         * buffer.C:
5496         * iterators.[Ch]:
5497         * lyxfunc.C:
5498         * text.C:
5499         * toc.C: Return a Paragraph & for ParIterator::operator*()
5500
5501 2003-06-11  John Levon  <levon@movementarian.org>
5502
5503         * lyx_main.C:
5504         * ToolbarBackend.h:
5505         * ToolbarBackend.C: add "Toolbars" section and
5506         put the flags there
5507
5508 2003-06-10  Angus Leeming  <leeming@lyx.org>
5509
5510         * lfuns.h:
5511         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5512
5513         * lyxfunc.C (dispatch): invoke it.
5514
5515 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * main.C: protect <ios> with HAVE_IOS
5518         (main): protect sync_with_stdio with HAVE_IOS
5519
5520 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5521
5522         * text2.C (cutSelection): adjust
5523         (pasteSelection): adjust
5524
5525         * messages.C: handle get of empty string
5526
5527         * main.C (main): use sync_with_stdio(false)
5528
5529         * lyxfunc.C (dispatch): adjust
5530
5531         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5532         (WriteAs): remove unneeded BufferView arg.
5533
5534         * bufferparams.h: use correct types on papersize, papersize2 and
5535         paperpackage.
5536
5537         * bufferparams.C (readToken): adjust for type
5538         (writeLaTeX): add missing cases to switch.
5539
5540         * bufferlist.C (quitWriteBuffer): adjust
5541         (close): adjust
5542
5543         * buffer.C (asciiParagraph): remove some commented code.
5544
5545         * CutAndPaste.C: remove current_view extern variable.
5546         (cutSelection): add BufferParams arg.
5547         (eraseSelection): add BufferParams arg.
5548         (pasteSelection): add Buffer const & arg
5549
5550 2003-06-07  John Levon  <levon@movementarian.org>
5551
5552         * buffer.C:
5553         * paragraph_funcs.C:
5554         * paragraph_pimpl.C:
5555         * text.C:
5556         * text2.C:
5557         * paragraph.h:
5558         * paragraph.C: allow InsetERT to freely space lines,
5559         and some consolidation of code
5560
5561 2003-06-06  José Matos  <jamatos@fep.up.pt>
5562
5563         * buffer.C (makeDocBookFile): fix bug #821
5564
5565 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5566
5567         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5568
5569 2003-06-04  Angus Leeming  <leeming@lyx.org>
5570
5571         * buffer.C: bump format to 224.
5572
5573 2003-06-05  André Pönitz  <poenitz@gmx.net>
5574
5575         * text2.C (redoParagraphs): remove two const_cast<>
5576
5577 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5578
5579         * ParagraphList.h: remove last remnants of NO_STD_LIST
5580
5581 2003-06-03  Angus Leeming  <leeming@lyx.org>
5582
5583         * factory.C (createInset): small change to the way InsetExternal's params
5584         are set.
5585
5586 2003-06-04  André Pönitz  <poenitz@gmx.net>
5587
5588         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5589
5590         * paragraph_pimpl.h:
5591         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5592
5593         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5594
5595         * undo_funcs.C: make some simple cases of undo work again
5596
5597 2003-06-03  John Levon  <levon@movementarian.org>
5598
5599         * ispell.C: HPUX doesn't have sys/select.h
5600         (from Albert Chin)
5601
5602 2003-06-03  John Levon  <levon@movementarian.org>
5603
5604         * CutAndPaste.C: update tabular and include inset
5605         buffer references
5606
5607         * buffer.h:
5608         * paragraph.h:
5609         * paragraph.C: remove owningBuffer(), don't pass Buffer
5610         to clone()
5611
5612         * factory.C: insetGraphicsParams changed
5613
5614 2003-06-02  John Levon  <levon@movementarian.org>
5615
5616         * LyXAction.C:
5617         * factory.C:
5618         * lfuns.h:
5619         * lyxfunc.C:
5620         * text3.C: remove insetparent
5621
5622 2003-06-02  John Levon  <levon@movementarian.org>
5623
5624         * buffer.h:
5625         * buffer.C: fix inset_iterator.end(), move out of line
5626         (bug 1149)
5627
5628 2003-06-01  John Levon  <levon@movementarian.org>
5629
5630         * text3.C: use a proper cut/paste when doing inset
5631         insert (from Jürgen Spitzmüller)
5632
5633 2003-06-01  John Levon  <levon@movementarian.org>
5634
5635         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5636
5637 2003-05-30  André Pönitz  <poenitz@gmx.net>
5638
5639         * rowpainter.C: unify second drawing phase
5640
5641 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * trans_mgr.C: remove one case of current_view
5644
5645         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5646
5647         * paragraph_funcs.h: remove paragraph.h include
5648
5649         * paragraph.h: delete NO_STD_LIST stuff
5650
5651         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5652
5653         * buffer.h: remove paragraph.h include
5654
5655         * ParagraphList.C: delete file
5656
5657         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5658
5659         * toc.C (getTocList): adjust
5660
5661         * paragraph_pimpl.C (validate): adjust
5662
5663         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5664
5665         * paragraph.C (Paragraph): adjust
5666         (getPositionOfInset): use const_iterator, adjust
5667         (bibitem): use const_iterator, adjust
5668         (setInsetOwner): adjust
5669
5670         * iterators.C (operator++): adjust
5671
5672         * InsetList.[Ch]: Replace selfmade iterator with standard
5673         vector::iterator also introduce const_iterator. Remove getPos,
5674         getInset and setInset from InsetTable. Adjust accordingly.
5675
5676         * BufferView.C (lockInset): adjust
5677         (ChangeInsets): adjust
5678
5679         * tabular.[Ch]: delete commented same_id functions
5680
5681 2003-05-28  John Levon  <levon@movementarian.org>
5682
5683         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5684
5685 2003-05-28  André Pönitz  <poenitz@gmx.net>
5686
5687         * metricsinfo.[Ch]: remove 'fullredraw' member
5688
5689 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5690
5691         * lyxtextclass.C (operator): remove caching.
5692
5693 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * text3.C: adjust
5696
5697         * text2.C (cursorBottom): adjust
5698         (setCounter): use ParagraphList::find, adjust
5699
5700         * text.C (workWidth): use ParagraphList::find, adjust
5701
5702         * lyxcursor.C (LyXCursor): adjust
5703
5704         * buffer.C (inset_iterator): adjust
5705
5706         * ParagraphList.h: make iterator(value_type) private, make
5707         ParagraphList a friend of iterator.
5708
5709         * ParagraphList.C (find): new function
5710
5711         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5712
5713 2003-05-27  André Pönitz  <poenitz@gmx.net>
5714
5715         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5716
5717 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5718
5719         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5720
5721 2003-05-26  John Levon  <levon@movementarian.org>
5722
5723         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5724
5725 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * remove same_id from function signatures, adjust.
5728
5729 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5732
5733         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5734
5735         * paragraph.C (Paragraph): get rid of same_ids parameter
5736
5737         * ParagraphList.C (insert): adjust
5738         (push_back): adjust
5739
5740 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * paragraph_funcs.C (breakParagraph): adjust
5743         (breakParagraphConservative): adjust
5744
5745         * buffer.C (readParagraph): adjust
5746
5747         * ParagraphList.C (insert): take a reference instead of a pointer
5748         (insert): adjust
5749
5750         * paragraph.[Ch] (id): new function
5751
5752         * bufferlist.C (newFile): adjust
5753
5754         * ParagraphList.C (ParagraphList): adjust
5755         (assign): adjust
5756         (push_back): take a reference instead of a pointer.
5757
5758         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5759
5760         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5761         instead.
5762
5763         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5764         set else use old code.
5765
5766         * ParagraphList.C: remove all NO_NEXT code and only compile this
5767         code of NO_STD_LIST is set.
5768
5769 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5770
5771         * BufferView_pimpl.C:
5772         * TextCache.C:
5773         * TextCache.h:
5774         * bufferlist.C:
5775         * errorlist.h:
5776         * format.C:
5777         * format.h:
5778         * graph.C:
5779         * lyxfunc.C:
5780         * lyxrc.C:
5781         * graphics/GraphicsConverter.C:
5782         * graphics/PreviewLoader.C: header adjustment
5783
5784 2003-05-23  Angus Leeming  <leeming@lyx.org>
5785
5786         * LaTeXFeatures.[Ch] (useBabel): new method.
5787         * bufferparams.C (writeLaTeX): use it.
5788
5789 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * ParagraphList.h (set): remove unused function.
5792
5793 2003-05-23  André Pönitz  <poenitz@gmx.net>
5794
5795         * BufferView.C:
5796         * BufferView_pimpl.C:
5797         * buffer.C:
5798         * buffer.h:
5799         * lyxfunc.C:
5800         * undo_funcs.C: setUndo reworked
5801
5802         * iterators.[Ch]: add access to topmost ParagraphList
5803
5804         * lyxtext.[Ch] (workWidth): add a const
5805
5806 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5807
5808         * texrow.[Ch] (increasePos): remove function
5809         * exporter.C (export): removed unused var and outdated comment
5810
5811 2003-05-23  Angus Leeming  <leeming@lyx.org>
5812
5813         * latexrunparams.h: rename fragile as moving_arg.
5814         * paragraph.C (simpleTeXOnePar): ditto.
5815         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5816
5817 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5818
5819         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5820         (createUndo): ditto
5821         (textUndoOrRedo): comment out a currently unused var.
5822
5823         * paragraph.h (NO_NEXT): enable NO_NEXT
5824
5825         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5826
5827         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5828
5829         * exporter.C (Export): adjust for removeAutoInsets removal.
5830
5831         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5832
5833         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5834
5835         * BufferView.[Ch] (removeAutoInsets): delete function
5836
5837 2003-05-22  Angus Leeming  <leeming@lyx.org>
5838
5839         * latexrunparams.h: add a free_spacing variable.
5840
5841         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5842         to pass moving_arg, as the data is stored in runparams.fragile.
5843
5844         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5845         to Inset::latexOptional or to simpleTeXOnePar.
5846
5847         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5848         free_spacing arg to Inset::latexOptional.
5849
5850         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5851         free_spacing arg.
5852
5853 2003-05-22  Angus Leeming  <leeming@lyx.org>
5854
5855         * latexrunparams.h: add fragile and use_babel variables.
5856
5857         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5858         * buffer.C (makeLaTeXFile): store this returned value in
5859         runparams.use_babel, thus passing it to the inset::latex methods.
5860
5861         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5862         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5863
5864         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5865         longer has a fragile arg, as it is stored in runparams.fragile.
5866
5867         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5868         moving_arg parameter as the data is stored in runparams.fragile.
5869
5870         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5871         a fragile parameter as the data is stored in runparams.fragile.
5872
5873 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5876
5877 2003-05-22  Angus Leeming  <leeming@lyx.org>
5878
5879         * latexrunparams.h: add a 'bool nice' which defaults to false.
5880
5881         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5882         now encapsulated within runparams.
5883
5884         * bufferlist.C (updateIncludedTeXfiles):
5885         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5886
5887 2003-05-22  Angus Leeming  <leeming@lyx.org>
5888
5889         * latexrunparams.h: new file containing struct LatexRunParams.
5890         * Makefile.am: add new file.
5891
5892         * LaTeX.[Ch] (c-tor, run):
5893         * buffer.[Ch] (makeLaTeXFile):
5894         * bufferlist.[Ch] (updateIncludedTeXfiles):
5895         * converter.C (convert, scanLog):
5896         * converter.[Ch] (runLaTeX):
5897         * exporter.C (Export):
5898         * paragraph.[Ch] (simpleTeXOnePar):
5899         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5900         * paragraph_funcs.[Ch] (latexParagraphs):
5901         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5902         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5903         pass around a LatexRunParams parameter.
5904
5905 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * paragraph.[Ch]: remove unused constructor
5908
5909         * ParagraphList.C (erase): new function, taking two iterators
5910
5911 2003-05-22  André Pönitz  <poenitz@gmx.net>
5912
5913         * undo_funcs.C: remove duplicated code
5914
5915         * iterator.[Ch]: operator=
5916
5917 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * tabular.C (SetMultiColumn): ws changes
5920
5921         * rowpainter.C (paintFirst): get rid of a ->previous
5922
5923         * lyx_cb.C (getPossibleLabel): parlist simplification
5924
5925         * BufferView.C (ChangeInsets): simplify slightly.
5926
5927 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5928
5929         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5930         * lfuns.h: new LFUN_SPACE
5931         * lyxfunc.C: protected space has a new lfun
5932         * paragraph_funcs.C: read new space insets
5933         * text3.C:
5934         * factory.C: handle new space insets
5935
5936 2003-05-22  André Pönitz  <poenitz@gmx.net>
5937
5938         * BufferView.C:
5939         * BufferView_pimpl.C:
5940         * buffer.[Ch]:
5941         * lyxfunc.C:
5942         * undo_funcs.C: return a ParIterator from getParFromID.
5943
5944         * iterators.[Ch]: add two const's
5945
5946 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * toc.C (getTocList): adjust
5949
5950         * iterators.[Ch]: rework for parlist
5951
5952         * buffer.C (par_iterator_begin): adjust
5953         (par_iterator_end): adjust
5954
5955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5956
5957         * BufferView.C (removeAutoInsets): adjust
5958         (ChangeInsets): adjust
5959
5960 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5961
5962         * text.C (top_y): fix bug 1110
5963
5964 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5965
5966         * errorlist.[Ch]: added
5967         * buffer.C:
5968         * BufferView.[Ch]:
5969         * BufferView_pimpl.C:
5970         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5971         instead
5972
5973 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * Makefile.am: ensure that lyx is relinked upon changes to the
5976         various "convenience" libs.
5977
5978 2003-05-20  Angus Leeming  <leeming@lyx.org>
5979
5980         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5981         files are compiled in alphabetical order again.
5982
5983         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5984
5985 2003-05-19  Angus Leeming  <leeming@lyx.org>
5986
5987         * gettext.[Ch]: remove "char const * _(char const *)".
5988
5989 2003-05-19  André Pönitz  <poenitz@gmx.net>
5990
5991         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5992
5993         * Makefile.am:
5994         * BufferView.C:
5995         * DepTable.h:
5996         * LaTeXFeatures.C:
5997         * buffer.C:
5998         * lyxfont.C:
5999         * lyxlex.h:
6000         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6001
6002 2003-05-19  André Pönitz  <poenitz@gmx.net>
6003
6004         * buffer.C:
6005         * lyxlayout.[Ch]:
6006         * lyxtextclass.[Ch]:
6007         * paragraph.C:
6008         * paragraph_funcs.[Ch]:
6009         * text2.C:
6010         * text3.C: more insetenv work
6011
6012 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * ParagraphParameters.C (params2string): small bug fixed
6015
6016 2003-05-16  André Pönitz  <poenitz@gmx.net>
6017
6018         * debug.C:
6019         * bufferview_funcs.C: patch from Kornel Benko to prevent
6020           crash when _(...) is called twice in a statement
6021
6022 2003-05-16  André Pönitz  <poenitz@gmx.net>
6023
6024         * BufferView.C:
6025         * lyxfunc.C:
6026         * text.C:
6027         * text2.C:
6028         * text3.C:
6029         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6030
6031 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6032
6033         * lyx_main.C (init): remove spurious static_cast
6034
6035 2003-05-14  André Pönitz  <poenitz@gmx.net>
6036
6037         * BufferView.C: fix format string
6038
6039 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6040
6041         * BufferView.[Ch] (insertErrors): removed
6042         * BufferView.[Ch] (showErrorList): added
6043         * buffer.C (runChkTeX):
6044         * converter.C (scanLog): call showErrorList instead of inserterrors
6045
6046 2003-05-13  André Pönitz  <poenitz@gmx.net>
6047
6048         * BufferView_pimpl.C:
6049         * buffer.C:
6050         * bufferview_func.C:
6051         * MenuBackend.C:
6052         * lyxfunc.C:
6053         * lyxrc.C:
6054         * tex-accent.C:
6055         * text3.C:
6056         * toc.C:
6057         * tabular_funcs.h: tostr() from its own header
6058
6059         * ParagraphParameters.C:
6060         * ToolbarBackend.C:
6061         * bufferparams.C:
6062         * format.C:
6063         * lyxlex_pimpl.C:
6064         * text3.C: STRCONV()
6065
6066 2003-05-12  André Pönitz  <poenitz@gmx.net>
6067
6068         * BufferView.C:
6069         * BufferView_pimpl.C:
6070         * CutAndPaste.C:
6071         * LaTeX.C:
6072         * LaTeXFeatures.C:
6073         * ParagraphParameters.C:
6074         * buffer.C:
6075         * bufferlist.C:
6076         * bufferparams.C:
6077         * bufferview_funcs.C:
6078         * converter.C:
6079         * counters.C:
6080         * debug.C:
6081         * exporter.C:
6082         * format.C:
6083         * importer.C:
6084         * lyx_cb.C:
6085         * lyx_main.C:
6086         * lyxfont.C:
6087         * lyxfunc.C:
6088         * lyxvc.C:
6089         * paragraph.C:
6090         * paragraph_funcs.C:
6091         * tabular.C:
6092         * tabular_funcs.C:
6093         * text2.C:
6094         * text3.C:  boost::format -> bformat  all over the place
6095
6096
6097 2003-05-09  André Pönitz  <poenitz@gmx.net>
6098
6099         * LColor.[Ch]: Pimpl the #include <map> away
6100
6101 2003-05-09  John Levon  <levon@movementarian.org>
6102
6103         * bufferlist.C: never remove emergency saves
6104
6105 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * Makefile.am: better lib building
6108
6109 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6112         instead.
6113         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6114         (simpleTeXSpecialChars): adjust
6115         (simpleTeXSpecialChars): adjust
6116         * paragraph.C (simpleTeXOnePar): adjust
6117         * buffer.C (makeLaTeXFile): adjust
6118
6119         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6120
6121         * text2.C (changeDepth): parlist cleanup
6122         (getColumnNearX): ditto
6123
6124         * rowpainter.C (getLabelFont): parlist cleanup
6125
6126         * bufferlist.C (newFile): parlist cleanup
6127
6128         * CutAndPaste.C (eraseSelection): parlist cleanup
6129
6130         * BufferView_pimpl.C (trackChanges): parlist cleanup
6131         (dispatch): ditto
6132
6133         * BufferView.C (lockInset): parlist cleanup.
6134         (ChangeInsets): ditto
6135
6136 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * CutAndPaste.h: Update file header.
6139
6140         * CutAndPaste.C: Update file header.
6141         Store the parts cut out of the Document in a limited_stack.
6142         (copySelection): adjust
6143         (pasteSelection): new function, takes the index in the limited stack.
6144         (nrOfParagraphs): adjust
6145         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6146         simplify error inset insertion.
6147         (checkPastePossible): adjust
6148
6149 2003-05-06  John Levon  <levon@movementarian.org>
6150
6151         * text2.C: don't cast wrap inset to float
6152
6153 2003-05-05  André Pönitz  <poenitz@gmx.net>
6154
6155         * iterator.C:
6156         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6157
6158         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6159           few naked Paragraph *.
6160
6161 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6162
6163         * bufferparams.C: Output warning if a document with missing
6164         TeX document class is loaded
6165         * exporter.C: Disable TeX exports if the document class is missing
6166         * lyxtextclass.C:
6167         * lyxtextclass.h:
6168         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6169         isTeXClassAvailable()
6170
6171 2003-05-03  John Levon  <levon@movementarian.org>
6172
6173         * BufferView.h:
6174         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6175         explicit cursor show/hide
6176
6177         * BufferView_pimpl.h:
6178         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6179         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6180
6181         * lyxfunc.C: hide cursor before dispatching.
6182
6183         * lyx_cb.C:
6184         * lyxfind.C:
6185         * text.C:
6186         * text3.C: remove explicit cursor hides
6187
6188 2003-05-02  André Pönitz  <poenitz@gmx.net>
6189
6190         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6191
6192         * undo_funcs.C:
6193         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6194           linked lists
6195
6196         * text2.C: tiny whitespace
6197
6198 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * undo_funcs.C: almost only ws changes.
6201
6202         * ParagraphList.C (splice): just return if pl is empty.
6203
6204 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * ParagraphList.C (splice): new function.
6207
6208         * CutAndPaste.C (pasteSelection): use it
6209
6210 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * CutAndPaste.C (pasteSelection): remove the last next and
6213         previous from this file.
6214
6215 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * CutAndPaste.C (pasteSelection): more clean up, user proper
6218         ParagraphList functions for pasteing.
6219
6220         * ParagraphList.C (insert): new function, three arg insert
6221
6222 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * ParagraphList.C (insert): new function, three arg insert
6225
6226         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6227         not on paragraphs.
6228
6229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6232
6233 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6236
6237 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6240         (copySelection): clean up a bit.
6241         (pasteSelection): use make_pair
6242
6243         * ParagraphList.C (ParagraphList): implement copy constructor
6244         (operator=): implement, base on copy constructor.
6245         (assign): new func
6246
6247         * paragraph.C (erase): return a bool
6248
6249         * paragraph_pimpl.C (erasePos): remove function, move contents...
6250         (erase): ... here. Return a bool.
6251         (erase): call erase instead of erasePos.
6252
6253 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6254
6255         * ParagraphList.h: define PitPosPair
6256         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6257         ParagraphList, fix a bug on pasting multiple pars
6258         * text2.C: change interface to C&P
6259
6260 2003-04-30  André Pönitz  <poenitz@gmx.net>
6261
6262         * undo_func.C: revert part of yesterday's patch 2
6263
6264 2003-04-30  John Levon  <levon@movementarian.org>
6265
6266         * LColor.C: s/tabular/table/
6267
6268 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * text3.C (dispatch): do not convert iterator -> pointer
6271         * undo_funcs.C (setCursorParUndo): ditto
6272         * text_funcs.C (transposeChars): ditto
6273
6274         * text2.C (setLayout): ws changes only
6275
6276         * text.C (breakParagraph): do not convert iterator -> pointer
6277         (insertChar): ditto
6278         (acceptChange): ditto
6279         (rejectChange): ditto
6280         (changeCase): ditto
6281         (Delete): ditto
6282         (backspace): ditto
6283
6284         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6285         pointer
6286
6287 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6288
6289         * text3.C (gotoInset): YABG (yet another bad getChar)
6290
6291 2003-04-29  André Pönitz  <poenitz@gmx.net>
6292
6293         * paragraph.h: make operator= private unimplemented as long as
6294           it is unusable
6295
6296         * ParagraphList.C: whitespace
6297
6298         * paragraph.[Ch]:
6299         * paragraph_pimpl.[Ch]:
6300         * paragraph_funcs.C:
6301         * CutAndPaste.C:
6302         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6303
6304         * text2.C:
6305           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6306
6307 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6310         * paragraph.[Ch] (erase):
6311         * paragraph_pimpl.[Ch] (erase): change return type and value
6312         * text2.C (cutSelection): some rework
6313
6314 2003-04-28  John Levon  <levon@movementarian.org>
6315
6316         * bufferlist.C: changes for unsaved changes dialog
6317
6318 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * bufferlist.C (newFile): set language (messages_) for new
6321         documents also.
6322
6323         * buffer.C (readFile): ws changes only.
6324
6325 2003-04-28  André Pönitz  <poenitz@gmx.net>
6326
6327         * undo_funcs.C:
6328         * lyxfunc.C:
6329         * buffer.[Ch]:
6330         * BufferView_pimpl.C:
6331         * BufferView.C: getParFromID related ParagraphList::iterator changes
6332
6333 2003-04-28  André Pönitz  <poenitz@gmx.net>
6334
6335         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6336           Changes
6337
6338 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * messages.C: remove one more localedir class variable.
6341
6342 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * messages.C (getLocaleDir): singleton generation function
6345         (Pimpl): use it.
6346         (Messages): add a default constructor.
6347
6348         * main.C (main): do not setup localedir here, do not call
6349         gettext_init.
6350
6351         * gettext.C (_): use it.
6352         (gettext_init): delete funciton
6353
6354 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * gettext.C (getLyXMessages): new singleton generating function.
6357
6358         * buffer.C (updateDocLang): adjust
6359
6360         * Makefile.am (messages.o): add target
6361         (main.o): remove target
6362
6363 2003-04-27  John Levon  <levon@movementarian.org>
6364
6365         * bufferlist.C:
6366         * lyx_cb.C:
6367         * lyxfunc.C:
6368         * lyxvc.C: specify cancel button in Alert::prompt
6369
6370 2003-04-26  John Levon  <levon@movementarian.org>
6371
6372         * text3.C:
6373         * lyxfunc.C:
6374         * lfuns.h:
6375         * LyXAction.C: add LFUN_INSET_SETTINGS
6376
6377         * lyxfunc.C: don't enable tabular-feature when there's
6378         just any locking inset
6379
6380 2003-04-26  John Levon  <levon@movementarian.org>
6381
6382         * bufferlist.C: re-add Cancel to buffer close question
6383
6384         * lyxfunc.C: fix import UI a bit
6385
6386 2003-04-25  John Levon  <levon@movementarian.org>
6387
6388         * gettext.C: remove the broken asserts for now
6389
6390 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * messages.C: make case where setlocale cannot comply work better.
6393
6394         * buffer.C (updateDocLang): new function
6395         (changeLanguage): use it
6396         (readFile): use it
6397
6398         * text2.C (setCounter): use B_ a bit.
6399
6400         * lyxlayout.C (Read): be sure to trim the label strings.
6401
6402         * messages.C (Messages): fix typo in comment
6403
6404         * buffer.C (readFile): set message_ after file is loaded.
6405         (makeDocBookFile): remove double return
6406         (changeLanguage): reset message_ upon language change.
6407         (B_): new func, use this to get translated buffer strings.
6408
6409         * main.C: add myself and Jean Marc as authors.
6410
6411 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * messages.[hC]: pimplify Messages, and three different pimpls to be
6414         used in different circumstances.
6415
6416         * gettext.[Ch]: change for use with new message code.
6417
6418 2003-04-24 André Pönitz <poenitz@gmx.net>
6419
6420         * factory.C: support for eqref
6421
6422 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * messages.[Ch]: add missing char
6425
6426         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6427
6428         * messages.[Ch]: New files
6429
6430 2003-04-18  John Levon  <levon@movementarian.org>
6431
6432         * BufferView.h:
6433         * BufferView.C:
6434         * BufferView_pimpl.C:
6435         * lfuns.h:
6436         * LyXAction.C:
6437         * lyxtext.h:
6438         * text2.C: remove layout-copy/paste (bug 778)
6439
6440 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6443
6444 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6445
6446         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6447         if they succeed. Act accordingly.
6448
6449 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * text2.C (setCharFont): adjust
6452         (setCounter): adjust
6453         (insertStringAsLines): adjust
6454
6455         * text.C (leftMargin): adjust
6456         (setHeightOfRow): adjust
6457
6458         * rowpainter.C (paintFirst): adjust
6459         (paintLast): adjust
6460
6461         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6462         (outerHook): ditto
6463         (isFirstInSequence): ditto
6464         (getEndLabel): ditto
6465         (outerFont): adjust
6466
6467         * paragraph.C (getParLanguage): comment out some hard stuff.
6468
6469         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6470         (sgmlError): ditto
6471         (simpleDocBookOnePar): ditto
6472         (makeDocBookFile): use ParagraphList::iterator
6473
6474         * CutAndPaste.C (pasteSelection): adjust
6475
6476 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * text2.C (getFont): adjust
6479         (getLayoutFont): adjust
6480         (getLabelFont): adjust
6481
6482         * paragraph_funcs.C (TeXOnePar): adjust
6483
6484         * buffer.C (simpleLinuxDocOnePar): adjust
6485         (simpleDocBookOnePar): adjust
6486
6487         * CutAndPaste.C (pasteSelection): adjust
6488
6489         * BufferView.C (getEncoding): adjust
6490
6491         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6492
6493 2003-04-16  John Levon  <levon@movementarian.org>
6494
6495         * lyxfind.C: use parlist stuff for search/changes
6496
6497 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6500
6501         * text2.C (deleteEmptyParagraphMechanism): adjust
6502
6503         * text2.[Ch] (ownerParagraph): delete func (both of them
6504
6505 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6508
6509 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * ParagraphList.C: prepare for NO_NEXT
6512
6513 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * text2.C (getFont): adjust
6516         (getLayoutFont): adjust
6517         (getLabelFont): adjust
6518
6519         * paragraph.C (getFont): adjust
6520         (getLabelFont): adjust
6521         (getLayoutFont): adjust
6522
6523         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6524
6525 2003-04-15  John Levon  <levon@movementarian.org>
6526
6527         From Angus Leeming
6528
6529         * lyx_main.C: handle Include in .ui files
6530
6531 2003-04-15  John Levon  <levon@movementarian.org>
6532
6533         * MenuBackend.C: make the doc files length shorter
6534
6535         * ToolbarBackend.h:
6536         * ToolbarBackend.C: handle toolbar placement flags,
6537         Minibuffer
6538
6539 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6542         adjust
6543
6544         * paragraph_funcs.C (TeXOnePar): adjust
6545
6546         * paragraph.C (getLabelFont): add outerfont arg, adjust
6547         (getLayoutFont): ditto
6548         (simpleTeXOnePar): adjust
6549
6550         * paragraph_pimpl.C (realizeFont): delete func
6551
6552 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6553
6554         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6555         row argument, constify cur argument.
6556
6557 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * text2.C (getFont): adjust
6560         (getLayoutFont): adjust
6561         (getLabelFont): adjust
6562
6563         * paragraph_funcs.C (TeXOnePar): adjust
6564         (outerFont): new func...
6565         (realizeFont): ...moved out from here, changed this to facilitate
6566         transition
6567
6568         * paragraph.C (getFont): take outerfont as arg, adjust
6569         (simpleTeXOnePar): add outerfont arg, adjust
6570
6571         * buffer.C (simpleLinuxDocOnePar): adjust
6572         (simpleDocBookOnePar): adjust
6573
6574         * CutAndPaste.C (pasteSelection): adjust
6575
6576         * BufferView.C (getEncoding): adjust
6577
6578 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * text2.C (setCharFont): adjust
6581         (setCounter): adjust
6582
6583         * text.C (leftMargin): adjust
6584         (setHeightOfRow): adjust
6585
6586         * rowpainter.C (paintFirst): adjust
6587         (paintLast): adjust
6588
6589         * paragraph_pimpl.C (realizeFont): adjust
6590
6591         * paragraph.C (isFirstInSequence): move from here...
6592         * paragraph_funcs.C (isFirstInSequence): ...to here
6593
6594         * paragraph.C (outerHook): move from here...
6595         * paragraph_funcs.C (outerHook): ...to here
6596
6597         * paragraph.C (depthHook): move from here...
6598         * paragraph_funcs.C (depthHook): ...to here
6599
6600         * paragraph.C (getEndLabel): move from here...
6601         * paragraph_funcs.C (getEndLabel): ...to here
6602
6603         * text2.C (realizeFont): move from here...
6604         * paragraph_funcs.C (realizeFont): ...to here
6605
6606 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6609
6610 2003-04-14  Angus Leeming  <leeming@lyx.org>
6611
6612         * LColor.[Ch]: scrap LColor mathcursor.
6613
6614 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * lyxlex.[Ch] (text): delete function
6617         * trans.C (Load): adjust
6618         * paragraph_funcs.C (readParToken): adjust
6619
6620 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6623         vector<char> instead of a char[].
6624
6625         * lyxlex_pimpl.C (getString): adjust
6626         (next): adjust
6627         (lex): use getString
6628         (eatLine): adjust
6629         (nextToken): adjust
6630
6631         * lyxlex.C (text): use pimpl_->getString()
6632         (getBool): ditto
6633         (findToken): ditto
6634
6635 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6638         (makeFontEntriesLayoutSpecific): temp var for par.size()
6639         (setLayout): temp var for ownerParagraphs().end()
6640         (fullRebreak): temp var for rows().end()
6641         (selectionAsString): temp var for boost::next(startpit), realize
6642         that the while really is a regular for loop.
6643         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6644         setCursor in one place.
6645         (setParagraph): temp vr for ownerParagraphs().end()
6646         (updateCounters): make the while loop a for loop
6647         (cutSelection): temp var for ownerParagraphs().end()
6648         (updateInset): make the do {} while() a regular for loop
6649         (getCursorX): use temp vars
6650         (setCurrentFont): use temp vars
6651         (getColumnNearX): use temp vars
6652
6653 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * text.C (transformChar): use temp var for getChar
6656         (computeBidiTables): use temp var for row->par()
6657         (fill): move temp vars for row->par() and pit->layout() earlier in
6658         the function.
6659         (labelFill): use temp var for row->par()
6660         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6661         asc and desc, realize that pit never changes and that firstpit is
6662         just a duplicate and not needed. Exchange rit->par() with pit in a
6663         lot of places.
6664         (breakAgain): use a temp var for boost::next(rit)
6665         (breakAgainOneRow): ditto
6666         (breakParagraph): use a temp var for rows().begin()
6667         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6668         (cursorRightOneWord): use temp var for cursor.par() and
6669         cursor.pos(), remove usage of tmpcursor.
6670         (cursorLeftOneWord): use temp var for cursor.par() and
6671         cursor.pos() only set cur at end of function.
6672
6673 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * text.C, text2.C: exchange all usage of Paragraph::next with
6676         boost::next(ParagraphList::iterator)
6677
6678         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6679
6680         * text2.C (cursorTop): simplify implementation
6681         (cursorBottom): ditto
6682         (setParagraph): use ParagraphList::iterator
6683         (setCurrentFont): adjust
6684         (getColumnNearX): adjust
6685         (cursorRight): adjust
6686         (cursorLeft): remove usage of Paragraph::previous
6687         (cursorUpParagraph): ditto
6688         (deleteEmptyParagraphMechanism): slight cleanup
6689
6690         * text.C (isBoundary): take a Paragraph const & instead of a
6691         pointer as arg.
6692         (addressBreakPoint): ditto
6693         (leftMargin): remove usage of Paragraph::previous.
6694         (setHeightOfRow): ditto
6695         (cursorLeftOneWord): ditto
6696         (selectNextWordToSpellcheck): ditto
6697         (Delete): ditto
6698         (backspace): ditto
6699         (breakParagraph): remove one usage of Paragraph::next
6700         (redoParagraph): ditto
6701         (acceptChange): ditto
6702         (insertChar): adjust
6703         (rowBreakPoint): adjust
6704
6705         * bufferview_funcs.C (toggleAndShow): adjust
6706
6707 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6708
6709         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6710         methods to access it.
6711         * lyxtext.h:
6712         * text.C: Added updateRowPositions to compute all row positions.
6713         Make top_y and getRowNearY() to use the cached y position
6714
6715 2003-04-11  John Levon  <levon@movementarian.org>
6716
6717         * text.C (rowBreakPoint): reintroduce the labelEnd
6718         checks, code copied from the row fill stuff. Deep voodoo.
6719
6720         * text.C (fill): add a comment and debugging for the
6721         next poor soul.
6722
6723 2003-04-11  John Levon  <levon@movementarian.org>
6724
6725         * text.C: make sure fullrow insets get wrapped to the next line,
6726         even when they're in a manual label
6727
6728 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * text2.C (insertParagraph): make it take ParagraphList::iterator
6731         as arg.
6732         (setLayout): make it return ParagraphList::iterator
6733         (redoParagraphs): ditto
6734         (setCounter): ditto
6735         (checkParagraph): ditto
6736
6737         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6738
6739         * text2.C: adjust several funcs.
6740         (realizeFont): take a ParagraphList::iterator as arg.
6741         (getLayoutFont): ditto
6742         (getLabelFont): ditto
6743         (setCharFont): ditto
6744
6745         * text.C: adjust several funcs.
6746
6747 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6748
6749         * text.C (selectNextWordToSpellcheck): don't accidentally
6750         skip insets
6751
6752 2003-04-10  John Levon  <levon@movementarian.org>
6753
6754         * ToolbarBackend.C (getIcon): special handling for
6755         LFUN_MATH_DELIM
6756
6757 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6758
6759         * text2.C (cursorRight): a getChar assert fixed
6760
6761 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * text2.C (getFont): change to take a ParagraphList::iterator
6764         instead of Paragraph*
6765         Adjust several functions.
6766
6767         * text.C (transformChar): change to take a ParagraphList::iterator
6768         instead of Paragraph*
6769         (singleWidth): ditto
6770         Adjust several functions.
6771
6772         * rowpainter.C: adjust several functions
6773         * rowpainter.h:store a ParagraphList::iterator and not a
6774         Paragraph&.
6775
6776
6777 2003-04-09  John Levon  <levon@movementarian.org>
6778
6779         * lyxfunc.C:
6780         * lfuns.h:
6781         * LyXAction.h:
6782         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6783         and the "help" bits as well
6784
6785 2003-04-09  John Levon  <levon@movementarian.org>
6786
6787         * ToolbarBackend.h:
6788         * ToolbarBackend.C: allow multiple toolbars
6789
6790 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6791
6792         * undo_funcs.C (setCursorParUndo): adjust
6793
6794         * text_funcs.C (transposeChars): adjust
6795
6796         * text3.C (gotoNextInset): adjust
6797         (dispatch): adjust
6798
6799         * text2.C (setLayout): adjust
6800         (changeDepth): adjust
6801         (setFont): adjust
6802         (redoParagraphs): adjust
6803         (selectionAsString): adjust
6804         (setParagraph): adjust
6805         (insertInset): adjust
6806         (cutSelection): adjust
6807         (copySelection): adjust
6808         (pasteSelection): adjust
6809         (insertStringAsLines): adjust
6810         (updateInset): adjust
6811         (setCursor): change to take a ParagraphList::iterator parameter
6812         (setCursorIntern): change to take a ParagraphList::iterator parameter
6813         (setCurrentFont): adjust
6814         (cursorLeft): adjust
6815         (cursorRight): adjust
6816         (deleteEmptyParagraphMechanism): adjust
6817
6818         * text.C (breakParagraph): adjust
6819         (insertChar): adjust
6820         (acceptChange): adjust
6821         (rejectChange): adjust
6822         (selectNextWordToSpellcheck): adjust
6823         (changeCase): adjust
6824         (Delete): adjust
6825         (backspace): adjust
6826
6827         * lyxfind.C (SearchForward): adjust
6828         (SearchBackward): adjust
6829         (nextChange): adjust
6830
6831         * lyxcursor.C (par): adjust
6832
6833         * lyxcursor.h: store a ParagraphList::iterator instead of a
6834         Paragraph*
6835
6836         * lyx_cb.C (getPossibleLabel): adjust
6837
6838         * bufferview_funcs.C (toggleAndShow): adjust
6839
6840         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6841         (dispatch): adjust
6842
6843         * BufferView.C (removeAutoInsets): adjust
6844         (lockedInsetStoreUndo): adjust
6845
6846 2003-04-09  John Levon  <levon@movementarian.org>
6847
6848         * ToolbarBackend.C: try icon without argument
6849         if with argument fails
6850
6851 2003-04-08  John Levon  <levon@movementarian.org>
6852
6853         * ToolbarBackend.h:
6854         * ToolbarBackend.C: add getIcon(), handle tooltip,
6855         and change from "Icon" to "Item".
6856
6857 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6858
6859         * BufferView.C (lockInset): another bad getchar crunched
6860
6861 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6862
6863         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6864         again)
6865
6866 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6867
6868         * lyxfind.C (searchForward, searchBackwards): bug 782
6869
6870 2003-04-07  John Levon  <levon@movementarian.org>
6871
6872         * paragraph.C: remove dead comment
6873
6874         * text.C: remove troublesome depth-fiddling code
6875         in leftMargin() and rightMargin() (bug 1017)
6876
6877         * text.C: fix breaking of rows in nested lists
6878         (bug 1004)
6879
6880         * text2.C (updateCounters): fix up depth values
6881         (bug 1013)
6882
6883 2003-04-07  John Levon  <levon@movementarian.org>
6884
6885         * BufferView_pimpl.C: clear message when doc finishes resizing,
6886         and after a mouse event
6887
6888         * lyxfunc.C: clear message after exiting inset
6889
6890 2003-04-07  John Levon  <levon@movementarian.org>
6891
6892         * bufferview_funcs.C: show math status not outside
6893         status in the statusbar
6894
6895 2003-04-07  John Levon  <levon@movementarian.org>
6896
6897         * lyxfunc.C: note status changed after a depth change
6898
6899 2003-04-04  Angus Leeming  <leeming@lyx.org>
6900
6901         * LaTeX.h: move AuxInfo operator==, != out of line.
6902         Remove LaTeX virtual destructor; nothing derives from it.
6903         Move operator()() out of public area and rename it startscript().
6904         Change protected for private.
6905
6906 2003-04-04  Angus Leeming  <leeming@lyx.org>
6907
6908         * lyxfunc.C:
6909         * text2.C: remove unneeded #includes.
6910
6911 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * text2.C (dEPM): fix the heigth of the next row
6914
6915 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * text.C: squashed an invalid getChar requester + some ws changes
6918
6919 2003-04-03  John Levon  <levon@movementarian.org>
6920
6921         * bufferview_funcs.h:
6922         * bufferview_funcs.C:
6923         * lyxfunc.C:
6924         * lyxtext.h:
6925         * text2.C: make getStatus work for the env depth lfuns
6926
6927 2003-04-03  John Levon  <levon@movementarian.org>
6928
6929         * bufferview_funcs.h:
6930         * bufferview_funcs.C:
6931         * lyxfunc.C:
6932         * lyxtext.h:
6933         * text2.C: parlistize decDepth(), by merging it with incDepth()
6934
6935 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * lyxrow.h: store a ParagraphList::iterator instead of a
6938         Paragraph* and adjust other class functions to suit.
6939
6940         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6941         above.
6942
6943 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6944
6945         * text2.C (setCursor): do not anchor to cursor row for the time being
6946
6947 2003-04-02  John Levon  <levon@movementarian.org>
6948
6949         * LyXAction.C:
6950         * lfuns.h:
6951         * lyx_main.C:
6952         * lyxtext.h:
6953         * text.C:
6954         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6955
6956 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * paragraph.h: make ParagraphList and ParagraphList::iterator
6959         friends of Paragraph.
6960
6961         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6962
6963         * ParagraphList.C: Use the private next_ and previous_ from
6964         Paragraph.
6965
6966 2003-04-01  John Levon  <levon@movementarian.org>
6967
6968         * ToolbarBackend.h:
6969         * ToolbarBackend.C:
6970         * Makefile.am: rename, remove defaults gunk
6971
6972         * MenuBackend.h:
6973         * MenuBackend.C: remove defaults gunk
6974
6975         * Languages.h:
6976         * Languages.C: remove defaults gunk
6977
6978         * lyx_main.h:
6979         * lyx_main.C: error out if files couldn't be found.
6980
6981 2003-04-02  John Levon  <levon@movementarian.org>
6982
6983         * text2.C: make incDepth() use parlist
6984
6985 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * undo_funcs.C (firstUndoParagraph): adjust
6988
6989         * text3.C (gotoInset): adjust
6990         (dispatch): adjust, and rewrite loop.
6991
6992         * text2.C (init): adjust, and rewrite loop.
6993         (redoParagraphs): adjust
6994         (updateInset): adjust, and rewrite loop.
6995         (deleteEmptyParagraphMechanism): adjust
6996
6997         * tabular.C (LyXTabular): adjust
6998         (SetMultiColumn): adjust
6999         (TeXRow): adjust
7000
7001         * lyxtext.[Ch] (ownerParagraph): delete function
7002         (ownerParagraphs): new function returns a ParagraphList.
7003
7004         * BufferView.C (removeAutoInsets): adjust
7005         (insertErrors): adjust
7006         (setCursorFromRow): adjust
7007
7008 2003-04-01  Angus Leeming  <leeming@lyx.org>
7009
7010         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7011         in the frontends.
7012
7013 2003-04-02  John Levon  <levon@movementarian.org>
7014
7015         * lyxtext.h:
7016         * text.C:
7017         * Makefile.am:
7018         * text_funcs.h:
7019         * text_funcs.C: make transposeChars a free function
7020
7021         * lyxrow_funcs.C: remove wrong comment
7022
7023 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * lyxtext.h: adjust
7026         * rowpainter.C: adjust
7027         * text.C: adjust
7028         * text2.C: adjust
7029         * text3.C: adjust
7030
7031         * lyxrow_funcs. [Ch]: new files
7032
7033         * lyxrow.[Ch]: remove next and previous pointers
7034         (next,previous): remove accessor functions
7035         (isParEnd): move to lyxrow_funcs
7036         (lastPos): move to lyxrow_funcs
7037         (nextRowIsAllInset): move to lyxrow_funcs
7038         (lastPrintablePos): move to lyxrow_funcs
7039         (numberOfSeparators): move to lyxrow_funcs
7040         (numberOfHfills): move to lyxrow_funcs
7041         (numberOfLabelHfills): move to lyxrow_funcs
7042         (hfillExpansion): move to lyxrow_funcs
7043
7044         * lyxfunc.C: adjust
7045
7046         * bufferview_funcs.C (toggleAndShow): adjust
7047
7048         * RowList.h: Remove class RowList from file leave just a
7049         std::list<Row>.
7050
7051         * RowList.C: delete file
7052
7053         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7054         and lyxrow_funcs.h
7055
7056 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text3.C (cursorPrevious): adjust
7059         (cursorNext): adjust
7060         (dispatch): adjust
7061
7062         * text2.C (redoHeightOfParagraph): adjust
7063         (redoDrawingOfParagraph): adjust
7064         (setCursor): adjust
7065
7066         * text.C (breakParagraph): adjust
7067         (insertChar): adjust
7068         (backspace): adjust
7069
7070         * rowpainter.C (RowPainter): adjust
7071         (leftMargin): simplify and adjust
7072         (most rowpainter functions): adjust.
7073
7074         * rowpainter.h: store the row as RowList::iterator not as Row*
7075
7076         * lyxcursor.C (row): taka RowList::iterator as arg
7077         (irow): ditto
7078
7079         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7080         of Row*.
7081
7082 2003-04-01  Angus Leeming  <leeming@lyx.org>
7083
7084         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7085         stuff like bool Bool.
7086
7087 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7090         rewrite a loop
7091
7092 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7095         RowList::iterator.
7096
7097         * lyxtext.h (rows): drop one version and leve a const variant that
7098         returns a RowList::iterator.
7099
7100 2003-03-31  Angus Leeming  <leeming@lyx.org>
7101
7102         * text.C (fill): ensure that the signature is the same as that in the
7103         header file.
7104
7105 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * text2.C (redoParagraphs): adjust
7108         (updateCounters): adjust
7109         (checkParagraph): adjust
7110         (getColumnNearX): adjust and reformat a bit.
7111
7112         * text.C (top_y): adjust
7113         (workWidth): adjust
7114         (leftMargin): adjust
7115         (prepareToPrint): adjust
7116         (getRow): adjust
7117         (getRowNearY): adjust
7118
7119         * lyxtext.h: make rowlist_ mutable.
7120
7121         * RowList.h: add const_iterator
7122         * RowList.C: adjust for RowList::const_iterator.
7123
7124         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7125         adjust.
7126
7127 2003-03-31  John Levon  <levon@movementarian.org>
7128
7129         * lyxrc.h:
7130         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7131
7132         * lyx_main.C: set default fonts from using lyx_gui funcs
7133
7134         * exporter.C: pdf_mode moved from lyxrc
7135
7136         * lyx_cb.C:
7137         * lyxfunc.C: changes from above
7138
7139 2003-03-31  John Levon  <levon@movementarian.org>
7140
7141         * lyx_main.C: fix to the last fix
7142
7143 2003-03-31  John Levon  <levon@movementarian.org>
7144
7145         * bufferlist.C: "Load original" -> "Load Original"
7146
7147         * converter.C:
7148         * exporter.C:
7149         * importer.C:
7150         * lyx_main.C:
7151         * format.C: more Alert cleanups
7152
7153 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * text2.C (removeParagraph): make it take a RowList::iterator as
7156         arg, adjust.
7157         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7158         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7159
7160         * text.C (anchor_row): make it take a RowList::iterator as arg,
7161         adjust.
7162         (computeBidiTables): make it take a const reference to Row instead
7163         of Row pointer, adjust.
7164         (leftMargin): make it take a RowList::iterator as arg, adjust.
7165         (rowBreakPoint): adjust
7166         (breakAgainOneRow): make it take a RowList::iterator as arg,
7167         adjust.
7168         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7169
7170         * bufferview_funcs.C (toggleAndShow): adjust
7171
7172 2003-03-30  John Levon  <levon@movementarian.org>
7173
7174         * Makefile.am:
7175         * BoostFormat.h:
7176         * boost-inst.C: moved to support
7177
7178         * several files: changes as a result
7179
7180 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * text2.C (LyXText): adjust.
7183         (init): adjust
7184         (removeRow): make it take a RowList::iterator as arg, adjust.
7185         (fullRebreak): adjust
7186         (deleteEmptyParagraphMechanism): adjust
7187         (clearPaint): adjust
7188         (postPaint): adjust
7189
7190         * text.C (top_y): adjust
7191         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7192         (breakAgain): make it take a RowList::iterator as arg, adjust.
7193         (breakParagraph): adjust
7194         (insertChar): adjust
7195         (backspace): adjust
7196
7197         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7198         need_break_row, and refresh_row.
7199
7200         * text3.C (dispatch): adjust
7201
7202         * text2.C (checkParagraph): adjust
7203         (setCursor): adjust
7204         (setCursorFromCoordinates): adjust
7205
7206         * text.C (top_y): adjust
7207         (workWidth): adjust
7208         (getRow): make it return a RowList::iterator, adjust
7209         (getRowNearY): make it return a RowList::iterator, adjust
7210
7211         * text2.C (init): adjust
7212         (insertRow): remove function
7213         (insertParagraph): adjust
7214         (redoParagraphs): adjust
7215         (fullRebreak): adjust
7216         (updateCounters): adjust
7217
7218         * text.C (top_y): rewrite to use RowList iterators.
7219         (top_y): adjust
7220         (setHeightOfRow): rewrite to sue RowList iterators.
7221         (appendParagraph): adjust
7222         (breakAgain): adjust
7223         (breakAgainOneRow): adjust
7224         (breakParagraph): adjust
7225         (getRow): adjust
7226         (getRowNearY): adjust, and remove commented code.
7227
7228         * lyxtext.h (firstRow): delete function
7229         (lastRow): delete function
7230         (rows): new function (const and non-const versions.)
7231         (insertRow): delete function
7232
7233         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7234
7235 2003-03-29  John Levon  <levon@movementarian.org>
7236
7237         * BufferView_pimpl.C: always update scrollbar top
7238         because pasting text when we're anchored could mean we
7239         miss an update altogether
7240
7241 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * text2.C (init): use rowlist_.end() and not 0.
7244         (insertRow): change to take a RowList::iterator as arg, adjust
7245         for this.
7246         (insertParagraph): change to take a RowList::iterator as arg,
7247         adjust for this.
7248         (redoParagraphs): remove some debug msgs.
7249
7250         * text.C (appendParagraph): change to take a RowList::iterator
7251         arg, adjust for this.
7252         (breakAgain): add an assert
7253         (breakAgainOneRow): ditto
7254
7255 2003-03-29  John Levon  <levon@movementarian.org>
7256
7257         * text2.C: do not clear selection after inc/decDepth
7258         (bug 550)
7259
7260 2003-03-29  John Levon  <levon@movementarian.org>
7261
7262         * BufferView.C:
7263         * buffer.C: fix broken strerrors according to Lars
7264
7265 2003-03-29  John Levon  <levon@movementarian.org>
7266
7267         * converters.C: more Alert cleanups
7268
7269 2003-03-29  John Levon  <levon@movementarian.org>
7270
7271         * bufferview_funcs.C: remove pointless Alert
7272
7273         * buffer.C: fix confusing error message when
7274         a template is chmoded 000
7275
7276 2003-03-29  John Levon  <levon@movementarian.org>
7277
7278         * BufferView.C:
7279         * BufferView.h:
7280         * BufferView_pimpl.C: Alert fixes
7281
7282         * Makefile.am:
7283         * tabular.C:
7284         * tabular-old.C: remove unused table compat reading
7285
7286 2003-03-29  John Levon  <levon@movementarian.org>
7287
7288         * BufferView.C:
7289         * buffer.C:
7290         * lyx_cb.h:
7291         * lyx_cb.C: more Alert cleanups
7292
7293         * lyxfunc.C: don't allow chktex if not latex document
7294
7295 2003-03-29  John Levon  <levon@movementarian.org>
7296
7297         * lyx_cb.C:
7298         * BufferView.C:
7299         * buffer.C: warnings pushed down from support/,
7300         kill err_alert
7301
7302 2003-03-29  John Levon  <levon@movementarian.org>
7303
7304         * lyxfunc.C: safety check for C-r (revert)
7305
7306 2003-03-29  John Levon  <levon@movementarian.org>
7307
7308         * bufferlist.h:
7309         * bufferlist.C: several UI fixes using Alert::prompt.
7310         Fix the pointless looping quit code. Fix stupid revert
7311         behaviour (bug 938)
7312
7313         * lyxvc.h:
7314         * lyxvc.C:
7315         * lyx_cb.C: use Alert::prompt
7316
7317         * lyx_main.C: remove a silly question
7318
7319         * lyxfunc.C: remove a couple of silly questions,
7320         use Alert::prompt
7321
7322 2003-03-28  John Levon  <levon@movementarian.org>
7323
7324         * text2.C: fix bug 974 (End on empty par)
7325
7326 2003-03-28  John Levon  <levon@movementarian.org>
7327
7328         * BufferView_pimpl.C:
7329         * LyXAction.C:
7330         * lfuns.h: remove do-nothing math greek lfuns
7331
7332 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * lyxgluelength.h (isValidGlueLength): add default arg on
7335         parameter 2. Remove default arg from friend in class.
7336
7337         * lyxlength.h (isValidLength): add default arg on parameter 2.
7338         Remove default arg from friend in class.
7339
7340         * text2.C (LyXText): adjust, initialize refresh_row.
7341         (init): adjust
7342         (removeRow): adjust
7343         (insertRow): adjust
7344         (insertParagraph): adjst
7345         (redoParagraphs): adjust
7346         (fullRebreak): adjust
7347         (updateCounters): adjust
7348         (deleteEmptyParagraphMechanism): first attempt at fixing a
7349         crashing bug.
7350
7351         * text.C (top_y): adjust
7352         (setHeightOfRow): adjust
7353         (getRow): adjust
7354         (getRowNearY): adjust
7355
7356         * lyxtext.h: include RowList.h
7357         (~LyXText): not needed anymore, deleted.
7358         (firstRow): modify for RowList
7359         (lastRow): new function
7360         Delete firstrow and lastrow class variables, add a Rowlist
7361         rowlist_ class variable.
7362
7363         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7364         paragraph is empty.
7365
7366         * RowList.C (insert): fix case where it == begin().
7367
7368 2003-03-26  Angus Leeming  <leeming@lyx.org>
7369
7370         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7371         the thesaurus dialog.
7372
7373 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7376
7377         * RowList.[Ch]: new files
7378
7379         * ParagraphList.C (erase): handle the case where it == begin
7380         correctly.
7381
7382 2003-03-25  John Levon  <levon@movementarian.org>
7383
7384         * Makefile.am:
7385         * aspell_local.h:
7386         * aspell.C: add new aspell support
7387
7388         * lyxrc.h:
7389         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7390         have it accessible.
7391
7392 2003-03-25  Angus Leeming  <leeming@lyx.org>
7393
7394         * lfuns.h:
7395         * LyXAction.C (init): new LFUN_INSET_INSERT.
7396
7397         * BufferView_pimpl.C (dispatch): split out part of the
7398         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7399
7400         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7401         LFUN_INSET_APPLY.
7402
7403 2003-03-25  Angus Leeming  <leeming@lyx.org>
7404
7405         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7406
7407 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * text2.C:
7410         * text3.C: remove useless row->height(0)
7411
7412 2003-03-25  John Levon  <levon@movementarian.org>
7413
7414         * lyxtext.h:
7415         * text2.C:
7416         * text3.C: rename the refreshing stuff to better names
7417
7418 2003-03-24  John Levon  <levon@movementarian.org>
7419
7420         * BufferView_pimpl.h:
7421         * BufferView_pimpl.C: update layout choice on a mouse
7422         press/release
7423
7424 2003-03-23  John Levon  <levon@movementarian.org>
7425
7426         * Makefile.am: fix commandtags.h reference
7427
7428 2003-03-22  John Levon  <levon@movementarian.org>
7429
7430         * BufferView_pimpl.C:
7431         * lyxtext.h:
7432         * rowpainter.C:
7433         * rowpainter.h:
7434         * text.C:
7435         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7436
7437 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7438
7439         * lyxtext.h:
7440         * text.C: take the rtl methods out of line
7441
7442 2003-03-21 André Pönitz <poenitz@gmx.net>
7443
7444         * metricsinfo.[Ch]: new files containing structures to be passed around
7445         during the two-phase-drawing...
7446
7447 2003-03-21 André Pönitz <poenitz@gmx.net>
7448
7449         * lyxtextclass.C: read 'environment' tag.
7450
7451 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7452
7453         * text2.C (removeRow): fix bug 964
7454
7455 2003-03-20  John Levon  <levon@movementarian.org>
7456
7457         * rowpainter.C:
7458         * text.C:
7459         * text2.C: paint cleanups. Inset::update() dropped font
7460         parameter
7461
7462 2003-03-19  John Levon  <levon@movementarian.org>
7463
7464         * lyxfunc.C: only fitcursor/markDirty if available()
7465
7466 2003-03-19  John Levon  <levon@movementarian.org>
7467
7468         * commandtags.h: rename to ...
7469
7470         * lfuns.h: ... this, and renumber / cleanup
7471
7472 2003-03-19  John Levon  <levon@movementarian.org>
7473
7474         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7475         fit the cursor after an lfun
7476
7477         * BufferView.h:
7478         * BufferView.C:
7479         * BufferView_pimpl.h:
7480         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7481
7482         * LyXAction.C: layout-character should have ReadOnly
7483
7484         * ParagraphParameters.C:
7485         * buffer.C:
7486         * bufferview_funcs.C:
7487         * lyx_cb.C:
7488         * lyxfind.C:
7489         * lyxtext.h:
7490         * text.C:
7491         * text2.C:
7492         * text3.C:
7493         * undo_funcs.C: changes from above
7494
7495 2003-03-18  John Levon  <levon@movementarian.org>
7496
7497         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7498         remove it from update()
7499
7500         * lyxfunc.C: update layout choice after an lfun
7501
7502         * text3.C: remove extra updateLayoutChoice()s
7503
7504 2003-03-18  John Levon  <levon@movementarian.org>
7505
7506         * text.C: top_y change means full repaint, fix
7507         a drawing bug with cursor movement
7508
7509 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7510
7511         * lyxtext.h:
7512         * text.C:
7513         * text2.C: anchor row on setCursor
7514
7515 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7516
7517         * lyxtext.h: remove almost all mutable keywords
7518         * text.C:
7519         * text2.C:
7520         * text3.C: remove const keywords accordingly
7521
7522 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7525         anon namespace
7526         (TeXEnvironment): ditto
7527         (TeXOnePar): ditto
7528
7529 2003-03-17  John Levon  <levon@movementarian.org>
7530
7531         * text.C (rowBreakPoint): remove attempt to fix displayed
7532         math insets inside a manual label
7533
7534 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7535
7536         * lyxtext.h: remove BufferView* as first arg from almost all class
7537         functions.
7538         * other files: adjust.
7539
7540 2003-03-17  John Levon  <levon@movementarian.org>
7541
7542         * lyxtext.h:
7543         * undo_funcs.C:
7544         * text2.C: more paint cleanups
7545
7546         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7547
7548         * rowpainter.h:
7549         * rowpainter.C: remove "smart" background painting code
7550
7551 2003-03-16  John Levon  <levon@movementarian.org>
7552
7553         * lyxtext.h:
7554         * text.C:
7555         * text2.C:
7556         * text3.C: add helper functions for setting refresh_row/y
7557
7558 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7559
7560         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7561         newline inset which *can* get inserted in the pass_thru layouts.
7562         This is primarily for literate documents.
7563
7564 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7565
7566         * buffer.C: increment LYX_FORMAT to 223
7567
7568 2003-03-14 André Pönitz <poenitz@gmx.net>
7569
7570         * textclass.h: prepare for environment handling, ws changes
7571         * lyxlayout.C: read latexheader and latexfooter tags
7572
7573 2003-03-14  John Levon  <levon@movementarian.org>
7574
7575         * text2.C: rewrite ::status() a bit
7576
7577 2003-03-13  John Levon  <levon@movementarian.org>
7578
7579         * lyxtext.h: add some docs
7580
7581 2003-03-13  John Levon  <levon@movementarian.org>
7582
7583         * lyxtext.h:
7584         * text.C:
7585         * text2.C:
7586         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7587
7588 2003-03-13  John Levon  <levon@movementarian.org>
7589
7590         * text3.C: fix appendix redrawing
7591
7592 2003-03-13  John Levon  <levon@movementarian.org>
7593
7594         * text.C (setHeightOfRow):
7595         * rowpainter.h:
7596         * rowpainter.C: make appendix mark have the text
7597           "Appendix" so the user knows what it is
7598
7599         * LColor.h:
7600         * LColor.C: s/appendixline/appendix/ from above
7601
7602 2003-03-13  John Levon  <levon@movementarian.org>
7603
7604         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7605
7606         * text.C: fix a getChar(pos) bug properly
7607
7608 2003-03-13  Angus Leeming  <leeming@lyx.org>
7609
7610         * commandtags.h:
7611         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7612         Probably only temporary. Let's see how things pan out.
7613
7614         * BufferView.C (unlockInset):
7615         * BufferView_pimpl.C (fitCursor):
7616         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7617
7618         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7619         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7620
7621         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7622         new functions that convert ParagraphParameters to and from a string.
7623
7624         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7625         BufferView::Pimpl's dispatch.
7626         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7627
7628 2003-03-13 André Pönitz <poenitz@gmx.net>
7629
7630         * lyxfunc.C:
7631         * text3.C:
7632         * factory.C: make it aware of InsetEnv
7633
7634 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * text2.C (setCursor): never ask for one past last
7637         (setCursor): add some debugging messages.
7638
7639         * text.C (singleWidth): never ask for one past last
7640         (singleWidth): ditto
7641         (leftMargin): ditto
7642         (rightMargin): ditto
7643         (rowBreakPoint): ditto
7644         (setHeightOfRow): ditto
7645         (prepareToPrint): ditto
7646
7647         * rowpainter.C (paintBackground): never ask for one past last
7648         (paintText): never ask for one past last
7649
7650         * paragraph_pimpl.C (getChar): make the assert stricter, never
7651         allow the one past last pos to be taken
7652
7653         * paragraph.C (getChar): ws changes only
7654
7655         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7656         (numberOfSeparators): ditto
7657         (numberOfHfills): ditto
7658
7659 2003-03-12  John Levon  <levon@movementarian.org>
7660
7661         * author.h:
7662         * author.C:
7663         * bufferparams.h:
7664         * bufferparams.C:
7665         * paragraph_funcs.C: fix per-buffer authorlists
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * text.C: fix newline in right address
7670
7671 2003-03-12  Angus Leeming  <leeming@lyx.org>
7672
7673         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7674         duplicate those in LyXFunc::dispatch.
7675
7676         * commandtags.h:
7677         * LyXAction.C:
7678         * ToolbarDefaults.C:
7679         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7680         Add LFUN_FONTFREE_UPDATE.
7681
7682         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7683         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7684
7685         * bufferview_func.[Ch]: several new functions to facilliate
7686         transfer of data to and from the character dialog.
7687
7688 2003-03-12  John Levon  <levon@movementarian.org>
7689
7690         * buffer.C:
7691         * paragraph.h:
7692         * paragraph.C:
7693         * paragraph_funcs.C:
7694         * paragraph_pimpl.C:
7695         * sgml.C:
7696         * tabular.C:
7697         * text.C:
7698         * text3.C: remove META_NEWLINE in favour of an inset
7699
7700         * rowpainter.h:
7701         * rowpainter.C: remove paintNewline (done by inset)
7702
7703 2003-03-12  John Levon  <levon@movementarian.org>
7704
7705         * paragraph_pimpl.C: complain about bad getChar()s
7706         for a while at least
7707
7708 2003-03-12  John Levon  <levon@movementarian.org>
7709
7710         * buffer.h:
7711         * buffer.C: move paragraph read into a separate function,
7712         a little renaming to reflect that.
7713
7714         * bufferparams.h:
7715         * bufferparams.C: remove the author_ids map, not necessary now
7716
7717         * factory.h:
7718         * factory.C: moved Buffer::readInset to here
7719
7720         * paragraph_funcs.h:
7721         * paragraph_funcs.C: readParagraph free function moved from
7722         buffer.C
7723
7724         * tabular.C: name change
7725
7726 2003-03-12  John Levon  <levon@movementarian.org>
7727
7728         * buffer.C:
7729         * ParagraphParameters.C: move par params input to
7730         a read() method
7731
7732         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7733         behave like a normal read from the stream wrt reading
7734         a line vs. a \\token
7735
7736 2003-03-12  John Levon  <levon@movementarian.org>
7737
7738         * paragraph.C:
7739         * ParagraphParameters.h:
7740         * ParagraphParameters.C: move output code to a
7741         ::write() method
7742
7743 2003-03-12  John Levon  <levon@movementarian.org>
7744
7745         * BufferView.C (insertLyXFile):
7746         * buffer.h:
7747         * buffer.C:
7748         * tabular.C: use a parlist iterator for creating the
7749           document.
7750
7751 2003-03-12  John Levon  <levon@movementarian.org>
7752
7753         * buffer.C: make current_change static local not
7754           static file-scope
7755
7756 2003-03-12  John Levon  <levon@movementarian.org>
7757
7758         * buffer.C: fix insertStringAsLines for change tracking
7759
7760 2003-03-12  John Levon  <levon@movementarian.org>
7761
7762         * BufferView.C:
7763         * tabular.C:
7764         * buffer.h:
7765         * buffer.C:
7766         * bufferparams.h:
7767         * bufferparams.C: move author list into params. Rename some
7768           functions. Move the header reading into a separate token
7769           loop. Move the header token reading into BufferParams.
7770
7771 2003-03-12  John Levon  <levon@movementarian.org>
7772
7773         * changes.C: put debug inside lyxerr.debugging() checks
7774
7775 2003-03-11 André Pönitz <poenitz@gmx.net>
7776
7777         * factory.C: make it aware of InsetHFill
7778
7779 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7780
7781         * buffer.C (latexParagraphs): move function from here...
7782         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7783         args.
7784
7785 2003-03-10  Angus Leeming  <leeming@lyx.org>
7786
7787         * LyXAction.C (init): fix bug in poplating array with multiple entries
7788         with the same LFUN (spotted by JMarc).
7789
7790 2003-03-10  John Levon  <levon@movementarian.org>
7791
7792         * text.C:
7793         * text2.C: move getColumnNearX() near its
7794         only call site
7795
7796 2003-03-10  John Levon  <levon@movementarian.org>
7797
7798         * text.C: fix break before a minipage
7799
7800 2003-03-10  John Levon  <levon@movementarian.org>
7801
7802         * text.C: fix the last commit
7803
7804 2003-03-09  John Levon  <levon@movementarian.org>
7805
7806         * lyxtext.h:
7807         * text.C:
7808         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7809         bug 365 (don't break before insets unless needed). Don't
7810         return a value > last under any circumstances.
7811
7812 2003-03-09  Angus Leeming  <leeming@lyx.org>
7813
7814         * BufferView_pimpl.C (trackChanges, dispatch): call
7815         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7816
7817 2003-03-09  Angus Leeming  <leeming@lyx.org>
7818
7819         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7820         than Dialogs::showAboutlyx().
7821
7822 2003-03-09  Angus Leeming  <leeming@lyx.org>
7823
7824         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7825         than Dialogs::showTabularCreate().
7826
7827 2003-03-09  John Levon  <levon@movementarian.org>
7828
7829         * lyxtext.h:
7830         * text.C:
7831         * text2.C: 3rd arg to nextBreakPoint was always the same.
7832           Use references.
7833
7834 2003-03-08  John Levon  <levon@movementarian.org>
7835
7836         * lyxrow.C:
7837         * paragraph.C:
7838         * paragraph.h:
7839         * rowpainter.C:
7840         * text.C:
7841         * text2.C: Remove the "main" bit from the "main body"
7842           notion.
7843
7844 2003-03-08  John Levon  <levon@movementarian.org>
7845
7846         * text.C (leftMargin): The left margin of an empty
7847         manual label paragraph should not include the label width
7848         string length.
7849
7850         * text.C (prepareToPrint): don't attempt to measure hfills
7851         for empty manual label paragraphs - the answer should be 0
7852
7853 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * CutAndPaste.C: remove commented code and reindent.
7856
7857 2003-03-08  John Levon  <levon@movementarian.org>
7858
7859         * lyxfunc.h:
7860         * lyxfunc.C: move reloadBuffer()
7861
7862         * BufferView.h:
7863         * BufferView.C: to here
7864
7865         * lyxvc.C: add comment
7866
7867         * vc-backend.h:
7868         * vc-backend.C: call bv->reload() to avoid
7869           getStatus() check on MENURELOAD
7870
7871 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7872
7873         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7874         to an old format .dep file.
7875
7876 2003-03-07  Angus Leeming  <leeming@lyx.org>
7877
7878         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7879         when the LFUN_MOUSE_RELEASE should have been handled by
7880         inset->localDispatch.
7881
7882 2003-03-07  Angus Leeming  <leeming@lyx.org>
7883
7884         * BufferView_pimpl.C (dispatch):
7885         * LyXAction.C (init):
7886         * ToolbarDefaults.C (init):
7887         * commandtags.h:
7888         * lyxfunc.C (getStatus):
7889         remove LFUN_INSET_GRAPHICS.
7890
7891         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7892
7893 2003-03-07  Angus Leeming  <leeming@lyx.org>
7894
7895         * commandtags.h:
7896         * LyXAction.C (init):
7897         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7898
7899         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7900
7901         * commandtags.h:
7902         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7903
7904         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7905         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7906
7907 2003-03-07  Angus Leeming  <leeming@lyx.org>
7908
7909         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7910         remove "ert".
7911
7912 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * ParagraphList.C (front): new function
7915         (back): implement
7916
7917 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7918
7919         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7920         and top_row_offset_. removed var first_y.
7921         * text.C (top_y):
7922         * text2.C (LyXText, removeRow):
7923         * text3.C:
7924         * BufferView_pimpl.C:
7925         use these methods instead of using first_y
7926
7927 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * text2.C (pasteSelection): adjust for checkPastePossible
7930
7931         * CutAndPaste.C: remove Paragraph * buf and replace with
7932         ParagraphList paragraphs.
7933         (DeleteBuffer): delete
7934         (cutSelection): change the tc type to textclass_type
7935         (copySelection): change the tc type to textclass_type
7936         (copySelection): adjust for ParagraphList
7937         (pasteSelection): change the tc type to textclass_type
7938         (pasteSelection): adjust for Paragraphlist
7939         (nrOfParagraphs): simplify for ParagraphList
7940         (checkPastePossible): simplify for ParagraphList
7941         (checkPastePossible): remove unused arg
7942
7943         * ParagraphList.C (insert): handle the case where there are no
7944         paragraphs yet.
7945
7946         * CutAndPaste.h: make CutAndPaste a namespace.
7947
7948         * text3.C (dispatch): adjust
7949
7950         * text.C (breakParagraph): add a ParagraphList as arg
7951
7952         * paragraph_funcs.C (breakParagraph): change to take a
7953         BufferParams and a ParagraphList as args.
7954         (breakParagraphConservative): ditto
7955         (mergeParagraph): ditto
7956         (TeXDeeper): add a ParagraphList arg
7957         (TeXEnvironment): ditto
7958         (TeXOnePar): ditto
7959
7960         * buffer.C (readLyXformat2): adjust
7961         (insertStringAsLines): adjust
7962         (latexParagraphs): adjust
7963
7964         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7965         (cutSelection): adjust
7966         (pasteSelection): adjust
7967
7968         * BufferView_pimpl.C (insertInset): adjust
7969
7970 2003-03-05  Angus Leeming  <leeming@lyx.org>
7971
7972         * commandtags.h:
7973         * LyXAction.C (init):
7974         * BufferView_pimpl.C (dispatch):
7975         * lyxfunc.C (getStatus):
7976         remove LFUN_CHILD_INSERT.
7977
7978         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7979
7980 2003-03-05  Angus Leeming  <leeming@lyx.org>
7981
7982         * commandtags.h:
7983         * LyXAction.C (init):
7984         * src/factory.C (createInset):
7985         * lyxfunc.C (getStatus):
7986         * text3.C (dispatch):
7987         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7988
7989         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7990
7991 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * ParagraphList.C (insert): handle insert right before end()
7994         (erase): fix cases where it can be first or last paragraph.
7995
7996 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7999         Paragraph::next and Paragraph::previous
8000         (TeXOnePar): ditto
8001
8002         * text.C (breakParagraph): adjust
8003
8004         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8005         BufferParams& as arg.
8006         (breakParagraph): use ParagraphList::insert
8007         (breakParagraphConservative): take a Buffer* instead of a
8008         BufferParams& as arg.
8009         (breakParagraphConservative): use ParagraphList::insert.
8010
8011         * buffer.C (insertStringAsLines): un-const it
8012         (insertStringAsLines): adjust
8013
8014         * ParagraphList.C (insert): new function
8015
8016         * CutAndPaste.C (pasteSelection): adjust
8017
8018         * text.C (backspace): adjust
8019
8020         * tabular.C (SetMultiColumn): adjust
8021
8022         * CutAndPaste.C (cutSelection): adjust
8023         (pasteSelection): adjust
8024
8025         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8026         Buffer const * as arg
8027
8028         * ParagraphList.C (erase): new function
8029         * paragraph_funcs.C (mergeParagraph): use it
8030         (mergeParagraph): make it take a Buffer* instead of a
8031         BufferParams* as arg
8032
8033         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8034         as arg
8035         (breakParagraphConservative): ditto
8036
8037         * paragraph.h: remove the breakParagraph friend
8038
8039         * paragraph.C (eraseIntern): new function
8040         (setChange): new function
8041
8042         * paragraph_funcs.C (mergeParagraph): make it take a
8043         ParagraphList::iterator instead of a Paragraph *, adjust
8044         accordingly.
8045
8046         * paragraph.h: move an #endif so that the change tracking stuff
8047         also works in the NO_NEXT case.
8048
8049 2003-03-04  Angus Leeming  <leeming@lyx.org>
8050
8051         * commandtags.h:
8052         * LyXAction.C: new LFUN_INSET_MODIFY.
8053
8054         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8055         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8056
8057 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * several files: ws changes only
8060
8061         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8062         (TeXEnvironment): ditto
8063         (TeXDeeper): ditto
8064
8065         * buffer.C (makeLaTeXFile): adjust
8066         (latexParagraphs): make it take ParagraphList::iterator as args
8067
8068 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * buffer.C (latexParagraphs): adjust
8071
8072         * paragraph.C (TeXOnePar): move function...
8073         (optArgInset): move function...
8074         (TeXEnvironment): move function...
8075         * paragraph_pimpl.C (TeXDeeper): move function...
8076         * paragraph_funcs.C: ...here
8077
8078         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8079
8080 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * buffer.C (readInset): remove compability code for old Figure and
8083         InsetInfo insets
8084
8085 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8086
8087         * buffer.C: ws changes
8088         (readInset):
8089
8090         * BufferView_pimpl.C: ditto
8091         * author.C: ditto
8092         * buffer.h: ditto
8093         * bufferlist.h: ditto
8094         * changes.h: ditto
8095         * lyxfunc.C: ditto
8096
8097 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8098
8099         * converter.[Ch]: split into itself +
8100         * graph.[Ch]
8101         * format.[Ch]
8102         * Makefile.am: += graph.[Ch] + format.[Ch]
8103         * MenuBackend.C
8104         * buffer.C
8105         * exporter.C
8106         * importer.C
8107         * lyx_main.C
8108         * lyxfunc.C
8109         * lyxrc.C: added #include "format.h"
8110
8111 2003-02-27  Angus Leeming  <leeming@lyx.org>
8112
8113         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8114           a label.
8115
8116         * factory.C (createInset): add "label" to the factory.
8117
8118         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8119           string and do no more.
8120
8121 2003-02-27  Angus Leeming  <leeming@lyx.org>
8122
8123         * commandtags.h:
8124         * LyXAction.C (init):
8125         * factory.C (createInset):
8126         * BufferView_pimpl.C (dispatch):
8127           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8128
8129         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8130
8131         * lyxfunc.C (dispatch):
8132         * text3.C (dispatch): pass name to params2string.
8133
8134 2003-02-26  Angus Leeming  <leeming@lyx.org>
8135
8136         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8137           blocks together.
8138           Rearrange the ~includes. Strip out the unnecessary ones.
8139
8140         * factory.C (createInset): reformat.
8141           create new insets for the various LFUN_XYZ_APPLY lfuns.
8142
8143 2003-02-26  John Levon  <levon@movementarian.org>
8144
8145         * lyxrow.h:
8146         * lyxrow.C: add isParStart,isParEnd helpers
8147
8148         * paragraph.h: make isInserted/DeletedText take refs
8149
8150         * paragraph_funcs.h:
8151         * paragraph_funcs.C: remove #if 0'd code
8152
8153         * lyxtext.h:
8154         * text3.C:
8155         * text2.C:
8156         * text.C: use lyxrow helpers above.
8157           Move draw and paint routines to RowPainter.
8158           Make several methods use refs not pointers.
8159           Make backgroundColor() const.
8160           Add markChangeInDraw(), isInInset().
8161           Merge changeRegionCase into changeCase.
8162           Make workWidth() shouldn't-happen code into an Assert.
8163
8164         * rowpainter.h:
8165         * rowpainter.C: new class for painting a row.
8166
8167         * vspace.h:
8168         * vspace.C: make inPixels take a ref
8169
8170 2003-02-26  Angus Leeming  <leeming@lyx.org>
8171
8172         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8173         LFUN_REF_APPLY.
8174
8175 2003-02-25  John Levon  <levon@movementarian.org>
8176
8177         * ispell.C: give the forked command a more accurate name
8178
8179 2003-02-22  John Levon  <levon@movementarian.org>
8180
8181         * toc.h:
8182         * toc.C: make TocItem store an id not a Paragraph *
8183           (bug #913)
8184
8185 2003-02-21  Angus Leeming  <leeming@lyx.org>
8186
8187         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8188           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8189           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8190           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8191           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8192           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8193
8194         * BufferView_pimpl.C (dispatch):
8195         * LyXAction.C (init):
8196         * factory.C (createInset):
8197         * lyxfunc.C (getStatus, dispatch):
8198         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8199
8200 2003-02-21  Angus Leeming  <leeming@lyx.org>
8201
8202         * BufferView_pimpl.C (MenuInsertLyXFile):
8203         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8204         * lyxfunc.C (menuNew, open, doImport):
8205           no longer pass a LyXView & to fileDlg.
8206
8207 2003-02-21  Angus Leeming  <leeming@lyx.org>
8208
8209         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8210         * LyXAction.C: change, BIBKEY to BIBITEM.
8211         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8212         Change InsetBibKey to InsetBibitem.
8213         Change BIBKEY_CODE to BIBITEM_CODE.
8214         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8215         * factory.C: replace insetbib.h with insetbibitem.h.
8216         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8217         * paragraph.C: replace insetbib.h with insetbibitem.h.
8218         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8219         Change bibkey() to bibitem().
8220         * text.C: remove insetbib.h.
8221         * text2.C: replace insetbib.h with insetbibitem.h.
8222         change bibkey() to bibitem().
8223         * text3.C: remove insetbib.h.
8224         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8225
8226 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8227
8228         * lyxrc.C (output): enclose user email in quotes (in case there are
8229         several words)
8230
8231 2003-02-18  John Levon  <levon@movementarian.org>
8232
8233         * buffer.h: add std::
8234
8235 2003-02-17  John Levon  <levon@movementarian.org>
8236
8237         * SpellBase.h:
8238         * ispell.h:
8239         * ispell.C:
8240         * pspell.h:
8241         * pspell.C: reworking. Especially in ispell, a large
8242           number of clean ups and bug fixes.
8243
8244         * lyxfunc.C: fix revert to behave sensibly
8245
8246 2003-02-17 André Pönitz <poenitz@gmx.net>
8247
8248         * LyXAction.C:
8249         * commandtags.h: new LFUN_INSERT_BIBKEY
8250
8251         * layout.h:
8252         * lyxlayout.C:
8253         * buffer.C:
8254         * factory.C:
8255         * text.C:
8256         * text2.C:
8257         * text3.C:
8258         * paragraph.[Ch]:
8259         * paragraph_func.C: remove special bibkey handling
8260
8261 2003-02-17  John Levon  <levon@movementarian.org>
8262
8263         * text.C (Delete): fix case where delete at the end of
8264           the very first paragraph would not merge the pars
8265
8266 2003-02-17  John Levon  <levon@movementarian.org>
8267
8268         * lyxrow.C: fix lastPrintablePos()
8269
8270 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * bufferparams.C (writeLaTeX): add a std:here
8273
8274         * buffer.C: and remove a using directive there
8275
8276 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8277
8278         * buffer.C (makeLaTeXFile): move the code that generates the
8279           preamble...
8280
8281         * bufferparams.C (writeLaTeX): ... in this new method
8282
8283         * LaTeXFeatures.C (getEncodingSet): make const
8284           (getLanguages): make const
8285
8286         * MenuBackend.C (binding): returns the binding associated to this
8287           action
8288           (add): sets the status of each item by calling getStatus. Adds
8289           some intelligence.
8290           (read): add support for OptSubMenu
8291           (expand): remove extra separator at the end of expanded menu
8292
8293 2003-02-15  John Levon  <levon@movementarian.org>
8294
8295         * BufferView.C:
8296         * BufferView_pimpl.C:
8297         * bufferlist.h:
8298         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8299           inset code that had no actual effect. Remove unneeded status
8300           code.
8301
8302 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8303
8304         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8305           in preamble
8306
8307 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8308
8309         * text.C (drawLengthMarker): also draw an arrow marker for
8310           symbolic lengths (medskip...)
8311
8312 2003-02-14  John Levon  <levon@movementarian.org>
8313
8314         * tabular.h:
8315         * tabular.C: better method names
8316
8317 2003-02-14  John Levon  <levon@movementarian.org>
8318
8319         * BufferView_pimpl.C:
8320         * bufferlist.C:
8321         * buffer.C:
8322         * converter.C:
8323         * lyx_cb.C:
8324         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8325           it's a more accurate name. Remove some pointless uses.
8326
8327 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8328
8329         * text2.C (LyXText): change order of initilizers to shut off
8330           warnings
8331
8332 2003-02-14  John Levon  <levon@movementarian.org>
8333
8334         * buffer.C: use ParIterator for getParFromID()
8335
8336         * paragraph.h:
8337         * paragraph.C:
8338         * paragraph_pimpl.h:
8339         * paragraph_pimpl.C: remove unused getParFromID()
8340
8341 2003-02-14  John Levon  <levon@movementarian.org>
8342
8343         * buffer.C: remove some very old #if 0'd parse code
8344
8345 2003-02-13  John Levon  <levon@movementarian.org>
8346
8347         * text.h:
8348         * text.C:
8349         * text2.C: move hfillExpansion(), numberOfSeparators(),
8350           rowLast(), rowLastPrintable(), numberofHfills(),
8351           numberOfLabelHfills() ...
8352
8353         * lyxrow.h:
8354         * lyxrow.C: ... to member functions here.
8355
8356         * paragraph.h:
8357         * paragraph.C:
8358         * lyxtext.h:
8359         * text.C: remove LyXText::beginningOfMainBody(), and call
8360           p->beginningOfMainBody() directly. Move the check for
8361           LABEL_MANUAL into the latter.
8362
8363         * text.h:
8364         * text.C:
8365         * text2.C:
8366         * vspace.C:
8367         * BufferView.h:
8368         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8369
8370         * text.h:
8371         * text.C:
8372         * text2.C:
8373         * text3.C:
8374         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8375           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8376
8377 2003-02-13  John Levon  <levon@movementarian.org>
8378
8379         * CutAndPaste.C: remove debug
8380
8381 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * paragraph.C (asString): remove two unused variables
8384
8385         * lyxtextclass.C (readTitleType):
8386           (Read):
8387           (LyXTextClass): handle new members titletype_ and titlename_
8388
8389         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8390
8391 2003-02-09  John Levon  <levon@movementarian.org>
8392
8393         * buffer.h:
8394         * buffer.C: replace hand-coded list with a map for the dep clean
8395
8396 2003-02-08  John Levon  <levon@movementarian.org>
8397
8398         * LaTeX.C: consolidate code into showRunMessage() helper
8399
8400 2003-02-08  John Levon  <levon@movementarian.org>
8401
8402         * lyxfind.C:
8403         * lyxtext.h:
8404         * text2.C:
8405         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8406           and pass the size in explicitly
8407
8408         * BufferView_pimpl.h:
8409         * BufferView_pimpl.C:
8410         * BufferView.h:
8411         * BufferView.C: add getCurrentChange()
8412
8413         * BufferView_pimpl.h:
8414         * BufferView_pimpl.C: handle change lfuns
8415
8416         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8417           for changes. Mark pasted paragraphs as new.
8418
8419         * support/lyxtime.h:
8420         * support/lyxtime.C:
8421         * DepTable.C: abstract time_t as lyx::time_type
8422
8423         * LColor.h:
8424         * LColor.C: add colours for new text, deleted text, changebars
8425
8426         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8427           package use "usenames" option.
8428
8429         * commandtags.h:
8430         * lyxfunc.C:
8431         * LyXAction.C: add change lfuns
8432
8433         * Makefile.am:
8434         * author.h:
8435         * author.C: author handling
8436
8437         * buffer.h:
8438         * buffer.C: add a per-buffer author list, with first entry as
8439           current author. Handle new .lyx tokens for change tracking. Output
8440           author list to .lyx file. Output dvipost stuff to .tex preamble.
8441           Bump lyx format to 222.
8442
8443         * bufferlist.h:
8444         * bufferlist.C: add setCurrentAuthor() to reset current author details
8445           in all buffers.
8446
8447         * bufferparams.h:
8448         * bufferparams.C: add param for tracking
8449
8450         * bufferview_funcs.C: output change info in minibuffer
8451
8452         * Makefile.am:
8453         * changes.h:
8454         * changes.C: add change-tracking structure
8455
8456         * debug.h:
8457         * debug.C: add CHANGES debug flag
8458
8459         * lyxfind.h:
8460         * lyxfind.C: add code for finding the next change piece
8461
8462         * lyxrc.h:
8463         * lyxrc.C: add user_name and user_email
8464
8465         * lyxrow.h:
8466         * lyxrow.C: add a metric for the top of the text line
8467
8468         * lyxtext.h:
8469         * text.C: implement accept/rejectChange()
8470
8471         * lyxtext.h:
8472         * text.C: paint changebars. Paint new/deleted text in the chosen
8473         colours. Strike through deleted text.
8474
8475         * paragraph.h:
8476         * paragraph.C:
8477         * paragraph_pimpl.h:
8478         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8479           in the current change to the insert functions. Rework erase to
8480           mark text as deleted, adding an eraseIntern() and a range-based
8481           erase(). Implement per-paragraph change lookup and
8482           accept/reject.
8483
8484         * paragraph_funcs.C: Fixup paste for change tracking.
8485
8486         * tabular.C: mark added row/columns as new.
8487
8488         * text.C: fix rowLast() to never return -1. Don't allow
8489           spellchecking of deleted text. Track transpose changes. Don't
8490           allow paragraph break or merge where appropriate.
8491
8492         * text2.C: leave cursor at end of selection after a cut.
8493
8494 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8495
8496         * text.C (getLengthMarkerHeight):
8497         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8498         visible on screen too.
8499
8500 2003-02-07  John Levon  <levon@movementarian.org>
8501
8502         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8503
8504 2003-02-05  Angus Leeming  <leeming@lyx.org>
8505
8506         * lyxserver.C (read_ready): revert my patch of 11 September last year
8507         as it sends PC cpu through the roof. Presumably this means that
8508         the lyxserver will no longer run on an Alpha...
8509
8510 2003-01-30  Angus Leeming  <leeming@lyx.org>
8511
8512         * factory.C (createInset): create an InsetCommandParam of type "index"
8513         and use it to 'do the right thing'.
8514
8515         * text2.C (getStringToIndex): ensure that cursor position is always
8516         reset to the reset_cursor position.
8517
8518 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8519
8520         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8521         disabled.
8522
8523 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8524
8525         * bufferview.C:
8526         * lyxcb.C:
8527         * lyxfunc.C: Output messages with identical spelling, punctuation,
8528         and spaces
8529
8530 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8531
8532         * MenuBackend.C (expandFormats): List only viewable export formats
8533         in "View" menu
8534
8535         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8536         message
8537
8538         * lyxfunc.C (getStatus): Make sure that formats other than
8539         "fax" can also be disabled
8540
8541 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8542
8543         * text3.C (dispatch): put the lfuns that insert insets in 3
8544         groups, and call doInsertInset with appropriate arguments.
8545         (doInsertInset): new function, that creates an inset and inserts
8546         it according to some boolean parameters.
8547
8548 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * buffer.C (readFile): remember to pass on 'par' when calling
8551         readFile recursively.
8552
8553 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8554
8555         * MenuBackend.C (expandFormats): add "..." to import formats.
8556
8557 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8558
8559         * paragraph.C (asString): Remove XForms RTL hacks.
8560
8561 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8562         * buffer.C: fix typo
8563
8564 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * Makefile.am (LIBS): delete var
8567         (lyx_LDADD): add @LIBS@ here instead.
8568
8569 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8570
8571         * Clarify the meaning of "wheel mouse jump"
8572
8573 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8576         tabular in a float
8577
8578 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8579
8580         * importer.C (Loaders): do not preallocate 3 elements in the
8581         vector, since one ends up with 6 elements otherwise
8582
8583 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8584
8585         * DepTable.C (write): write the file name as last element of the
8586         .dep file (because it may contain spaces)
8587         (read): read info in the right order
8588
8589 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8590
8591         * paragraph_pimpl.C (simpleTeXBlanks):
8592         (simpleTeXSpecialChars):
8593         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8594
8595         * tabular.C (latex): add some missing case statements. Reindent.
8596
8597         * MenuBackend.C (expandToc): remove unused variable.
8598
8599 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8600
8601         * LColor.C:
8602         * LaTeX.C:
8603         * LyXAction.C:
8604         * MenuBackend.C:
8605         * buffer.C:
8606         * exporter.C:
8607         * lyxfunc.C:
8608         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8609         and the like.
8610
8611 2003-01-05  John Levon  <levon@movementarian.org>
8612
8613         * BufferView.h:
8614         * BufferView.C: add getEncoding()
8615
8616         * kbsequence.h:
8617         * kbsequence.C: do not store last keypress
8618
8619         * lyxfunc.h:
8620         * lyxfunc.C: store last keypress here instead. Pass encoding
8621           to getISOEncoded()
8622
8623 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8624
8625         * lyx_main.C (init): remove annoying error message when following
8626         symbolic links (bug #780)
8627
8628 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8629
8630         * text.C (insertChar):
8631         * lyxrc.C (getDescription): remove extra spaces
8632
8633 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8634
8635         * lyxrc.C (getDescription): remove extra spaces
8636
8637 2002-12-20  John Levon  <levon@movementarian.org>
8638
8639         * text3.C: hack fix for page up/down across tall rows
8640
8641 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8644         not been invoked
8645
8646 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8647
8648         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8649         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8650         thesaurus is not compiled in
8651
8652 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8653
8654         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8655
8656 2002-12-16  Angus Leeming  <leeming@lyx.org>
8657
8658         * lyxrc.[Ch]:
8659         * lyx_main.C (init): remove override_x_deadkeys stuff.
8660
8661 2002-12-12  John Levon  <levon@movementarian.org>
8662
8663         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8664           insert. Only remove shift modifier under strict
8665           circumstances.
8666
8667 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * MenuBackend.C (expandToc): fix crash.
8670
8671 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * MenuBackend.C (expandToc): gettext on float names.
8674
8675 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8676
8677         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8678         implement bool empty() [bug 490]
8679
8680 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8683
8684 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8685
8686         * several files: ws changes
8687
8688 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text2.C (setCounter): clean up a bit, use boost.format.
8691         (updateCounters): initialize par upon declaration.
8692
8693         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8694         if the layout exists. We do not just store the layout any more.
8695         (SwitchLayoutsBetweenClasses): use boost.format
8696
8697 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8698
8699         * converter.C (convert): if from and to files are the same, use a
8700         temporary files as intermediary
8701
8702 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8703
8704         * commandtags.h:
8705         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8706
8707 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8708
8709         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8710
8711 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * tabular.C (asciiPrintCell): use string(size, char) instead of
8714         explicit loop.
8715
8716         * sgml.C (openTag): fix order of arguments to string constructor
8717         (closeTag): ditto
8718
8719         * lyxfunc.C (dispatch): use boost.format
8720
8721         * lots of files: change "c" -> 'c'
8722
8723 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8724
8725         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8726
8727 2002-11-25  Angus Leeming  <leeming@lyx.org>
8728
8729         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8730
8731         * lyx_main.C (init): compile fix.
8732
8733 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * lyx_cb.C (start): boost.formatify
8736         do not include <iostream>
8737
8738         * lengthcommon.C: ws only
8739
8740         * boost-inst.C,BoostFormat.h: add more explict instantations
8741
8742 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8743
8744         * lots of files: handle USE_BOOST_FORMAT
8745
8746 2002-11-21  John Levon  <levon@movementarian.org>
8747
8748         * pspell.C: fix compile
8749
8750 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * lyxfunc.C (dispatch): use boost::format
8753         (open): ditto
8754         (doImport): ditto
8755
8756         * lyxfont.C (stateText): use boost::format
8757
8758         * lyx_main.C (LyX): use boost::format
8759         (init): ditto
8760         (queryUserLyXDir): ditto
8761         (readRcFile): ditto
8762         (parse_dbg): ditto
8763         (typedef boost::function): use the recommened syntax.
8764
8765         * importer.C (Import): use boost::format
8766
8767         * debug.C (showLevel): use boost::format
8768
8769         * converter.C (view): use boost::format
8770         (convert): ditto
8771         (move): ditto
8772         (scanLog): ditto
8773
8774         * bufferview_funcs.C (currentState): use boost::format
8775
8776         * bufferlist.C (emergencyWrite): use boost::format
8777
8778         * buffer.C (readLyXformat2): use boost::format
8779         (parseSingleLyXformat2Token): ditto
8780
8781         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8782
8783         * LaTeX.C (run): use boost::format
8784
8785         * Chktex.C (scanLogFile): use boost::format
8786
8787         * BufferView_pimpl.C (savePosition): use boost::format
8788         (restorePosition): ditto
8789         (MenuInsertLyXFile): ditto
8790
8791         * BoostFormat.h: help file for explicit instation.
8792
8793 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8794
8795         * tabular.C (latex): Support for block alignment in fixed width
8796         columns.
8797
8798 2002-11-17  John Levon  <levon@movementarian.org>
8799
8800         * BufferView_pimpl.C:
8801         * lyx_cb.C:
8802         * lyxfunc.C: split filedialog into open/save
8803
8804 2002-11-08  Juergen Vigna  <jug@sad.it>
8805
8806         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8807         by my last patch (hopefully).
8808
8809 2002-11-08  John Levon  <levon@movementarian.org>
8810
8811         * iterators.h:
8812         * iterators.C:
8813         * buffer.h:
8814         * buffer.C:
8815         * paragraph.h:
8816         * paragraph.C:
8817         * toc.h:
8818         * toc.C: ParConstIterator, and use it (from Lars)
8819
8820 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8821
8822         * lyxtextclass.[Ch]: revise and add doxygen comments
8823
8824 2002-11-07  John Levon  <levon@movementarian.org>
8825
8826         * text.C: fix progress value for spellchecker
8827
8828         * toc.C: fix navigate menu for insetwrap inside minipage
8829
8830         * paragraph_funcs.C: added FIXME for suspect code
8831
8832 2002-11-07  John Levon  <levon@movementarian.org>
8833
8834         * BufferView_pimpl.C: fix redrawing of insets
8835           on buffer switch
8836
8837 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * text2.C (updateCounters): fix bug 668
8840
8841 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8842
8843         * text3.C (dispatch): Do not make the buffer dirty when moving the
8844         cursor.
8845
8846 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * vc-backend.C: STRCONV
8849         (scanMaster): ditto
8850
8851         * text2.C (setCounter): STRCONV
8852
8853         * paragraph.C (asString): STRCONV
8854
8855         * lyxlength.C (asString): STRCONV
8856         (asLatexString): ditto
8857
8858         * lyxgluelength.C (asString): STRCONV
8859         (asLatexString): ditto
8860
8861         * lyxfunc.C (dispatch): STRCONV
8862         (open): ditto
8863
8864         * lyxfont.C (stateText): STRCONV
8865
8866         * importer.C (Import): STRCONV
8867
8868         * counters.C (labelItem): STRCONV
8869         (numberLabel): ditto
8870         (numberLabel): remove unused ostringstream o
8871
8872         * chset.C: STRCONV
8873         (loadFile): ditto
8874
8875         * bufferview_funcs.C (currentState): STRCONV
8876
8877         * buffer.C (readFile): STRCONV
8878         (asciiParagraph): ditto
8879         (makeLaTeXFile): ditto
8880
8881         * Spacing.C (writeEnvirBegin): STRCONV
8882
8883         * LaTeXFeatures.C (getLanguages): STRCONV
8884         (getPackages): ditto
8885         (getMacros): ditto
8886         (getBabelOptions): ditto
8887         (getTClassPreamble): ditto
8888         (getLyXSGMLEntities): ditto
8889         (getIncludedFiles): ditto
8890
8891         * LaTeX.C: STRCONV
8892         (run): ditto
8893         (scanAuxFile): ditto
8894         (deplog): ditto
8895
8896         * LString.h: add the STRCONV macros
8897
8898         * BufferView_pimpl.C (savePosition): STRCONV
8899         (restorePosition): ditto
8900         (MenuInsertLyXFile): ditto
8901
8902         * vc-backend.C (scanMaster): change from submatch[...] to
8903         submatch.str(...)
8904
8905         * funcrequest.C: include config.h
8906
8907         * factory.C: include config.h
8908
8909         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8910
8911         * box.C: include config.h
8912
8913         * LaTeX.C (scanAuxFile): change from submatch[...] to
8914         submatch.str(...)
8915         (deplog): ditto
8916
8917 2002-10-25  Angus Leeming  <leeming@lyx.org>
8918
8919         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8920
8921         * ispell.[Ch] (setError): new method.
8922         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8923         Use setError() insetead of goto END.
8924
8925         * lyx_cb.C (AutoSave): move out child process into new class
8926         AutoSaveBuffer.
8927
8928 2002-10-30  John Levon  <levon@movementarian.org>
8929
8930         * text3.C: make start appendix undoable
8931
8932 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8933
8934         * lyxlength.C (inPixels): Fix returned value.
8935
8936         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8937         environment.
8938
8939 2002-10-24  Angus Leeming  <leeming@lyx.org>
8940
8941         * lyxgluelength.h: no need to forward declare BufferParams
8942         or BufferView, so don't.
8943
8944 2002-10-21  John Levon  <levon@movementarian.org>
8945
8946         * BufferView.C: menuUndo ->undo, redo
8947
8948         * BufferView.h: document, remove dead, make some methods private
8949
8950         * paragraph_funcs.h:
8951         * paragraph_funcs.C:
8952         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8953
8954         * buffer.h:
8955         * buffer.C:
8956         * sgml.h:
8957         * sgml.C: move sgml open/close tag into sgml.C
8958
8959         * bufferview_funcs.h: unused prototype
8960
8961         * lyxfunc.h:
8962         * lyxfunc.C: remove unused
8963
8964         * lyxtext.h:
8965         * text.C: remove unused
8966
8967 2002-10-21  John Levon  <levon@movementarian.org>
8968
8969         * BufferView.h:
8970         * BufferView.C:
8971         * BufferView_pimpl.h:
8972         * BufferView_pimpl.C: fix mouse wheel handling based on
8973           patch from Darren Freeman
8974
8975 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8976
8977         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8978
8979 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8980
8981         * lyxlength.C (inPixels): Fix hanfling of negative length.
8982         Fix LyXLength::MU case.
8983
8984 2002-10-16  John Levon  <levon@movementarian.org>
8985
8986         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8987
8988 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8989
8990         * converter.C (view): add support for $$i (file name) and $$p
8991         (file path) for the viewer command. If $$i is not specified, then
8992         it is appended to the command (for compatibility with old syntax)
8993
8994 2002-10-14  Juergen Vigna  <jug@sad.it>
8995
8996         * undo_funcs.C (textHandleUndo): alter the order in which the
8997         new undopar is added to the LyXText, as we have to set first
8998         the right prev/next and then add it as otherwise the rebuild of
8999         LyXText is not correct. Also reset the cursor to the right paragraph,
9000         with this IMO we could remove the hack in "redoParagraphs()".
9001
9002 2002-10-09  Angus Leeming  <leeming@lyx.org>
9003
9004         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9005         to turn off an optimisation if a new inset is to be inserted.
9006
9007 2002-10-11 André Pönitz <poenitz@gmx.net>
9008
9009         * lyxtext.h: make some functions public to allow access
9010         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9011
9012 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9013
9014         * text3.C (dispatch): when changing layout, avoid an infinite loop
9015         [bug #652]
9016
9017 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9018
9019         * lyxrc.C (read): treat a viewer or converter command of "none" as
9020         if it were empty.
9021
9022         * MenuBackend.C (expandFormats): for an update, also allow the
9023         formats that are not viewable
9024
9025         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9026         script if it is newer than the lyxrc.defaults in user directory
9027
9028 2002-10-07 André Pönitz <poenitz@gmx.net>
9029
9030         * text.C: Vitaly Lipatov's small i18n fix
9031
9032 2002-09-25  Angus Leeming  <leeming@lyx.org>
9033
9034         * ispell.h: doxygen fix.
9035
9036 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9037
9038         * buffer.h (readFile): Add a new argument to the method, to allow
9039         reading of old-format templates.
9040
9041 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9042
9043         * toc.C (getTocList): Get TOC from InsetWrap.
9044
9045 2002-09-16  John Levon  <levon@movementarian.org>
9046
9047         * lyxfunc.C: check tabular for cut/copy too
9048
9049 2002-09-12  John Levon  <levon@movementarian.org>
9050
9051         * LyXAction.C: tidy
9052
9053         * factory.h:
9054         * factory.C: add header
9055
9056         * paragraph_funcs.h:
9057         * paragraph_funcs.C: cleanup
9058
9059 2002-09-11  John Levon  <levon@movementarian.org>
9060
9061         * PrinterParams.h: odd/even default to true
9062
9063 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9064
9065         * PrinterParams.h: update printer parameters for new xforms dialog
9066
9067 2002-09-11  Angus Leeming  <leeming@lyx.org>
9068
9069         * lyxserver.C (read_ready): re-write to make it more transparent
9070         and to make it work in coherent fashion under Tru64 Unix.
9071
9072 2002-09-11  André Pönitz <poenitz@gmx.net>
9073
9074         * commandtags.h:
9075         * LyXAction.C:
9076         * text3.C: implement LFUN_WORDSEL
9077
9078 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9081         make floatlist_ a boost::shared_ptr<FloatList>
9082
9083         * lyxtextclass.C: include FloatList.h
9084         (LyXTextClass): initialize floatlist_
9085         (TextClassTags): add TC_NOFLOAT
9086         (Read): match "nofloat" to TC_NOFLOAT and use it.
9087         (readFloat): modify call to floatlist_
9088         (floats): ditto
9089         (floats): ditto
9090
9091         * FloatList.[Ch] (FloatList): remove commented out float
9092         initialization.
9093         (erase): new function
9094
9095 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * MenuBackend.C (expandToc): fix crash when there is no document
9098         open
9099
9100 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9101
9102         * many files: Add insetwrap.
9103
9104 2002-09-09  John Levon  <levon@movementarian.org>
9105
9106         * text2.C: remove confusing and awkward depth wraparound
9107
9108 2002-09-09  John Levon  <levon@movementarian.org>
9109
9110         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9111
9112         * buffer.h:
9113         * buffer.C: remove getIncludeonlyList()
9114
9115         * paragraph.C:
9116         * lyxfunc.C: remove headers
9117
9118 2002-09-09  Juergen Vigna  <jug@sad.it>
9119
9120         * text.C (getColumnNearX): fix form Michael this is most
9121         probably a cut&paste bug.
9122
9123 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9126
9127         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9128         references, ws changes.
9129
9130         * text2.C (init): update counters after init
9131         (insertParagraph): no need to set counter on idividual paragraphs.
9132         (setCounter): access the counters object in the textclass object
9133         on in the buffer object.
9134         (updateCounters): ditto
9135
9136         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9137         shared_ptr<Counters> to avoid loading counters.h in all
9138         compilation units.
9139         (LyXTextClass): initialize ctrs_
9140         (TextClassTags): add TC_COUNTER, and ...
9141         (Read): use it here.
9142         (CounterTags): new tags
9143         (readCounter): new function
9144         (counters): new funtion
9145         (defaultLayoutName): return a const reference
9146
9147         * counters.C (Counters): remove contructor
9148         (newCounter): remove a couple of unneeded statements.
9149         (newCounter): simplify a bit.
9150         (numberLabel): some small formatting changes.
9151
9152         * buffer.[Ch]: remove all traces of counters, move the Counters
9153         object to the LyXTextClass.
9154
9155 2002-09-06  Alain Castera  <castera@in2p3.fr>
9156
9157         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9158         package to set the horizontal alignment on fixed width columns.
9159
9160         * lyx_sty.C:
9161         * lyx_sty.h: added tabularnewline macro def.
9162
9163         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9164
9165 2002-09-06  John Levon  <levon@movementarian.org>
9166
9167         * LyXAction.C: tooltips for sub/superscript
9168
9169         * MenuBackend.C: a bit more verbose
9170
9171         * lyxfunc.C: tiny clean
9172
9173         * undo_funcs.C: document undo_frozen
9174
9175 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * counters.C (Counters): add missing algorithm counter.
9178
9179         * text2.C (setCounter): lookup the counter with layouts latexname
9180         instead of by section number.
9181         (setCounter): use a hackish way to lookup the correct enum
9182         counter.
9183         a float name->type change
9184         reset enum couners with counter name directly instead of depth value.
9185
9186         * counters.C (Counters): remove the push_backs, change to use the
9187         float type not the float name.
9188         (labelItem): remove unused string, float name->type change
9189
9190         * counters.h: don't include vector, loose the enums and sects vectors
9191
9192 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9193
9194         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9195         (Read): add float->TC_FLOAT to textclassTags
9196         (Read): and handle it in the switch
9197         (readFloat): new function
9198
9199         * FloatList.C (FloatList): comment out the hardcoded float
9200         definitions.
9201
9202         * lyxlayout.h: ws change.
9203
9204 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9205
9206         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9207
9208 2002-09-03  Angus Leeming  <leeming@lyx.org>
9209
9210         * BufferView_pimpl.h: qualified name is not allowed in member
9211         declaration: WorkArea & Pimpl::workarea() const;
9212
9213         * factory.C: added using std::endl directive.
9214
9215         * text3.C: added using std::find and std::vector directives.
9216
9217 2002-08-29  André Pönitz <poenitz@gmx.net>
9218
9219         * lyxtext.h:
9220         * text2.C: remove unused member number_of_rows
9221
9222         * Makefile.am:
9223         * BufferView2.C: remove file, move contents to...
9224         * BufferView.C: ... here
9225
9226         * BufferView_pimpl.C:
9227         * factory.C: move more inset creation to factory
9228
9229         * vspace.C: avoid direct usage of LyXText, ws changes
9230
9231         * BufferView.[Ch]:
9232                 don't provide direct access to WorkArea, use two simple
9233                 acessors haveSelction() and workHeight() instead
9234
9235
9236 2002-08-29  John Levon  <levon@movementarian.org>
9237
9238         * BufferView_pimpl.C (dispatch): do not continue when
9239           no buffer
9240
9241 2002-08-28  André Pönitz <poenitz@gmx.net>
9242
9243         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9244
9245         * BufferView.h:
9246         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9247
9248 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9249
9250         * buffer.C: increment LYX_FORMAT to 221
9251
9252         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9253         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9254
9255         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9256
9257         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9258
9259 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * factory.C (createInset): use LyXTextClass::floats
9262
9263         * MenuBackend.C (expandFloatListInsert):
9264         (expandFloatInsert):
9265         (expandToc):
9266
9267         * text2.C (setCounter):
9268
9269         * LaTeXFeatures.C (useFloat):
9270         (getFloatDefinitions):
9271
9272         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9273
9274         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9275         floatlist_, with accessor floats().
9276
9277         * FloatList.h: remove global FloatList
9278
9279 2002-08-26  André Pönitz <poenitz@gmx.net>
9280
9281         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9282
9283         * BufferView.h:
9284         * BufferView2.C:
9285         * BufferView_pimpl.C:
9286         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9287
9288 2002-08-25  John Levon  <levon@movementarian.org>
9289
9290         * LyXAction.C: fix margin note description
9291
9292 2002-08-24  John Levon  <levon@movementarian.org>
9293
9294         * buffer.C:
9295         * bufferlist.C:
9296         * bufferview_funcs.C:
9297         * lyxfont.C:
9298         * undo_funcs.C: cleanups
9299
9300         * lyxfunc.C: disable CUT/COPY when no selection
9301
9302 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9303
9304         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9305         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9306
9307         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9308         Add backward compatibility to "mono", "gray" and "no".
9309
9310 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9311
9312         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9313         (and file_format >= 200).
9314
9315 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9318
9319 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9320
9321         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9322
9323 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9324
9325         * BufferView_pimpl.C:
9326         * LyXAction.C:
9327         * buffer.C:
9328         * commandtags.h:
9329         * lyxfunc.C:
9330         * paragraph.[Ch]:
9331         * text2.C:
9332         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9333         inset and code to make it  work with the paragraph code. The inset
9334         can be anywhere in the paragraph, but will only do the expected
9335         thing in LaTeX if the layout file contains the parameter line
9336                         OptionalArgs    1
9337         (or more generally, a nonzero value) for that layout.
9338
9339 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * paragraph.h: remove the declaration of undefined counters class
9342         function.
9343
9344 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9345
9346         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9347         Dr. Richard Hawkins.
9348
9349 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * paragraph_funcs.h: remove some unneeded includes
9352
9353         * text.C (backspace): pasteParagraph now in global scipe
9354
9355         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9356         (pasteSelection): ditto
9357
9358         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9359         * paragraph_funcs.C (pasteParagraph): ... here
9360
9361 2002-08-20  André Pönitz <poenitz@gmx.net>
9362
9363         * commandtags.h: new LFUNs for swapping/copying table row/colums
9364
9365         * LyXAction.C:
9366         * lyxfunc.C: support for new lfuns
9367
9368 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * tabular.C:
9371         * buffer.[Ch]: remove NO_COMPABILITY stuff
9372
9373 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * boost.C (throw_exception): new file, with helper function for
9376         boost compiled without exceptions.
9377
9378         * paragraph.h:
9379         * lyxlength.C:
9380         * buffer.C:
9381         * ParameterStruct.h:
9382         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9383
9384         * bufferlist.C (emergencyWriteAll): use boost bind
9385
9386         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9387
9388         * text.C: include paragraph_funcs.h
9389         (breakParagraph): breakParagraph is now in global scope
9390
9391         * paragraph_funcs.[Ch]: new files
9392
9393         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9394         global scope
9395
9396         * buffer.C: include paragraph_funcs.h
9397         (insertStringAsLines): breakParagraph is now in global scope
9398
9399         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9400         paragraph_funcs.C
9401
9402         * CutAndPaste.C: include paragraph_funcs.h
9403         (cutSelection): breakParagraphConservative is now in global scope
9404         (pasteSelection): ditto
9405
9406         * buffer.h: declare oprator== and operator!= for
9407         Buffer::inset_iterator
9408
9409         * bufferlist.C (emergencyWrite): don't use fmt(...)
9410
9411         * text3.C: add using std::endl
9412
9413         * BufferView.C (moveCursorUpdate): remove default arg
9414
9415 2002-08-20  André Pönitz <poenitz@gmx.net>
9416
9417         * buffer.[Ch]: move inline functions to .C
9418
9419         * BufferView2.C:
9420         * BufferView_pimpl.C:
9421         * text.C:
9422         * buffer.[Ch]: use improved inset_iterator
9423
9424         * buffer.C:
9425         * paragraph.[Ch]: write one paragraph at a time
9426
9427 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9428
9429         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9430         style if style is not specified.
9431
9432 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9433
9434         * text2.C (setCounter): when searching for right label for a
9435         caption, make sure to recurse to parent insets (so that a caption
9436         in a minipage in a figure float works) (bug #568)
9437
9438 2002-08-20  André Pönitz <poenitz@gmx.net>
9439
9440         * text3.C: new file for LyXText::dispatch() and helpers
9441
9442         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9443
9444         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9445
9446 2002-08-19  André Pönitz <poenitz@gmx.net>
9447
9448         * lyxtext.h:
9449         * text.C: new LyXText::dispatch()
9450
9451         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9452
9453 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9454
9455         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9456
9457         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9458         Hebrew text.
9459
9460 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * Makefile.am: use $(variables) instead of @substitutions@
9463
9464 2002-08-15  André Pönitz <poenitz@gmx.net>
9465
9466         * lyxfunc.C:
9467         * BufferView_pimpl.C: streamlining mathed <-> outer world
9468         interaction
9469
9470         * commandtags.h:
9471         * LyXAction.C: remove unused LFUN_MATH
9472
9473 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9474
9475         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9476
9477 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9478
9479         * paragraph.C (Paragraph): reformat a bit
9480         (cutIntoMinibuffer): use builtin InsetList function instad of
9481         doing it manually.
9482         (getInset): ditto
9483
9484         * buffer.C: include boost/bind.hpp, add using std::for_each
9485         (writeFileAscii): use ParagraphList iterators
9486         (validate): use for_each for validate traversal of paragraphs
9487         (getBibkeyList): use ParagraphList iterators
9488         (resizeInsets): use for_each to resizeInsetsLyXText for all
9489         paragraphs.
9490         (getParFromID): use ParagraphList iterators
9491
9492         * BufferView2.C (lockInset): use paragraph list and iterators
9493
9494 2002-08-14  John Levon  <levon@movementarian.org>
9495
9496         * lyxserver.C: remove spurious xforms include
9497
9498 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9499
9500         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9501
9502 2002-08-13  André Pönitz <poenitz@gmx.net>
9503
9504         * LyXAction.[Ch]:
9505         * lyxfunc.C: further cleaning
9506
9507 2002-08-13  André Pönitz <poenitz@gmx.net>
9508
9509         * funcrequest.h: new constructor
9510
9511         * funcrequest.C: move stuff here from .h
9512
9513         * Makefile.am:
9514         * BufferView_pimpl.C:
9515         * LyXAction.C:
9516         * toc.C:
9517         * lyxfunc.C: subsequent changes
9518
9519         * lyxfunc.h: new view() member function
9520
9521         * lyxfunc.C: subsequent changes
9522
9523 2002-08-13  Angus Leeming  <leeming@lyx.org>
9524
9525         * BufferView2.C:
9526         * BufferView_pimpl.C:
9527         * buffer.C:
9528         * converter.C:
9529         * importer.C:
9530         * lyxfunc.C:
9531         * lyxvc.C:
9532         * toc.C:
9533         * vc-backend.C:
9534         changes due to the changed LyXView interface that now returns references
9535         to member variables not pointers.
9536
9537 2002-08-13  Angus Leeming  <leeming@lyx.org>
9538
9539         * WordLangTuple (word, lang_code): return references to strings,
9540         not strings.
9541
9542         * BufferView.h:
9543         * SpellBase.h:
9544         * lyxtext.h: forward-declare WordLangTuple.
9545
9546         * BufferView2.C:
9547         * ispell.C:
9548         * pspell.C:
9549         * text.C: #include "WordLangTuple.h".
9550
9551         * lyxtext.h:
9552         * text.C: (selectNextWordToSpellcheck): constify return type.
9553
9554 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9555
9556         * buffer.C:
9557         * buffer.h:
9558         * lyxtext.h:
9559         * paragraph.C:
9560         * paragraph_pimpl.h:
9561         * text.C:
9562         * text2.C:
9563         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9564         suggested by Angus.
9565         Made updateCounter always count from start of buffer, and removed
9566         second argument (par).
9567         Reverted floats number display to '#'. Perhaps I'll try again when the
9568         code base is sanitized a bit.
9569
9570 2002-08-12  Angus Leeming  <leeming@lyx.org>
9571
9572         * buffer.[Ch] (getLabelList): constify.
9573
9574 2002-08-07  André Pönitz <poenitz@gmx.net>
9575
9576         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9577
9578         * funcrequest.h: extension to keep mouse (x,y) position
9579
9580 2002-08-12  Juergen Vigna  <jug@sad.it>
9581
9582         * BufferView2.C (insertErrors): forbid undo when inserting error
9583         insets.
9584
9585         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9586
9587 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9588
9589         * ParagraphList.[Ch]: new files
9590
9591         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9592
9593         * BufferView2.C (lockInset): ParagraphList changes
9594         * toc.C: ditto
9595         * text2.C: ditto
9596         * bufferlist.C: ditto
9597         * buffer.h: ditto
9598         * buffer.C: ditto
9599
9600 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9601
9602         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9603         unused class variable counter_,
9604
9605         * paragraph.[Ch] (getFirstCounter): delete unused function
9606
9607         * counters.C: include LAssert.h
9608         (reset): add a new function with no arg, change other version to
9609         not have def. arg and to not allow empty arg.
9610
9611         * text2.C (setCounter): remove empty arg from call to Counters::reset
9612
9613 2002-08-11  John Levon  <levon@movementarian.org>
9614
9615         * Makefile.am: add WordLangTuple.h
9616
9617 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9618
9619         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9620         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9621
9622         * insets/insettext.C: InsetList changes
9623
9624         * graphics/GraphicsSupport.C (operator()): InsetList changes
9625
9626         * toc.C (getTocList): InsetList changes
9627
9628         * paragraph_pimpl.[Ch]: InsetList changes
9629
9630         * paragraph.[Ch]: InsetList changes
9631
9632         * buffer.C (inset_iterator): InsetList changes
9633         (setParagraph): ditto
9634         * buffer.h (inset_iterator): ditto
9635         * iterators.C (operator++): ditto
9636         * iterators.h: ditto
9637
9638         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9639
9640         * InsetList.[Ch]: new files, most InsetList handling moved out of
9641         paragraph.C.
9642
9643         * BufferView2.C (removeAutoInsets): InsetList changes
9644         (lockInset): ditto
9645         (ChangeInsets): ditto
9646
9647 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9648
9649         * paragraph_pimpl.h (empty): new function
9650
9651         * paragraph.[Ch] (empty): new function
9652
9653         * other files: use the new Paragraph::empty function
9654
9655 2002-08-09  John Levon  <levon@movementarian.org>
9656
9657         * lyxtext.h: remove unused refresh_height
9658
9659 2002-08-09  John Levon  <levon@movementarian.org>
9660
9661         * Makefile.am:
9662         * sgml.h:
9663         * sgml.C:
9664         * buffer.C:
9665         * paragraph.h:
9666         * paragraph.C: move sgml char escaping out of paragraph
9667
9668         * paragraph.h:
9669         * paragraph.C: remove id setter
9670
9671         * buffer.C:
9672         * paragraph.C:
9673         * paragraph_pimpl.C: remove dead tex_code_break_column
9674
9675         * bufferview_funcs.C: small cleanup
9676
9677         * lyxfunc.C: remove dead proto
9678
9679         * lyxtext.h: make some stuff private. Remove some dead stuff.
9680
9681         * lyxgluelength.C: make as[LyX]String() readable
9682
9683 2002-08-08  John Levon  <levon@movementarian.org>
9684
9685         * LyXAction.h:
9686         * LyXAction.C:
9687         * MenuBackend.C:
9688         * ToolbarDefaults.C:
9689         * lyxfunc.C:
9690         * lyxrc.C:
9691         * toc.C: lyxaction cleanup
9692
9693 2002-08-08  John Levon  <levon@movementarian.org>
9694
9695         * BufferView2.C: small cleanup
9696
9697         * lyxfind.h:
9698         * lyxfind.C: move unnecessary header into the .C
9699
9700 2002-08-08  John Levon  <levon@movementarian.org>
9701
9702         * funcrequest.h: just tedious nonsense
9703
9704         * lyx_main.h:
9705         * lyx_main.C: cleanups
9706
9707         * buffer.C:
9708         * vspace.C: remove dead header lyx_main.h
9709
9710 2002-08-07  Angus Leeming  <leeming@lyx.org>
9711
9712         * Paragraph.[Ch]:
9713         * paragraph_pimpl.h:
9714         Forward declare class Counters in paragraph.h by moving the ctrs member
9715         variable into Paragraph::Pimpl.
9716         (counters): new method, returning a reference to pimpl_->ctrs.
9717
9718         * text2.C: ensuing changes.
9719
9720 2002-08-07  John Levon  <levon@movementarian.org>
9721
9722         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9723
9724         * BufferView_pimpl.C: announce X selection on double/triple
9725           click
9726
9727         * lyx_main.C: use correct bool in batch dispatch
9728
9729         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9730
9731 2002-08-07  André Pönitz <poenitz@gmx.net>
9732
9733         * funcrequest.h: new class to wrap a kb_action and its argument
9734
9735         * BufferView.[Ch]:
9736         * BufferView_pimpl[Ch]:
9737         * LaTeX.C:
9738         * LyXAction.[Ch]:
9739         * lyxfunc.[Ch]:
9740         * lyxrc.C: subsequent changes
9741
9742
9743 2002-08-07  John Levon  <levon@movementarian.org>
9744
9745         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9746           document options change.
9747
9748 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9749
9750         * counters.[Ch]
9751         * text2.C
9752         * paragraph.[Ch]
9753         * makefile.am: move counters functionality over from
9754         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9755
9756 2002-08-06  John Levon  <levon@movementarian.org>
9757
9758         * WordLangTuple.h: new file for word + language code tuple
9759
9760         * SpellBase.h:
9761         * pspell.h:
9762         * pspell.C:
9763         * ispell.h:
9764         * ispell.C:
9765         * lyxtext.h:
9766         * text.C:
9767         * text2.C:
9768         * BufferView.h:
9769         * BufferView2.C: use WordLangTuple
9770
9771         * layout.h:
9772         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9773
9774 2002-08-06  John Levon  <levon@movementarian.org>
9775
9776         * lyx_main.C: fix cmdline batch handling
9777
9778 2002-08-06  André Pönitz <poenitz@gmx.net>
9779
9780         * lyxrc.C: set default for show_banner to true
9781
9782 2002-08-06  John Levon  <levon@movementarian.org>
9783
9784         * pspell.C: fix a crash, and allow new aspell to work
9785
9786 2002-08-06  John Levon  <levon@movementarian.org>
9787
9788         * lyxfunc.C:
9789         * kbmap.C: small cleanup
9790
9791         * vspace.h:
9792         * vspace.C: add const
9793
9794 2002-08-05  John Levon  <levon@movementarian.org>
9795
9796         * LyXAction.C: back to tabular-insert
9797
9798 2002-08-04  John Levon  <levon@movementarian.org>
9799
9800         * BufferView.h:
9801         * BufferView.C: cosmetic change
9802
9803         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9804
9805         * bufferlist.C:
9806         * buffer.h:
9807         * buffer.C:
9808         * lyxcb.h:
9809         * lyxcb.C:
9810         * lyxserver.C:
9811         * lyxvc.C:
9812         * vc-backend.C:
9813         * BufferView2.C: purge all "Lyx" not "LyX" strings
9814
9815         * lyxcursor.h:
9816         * lyxcursor.C: attempt to add some documentation
9817
9818         * lyxfunc.C:
9819         * commandtags.h:
9820         * LyXAction.C:
9821         * ToolbarDefaults.C:
9822         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9823           merge with LFUN_TABULAR_INSERT
9824
9825         * Makefile.am:
9826         * SpellBase.h:
9827         * ispell.h:
9828         * ispell.C:
9829         * pspell.h:
9830         * pspell.C: split up i/pspell implementations into separate
9831           files, many cleanups
9832
9833         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9834
9835         * text2.C: some cleanup
9836
9837         * lyxfunc.C: don't check for isp_command == "none" any more, it
9838           didn't make any sense
9839
9840 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9841
9842         * counters.[Ch]
9843         * text2.C
9844         * paragraph.[Ch]
9845         * makefile.am: move counters functionality over
9846         from text2.C/paragraph.[Ch] to counters.[Ch], and
9847         make proper C++.
9848 2002-08-02  John Levon  <levon@movementarian.org>
9849
9850         * buffer.C: s/lyxconvert/lyx2lyx/
9851
9852 2002-08-02  Angus Leeming  <leeming@lyx.org>
9853
9854         * lyxlex.C: revert John's change as it breaks reading of the user
9855         preamble.
9856
9857 2002-08-02  Angus Leeming  <leeming@lyx.org>
9858
9859         * importer.C (Import):
9860         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9861         changes due to LyXView::view() now returning a boost::shared_ptr.
9862
9863 2002-08-02  John Levon  <levon@movementarian.org>
9864
9865         * lyxlex.C: small cleanup
9866
9867 2002-08-02  John Levon  <levon@movementarian.org>
9868
9869         * text2.C (status): small cleanup, no logic change
9870
9871 2002-08-01  John Levon  <levon@movementarian.org>
9872
9873         * buffer.h:
9874         * buffer.C (writeFile): don't output alerts, caller
9875           handles this
9876
9877         * bufferlist.C:
9878         * lyx_cb.C: from above
9879
9880         * lyxfunc.C: allow to open non-existent files
9881
9882 2002-07-31  John Levon  <levon@movementarian.org>
9883
9884         * lyxserver.C: don't let incidental errors get
9885           in the way (errno)
9886
9887 2002-07-30  John Levon  <levon@movementarian.org>
9888
9889         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9890
9891 2002-07-30  John Levon  <levon@movementarian.org>
9892
9893         * lyxserver.h:
9894         * lyxserver.C: remove I/O callback too
9895
9896 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9899         log.
9900
9901 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9902
9903         * many files: strip,frontStrip -> trim,ltrim,rtrim
9904
9905 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9906
9907         * PrinterParams.h: remove extern containsOnly, and include
9908         support/lstrings.h instead.
9909
9910         * LaTeX.C (scanAuxFile): modify because of strip changes
9911         (deplog): ditto
9912         * buffer.C (makeLaTeXFile): ditto
9913         * bufferparams.C (writeFile): ditt
9914         * lyxfont.C (stateText): ditto
9915         * lyxserver.C (read_ready): ditto
9916         * vc-backend.C (scanMaster): ditto
9917
9918         * BufferView_pimpl.h: ws changes
9919
9920         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9921
9922 2002-07-26  André Pönitz <poenitz@gmx.net>
9923
9924         * kb_sequence.C: remove unnedred usings
9925
9926 2002-07-26  Juergen Vigna  <jug@sad.it>
9927
9928         * lyxfind.C (LyXReplace): we have to check better if the returned
9929         text is not of theLockingInset()->getLockingInset().
9930
9931 2002-07-25  Juergen Vigna  <jug@sad.it>
9932
9933         * lyxfind.C (LyXReplace): don't replace if we don't get the
9934         right LyXText.
9935
9936         * undo_funcs.C (createUndo): remove debugging code.
9937
9938 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * buffer.C (parseSingleLyXformat2Token): Use default placement
9941         when reading old floats.
9942
9943         * FloatList.C (FloatList): Change the default placement of figure
9944         and tables to "tbp".
9945
9946 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9947
9948         * MenuBackend.C: using std::max
9949
9950 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * MenuBackend.C (expandToc):
9953         (expandToc2): code moved from xforms menu frontend. It is now
9954         generic and TOCs are transparent to menu frontends.
9955
9956 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * toc.C (getTocList): protect against buf=0
9959
9960         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9961         Menu as first parameter. Now, this calls itself recursively to
9962         expand a whole tree (this will be useful for TOC handling)
9963         (expandFloatInsert): remove 'wide' version of floats
9964
9965         * MenuBackend.h (submenuname): returns the name of the submenu.
9966         (submenu): returns the submenu itself, provided it has been
9967         created by MenuBackend::expand
9968
9969 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9972         insets which have noFontChange == true. (bug #172)
9973
9974 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * BufferView_pimpl.C: add connection objects and use them...
9977         (Pimpl): here.
9978
9979 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * MenuBackend.C (expandLastfiles):
9982         (expandDocuments):
9983         (expandFormats):
9984         (expandFloatListInsert):
9985         (expandFloatInsert):
9986         (expand): split expand in parts
9987
9988 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * lyx_gui.C: use lyx_gui::exit()
9991
9992 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * LyXAction.C: show the failing pseudo action
9995
9996 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9997
9998         * buffer.C (readFile): Run the lyxconvert script in order to read
9999         old files.
10000
10001 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10002
10003         * LyXAction.C:
10004         * commandtags.h:
10005         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10006
10007 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * LyXAction.C:
10010         * commandtags.h:
10011         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10012
10013 2002-07-22  Herbert Voss  <voss@lyx.org>
10014
10015         * lengthcommon.C:
10016         * lyxlength.[Ch]: add support for the vertical lengths
10017
10018 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * toc.[Ch]: std:: fixes
10021
10022 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * lyxrc.C: do not include lyx_main.h
10025
10026         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10027         for layouts
10028
10029         * lyxrc.C:
10030         * encoding.C:
10031         * bufferlist.C:
10032         * BufferView2.C: include "lyxlex.h"
10033
10034         * tabular.h:
10035         * bufferparams.h: do not #include "lyxlex.h"
10036
10037         * lyxtextclasslist.C (Add): remove method
10038         (classlist): renamed to classlist_
10039
10040         * paragraph_pimpl.C:
10041         * paragraph.C:
10042         * text2.C:
10043         * CutAndPaste.C:
10044         * bufferview_funcs.C:
10045         * bufferlist.C:
10046         * text.C:
10047         * LaTeXFeatures.C:
10048         * buffer.C:
10049         * toc.C (getTocList): use BufferParams::getLyXTextClass
10050
10051         * toc.C (getTocList): use InsetFloat::addToToc
10052
10053         * toc.[Ch]: new files, containing helper functions to handle table
10054         of contents
10055
10056         * lyxfunc.C (dispatch): no need to remove spaces around command
10057         given as a string
10058         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10059         first command of the sequence; it is not very clever, but I do not
10060         have a better idea, actually
10061
10062         * LyXAction.C (LookupFunc): make sure to remove space at the
10063         beginning and end of the command
10064
10065 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * MenuBackend.C (getMenubar): new method: return the menubar of
10068         this menu set
10069         (read): treat differently reading of menu and menubar (in
10070         particular, the menubar has no name now)
10071         (Menu::menubar): remove
10072
10073         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10074         saving is finished
10075
10076 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10077
10078         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10079         a bibitem inset in a RTL paragraph.
10080
10081 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * paragraph_pimpl.C: constify
10084
10085         * BufferView_pimpl.C:
10086         * LaTeX.C:
10087         * lyxfunc.C: fix dispatch in a nicer way
10088
10089 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * lyxfunc.C (dispatch):
10092         * BufferView_pimpl.C:
10093         * BufferView_pimpl.h:
10094         * BufferView.C:
10095         * BufferView.h: rename Dispatch() to dispatch()
10096
10097         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10098
10099         * lyxlayout.C (Read): honor DependsOn tag
10100
10101         * lyxlayout.[Ch] (depends_on): new method
10102
10103         * version.C.in: update lyx_docversion
10104
10105         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10106
10107         * paragraph.C (validate): remove from here...
10108         * paragraph_pimpl.C (validate): ... and move here
10109         (isTextAt): make it const
10110
10111         * buffer.C (getLists): ws cleanup
10112
10113 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10114
10115         * language.C (read): Use iso8859-1 encoding in latex_lang
10116         (this prevents LyX from crashing when using iso10646-1 encoding).
10117
10118 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * text2.C (toggleInset): if cursor is inside an inset, close the
10121         inset and leave cursor _after_ it
10122
10123 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * lyxfunc.C: move minibuffer completion handling out of here
10126
10127 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * BufferView_pimpl.C:
10130         * LaTeX.C: fix dispatch calls
10131
10132 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10133
10134         * text.C (drawChars): Fix Arabic text rendering.
10135
10136 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * LyXAction.C:
10139         * commandtags.h:
10140         * lyxfunc.C: remove message-push/pop
10141
10142         * lyxserver.C:
10143         * lyxfunc.h:
10144         * lyxfunc.C: rationalise some code by removing verboseDispatch
10145           in favour of a bool argument to dispatch()
10146
10147 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * lyx_main.C (init): make sure to read symlinks as absolute paths
10150
10151 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * lyxfunc.h:
10154         * lyxfunc.C: no need for commandshortcut to be a member
10155
10156 2002-07-15  André Pönitz <poenitz@gmx.net>
10157
10158         * converter.C: add support for $$s (scripts from lib/scripts dir)
10159         * lyx_main.C: white space
10160
10161 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * bufferlist.C:
10164         * lyxrc.h:
10165         * lyxrc.C: remove second exit confirmation
10166
10167 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * BufferView.h:
10170         * BufferView.C:
10171         * BufferView2.C:
10172         * BufferView_pimpl.h:
10173         * BufferView_pimpl.C:
10174         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10175
10176 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * MenuBackend.C (expand): add numeric shortcuts to document menu
10179
10180         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10181
10182 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * lyxfont.C (setLyXFamily):
10185         (setLyXSeries):
10186         (setLyXShape):
10187         (setLyXSize):
10188         (setLyXMisc):
10189         (lyxRead):
10190         * debug.C (value):
10191         * buffer.C (asciiParagraph): use ascii_lowercase
10192
10193 2002-07-15  Mike Fabian  <mfabian@suse.de>
10194
10195         * lyxlex_pimpl.C (search_kw):
10196         * lyxlex.C (getLongString):
10197         * converter.h (operator<):
10198         * converter.C (operator<):
10199         * buffer.C (parseSingleLyXformat2Token):
10200         (asciiParagraph):
10201         * ToolbarDefaults.C (read):
10202         * MenuBackend.C (checkShortcuts):
10203         (read):
10204         * LColor.C (getFromGUIName):
10205         (getFromLyXName): use the compare_ascii_no_case instead of
10206         compare_no_case, because in turkish, 'i' is not the lowercase
10207         version of 'I', and thus turkish locale breaks parsing of tags.
10208
10209 2002-07-16  Angus Leeming  <leeming@lyx.org>
10210
10211         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10212         now takes a Buffer const & argument.
10213
10214 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * BufferView.C (resize): check there's a buffer to resize
10217
10218 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * lyxfunc.C: remove dead code
10221
10222         * lyxserver.h:
10223         * lyxserver.C: use lyx_guii::set_read_callback
10224
10225 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10226
10227         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10228         an inset in a RTL paragraph.
10229
10230 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyxfunc.C: repaint after a font size update
10233
10234 2002-07-15  André Pönitz <poenitz@gmx.net>
10235
10236         * lyxlength.C: inBP should be able to return negative values
10237
10238 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfunc.C: use lyx_gui::update_fonts()
10241
10242 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * lyxfunc.C: use lyx_gui::update_color()
10245
10246 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * bufferlist.C:
10249         * lyxfunc.h:
10250         * lyxfunc.C:
10251         * lyxrc.h:
10252         * lyxrc.C: remove file->new asks for name option, and let
10253           buffer-new take an argument
10254
10255 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * BufferView_pimpl.C: remove unneeded extra repaint()
10258
10259 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * LyXAction.C: allow command-sequence with NoBuffer
10262
10263         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10264
10265 2002-07-10  Angus Leeming  <leeming@lyx.org>
10266
10267         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10268
10269 2002-07-09  Angus Leeming  <leeming@lyx.org>
10270
10271         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10272
10273 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * lengthcommon.h: whitespace
10276
10277         * lyxfunc.C: update scrollbar after goto paragraph
10278
10279         * lyxtext.h: factor out page break drawing, and fix it so
10280           page break/added space paints as selected nicely
10281
10282 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * BufferView_pimpl.C: add FIXMEs, clean up a little
10285
10286 2002-07-09  André Pönitz <poenitz@gmx.net>
10287
10288         * lyxfont.[Ch]: support for wasy symbols
10289
10290 2002-07-08  André Pönitz <poenitz@gmx.net>
10291
10292         * BufferView_pimpl.C: apply John's patch for #93.
10293
10294 2002-07-05  Angus Leeming  <leeming@lyx.org>
10295
10296         * BufferView_pimpl.C (buffer): generate previews if desired.
10297
10298         * LColor.h: add "preview" to the color enum.
10299
10300         * LColor.C (LColor): add a corresponding entry to the items array.
10301
10302         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10303         with this buffer.
10304
10305 2002-07-05  Angus Leeming  <leeming@lyx.org>
10306
10307         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10308         The body of the code is now in the method that is passed an ostream &
10309         rather than a file name.
10310         Pass an additional only_preamble parameter, useful for the forthcoming
10311         preview stuff.
10312
10313 2002-07-03  André Pönitz <poenitz@gmx.net>
10314
10315         * lyxfunc.C: simplify getStatus() a bit for math stuff
10316
10317 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10318
10319         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10320
10321 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * text.C (changeRegionCase): do not change case of all the
10324         document when region ends at paragraph end (bug #461)
10325
10326 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * paragraph.C (startTeXParParams):
10329         (endTeXParParams): add \protect when necessary
10330
10331 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * BufferView_pimpl.C (workAreaExpose): remove warning
10334
10335 2002-06-27  Angus Leeming  <leeming@lyx.org>
10336
10337         * Makefile.am: add lyxlayout_ptr_fwd.h.
10338
10339 2002-06-26  André Pönitz <poenitz@gmx.net>
10340
10341         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10342
10343 2002-06-25  Angus Leeming  <leeming@lyx.org>
10344
10345         * lyxfunc.C (dispatch): Comment out the call to
10346         grfx::GCache::changeDisplay. The method no longer exists now that the
10347         pixmap generation part of the graphics loader has been moved into
10348         InsetGraphics.
10349
10350 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * text2.C: layout as layout
10353
10354         * text.C: layout as layout
10355
10356         * tabular.C (OldFormatRead): layout as layout
10357
10358         * paragraph_pimpl.C (TeXDeeper): layout as layout
10359         (realizeFont): layout as layout
10360
10361         * paragraph.C (writeFile): layout as layout
10362         (validate): layout as layout
10363         (getFont): layout as layout
10364         (getLabelFont): layout as layout
10365         (getLayoutFont): layout as layout
10366         (breakParagraph): layout as layout
10367         (stripLeadingSpaces): layout as layout
10368         (getEndLabel): layout as layout
10369         (getMaxDepthAfter): layout as layout
10370         (applyLayout): layout as layout
10371         (TeXOnePar): layout as layout
10372         (simpleTeXOnePar): layout as layout
10373         (TeXEnvironment): layout as layout
10374         (layout): layout as layout
10375         (layout): layout as layout
10376
10377         * lyxtextclass.C (compare_name): new functor to work with
10378         shared_ptr, layout as layout
10379         (Read): layout as layout
10380         (hasLayout): layout as layout
10381         (operator): layout as layout
10382         (delete_layout): layout as layout
10383         (defaultLayout): layout as layout
10384
10385         * lyxlayout_ptr_fwd.h: new file
10386
10387         * lyxlayout.C (Read): layout as layout
10388
10389         * lyx_cb.C (MenuInsertLabel): layout as layout
10390
10391         * bufferlist.C (newFile): layout as layout
10392
10393         * buffer.C (readLyXformat2): layout as layout
10394         (parseSingleLyXformat2Token): layout as layout
10395         (insertStringAsLines): layout as layout
10396         (asciiParagraph): layout as layout
10397         (latexParagraphs): layout as layout
10398         (makeLinuxDocFile): layout as layout
10399         (simpleLinuxDocOnePar): layout as layout
10400         (makeDocBookFile): layout as layout
10401         (simpleDocBookOnePar): layout as layout
10402         (getLists): layout as layout
10403
10404         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10405
10406         * CutAndPaste.C (cutSelection): layout as layout
10407         (pasteSelection): layout as layout
10408         (SwitchLayoutsBetweenClasses): layout as layout
10409
10410         * BufferView_pimpl.C (Dispatch): layout as layout
10411         (smartQuote): layout as layout
10412
10413         * BufferView2.C (unlockInset): layout as layout
10414
10415 2002-06-24  André Pönitz <poenitz@gmx.net>
10416
10417         * lyxfunc.C: fix #487
10418
10419 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * lyxrc.h:
10422         * lyxrc.C:
10423         * lyxfunc.C: remove display_shortcuts, show_banner
10424
10425 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * Buffer_pimpl.C: oops, update on resize
10428
10429 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * buffer.C:
10432         * converter.C:
10433         * exporter.C:
10434         * lyxfunc.C:
10435         * BufferView.h:
10436         * BufferView.C: use repaint()
10437
10438         * BufferView_pimpl.h:
10439         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10440           as it's a clearer description. Remove superfluous
10441           redraws.
10442
10443 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * text.C: fix bug 488. Not ideal, but getting
10446           getWord() to work properly for the insets that
10447           matter is more difficult ...
10448
10449 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView_pimpl.C:
10452         * LyXAction.C:
10453         * commandtags.h:
10454         * lyxfunc.C: remove the six million index lyxfuncs to just
10455           one, and DTRT (bug 458)
10456
10457 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * BufferView.h:
10460         * BufferView.C:
10461         * BufferView_pimpl.h:
10462         * BufferView_pimpl.C: clean up resize() stuff,
10463           and unnecessary updateScreen()s
10464
10465 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView.h:
10468         * BufferView.C:
10469         * BufferView_pimpl.h:
10470         * BufferView_pimpl.C:
10471         * lyxfind.h:
10472         * lyxfind.C:
10473         * minibuffer.C: remove focus management of workarea,
10474           not needed. Use screen's greyOut()
10475
10476 2002-06-17  Herbert Voss  <voss@lyx.org>
10477
10478         * converter.C: (convert) do not post a message, when converting
10479         fails, let the calling function decide what to do in this case
10480
10481 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * lyxfunc.C: tidy up a little
10484
10485 2002-06-16    <alstrup@diku.dk>
10486
10487         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10488         Got rid of FORMS_H_LOCATION include. Now we are
10489         GUII.
10490
10491 2002-06-15  LyX Development team  <lyx@rilke>
10492
10493         * buffer.[Ch] (sgmlOpenTag):
10494         (sgmlCloseTag): Added support for avoiding pernicious mixed
10495         content. Return number of lines written.
10496
10497         (makeLinuxDocFile):
10498         (makeDocBookFile): Fixed calls to sgml*Tag.
10499         Simple white space clean.
10500
10501         (simpleDocBookOnePar): Simple white space clean.
10502
10503         * tabular.[Ch] (docBook): Renamed to docbook and got another
10504         argument to related with the pernicious mixed content.
10505
10506         (docbookRow): Fixed calls for docbook inset method.
10507
10508 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10509
10510         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10511         so it's X11 independent.
10512
10513         * kb*.[Ch]: ditto.
10514
10515         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10516
10517 2002-06-15  Lyx Development team  <lyx@electronia>
10518
10519         * intl.h: Renamed getTrans to getTransManager.
10520
10521 2002-06-14  Angus Leeming  <leeming@lyx.org>
10522
10523         * Makefile.am: nuke forgotten stl_string_fwd.h.
10524
10525 2002-06-12  Angus Leeming  <leeming@lyx.org>
10526
10527         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10528
10529 2002-06-13  Angus Leeming  <leeming@lyx.org>
10530
10531         * LaTeX.C:
10532         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10533
10534 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10535
10536         * kbmap.C (getiso): add support for cyrillic and greek
10537
10538 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * BufferView.h:
10541         * BufferView.C:
10542         * BufferView_pimpl.h:
10543         * BufferView_pimpl.C: move bogus scrolling logic
10544           to xforms
10545
10546 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * lyxfunc.C:
10549         * BufferView_pimpl.C: view->resize() change
10550
10551 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * BufferView_pimpl.C: topCursorVisible
10554           prototype change
10555
10556 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * Makefile.am:
10559         * lyx_gui.h:
10560         * lyx_gui.C: move to frontends/
10561
10562         * main.C:
10563         * lyx_main.h:
10564         * lyx_main.C: changes from above
10565
10566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * intl.C:
10569         * intl.h:
10570         * kbmap.C:
10571         * kbsequence.C:
10572         * lyx_cb.C:
10573         * lyx_main.C: minor tidy
10574
10575 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * BufferView_pimpl.h:
10578         * BufferView_pimpl.C:
10579         * BufferView.h:
10580         * BufferView.C: make painter() const,
10581           remove dead code
10582
10583         * BufferView2.C: use screen() accessor
10584
10585         * lyx_main.h:
10586         * lyx_main.C: some minor cleanup
10587
10588 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView_pimpl.h:
10591         * BufferView_pimpl.C: remove enter/leaveView,
10592           use workHeight()
10593
10594 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * BufferView.h:
10597         * BufferView.C:
10598         * BufferView2.C:
10599         * BufferView_pimpl.h:
10600         * BufferView_pimpl.C: only construct screen once,
10601           rename
10602
10603         * lyxrc.C: remove pointless comment
10604
10605 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * BufferView.h:
10608         * BufferView.C: remove active() and belowMouse()
10609
10610         * BufferView_pimpl.h:
10611         * BufferView_pimpl.C: use workarea() not workarea_,
10612           and make it use a scoped_ptr instead
10613
10614 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * lyx_gui.C: add debug message on BadWindow
10617
10618 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10619
10620         * sp_spell.C: fdopen is not part of the C++ standard.
10621
10622         * paragraph.C (InsetIterator): use >= instead of ==
10623
10624 2002-06-07  Angus Leeming  <leeming@lyx.org>
10625
10626         Fixes needed to compile with Compaq cxx 6.5.
10627         * BufferView_pimpl.C:
10628         * DepTable.C:
10629         * buffer.C:
10630         * converter.C:
10631         * encoding.C:
10632         * lyx_gui.C:
10633         * lyx_main.C:
10634         * lyxtextclasslist.C:
10635         * minibuffer.C:
10636         * sp_spell.C:
10637         * tabular_funcs.C:
10638         * vc-backend.C:
10639         all c-library variables have been moved into namespace std. Wrap
10640         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10641
10642         * lyxlength.C:
10643         * tabular-old.C:
10644         * tabular.C:
10645         Add a using std::abs declaration.
10646
10647         * kbmap.h (modifier_pair):
10648         * paragraph.h (InsetTable, InsetList):
10649         * lyxfont.h (FontBits):
10650         type definition made public.
10651
10652         * bufferlist.C (emergencyWriteAll): the compiler complains that
10653         there is more than one possible lyx::class_fun template to choose from.
10654         I re-named the void specialisation as lyx::void_class_fun.
10655
10656         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10657
10658         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10659         the compiler is is unable to find tostr in write_attribute.
10660
10661 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * buffer.C (sgmlError): hide #warning
10664
10665 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * xtl/*: get rid of xtl, which is not in use anyway
10668
10669         * LyXAction.C (init):
10670         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10671         were unimplemented xtl experimentation
10672
10673 2002-06-04  André Pönitz <poenitz@gmx.net>
10674
10675         * lyxfunc.C: disable array operation on simple formulae
10676
10677 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * converter.C: constify a bit
10680
10681 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * lyx_gui.C: check xforms version correctly
10684
10685 2002-04-30  Herbert Voss  <voss@lyx.org>
10686
10687         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10688         "keep" option
10689
10690 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10693           attempt to register it with a VCS)
10694
10695 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10696
10697         * lyx_main.C (init): honor variables LYX_DIR_13x and
10698         LYX_USERDIR_13x
10699
10700 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * buffer.h:
10703         * buffer.C:
10704         * lyx_main.C: fix a crash on bad command line,
10705           and give a useful exit status on error
10706
10707         * lyxfunc.C (doImport): allow -i lyx to work
10708
10709 2002-03-30  André Pönitz <poenitz@gmx.net>
10710
10711         * lyxfunc.C: mathed font changes
10712
10713 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * LaTeX.C:
10716         * importer.h:
10717         * importer.C:
10718         * lyx_sty.h:
10719         * lyx_sty.C:
10720         * lyxlex.C:
10721         * lyxrow.h:
10722         * lyxtext.h:
10723         * paragraph.h:
10724         * paragraph.C:
10725         * texrow.h:
10726         * texrow.C:
10727         * text.C:
10728         * trans_mgr.h: srcdocs, and some minor cleanups
10729
10730 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10733         call getFont all the time)
10734
10735 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * switch from SigC signals to boost::signals
10738
10739 2002-05-29  André Pönitz <poenitz@gmx.net>
10740
10741         * paragraph_pimpl.C (getChar): don't call size() too often...
10742
10743 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10744
10745         * paragraph_pimpl.C (insertChar): do not try to update tables when
10746         appending (pos == size())
10747
10748         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10749         in order to reduce drastically the number of comparisons needed to
10750         parse a large document
10751
10752 2002-05-29  André Pönitz <poenitz@gmx.net>
10753
10754         * text.C:
10755         * text2.C:
10756         * lyxtextclass.C:
10757         * sp_pspell.h:
10758         * textclasslist.[Ch]:
10759         * sp_ispell.h: whitespace change
10760
10761 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10762
10763         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10764         lyxaction directly now.
10765
10766 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * trans.C:
10769         * lyxfont.C:
10770         * lyxvc.C: remove unused headers
10771
10772 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * Makefile.am:
10775         * buffer.h:
10776         * undostack.h:
10777         * undostack.C:
10778         * undo_funcs.h:
10779         * undo_funcs.C: some cleanups. Use shared_ptr
10780           and a template for the undo stacks.
10781
10782 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * BufferView_pimpl.h:
10785         * BufferView_pimpl.C:
10786         * kbmap.h:
10787         * kbmap.C:
10788         * kbsequence.h:
10789         * kbsequence.C:
10790         * lyxfunc.h:
10791         * lyxfunc.C:
10792         * text2.C: use key_state/mouse_state
10793
10794 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10797         and LSubstring
10798
10799         * chset.C: change include order
10800         (loadFile): use boost regex and get rid of LRegex and LSubstring
10801
10802         * Makefile.am (BOOST_LIBS): new variable
10803         (lyx_LDADD): use it
10804
10805         * LaTeX.C: change include order.
10806         (scanAuxFile): use boost regex and get rid of LRegex and
10807         LSubstring
10808         (deplog): ditto
10809
10810 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10811
10812         * ColorHandler.h:
10813         * ColorHandler.C:
10814         * FontInfo.h:
10815         * FontInfo.C: moved to frontends/xforms/
10816
10817         * FontLoader.h:
10818         * FontLoader.C: moved into frontends for GUIIzation
10819
10820         * Makefile.am:
10821         * lyx_gui.C:
10822         * lyxfont.C:
10823         * lyxfunc.C: changes from above
10824
10825 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * LColor.C: remove spurious X include
10828
10829         * BufferView_pimpl.C:
10830         * Makefile.am:
10831         * font.h:
10832         * font.C:
10833         * text.C:
10834         * text2.C: move font metrics to frontends/
10835
10836 2002-05-24  Juergen Vigna  <jug@sad.it>
10837
10838         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10839         setting the undo_cursor.
10840
10841         * ParagraphParameters.h: include local includes first.
10842
10843 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * BufferView_pimpl.C:
10846         * BufferView_pimpl.h:
10847         * Makefile.am:
10848         * WorkArea.h:
10849         * WorkArea.C:
10850         * screen.C: move WorkArea into frontends/
10851
10852         * lyxscreen.h:
10853         * screen.C:
10854         * text.C:
10855         * BufferView.C:
10856         * BufferView2.C: move LyXScreen into frontends/
10857
10858         * lyxlookup.h:
10859         * lyxlookup.C:
10860         * lyx_gui.C: move lyxlookup into frontends/xforms/
10861
10862 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * BufferView2.C:
10865         * BufferView_pimpl.C:
10866         * FontLoader.C:
10867         * LyXView.h:
10868         * LyXView.C:
10869         * Makefile.am:
10870         * WorkArea.C:
10871         * XFormsView.h:
10872         * XFormsView.C:
10873         * buffer.C:
10874         * bufferlist.C:
10875         * bufferview_funcs.C:
10876         * converter.C:
10877         * importer.C:
10878         * lyx_cb.C:
10879         * lyx_gui.C:
10880         * lyx_main.C:
10881         * lyx_find.C:
10882         * lyxfunc.C:
10883         * lyxvc.C:
10884         * minibuffer.C:
10885         * text.C:
10886         * text2.C:
10887         * trans.C:
10888         * vc-backend.C: move LyX/XFormsView into frontends/
10889
10890 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10891
10892         * Makefile.am:
10893         * PainterBase.C:
10894         * PainterBase.h:
10895         * Painter.C:
10896         * Painter.h:
10897         * WorkArea.C:
10898         * WorkArea.h:
10899         * screen.C:
10900         * tabular.C:
10901         * text.C:
10902         * text2.C: move Painter to frontends/
10903
10904 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * buffer.C: comment out some some code that depend upon lyx_format
10907         < 220
10908
10909         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10910         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10911
10912         * buffer.h (NO_COMPABILITY): turn off compability
10913
10914         * ColorHandler.C: include scoped_array.hpp
10915
10916         * font.C: Use more specific smart_ptr header.
10917         * Painter.C: ditto
10918         * gettext.C: ditto
10919         * ShareContainer.h: ditto
10920         * lyx_main.h: ditto
10921         * kbmap.h: ditto
10922         * FontInfo.h: ditto
10923         * BufferView_pimpl.h: ditto
10924         * ColorHandler.h: ditto
10925
10926         * kbmap.C (defkey): change call to shared_ptr::reset
10927
10928 2002-05-21  Juergen Vigna  <jug@sad.it>
10929
10930         * buffer.C (insertErtContents): fix to insert ert asis if it is
10931         non empty. Skip it completely if it contains only whitespaces.
10932
10933 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * BufferView_pimpl.C:
10936         * BufferView2.C: clear selection on paste (bug 393)
10937
10938 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * DepTable.C: include ctime
10941
10942 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10945
10946 2002-05-14  Juergen Vigna  <jug@sad.it>
10947
10948         * text.C (breakParagraph): fixed function to honor the keepempty
10949         layout in the right maner and also to permit the right breaking
10950         algorithm on empty or non empyt keepempty paragraphs.
10951
10952         * paragraph.C (breakParagraph): we have to check also if the par
10953         is really empty (!size()) for isempty otherwise we do the wrong
10954         paragraph break.
10955
10956 2002-05-10  Juergen Vigna  <jug@sad.it>
10957
10958         * buffer.[Ch] : The following are only changes to the ert
10959         compatibility read reading old LaTeX layout and font stuff and
10960         convert it to ERTInsets.
10961
10962         * buffer.h: added isErtInset().
10963
10964         * buffer.C (struct ErtComp): add a fromlayout bool to check
10965         if we're inside a LaTeX layout.
10966         (isErtInset): new helper function.
10967         (insertErtContents): look for other ert insets before this one
10968         and insert the contents there, so that we don't have subsequent
10969         ERT insets with nothing between them. This way we create only one
10970         inset with multiple paragraphs. Also check if we don't insert only
10971         spaces ' ' as they are ignored anyway afterwards in the .tex file
10972         so if we have only spaces we will ignore this latex part in the
10973         new file.
10974         (parseSingleLyXformat2Token \\layout): better compatibility when
10975         reading layout-latex stuff.
10976         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10977         language tag.
10978         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10979         stuff after reading the inset only get the information back from
10980         the stack.
10981
10982 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10983
10984         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10985
10986         * LaTeXFeatures.C (getBabelOptions): New method.
10987
10988 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * BufferView_pimpl.C (Dispatch): work around missing argument for
10991         'layout'
10992
10993 2002-05-08  Juergen Vigna  <jug@sad.it>
10994
10995         * text.C (leftMargin): handle paragraph leftindent.
10996
10997         * paragraph.C (writeFile): write the new \\leftindent tag.
10998         (validate): handle leftindent code.
10999         (TeXEnvironment): handle paragraphleftindent code again.
11000
11001         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11002
11003         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11004         for paragrap_extra indent code and new token \\leftindent.
11005         (latexParagraphs): handle the leftindent as environment.
11006
11007         * ParameterStruct.h: added leftindent support.
11008
11009         * ParagraphParameters.C (leftIndent): added support functions for
11010         the paragraph left indent.
11011
11012         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11013         more appropriate.
11014
11015 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11016
11017         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11018         inside insetERT.
11019
11020         * text.C (computeBidiTables): No bidi in insetERT.
11021
11022         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11023         in RTL documents.
11024
11025 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11026
11027         * version.C.in: pre 5
11028
11029 2002-05-02  José Matos  <jamatos@fep.up.pt>
11030         * buffer.C (makeDocBookFile): white space changes, add newline to
11031         command styles.
11032         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11033
11034         * tabular.C (docBook): fix typo.
11035
11036 2002-05-03  Juergen Vigna  <jug@sad.it>
11037
11038         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11039         change in LyXText as we can not be sure it was not freed.
11040         (drawOneRow): remove unused code.
11041
11042         * text.C (drawInset): redo the calculation of the need_break_row as
11043         it could have a row which was already freed.
11044         (draw): look at the return value of drawInset and return false if
11045         it also returned false.
11046         (paintRowText): look at the return value of draw and return false if
11047         it also returned false.
11048
11049         * lyxtext.h: added bool return type to drawInset() and draw() so that
11050         if we have a change in the row so that the rowbreak has to be redone
11051         we abort drawing as it will be called again.
11052
11053 2002-05-02  Juergen Vigna  <jug@sad.it>
11054
11055         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11056         a change in the maintext also if we're inside an inset.
11057         (Dispatch): set the cursor again after a break line and after the
11058         screen has been updated as it could be we're in a different row.
11059
11060         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11061         to set the cursor behind the pargraph with > size().
11062         (setCursor): check also for the same paragraph when checking where
11063         to put the cursor if we have a NFR inset.
11064
11065         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11066         parts of layout read further up as it still was in the wrong
11067         position.
11068
11069 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * screen.C (drawFromTo): change sine fullRebreak always return
11072         true.
11073
11074         * buffer.C (parseSingleLyXformat2Token): reindent some
11075
11076         * BufferView_pimpl.C (update): change since fullRebreak always
11077         return true.
11078         (Dispatch): git rid of the last hardcoded "Standard"s.
11079
11080 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * text2.[Ch] (fullRebreak): make it return void now that we always
11083         returned true.
11084
11085 2002-04-30  Juergen Vigna  <jug@sad.it>
11086
11087         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11088         ert compatibility check for "latex" layout.
11089
11090 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11091
11092         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11093         minipages: use col% instead of p%, and also use the current font.
11094         (makeLaTeXFile): Fix use babel condition.
11095         (parseSingleLyXformat2Token): Correct font when reading old floats.
11096
11097 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11098
11099         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11100         inserting list of floats.
11101
11102 2002-04-25  Herbert Voss  <voss@lyx.org>
11103
11104         * MenuBackend.C (expand): don't add the graphics extensions to the
11105         export menu
11106
11107 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11110         non-existing layout, do not complain if it was the default layout
11111         of the original class (bug #342)
11112
11113 2002-04-24  Juergen Vigna  <jug@sad.it>
11114
11115         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11116         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11117
11118 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11119
11120         * buffer.C (getBibkeyList): If using \bibliography, return the
11121         option field with the reference itself. Enables us to provide natbib
11122         support when using \bibliography.
11123
11124 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11125
11126         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11127
11128         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11129         natbib is provided by the LaTeX class.
11130
11131 2002-04-23  Juergen Vigna  <jug@sad.it>
11132
11133         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11134         Wakeup functions.
11135
11136         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11137
11138 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11141
11142         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11143         ensuremath around textordmasculine, textordfeminine and
11144         textdegree.
11145
11146 2002-04-19  Juergen Vigna  <jug@sad.it>
11147
11148         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11149         reinitializing the buffer otherwise row-dimensions may be wrong.
11150         (update): reset also the selection cursors if they do exits otherwise
11151         their x/y positions may be wrong.
11152
11153         * text2.C (cursorDown): don't enter the inset if we came from a row
11154         above and are one row over the inset.
11155
11156         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11157         really leaving an inset.
11158
11159 2002-04-18  Juergen Vigna  <jug@sad.it>
11160
11161         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11162         of the selected paragraph does not have the selected layout also if
11163         the last one had!
11164
11165         * text2.C (setLayout): fixed bug which did not change last selected
11166         paragraph.
11167
11168         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11169         changed the read and substituted \\end_float with \\end_inset!
11170
11171         * BufferView_pimpl.C (cursorPrevious):
11172         (cursorNext): fixed to make it work with rows heigher than the work
11173         area without moving the cursor only the draw of the row.
11174         (workAreaMotionNotify): fix jumping over high rows.
11175
11176 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11179         Ressler.
11180
11181 2002-04-16  Juergen Vigna  <jug@sad.it>
11182
11183         * text2.C (setCursor): set also the irow().
11184         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11185         (cursorUp):
11186         (cursorDown): support for locking an inset if the x_fix value goes
11187         inside it. That way I can transverse insets too with cursor up/down.
11188
11189         * lyxrow.h: added irow helper function same as other (i) functions.
11190
11191         * BufferView_pimpl.C (cursorPrevious):
11192         (cursorNext): fixed for insets!
11193
11194 2002-04-15  Juergen Vigna  <jug@sad.it>
11195
11196         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11197         position otherwise it is wrong in some cases.
11198
11199         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11200         inside the inset before the call.
11201
11202 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11203
11204         * buffer.[Ch] (getBibkeyList): make it const.
11205
11206 2002-04-12  Juergen Vigna  <jug@sad.it>
11207
11208         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11209
11210         * text2.C (getCursorX): new helper function
11211         (setCursor): compute also ix_
11212         (setCursorFromCoordinates): set also ix.
11213
11214         * lyxcursor.h: added ix_ and helper functions.
11215
11216         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11217
11218         * buffer.C (insertStringAsLines): dont break paragraph if the this
11219         paragraph is inside an inset which does not permit it!
11220
11221         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11222         also with no chars on this paragraph.
11223         (paintRowText): only paint stuff if it's inside the workarea!
11224
11225         * paragraph.C (breakParagraph): honor keepempty flag and break the
11226         paragraph always below not above.
11227
11228         * BufferView2.C (unlockInset): update the paragraph layout on inset
11229         unlock as we changed paragraph in such a case.
11230
11231         * lyxfind.C (LyXFind): clear the former selection if not found!
11232
11233         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11234         again called in insertChar().
11235
11236         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11237         an inset which uses the whole row!
11238         (rightMargin): ditto.
11239         (insertChar): force a rebreak if we inserted an inset!
11240
11241 2002-03-28  Herbert Voss  <voss@lyx.org>
11242
11243         * lyxlength.[Ch]: add inBP() to get the right PS-point
11244         units (BigPoint). With inPixels we have rounding errors
11245
11246 2002-04-11  Juergen Vigna  <jug@sad.it>
11247
11248         * text2.C (setCursorFromCoordinates): set iy to the right value.
11249         (setCursor): add check if row->previous exists!
11250
11251         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11252         an old float_type as this was the case in the old code!
11253
11254         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11255
11256         * BufferView2.C (showLockedInsetCursor): use iy
11257         (fitLockedInsetCursor): ditto
11258
11259         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11260         locked insets as there we have the right value now.
11261
11262         * lyxcursor.C: added iy_ variable and iy functions to set to the
11263         baseline of cursor-y of the locked inset.
11264
11265         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11266         (setCursor): fixed for insets which need a full row.
11267
11268         * text.C (rowLastPrintable): don't ignore the last space when before
11269         an inset which needs a full row.
11270         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11271         as last character of a row when before a inset which needs a full row.
11272
11273 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * version.C.in: update date
11276
11277         * text2.C (fullRebreak): try to always return true and see what
11278         happens...
11279
11280 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * MenuBackend.C (expand): use Floating::listName
11283
11284         * FloatList.C (FloatList): add listName argument to the built-in
11285         floats
11286
11287         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11288         text associated with the float.
11289
11290 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11293
11294 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * ShareContainer.h: add a couple of missing typenames.
11297
11298 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11299
11300         * lyxrc.C (getDescription): use _() correctly rather than N_().
11301
11302 2002-03-28  Herbert Voss  <voss@lyx.org>
11303
11304         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11305         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11306
11307 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11310         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11311
11312 2002-03-29  Juergen Vigna  <jug@sad.it>
11313
11314         * lyxfunc.C (dispatch): add a missing fitCursor call.
11315
11316         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11317         it was scrolled by a cursor move, so return the bool status.
11318
11319         * BufferView.C (fitCursor): return the bool flag also to the outside
11320         world as this is needed.
11321
11322         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11323
11324         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11325         call the edit() as it is not needed (and wrong) IMO.
11326         (workAreaButtonPress): set the screen_first variable before evt.
11327         unlock the inset as this may change screen_first and then we have
11328         a wrong y position for the click!
11329
11330 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * MenuBackend.C (expand): another translation that I missed
11333
11334 2002-03-28  Juergen Vigna  <jug@sad.it>
11335
11336         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11337
11338         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11339
11340 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11343
11344         * MenuBackend.C (expand): fix export/view/update when there is no
11345         document open.
11346
11347 2002-03-27  Herbert Voss  <voss@lyx.org>
11348
11349         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11350         and text%
11351
11352 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * bufferview_funcs.C (currentState): only show paragraph number
11355         for is DEVEL_VERSION is set.
11356
11357         * lyxfunc.C (dispatch): put warning in INFO channel
11358
11359         * MenuBackend.C (expand): translate the name of floats
11360
11361         * FloatList.C (FloatList): mark the float names for translation
11362
11363         * converter.C (convert): use LibScriptSearch
11364
11365 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * MenuBackend.C (defaults): fix default menu (we might as well get
11368         rid of it...)
11369
11370 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11373         directory.
11374
11375 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * lyxvc.C: reorder includes.
11378
11379 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11382           properly
11383
11384 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * CutAndPaste.C: change layouts earlier on paste
11387           to avoid crashing when calling getFont()
11388
11389 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11392         irritating #error.
11393
11394 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * WorkArea.C: remove 'Pending' debug message.
11397
11398         * most files: ws cleanup
11399
11400         * buffer.[Ch]: ws changes
11401
11402         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11403
11404 2002-03-21  Juergen Vigna  <jug@sad.it>
11405
11406         * tabular.C (SetMultiColumn): collapse also the contents of the
11407         cells and set the last border right. Added a Buffer const * param.
11408
11409 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11412         linking or not.
11413
11414 2002-03-19  Juergen Vigna  <jug@sad.it>
11415
11416         * text2.C (clearSelection): reset also xsel_cache.
11417
11418         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11419         where it needs to be called (John tells us to do so too :)
11420         (selectionLost): reset sel_cache.
11421
11422         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11423
11424 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * text2.C (setCursorIntern): put debuging code in INSETS channel
11427
11428 2002-03-19  André Pönitz <poenitz@gmx.net>
11429
11430         * lyxfunc.C: tiny whitespace change
11431
11432 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11433
11434         * ToolbarDefaults.C (init):
11435         * LyXAction.C (init):
11436         * commandtags.h:
11437         * BufferView_pimpl.C (Dispatch):
11438         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11439
11440 2002-03-19  Allan Rae  <rae@lyx.org>
11441
11442         * exporter.C (Export): removeAutoInsets before doing anything else.
11443         While I've just introduced a dependency on BufferView this really is
11444         the best place to clean the buffer otherwise you need to cleanup in
11445         a dozen places before calling export or cleanup in a dozen functions
11446         that export calls.
11447
11448         * converter.C (runLaTeX):
11449         (scanLog): Better handling of removeAutoInsets and screen updates.
11450
11451         * lyxfunc.C (dispatch): small whitespace changes
11452
11453 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * WorkArea.C (C_WorkAreaEvent): return a value.
11456         (event_cb): return 1 if we handled the event, 0 otherwise.
11457
11458         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11459
11460 2002-03-18  Juergen Vigna  <jug@sad.it>
11461
11462         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11463         (GetAdditionalWidth): ditto.
11464         (RightLine): ditto.
11465         (LeftLine): ditto.
11466
11467         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11468         inset if we're there actually (probably not used right now but this
11469         is the direction to go for unifying code).
11470         (paste): disable code to clear the selection.
11471
11472         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11473         inside an InsetText and move the check further up as it is in the
11474         wrong place.
11475
11476         * text2.C (pasteSelection): set a selection over the pasted text.
11477
11478 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11479
11480         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11481         and libgraphics to build on Cygwin.
11482
11483 2002-03-15  Juergen Vigna  <jug@sad.it>
11484
11485         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11486         inserting an Inset into the paragraph. I know this is not the best
11487         fix but we already use current_view in CutAndPaste so we will remove
11488         all of it's using at the same time.
11489
11490         * buffer.C (sgmlError): deactivated function till it is rewritten in
11491         the right mode, now it can create problems.
11492
11493         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11494         before accessing it.
11495
11496 2002-03-14  Juergen Vigna  <jug@sad.it>
11497
11498         * undo_funcs.C (textHandleUndo): do the right thing when updating
11499         the inset after the undo/redo.
11500
11501         * text2.C (setCursor): just some testcode for #44 not ready yet.
11502
11503         * undo_funcs.C (textHandleUndo): set the next() and previous()
11504         pointers of the paragraph to 0 before deleting otherwise we have
11505         problems with the Paragraph::[destructor].
11506
11507         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11508         on a paragraph insertion.
11509
11510 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * buffer.C (asciiParagraph): use += operator for char append to
11513         string.
11514
11515         * paragraph.C (getFontSettings): compare >= not just >
11516         (highestFontInRange): ditto
11517         (setFont): ditto
11518
11519 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * paragraph.C: change several algorithm to be more appripriate for
11522         the problem domain. This is lookip in FontList and in the InsetList.
11523
11524 2002-03-13  André Pönitz <poenitz@gmx.net>
11525
11526         * commandtags.h:
11527         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11528
11529 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * commandtags.h:
11532         * LyXAction.C:
11533         * lyxfunc.C:
11534         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11535
11536 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * Painter.C (display): anon helper function, adjust code for this
11539         change.
11540         (pixmap): remove function.
11541
11542         * Painter.h: remove private display variable.
11543
11544         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11545
11546 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * WorkArea.[Ch]: remove figinset_canvas cruft.
11549
11550 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * lyxtextclass.C (operator): add one item cache optimization.
11553
11554         * bufferlist.h: doxy changes
11555
11556         * bufferlist.C: ws changes
11557
11558         * DepTable.[Ch] (ext_exist): place const in the right spot.
11559
11560         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11561         call resizeInsets.
11562         (workAreaExpose): call resizeInsets when the with BufferView changes.
11563         (Dispatch): adjust for protectedBlank removal
11564         (specialChar): call updateInset if the insert went ok.
11565
11566         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11567         specialChar instead.
11568
11569         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11570
11571         * BufferView.h: doxy change
11572
11573         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11574
11575         * lyxtextclass.C (operator[]): remove non-const version
11576         (defaultLayout): remove non-const version
11577
11578 2002-03-12  Juergen Vigna  <jug@sad.it>
11579
11580         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11581         did resize the LyXText too.
11582
11583         * buffer.C (readLyXformat2): set layout information on newly allocated
11584         paragraphs.
11585
11586         * tabular.C (OldFormatRead): set layout information on the paragraph.
11587
11588 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11589
11590         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11591
11592 2002-03-11  Juergen Vigna  <jug@sad.it>
11593
11594         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11595         plainly wrong.
11596         (resizeCurrentBuffer): force also the insets to resize themselfes.
11597         (moveCursorUpdate): fixed up for InsetText.
11598
11599 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11600
11601         * commandtags.h:
11602         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11603         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11604         value of Dialogs::tooltipsEnabled().
11605         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11606
11607 2002-03-08  Juergen Vigna  <jug@sad.it>
11608
11609         * BufferView_pimpl.C (updateInset): update inset inside inset also
11610         if it isn't inside theLockingInset().
11611
11612 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * buffer.C (asciiParagraph): redo some of the word and line length
11615         handling.
11616         (getLists): look for Caption instead of caption.
11617
11618 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11619
11620         * buffer.C (Buffer): initialize niceFile to true
11621         (makeLaTeXFile):
11622         (makeLinuxDocFile):
11623         (makeDocBookFile): make sure niceFile is true on exit
11624
11625 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11628
11629 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11630
11631         * LyXSendto.C: remove.
11632         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11633         * lyx_gui.C: remove now-redundant comment.
11634         * ColorHandler.h: remove forward declaration of class WorkArea.
11635         * lyxfunc.C: remove #include "WorkArea.h".
11636
11637 2002-03-07  Juergen Vigna  <jug@sad.it>
11638
11639         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11640         got moved away with the DEPM and also set the inset_owner always
11641         right which before could have been omitted.
11642
11643 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11646         wanted layout is not found.
11647
11648 2002-03-07  Juergen Vigna  <jug@sad.it>
11649
11650         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11651
11652 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * paragraph.C (breakParagraph): use default layout not layout of
11655         prev paragraph.
11656         (Paragraph): clear ParagraphParameters.
11657
11658 2002-03-06  Juergen Vigna  <jug@sad.it>
11659
11660         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11661         otherwise it would not be a valid lenght. Fixed a special case in
11662         the minipage compatibility read where we end the document with a
11663         minipage.
11664
11665         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11666         was set as it could be 0 for InsetTexts first entry.
11667
11668 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * paragraph.C (writeFile): if layout is empty write out
11671         defaultLayoutName().
11672
11673         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11674         file without named layout we set layout to defaultLayoutName().
11675
11676 2002-03-06  Juergen Vigna  <jug@sad.it>
11677
11678         * CutAndPaste.C (copySelection): set layout for new paragraph.
11679
11680         * text.C (prepareToPrint): leave ERT inset left aligned
11681         (leftMargin): don't indent paragraphs inside ERT insets
11682
11683 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * paragraph.C (breakParagraph): dont call clear do the work manually
11686
11687         * paragraph.[Ch] (clear): remove function
11688
11689 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * paragraph.C (Paragraph): dont call clear, the work has already
11692         been done.
11693
11694         * lyxtextclass.C (operator): assert if n is empty
11695
11696         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11697         work manually instead.
11698
11699 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * BufferView_pimpl.C: protect selectionLost against text == 0
11702
11703 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * text.C (breakParagraph): fix a setting layout to '0' problem.
11706
11707 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11708
11709         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11710         final location of file, for the included files, and graphics.
11711
11712 2002-03-05  Juergen Vigna  <jug@sad.it>
11713
11714         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11715
11716 2002-03-04  Juergen Vigna  <jug@sad.it>
11717
11718         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11719
11720         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11721         last column of multicolumn cells.
11722         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11723
11724 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11725
11726         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11727         file if it doesn't go to a temporary file.
11728
11729         * buffer.C (sgmlOpenTag):
11730         (sgmlCloseTag):  remove extra newline insertion.
11731
11732 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * text.C (getRowNearY): comment out debug msg
11735
11736 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * text2.C: first -> first_y
11739
11740         * text.C (getRowNearY): add some attemts at a possible
11741         optimization, not working.
11742
11743         * tabular.[Ch]: add BufferParams to several function so that newly
11744         created paragraph can be initialized to he default layotu for the
11745         buffers textclass.
11746
11747         * tabular-old.C (ReadOld): add buf->params to call of Init
11748
11749         * screen.C: rename text->first to text->first_y
11750
11751         * paragraph.C (breakParagraph): always set layout in the broken
11752         paragraph
11753
11754         * lyxtextclass.C (Read): remove lowercase
11755         (hasLayout): ditto
11756         (operator): ditto
11757         (delete_layout): ditto
11758
11759         * lyxtext.h: rename first -> first_y
11760
11761         * lyxlayout.C (Read): remove lowercase
11762         (name): ditto
11763         (setName): ditto
11764         (obsoleted_by): ditto
11765
11766         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11767
11768         * buffer.C (insertErtContents): add params are to InsetERT
11769         (parseSingleLyXformat2Token): add code to check if a paragraphs
11770         layout really exist.
11771         (parseSingleLyXformat2Token): add params to several inset
11772         constructors
11773         (asciiParagraph): remove lowercase, do the layout comparisons with
11774         no_case
11775
11776         * BufferView_pimpl.C (cursorNext): first -> first_y
11777         (resizeCurrentBuffer): first -> first_y
11778         (updateScrollbar): first -> first_y
11779         (scrollCB): first -> first_y
11780         (workAreaMotionNotify): first -> first_y
11781         (workAreaButtonPress): first -> first_y
11782         (checkInsetHit): first -> first_y
11783         (cursorPrevious): first -> first_y
11784         (cursorNext): first -> first_y
11785         (Dispatch): add buffer_->params to severl inset contructors
11786
11787 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * lyxlayout.C (Read): remove some debug info that I forgot.
11790
11791         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11792         clean up the code slightly.
11793         (makeLinuxDocFile): ditto
11794         (makeDocBookFile): ditto
11795
11796         * text2.C: layout as string
11797
11798         * text.C: layout as string
11799
11800         * paragraph_pimpl.C: layout as string
11801
11802         * paragraph.[Ch]: layout as string
11803
11804         * lyxtextclasslist.[Ch]: layout as string
11805
11806         * lyxtextclass.[Ch]: layout as string
11807
11808         * lyxtext.h: layout as string
11809
11810         * lyxlayout.[Ch]: layout as string
11811
11812         * lyx_cb.C: layout as string
11813
11814         * bufferview_funcs.C: layout as string
11815
11816         * bufferparams.C: layout as string
11817
11818         * buffer.C: layout as string
11819
11820         * LyXView.[Ch]: layout as string
11821
11822         * LaTeXFeatures.[Ch]: layout as string
11823
11824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11825
11826         * BufferView_pimpl.C: change current_layout to string, remove
11827         lyx::layout_type.
11828         (Dispatch):
11829         (smartQuote):
11830         (insertInset):
11831         (workAreaButtonRelease): layout as string
11832
11833         * BufferView2.C (unlockInset): adjust
11834
11835         * vspace.C (asLatexCommand): use an explict temp variable.
11836
11837 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * Makefile.am: use FRONTEND_*
11840
11841 2002-03-01  Juergen Vigna  <jug@sad.it>
11842
11843         * tabular.C (SetWidthOfMulticolCell): changed to something better
11844         I hope but still work in progress.
11845         (recalculateMulticolumnsOfColumn): renamed function from
11846         recalculateMulticolCells as it is more appropriate now.
11847         (SetWidthOfCell): calculate multicols better.
11848
11849 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11852
11853         * lyxfunc.C (processKeySym): print sequence also if it is
11854         `deleted' (complete)
11855
11856         * kbsequence.C (print): print sequence even if it is deleted
11857         (complete would be a better word, actually).
11858
11859         * lyxfunc.C (dispatch): print complete options after a prefix key
11860
11861         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11862
11863 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11864
11865         * text2.C (setCharFont): eliminate setCharFont code duplication.
11866
11867 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11870         LFUN_TABULAR_FEATURE (bug #177)
11871
11872 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11873
11874         * Makefile.am: remove figure.h
11875
11876 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11877
11878         * Bufferview_pimpl.C:
11879         * CutAndPasteC:
11880         * LaTeX.C:
11881         * LyXSendto.C:
11882         * buffer.C:
11883         * bufferlist.C:
11884         * converter.C:
11885         * language.C:
11886         * lyxfunc.C:
11887         * lyxvc.C:
11888         * paragraph.C:
11889         * text.C:
11890         * text2.C: remove #include "lyx_gui_misc.h".
11891
11892         * LaTeX.C: added #include <cstdio>
11893
11894 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11897         that the paragraph following this one can have.
11898
11899         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11900
11901         * vspace.C (asLatexCommand): fix bogus gcc warning
11902
11903         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11904
11905 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11906
11907         * text2.C (setLayout): get rid of redundant code
11908
11909 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11910
11911         * text2.C (incDepth): make sure depth cannot be increased beyond
11912         reasonable values.
11913
11914 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11915
11916         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11917         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11918
11919         * PainterBase.h (image):
11920         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11921         a LyXImage const *.
11922
11923 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * BufferView.C:
11926         * BufferView.h:
11927         * BufferView_pimpl.C:
11928         * BufferView_pimpl.h:
11929         * LaTeXFeatures.C:
11930         * LyXAction.C:
11931         * LyXView.C:
11932         * Makefile.am:
11933         * UpdateList.h:
11934         * UpdateList.C:
11935         * buffer.C:
11936         * figure.h:
11937         * figureForm.C:
11938         * figureForm.h:
11939         * figure_form.C:
11940         * figure_form.h:
11941         * lyx_cb.C:
11942         * lyx_gui.C:
11943         * lyx_gui_misc.C:
11944         * lyxfunc.C:
11945         * sp_base.h:
11946         * sp_ispell.h:
11947         * sp_pspell.h:
11948         * sp_spell.C: remove fig inset, and the crap house of
11949           cards that follows it
11950
11951 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * Makefile.am:
11954         * lyxserver.C:
11955         * os2_defines.h:
11956         * os2_errortable.h:
11957         * nt_defines.h: move .h into support/
11958
11959         * vms_defines.h: remove
11960
11961         * WorkArea.C: add space in debug output
11962
11963         * text2.C:
11964         * paragraph.C:
11965         * buffer.C: add WITH_WARNINGS
11966
11967         * vc-backend.h:
11968         * vc-backend.C:
11969         * bufferlist.C: s/retrive/retrieve/, add docs
11970
11971         * vspace.h:
11972         * vspace.C:
11973         * kbmap.h:
11974         * lyxlength.h:
11975         * lyxgluelength.h:
11976         * length_common.h:
11977         * chset.h:
11978         * chset.C: add docs
11979
11980         * lyxgui.C: add ID to X error handler
11981
11982         * lyxtestclass.c: fix typo
11983
11984 2002-02-26  Juergen Vigna  <jug@sad.it>
11985
11986         * tabular_funcs.C (write_attribute): changed so that some default
11987         attributes are not written at all.
11988         (getTokenValue): set default values before trying to read the
11989         value so we have the return value always set as default if we don't
11990         find the token we search for.
11991
11992         * tabular.C (Write): write bools as bools not as strings!
11993
11994 2002-02-22  Juergen Vigna  <jug@sad.it>
11995
11996         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11997         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11998
11999         * text.C (leftMargin): don't add an indent for paragraphs inside
12000         tabular cells (fix #208).
12001
12002 2002-02-21  José Matos  <jamatos@fep.up.pt>
12003
12004         * tabular.C (docBook): fixed support for long tables.
12005
12006 2002-02-20  Juergen Vigna  <jug@sad.it>
12007
12008         * text2.C (getFont): get the drawing font of the Inset if this
12009         paragraph is inside an inset (only important for InsetERT for now).
12010
12011         * buffer.C (insertErtContents): use new lanugage params in ERT
12012         constructor.
12013
12014         * CutAndPaste.C: commenting out seemingly uneeded code.
12015
12016 2002-02-19  Allan Rae  <rae@lyx.org>
12017
12018         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12019         Iterators might be simple to use but they also get invalidated.
12020         (removeAutoInsets): renamed saved cursor tracking variables and added
12021         some comments to clarify what everything does.
12022
12023 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12024
12025         * Chktex.C:
12026         * LaTeX.C:
12027         * LyXSendto.C:
12028         * converter.C:
12029         * lyx_cb.C:
12030         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12031         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12032
12033         * lyxfunc.C:
12034         * vc-backend.h: remove #include "support/syscall.h"
12035
12036         * LaTeX.C:
12037         * LyXSendto.C:
12038         * converter.C: rearrange #includes in Lars' approved fashion.
12039
12040         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12041         forward declare class Timeout in the header file.
12042
12043         * XFormsView.C: changes due to the above.
12044
12045         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12046         similar to LyXView.
12047
12048         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12049         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12050
12051 2002-02-18  José Matos  <jamatos@fep.up.pt>
12052
12053         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12054         insets contents.
12055
12056 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12057
12058         * a lot of small ws changes
12059         * add a lot of using std::XXX
12060         * use std construcs some places where approp.
12061         * use some exisint stuff from lyxfunctional where approp.
12062         * Make file changes to use partial linking (lets test this now...)
12063
12064 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12065
12066         * Chktex.C:
12067         * buffer.C:
12068         remove #include "support/syscontr.h" as it's redundant. Always has been.
12069
12070         * Chktex.C:
12071         * LaTeX.C:
12072         * LyXSendto.C:
12073         * converter.C:
12074         * lyx_cb.C:
12075         * vc-backend.C:
12076         change Systemcalls::System to Systemcalls::Wait and
12077         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12078         No change of functionality, just reflects the stripped down Systemcalls
12079         class.
12080
12081 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * debug.[Ch]: add a GRAPHICS type to the enum.
12084
12085 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12088
12089         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12090         there is an inset.
12091
12092 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12095         match the changes below.
12096
12097         * text2.C (toggleInset): if there is not editable inset at cursor
12098         position, try to see if cursor is _inside_ a collapsable inset
12099         and close it.
12100
12101 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12104         document menu has a nice checkbox
12105
12106 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * lyxlength.C (asLatexString): change PW to output as percent of
12109         \textwidth.
12110
12111         * lengthcommon.C: change '%' to 't%'
12112
12113         * lyxfunc.C (dispatch): a few comments from Martin
12114
12115 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * WorkArea.h:
12118         * WorkArea.C:
12119         * BufferView_pimpl.h:
12120         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12121           the X selection.
12122
12123 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * vspace.C (inPixels): fix compiler warning
12126
12127 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12128
12129         * lyxfunc.C (getStatus): fix status message for disabled commands.
12130
12131 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * BufferView_pimpl.C: fix crash on close buffer
12134         during selection (#227)
12135
12136 2002-01-27  Herbert Voss  <voss@lyx.org>
12137
12138         * buffer.C: link old Figure to new graphic inset
12139
12140 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12141
12142         * FontLoader.C (getFontinfo): Change the latex font names in order
12143         to match the names of type1inst.
12144
12145 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12148
12149         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12150         (extchanged): ditto
12151         (ext_exist): ditto
12152         (remove_files_with_extension): ditto
12153         (remove_file): ditto
12154         (write): ditto
12155
12156         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12157         document is smaller than the work area height. Do not initialize
12158         static variables to 0.
12159
12160 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12161
12162         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12163
12164         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12165         LFUN_LAYOUT_PARAGRAPHS.
12166
12167         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12168         tabular. It is possible to provide a possible cell, which will
12169         typically be the actcell from the corresponding insettabular
12170
12171         * lyxfunc.C (getStatus): small cleanup; disable
12172         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12173         true
12174
12175 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12176
12177         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12178
12179         * paragraph.C (startTeXParParams):
12180         (endTeXParParams): new methods. The LaTeX code to
12181         start/end paragraph formatting
12182         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12183         empty (fixes bug #200)
12184
12185         * vspace.C (inPixels): adapt to the change below
12186         (inPixels): [later] more cleanups (remove unused variables)
12187
12188         * lyxlength.C (inPixels): change to use a width and a height as
12189         parameter.
12190
12191 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12194         Replaced with \paperwidth
12195
12196         * DepTable.C (insert): add std:: qualifier
12197
12198 2002-01-18  Allan Rae  <rae@lyx.org>
12199
12200         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12201         updated also?
12202
12203         * text.C (drawInset): Turned out I didn't know enough about how
12204         rebreaking worked.  This fixes most of the redraw problems.  I see
12205         an occasional cursor trail when a line is broken now and the cursor
12206         placement can seem out by a few pixels also after a rebreak.
12207
12208 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12209
12210         * buffer.C (parseSingleLyXformat2Token): update because minipage
12211         width is now a LyXLength
12212
12213         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12214
12215         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12216         math insets
12217
12218 2002-01-17  Juergen Vigna  <jug@sad.it>
12219
12220         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12221
12222         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12223         is set correctly and the inset is updated correctly.
12224
12225 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12226
12227         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12228         the beginning of the loop.
12229
12230 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * lyxrc.C: improve help for use_scalable_fonts
12233
12234 2002-01-17  Allan Rae  <rae@lyx.org>
12235
12236         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12237
12238 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12239
12240         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12241         make sure to set their inset_owner to the right value (bug #171)
12242
12243 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12244
12245         * DepTable.h
12246         * DepTable.C: Implement mtime checking to reduce time spent doing
12247         CRCs.
12248
12249 2002-01-16  Juergen Vigna  <jug@sad.it>
12250
12251         * tabular.C (GetAdditionalHeight): one of error fixed.
12252
12253         * lyxrc.C (output): small fix in writing use_pspell.
12254
12255 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * sp_base.h: #include LString.h
12258
12259 2002-01-16  Allan Rae  <rae@lyx.org>
12260
12261         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12262         Can someone check this please?
12263
12264         * text.C (drawInset): It was possible that p.row would be removed by
12265         breakAgainOneRow upsetting a few other settings.  There may be another
12266         small tweak possible by setting need_break_row = 0 when p.row has been
12267         removed but I don't know enough about the logic here.
12268
12269 2002-01-15  Allan Rae  <rae@lyx.org>
12270
12271         * text.C (insertChar): removed conditional truism.
12272
12273         * BufferView2.C (removeAutoInsets): More tweaks.
12274         cur_par_prev could be a stray pointer.  Check for trailing empty line
12275         in case last line was cur_par and only had an error inset on it.
12276
12277 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12278
12279         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12280         absolute
12281
12282         * vc-backend.C (most methods):
12283         * exporter.C (Export):
12284         * converter.C (convert):
12285         (runLaTeX):
12286         * LyXSendto.C (SendtoApplyCB):
12287         * lyxfunc.C (dispatch):
12288         (menuNew):
12289         (open):
12290         (doImport):
12291         * lyx_cb.C (AutoSave):
12292         (InsertAsciiFile):
12293         * BufferView_pimpl.C (MenuInsertLyXFile):
12294         * buffer.C (runChktex): use Buffer::filePath().
12295
12296         * buffer.h: rename filename to filename_; rename filepath to
12297         filepath_ and make it private
12298         (filePath): new method
12299
12300         * buffer.C (writeFile): use fileName()
12301         (getLatexName):
12302
12303         * lyx_main.C (init): fix starting  of LyX when the binary is a
12304         link from so,ewhere else.
12305
12306         * minibuffer.C: include <cctype> for isprint
12307
12308 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12311         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12312         name clash with InsetCollapsable's width function.
12313
12314 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * lastfiles.C: include <iterator>
12317
12318 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12321         std::count.
12322
12323         * buffer.C (makeLaTeXFile): ditto.
12324         Also make loop operation more transparent.
12325
12326 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * ToolbarDefaults.C: remove trailing comma closing namespace.
12329
12330         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12331
12332         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12333         as in WorkArea.
12334
12335         * trans.C (Load): comment out unused variable, allowed.
12336
12337 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12338
12339         * minibuffer.[Ch] (append_char): new method to recieve input from the
12340         drop-down completion browser. If a key was pressed, then recieve this
12341         char and append it to the existing string.
12342         (peek_event): modify the positioning data passed to the completion
12343         browser so that it can be placed above the minibuffer rather than below.
12344 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * LyXAction.C (init): alloe error-next for readonly documents.
12347
12348         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12349         count.
12350
12351 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * bufferlist.C (readFile): create the buffer _after_ checking that
12354         the file exists.
12355
12356         * lyxfunc.C (verboseDispatch): fix handling of arguments
12357
12358         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12359
12360         * lyxrc.C: use string::erase() instead of initializing to "".
12361
12362
12363 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * BufferView_pimpl.h:
12366         * BufferView_pimpl.C:
12367         * WorkArea.h:
12368         * WorkArea.C:
12369         * text2.C: tell X when we have made a selection for copying
12370
12371 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * BufferView_pimpl.C (MenuInsertLyXFile):
12374         * lyxfunc.C (menuNew):
12375         (open):
12376         (doImport): add shortcuts to directory buttons
12377
12378         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12379         open a float)
12380
12381         * lyxfunc.C (setStatusMessage):
12382         (getStatusMessage): new methods
12383         (getStatus):use setStatusMessage instead of setErrorMessage
12384         (dispatch): when function is disabled, set error message here
12385         [instead of in getStatus previously]
12386
12387         * BufferView_pimpl.C (workAreaButtonRelease): update
12388         toolbar/menubar here too.
12389
12390 2002-01-13  Allan Rae  <rae@lyx.org>
12391
12392         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12393         Now seems indestructible.  Remaining task is to audit all other
12394         code affected by deleteEmptyParagraphMechanism.  One small quirk
12395         left is that an empty document with an error in the preamble can
12396         be made to report an error but no error box appears.  I don't know
12397         where it goes.
12398         (removeAutoInsets): Improved comments.
12399
12400 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * Thesaurus.h:
12403         * Thesaurus.C: update for Aiksaurus 0.14
12404
12405 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * text2.C (firstParagraph): removed member function, all uses
12408         replaces with ownerParagraph
12409         (redoParagraphs): here
12410         (updateInset): here
12411         (toggleAppendix): here
12412         * BufferView2.C (insertErrors): here
12413         (setCursorFromRow): here
12414
12415 2002-01-13  Allan Rae  <rae@lyx.org>
12416
12417         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12418         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12419         There is still a way to segfault this although you may have to do this
12420         multiple times: Have an InsetERT with an unknown command in it.
12421         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12422         <down-arrow>, <Enter> again, View->DVI, BANG!
12423
12424         * text2.C (setCursor):
12425         (deleteEmptyParagraphMechanism):
12426         * lyxtext.h (setCursor):
12427         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12428         Making use of the return value may help fix other bugs.
12429
12430 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12431
12432         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12433
12434         * LyXView.C (updateMenubar): call MenuBar::update here
12435         (updateToolbar): but not here
12436         (showState): do not update toolbar/menubar
12437
12438         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12439         should need to care about that.
12440
12441         * lyxfunc.C (verboseDispatch): simplify a bit
12442         (getStatus): have a version which takes a pseudoaction, and
12443         another which requires a (kb_action,string).
12444
12445         * LyXAction.C (retrieveActionArg): make it work also when action
12446         is not a pseudo-action.
12447         (getActionName): simplify a bit
12448         (helpText):
12449
12450 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * lyxfunc.C (verboseDispatch): new families of methods with
12453         several ways to specify a command and a bool to indicate whether
12454         the command name and shortcut should be displayed in minibuffer
12455         (eventually, we could extend that to a finer bitmask like
12456         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12457         (dispatch): the pristine dispatch command which just, well,
12458         dispatchs! Note it still sets its result to minibuffer; I'm not
12459         sure we want that.
12460
12461         * lyxfunc.h: remove setHintMessage
12462
12463         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12464
12465 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12466
12467         * BufferView_pimpl.C (specialChar): delete new inset if we have
12468         not been able to insert it.
12469
12470         * kbmap.C: revert to using int instead of kb_action, since all we
12471         are dealing with is pseudo-actions.
12472
12473         * LyXAction.C (searchActionArg): change to return int instead of
12474         kb_action, since the result is a pseudoaction.
12475
12476 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * buffer.C (insertErtContents): Fix (partially) the font bug.
12479
12480 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12481
12482         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12483         as the other one is broken on my machine!
12484
12485 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12486
12487         * commandtags.h:
12488         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12489
12490 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12493         reflect their actual use. Provide compatibility code for older lyxrc
12494         files.
12495
12496         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12497         FL_NORMAL_STYLE.
12498         change names of popup font variables in line with the changes to lyxrc.C
12499
12500 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * buffer.C (asciiParagraph): avoid outputing a word twice after
12503         an inset.
12504
12505         * lyxrc.C (getDescription): document that document_path and
12506         template_path can be empty.
12507
12508 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * LaTeXFeatures.C (getMacros):
12511         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12512
12513         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12514
12515         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12516         getPackages.
12517         (getPackages): rename feature "floats" to "float". Use an array to
12518         iterate over 'simple' features (i.e. just a \usepackage). Add
12519         handling of "amsmath" (renamed from "amsstyle").
12520
12521 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12522
12523         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12524         features list.
12525
12526 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12527
12528         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12529         FuncStaus::FuncStatus & FuncStaus::some_method().
12530
12531 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12532
12533         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12534         of the func_satus stuff. Edited and massaged in various ways by
12535         JMarc.
12536
12537         * lyxfunc.C (getStatus): use FuncStatus
12538
12539 2002-01-08  Juergen Vigna  <jug@sad.it>
12540
12541         * text.C (nextBreakPoint): use function Inset::isChar().
12542
12543         * paragraph.C (TeXOnePar): use function
12544         Inset::forceDefaultParagraphs.
12545
12546         * buffer.C (latexParagraphs): use function
12547         Inset::forceDefaultParagraphs.
12548
12549 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * lyx_gui.C (init): set the style of the menu popups to
12552         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12553
12554 2002-01-07  Juergen Vigna  <jug@sad.it>
12555
12556         * text.C (setHeightOfRow): small fix
12557         (prepareToPrint): don't look at alignment if we don't have the place
12558         for doing it.
12559
12560 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * box.C: New file. Move the Box methods and functions out of box.h,
12563         following Lars' suggestion.
12564
12565 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * box.h: #include "support/LOstream.h", needed for inlined function.
12568
12569         * lyxtextclass.C:
12570         * lyxtextclasslist.C: added some using std declarations.
12571
12572 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * box.h: make signed dimensions to allow insets wider than
12575           the screen (bug #162)
12576
12577         * BufferView_pimpl.C: add some insetHit debug
12578
12579 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * vc-backend.C: add FIXME
12582
12583 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * lyxfunc.C (getStatus): enable code for showing math font status
12586         in toolbar/menu.
12587
12588 2002-01-07  Juergen Vigna  <jug@sad.it>
12589
12590         * text.C (nextBreakPoint): removed debug output not needed anymore.
12591
12592 2002-01-06  Juergen Vigna  <jug@sad.it>
12593
12594         * text.C (nextBreakPoint): fixed up this function we had this bug
12595         since ever but now hopefully we break row better.
12596         (insertChar): we have to check if an inset is the next char as it
12597         could now happen that a large inset is causing a break.
12598
12599 2002-01-05  Juergen Vigna  <jug@sad.it>
12600
12601         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12602         if it doesn't like to be drawed.
12603
12604 2002-01-04  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView2.C (lockInset): forgot to set a cursor.
12607
12608         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12609
12610 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12611
12612         * FormMathsPanel.C:
12613         * FormMathsPanel.h
12614         * MathsSymbols.C:
12615         * form_maths_panel.C:
12616         * form_maths_panel.h:
12617         * form_maths_panel.fd: implemented sub- and super- buttons in math
12618         panel.
12619
12620         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12621         (or ^ space) to be used as in TeX (req'd by André).
12622
12623         * lyxfunc.C: Allow ^ and _ again to be used both as
12624         super/subscript (mathed) and as themselves (in text).
12625
12626 2002-01-03  Allan Rae  <rae@lyx.org>
12627
12628         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12629         "LyX" or the filename of the current buffer if it has one.  This is a
12630         modified form of John Levon's patch.
12631
12632         * XFormsView.C (setWindowTitle): also set icon title.
12633
12634         * LyXView.h (setWindowTitle): signature changed.
12635         * XFormsView.h (setWindowTitle): ditto.
12636
12637 2002-01-02  Juergen Vigna  <jug@sad.it>
12638
12639         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12640
12641 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * screen.C (topCursorVisible): introduce a temp var for
12644         text->cursor.row(), handle the case where this row is null. (kindo
12645         hachish)
12646
12647         * text2.C (setCursor): add a couple of asserts.
12648
12649         * paragraph.h (inset_iterator): add -> operator
12650
12651         * paragraph.[Ch] (autoDeleteInsets): remove member function
12652
12653         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12654         cursor pos correctly and handle inset deletion by itself.
12655         (insertErrors): move iterator declaration out of for expression
12656
12657         * lyxtextclass.C: add <algorithm>
12658
12659         * Makefile.am: added the new files to sources, removed layout.C
12660
12661         * layout.C: removed file
12662
12663         * layout.h: remove LYX_DUMMY_LAYOUT
12664
12665         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12666         layout.
12667
12668         * lyxlayout.[Ch]:
12669         * lyxtextclass.[Ch]:
12670         * lyxtextclasslist.[Ch]: new files
12671
12672         * include order changes to a lot of files, also changes because of
12673         the six new files.
12674
12675 2001-12-27  Juergen Vigna  <jug@sad.it>
12676
12677         * buffer.C (asciiParagraph): more fixes.
12678
12679         * tabular.C (ascii): make ascii export support export of only the
12680         data separated by a column-delimiter.
12681         (ascii): better support for ascii export.
12682
12683         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12684
12685 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * tabular_funcs.C: use a "using std::getline" instead of the
12688         previous fix from Angus (necessary for cxx + lyxstring)
12689
12690 2001-12-24  Juergen Vigna  <jug@sad.it>
12691
12692         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12693
12694         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12695         problems. First check a minipage also if we have some ert-contents
12696         (not only on par->size(), second set the right depth of the paragraph
12697         on the relink to the root-paragraph-list!
12698
12699         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12700         which then did not anymore update the main paragraphs on undo/redo!
12701
12702 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12705         code. Support all font-changing funcs (even those which are not in
12706         menu currently). Support for reporting font settings in
12707         mathed (disabled until Andre provides a function on mathed's side).
12708
12709         * func_status.h (toggle): small helper function to set toggle
12710         state on a flag.
12711
12712 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * tabular_funcs.C: getline -> std::getline
12715
12716 2001-12-21  Juergen Vigna  <jug@sad.it>
12717
12718         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12719         accessed and could be 0 (I couldn't generate this but it seems
12720         Michael could!).
12721
12722 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12725         * tabular_funcs.h: here and include iosfwd
12726
12727 2001-12-20  Juergen Vigna  <jug@sad.it>
12728
12729         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12730         inside inset but undo_par was.
12731
12732 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12733
12734         * Thesaurus.C: always include <config.h> in sources.
12735
12736         * Painter.h:
12737         * lyxlookup.h:
12738         * box.h: do not include <config.h> in header files
12739
12740         * text.C (paintLastRow): remove unused variable
12741
12742         * text.C (transformChar):
12743         (insertChar):
12744         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12745
12746         * Painter.C (text):
12747         * font.C (width): rewrite to use uppercase() instead of
12748         islower/toupper.
12749
12750         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12751
12752 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * lyxfind.C: clean up of find failure position change
12755
12756 2001-12-20  Juergen Vigna  <jug@sad.it>
12757
12758         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12759
12760         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12761         (TeXRow): added to LaTeX a single tabular row.
12762         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12763         (Latex): simplified and finally good LT-h/f support.
12764         (various_functions): just small adaptions for LT-h/f support.
12765
12766         * tabular_funcs.[hC]: added and moved here all not classfunctions
12767         of LyXTabular.
12768
12769 2001-12-19  Juergen Vigna  <jug@sad.it>
12770
12771         * tabular.[Ch]: better support for longtabular options (not finished
12772         yet!)
12773
12774 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * text.C (paintLastRow): use the label font instead of the font of
12777         the last character to compute the size of *_BOX. This makes more
12778         sense and avoids a crash with empty paragraphs.
12779         Use Painter::rectangle to draw EMPTY_BOX.
12780
12781 2001-12-19  Juergen Vigna  <jug@sad.it>
12782
12783         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12784         the paragraphs if the replaced paragraph is not the first one!
12785         Tried to delete not used paragraphs but does not work yet so for
12786         now it's inside #ifdef's and by default off!
12787
12788 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * MenuBackend.C: include "lyx_main.h" instead of declaring
12791         lastfiles (actually was declared as LastFiles* instead of a
12792         scoped_ptr).
12793
12794 2001-12-17  Juergen Vigna  <jug@sad.it>
12795
12796         * tabular.C (AppendColumn): applied John's fix
12797
12798 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * BufferView.h:
12801         * BufferView.C:
12802         * BufferView_pimpl.h:
12803         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12804
12805         * Makefile.am:
12806         * box.h: new start of class for above
12807
12808         * lyxfunc.C: ignore space-only minibuffer dispatches.
12809           Show the command name when it doesn't exist
12810
12811         * minibuffer.C: don't add empty lines to the history
12812
12813         * minibuffer.C: add a space on dropdown completion
12814
12815 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * text.C: fix line above/below drawing in insets
12818
12819 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * lyxlength.C (LyXLength): Initialize private variables.
12822
12823 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12824
12825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12826         when inserting error insets.
12827
12828 2001-12-13  Juergen Vigna  <jug@sad.it>
12829
12830         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12831         actually sometimes the before-paragraph.
12832         (setUndo): don't clear the redostack if we're not actually undoing!
12833
12834 2001-12-06  Juergen Vigna  <jug@sad.it>
12835
12836         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12837         and fixed redoing of main paragraph, so we can use it now ;)
12838
12839         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12840
12841 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12842
12843         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12844         Juergen's request
12845
12846 2001-12-13  André Pönitz <poenitz@gmx.net>
12847
12848         * undostack.[Ch]:
12849         * undo_func.C: minor cleanup
12850
12851 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12854         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12855         font in urw-fonts package which is marked as -urw-fontspecific and
12856         does not work (incidentally, changing the encoding in the
12857         fonts.dir of this package to -adobe-fontspecific fixes the
12858         problem).
12859
12860         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12861         is a crash when undoing first paragraph (Juergen, please take a
12862         look). THis does not mean the undo fix is wrong, just that it
12863         uncovers problems.
12864
12865         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12866         the (Paragraph*) version when needed instead of duplicating the
12867         code.
12868
12869         * text.C (workWidth): use Inset::parOwner to find out where the
12870         inset has been inserted. This is a huge performance gain for large
12871         documents with lots of insets. If Inset::parOwner is not set, fall
12872         back on the brute force method
12873
12874         * paragraph_pimpl.C (insertInset):
12875         * paragraph.C (Paragraph):
12876         (cutIntoMinibuffer): set parOwner of insets when
12877         inserting/removing them
12878
12879         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12880
12881 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12882
12883         * commandtags.h:
12884         * LyXAction.C:
12885         * lyx_main.C:
12886         * lyxfunc.C:
12887         * mathed/formulabase.C:
12888         * mathed/math_cursor.[Ch]:
12889         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12890
12891
12892 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * lyxlength.[Ch] (operator!=): new function
12895
12896 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12897
12898         * text.C (workWidth): use Inset::parOwner to find out where the
12899         inset has been inserted. This is a huge performance gain for large
12900         documents with lots of insets. If Inset::parOwner is not set, fall
12901         back on the brute force method
12902
12903         * paragraph_pimpl.C (insertInset):
12904         * paragraph.C (Paragraph):
12905         (cutIntoMinibuffer): set parOwner of insets when
12906         inserting/removing them
12907
12908         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12909
12910 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12911
12912         * tabular-old.C (getTokenValue):
12913         * tabular.C (getTokenValue):
12914         (write_attribute): new versions for LyXLength
12915         (everywhere): adjust the use of widths
12916
12917         * tabular.h: change the type of widths from string to LyXLength
12918
12919 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12920
12921         * paragraph.C: fixed missing line number count when exporting
12922         Environments to LaTeX file
12923
12924         * buffer.C: added informational message for checking line numbers.
12925
12926 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12927
12928         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12929         paragraph, do the 'double space' part, but not the 'empty
12930         paragraph' one.
12931
12932         * text.C (workWidth): small optimization
12933         (getLengthMarkerHeight): use minimal size for negative lengths.
12934
12935 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12936
12937         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12938
12939         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12940
12941 2001-12-11  André Pönitz <poenitz@gmx.net>
12942
12943         * FontLoader.C:
12944         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12945
12946 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * text2.C: keep selection on a setFont()
12949
12950 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * lyx_cb.C: another bv->text misuse, from insert label
12953
12954 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * kbsequence.h:
12957         * kbsequence.C: re-instate nmodifier mask
12958
12959 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * lyx_main.h: make lyxGUI private.
12962
12963 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyxfind.C: place the cursor correctly on failed search
12966
12967 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12968
12969         * text.C (getLengthMarkerHeight): for small heights, the arrows
12970         are not always on top/bottom of the text
12971         (drawLengthMarker): smaller arrows; take the left margin in
12972         account; draw also vfills.
12973         (paintFirstRow):
12974         (paintLastRow): remove special code for vfill and standard spaces,
12975         since everything is handled in drawLengthMarker now.
12976
12977 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * buffer.C (insertErtContents): try to handle font and language
12980         interaction a bit better.g
12981
12982         * ColorHandler.C (updateColor): change the hash to cover the whole
12983         LColor enum, ws cleanup
12984         (getGCLinepars): ditto
12985         (getGCLinepars): only lookup in the linecache once.
12986
12987 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * iterators.C (operator++): Make the iterator more robust
12990
12991         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12992         (John's patch)
12993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12994
12995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * lyxtext.h:
12998         * text.C: better added space drawing
12999
13000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * LyXView.C:
13003         * BufferView2.C: fix layout combo update on inset unlock
13004
13005 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13006
13007         * Makefile.am: don't compile unused files
13008
13009 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * lyxfunc.C:
13012         * commandtags.h:
13013         * LyXAction.C: remove old LFUN_LAYOUTNO
13014
13015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * paragraph_pimpl.h:
13018         * paragraph_pimpl.C: isTextAt() doesn't need font param
13019
13020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * lyxlex.h:
13023         * lyxlex.C: little cleanup
13024
13025 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * BufferView_pimpl.C: fix insertAscii for insets
13028
13029 2001-12-05  Juergen Vigna  <jug@sad.it>
13030
13031         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13032         set the right font on the "multi" paragraph paste!
13033
13034 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * trans_decl.h:
13037         * trans_mgr.[Ch]:
13038         * trans.[Ch]:
13039         * lyxgluelength.C:
13040         * lyxlength.C: remove out-commented code.
13041
13042         * BufferView_pimpl:
13043         * CutAndPaste.C:
13044         * DepTable.C:
13045         * buffer.C:
13046         * chset.C:
13047         * lastfiles.C:
13048         * lyxlex.C:
13049         * lyxlex_pimpl.C:
13050         * lyxserver.C:
13051         * screen.C:
13052         * tabular-old.C:
13053         * tabular.C:
13054         * text.C:
13055         * trans_mgr.C:
13056         * vc-backend.C: change "while(" to "while ("
13057
13058         * lyxlength.[Ch]: add zero function to check if length is zero or
13059         not
13060         * lyxgluelength.C: use it
13061
13062 2001-12-05  Allan Rae  <rae@lyx.org>
13063
13064         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13065         Works for 2.95.3, from what I understand of Garst's reports this should
13066         work for other g++ versions.  We're screwed if the abs(int) definition
13067         changed between bugfix releases of gcc.
13068
13069 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13070
13071         * text.C: fix chapter label offset !
13072
13073 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * lyxtext.h:
13076         * text.C: fix hfill at end of line, clean up
13077
13078 2001-12-04  Juergen Vigna  <jug@sad.it>
13079
13080         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13081         that we force an update of the inset and it's owners if neccessary.
13082
13083 2001-12-03  Juergen Vigna  <jug@sad.it>
13084
13085         * text.C (rowLast): simplified code
13086
13087 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13088
13089         * lyxfunc.C: fix show options on timeout
13090
13091 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * screen.C (topCursorVisible): scroll half a page when the cursor
13094         reached top of bottom of screen
13095
13096 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * minibuffer.C: deactivate on loss of focus
13099
13100 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * vspace.[Ch] (operator!=): add operator.
13103
13104 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * BufferView_pimpl.C: refuse to open an inset when
13107         there's a selection.
13108
13109 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * BufferView_pimpl.C: allow to click on RHS of full row insets
13112
13113 2001-11-30  Juergen Vigna  <jug@sad.it>
13114
13115         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13116         insets for undo reasons.
13117
13118 2001-11-28  André Pönitz <poenitz@gmx.net>
13119
13120         * vspace.[Ch]: cosmetical changes
13121
13122 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * LyXAction.h:
13125         * LyXAction.C:
13126         * lyxfunc.h:
13127         * lyxfunc.C:
13128         * kbmap.h:
13129         * kbmap.C:
13130         * lyxrc.C:
13131         * kbsequence.h:
13132         * kbsequence.C: part re-write of old kb code
13133
13134         * Painter.C:
13135         * WorkArea.C: remove Lgb_bug_find_hack
13136
13137 2001-11-30  José Matos <jamatos@fep.up.pt>
13138
13139         * buffer.C (makeDocBookFile): add a comment to point a hack.
13140         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13141         Fixed a double write of labels.
13142
13143 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13144
13145         * LaTeX.C:
13146         * LaTeX.h Fixed bug in LaTeX class where it would not
13147         re-run latex if no depfiles were changed, but the .dvi was removed.
13148
13149 2001-11-28  André Pönitz <poenitz@gmx.net>
13150
13151         * all the files from the change on 2001/11/26:
13152         use lyx::layout_type instead of LyXTextClass::size_type
13153         use lyx::textclass_type instead of LyXTextClassList::size_type
13154
13155 2001-11-29  Juergen Vigna  <jug@sad.it>
13156
13157         * text.C: added support for paragraph::isFreeSpacing()
13158
13159         * buffer.C: same as above
13160
13161         * paragraph.h: inserted isFreeSpacing() function to enable
13162         FreeSpacing inside InsetERT.
13163
13164         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13165         of the paragraph's in the cut/copy buffer to 0!
13166
13167         * text2.C (removeRow): remove the assert as it can!
13168
13169         * lyxtext.h: added helper function firstRow returning firstrow and
13170         made firstrow private again.
13171
13172         * BufferView2.C (lockInset): don't relock if we're already locked!
13173
13174         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13175         the only paragraph.
13176         (removeRow): added Assert::(firstrow)
13177
13178         * debug.C: forgot to add INSETTEXT here.
13179
13180 2001-11-28  Juergen Vigna  <jug@sad.it>
13181
13182         * sp_spell.C (initialize): changed error text to more general
13183         spellchecker command use (not only ispell!)
13184
13185         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13186
13187         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13188
13189 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * vspace.C: initialise lyxgluelength on failure
13192
13193 2001-11-28  Allan Rae  <rae@lyx.org>
13194
13195         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13196         declaration & definition that looks like a function declaration.
13197
13198 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * BufferView2.C (copy):
13201         (copyEnvironment): do not clear the selection when doing a copy.
13202
13203         * text.C (paintFirstRow): compilation fix
13204
13205 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13206
13207         * tabular.C (Latex): correct line count when writing latex.
13208
13209 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13210
13211         * paragraph_pimpl.h:
13212         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13213           bug a bit
13214
13215 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * text.C:
13218         * LColor.h:
13219         * LColor.C: change vfillline->added_space
13220
13221         * text.C: add markers and text for added space
13222
13223         * vspace.C: fix comment
13224
13225 2001-11-28  André Pönitz <poenitz@gmx.net>
13226
13227         * paragraph.C: whitespace changes
13228         * all the other files from the change on 2001/11/26:
13229         change *::pos_type into lyx::pos_type
13230
13231 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13232
13233         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13234         language of the document when inserting error insets.
13235
13236 2001-11-26  André Pönitz <poenitz@gmx.net>
13237
13238         * BufferView_pimpl.[Ch]:
13239         *       CutAndPaste.C:
13240         * buffer.[Ch]:
13241         * lyxcursor.[Ch]:
13242         * lyxfind.C:
13243         * lyxfunc.C:
13244         * lyxrow.[Ch]:
13245         * paragraph.[Ch]:
13246         * paragraph_pimpl.[Ch]:
13247         * sp_spell.C:
13248         * text.C:
13249         * text2.C: reduce header dependencies, introduce type for positions
13250
13251 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * <various>: change to use Alert.h
13254
13255 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13258         when encountering an unknown token.
13259         (readLyXformat2): Show an error message if there were unknown tokens.
13260
13261 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13262
13263         * BufferView2.C:
13264         * BufferView_pimpl.C:
13265         * buffer.C:
13266         * paragraph.h:
13267         * text.C:
13268         * text2.C: use par->isInset()
13269
13270 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13271
13272         * paragraph_pimpl.h:
13273         * paragraph_pimpl.C: cleanup
13274
13275 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * text2.C (removeRow):
13278         * text.C (setHeightOfRow): remove useless (and costly) call to
13279         getRow.
13280
13281 2001-11-20  Allan Rae  <rae@lyx.org>
13282
13283         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13284         Now need Inset*::checkInsertChar() to return true for appropriate
13285         cases so that the characters in the minibuffer will actually be
13286         inserted.
13287
13288 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * text.C: change the order of the includes.
13291         (workWidth): initialize it at once.
13292         (workWidth): make maxw unsigned
13293         (setHeightOfRow): remove unused variable (inset)
13294         (selectSelectedWord): remove unused variable (inset)
13295         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13296
13297 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13300         server is not running.
13301         (openConnection):
13302         (closeConnection): add debug info when server is disabled.
13303
13304         * ColorHandler.C (getGCForeground): send debug message to GUI
13305         channel.
13306
13307         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13308
13309         * kbmap.C (bind): modify because return conventions of
13310         kb_sequence::parse have changed.
13311
13312         * kbsequence.C (parse): only ignore spaces and not any stupid
13313         control character. This avoids tests like s[i] <= ' ', which are
13314         guaranteed to fail with 8bit characters and signed chars.
13315         Change return code to string::npos when there have been no error
13316         (0 was a bad idea when error is at first character)
13317
13318 2001-11-14  José Matos  <jamatos@fep.up.pt>
13319
13320         * buffer.h:
13321         * buffer.C (simpleDocBookOnePar): removed unused argument.
13322
13323 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13324
13325         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13326         insets which are part of a word. Paragraph::isLetter takes care of
13327         that now. Use Paragraph::isInset to identify insets.
13328         (selectSelectedWord): do not test for hyphenation break.
13329
13330         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13331         that protected spaces are considered as spaces.
13332
13333         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13334         Inset::isLetter.
13335
13336 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * lyxserver.h:
13339         * lyxserver.C: fix it. and small cleanup.
13340
13341 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * BufferView_pimpl.C: use inline helpers
13344
13345         * LaTeXFeatures.h:
13346         * LaTeXFeatures.C: fix typos
13347
13348         * Spacing.h:
13349         * Spacing.C: move spacing_string into class
13350
13351         * ToolbarDefaults.C: move stuff into namespace anon
13352
13353         * layout.h: update enum
13354
13355         * lyxfunc.C: use better debug
13356
13357         * minibuffer.h: fix typo
13358
13359         * debug.h:
13360         * debug.C:
13361         * WorkArea.C: add and use Debug::WORKAREA
13362
13363         * lyxtext.h:
13364         * text.C:
13365         * text2.C: code re-organisation, inline helpers
13366
13367 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13368
13369         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13370         std::vector.empty().
13371
13372 2001-11-09  Allan Rae  <rae@lyx.org>
13373
13374         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13375         '\n's after tables.  Tabular and ERT inset work now makes this no
13376         longer necessary.
13377
13378 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * minibuffer.h:
13381         * minibuffer.C: fix crash, improve drop-down completion
13382
13383 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * lyxserver.h:
13386         * lyxserver.C: invalidate fd's when doing endPipe()
13387
13388 2001-11-08  José Matos  <jamatos@fep.up.pt>
13389
13390         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13391         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13392
13393         * paragraph.h:
13394         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13395
13396 2001-11-07  José Matos  <jamatos@fep.up.pt>
13397
13398         * buffer.h:
13399         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13400         const qualifier.
13401
13402         * buffer.C (sgmlOpenTag):
13403         * buffer.C (sgmlCloseTag): removed debug info.
13404
13405         * buffer.h (sgmlOpenTag):
13406         * buffer.h (sgmlCloseTag): made public.
13407
13408 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * buffer.C (saveParamsAsDefaults):
13411         * lyx_cb.C (MenuLayoutSave): remove
13412
13413         * LyXAction.C (init):
13414         * commandtags.h:
13415         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13416
13417 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * buffer.C (setPaperStuff): removed from here...
13420
13421         * bufferparams.C (setPaperStuff): ... and moved there.
13422
13423 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * minibuffer.h:
13426         * minibuffer.C:
13427         * XFormsView.C: add support for drop-down completion
13428
13429 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13430
13431         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13432         commands.
13433
13434 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13437         disabled.
13438
13439 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * lyx_main.C: change ref to known bugs
13442
13443 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13444
13445         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13446         to work around older babel problems.
13447
13448 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13449
13450         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13451
13452 2001-10-24  Juergen Vigna  <jug@sad.it>
13453
13454         * tabular-old.C (ReadOld): below variable changes reflected.
13455
13456         * tabular.[Ch]: added ltType struct for longtable header/footer
13457         defines and changed all instances where they are used. Added
13458         future support for double top/bottom rows.
13459
13460 2001-10-24  José Matos  <jamatos@fep.up.pt>
13461
13462         * buffer.h (docbookHandleCaption):
13463         * buffer.C (docbookHandleCaption): removed unused function.
13464         (makeDocBookFile): moved docbook supported version to v4.1.
13465
13466 2001-10-24  José Matos  <jamatos@fep.up.pt>
13467
13468         * tabular.h:
13469         * tabular.C (docbookRow): new function to export docbook code of a row.
13470         (DocBook): now honors the longtable flags.
13471
13472 2001-10-23  José Matos  <jamatos@fep.up.pt>
13473
13474         * LaTeXFeatures.h:
13475         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13476         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13477
13478         * buffer.C (makeLinuxDocFile):
13479         (makeDocBookFile): reworked the preamble, more clean, and with
13480         support for lyx defined entities. Changed the document declaration
13481         to be more XML friendly.
13482
13483         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13484         if we need to output XML that should be done with a filter.
13485
13486 2001-10-22  Juergen Vigna  <jug@sad.it>
13487
13488         * sp_pspell.h (class PSpell): add alive function needed in the
13489         controller to see if the spellchecker could be started.
13490
13491 2001-10-22  Juergen Vigna  <jug@sad.it>
13492
13493         * buffer.C (insertStringAsLines): modify the font for inserting
13494         chars in certain conditions by calling checkInsertChar(font).
13495
13496 2001-10-19  Juergen Vigna  <jug@sad.it>
13497
13498         * text.C (workWidth): use getRow instead of wrong algorithm.
13499         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13500
13501 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * lyxserver.h:
13504         * lyxserver.C:
13505         * lyx_main.h:
13506         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13507
13508 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * text.C (workWidth): do not search for the exact row when
13511         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13512         optimization for big documents.
13513
13514 2001-10-18  Juergen Vigna  <jug@sad.it>
13515
13516         * text.C (workWidth): new function with added Inset * parameter.
13517
13518 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13519
13520         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13521
13522         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13523         change return type of getColumnNearX.
13524
13525
13526         * text.C (changeRegionCase): use uppercase/lowercase instead of
13527         toupper/tolower.
13528         (leftMargin):
13529         (rightMargin): simplify code by factoring out the uses of
13530         textclasslist.
13531         (labelFill):
13532         (numberOfHfills):
13533         (setHeightOfRow):
13534         (appendParagraph): use Paragraph::size_type
13535
13536 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13537
13538         * vspace.C (asLatexString): add a missing break
13539
13540 2001-10-15  Herbert Voss  <voss@perce.de>
13541
13542         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13543
13544 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13547         is not available.
13548
13549 2001-10-10  André Pönitz <poenitz@gmx.net>
13550
13551         * lyxfunc.C: removed greek_kb_flag.
13552
13553 2001-10-10  Herbert Voss  <voss@perce.de>
13554
13555         * lyx_main.C: delete global string help_lyxdir.
13556
13557 2001-10-09  Herbert Voss  <voss@perce.de>
13558
13559         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13560
13561         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13562
13563         * lyx_main.C: added global string help_lyxdir.
13564
13565         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13566
13567 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13568
13569         * lyxrc.C (set_font_norm_type): support iso8859-4
13570
13571 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13572
13573         * LaTeX.C (deplog): add another regex for MikTeX
13574
13575 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13576
13577         * lyxrc.C (set_font_norm_type): support iso8859-3
13578
13579 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13582
13583         * LaTeXFeatures.C: remove special case of french and index
13584
13585         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13586         before \begin{document}). This solves several incompatibilities.
13587
13588 2001-10-03  Garst Reese  <reese@isn.net>
13589
13590         * lyx_cb.C: change CheckTex error msg.
13591
13592 2001-10-03  José Matos  <jamatos@fep.up.pt>
13593
13594         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13595
13596 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * .cvsignore: update
13599
13600         * lyx_main.C (commandLineVersionInfo): use new style version info.
13601
13602         * buffer.C (writeFile):
13603         (makeLaTeXFile):
13604         (makeLinuxDocFile):
13605         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13606
13607         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13608
13609         * version.h: update to use stuff in version.C
13610
13611         * version.C.in: new file. Contains version information determined
13612         at compile time. This is a merging of version.h and
13613         version_info.h.in.
13614
13615 2001-10-03  Juergen Vigna  <jug@sad.it>
13616
13617         * BufferView_pimpl.C (update): don't change "dirty" status in
13618         updateInset call.
13619
13620 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * WorkArea.C (c-tor): re-position version string slightly.
13623
13624 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13627         revert to previous code.
13628
13629         WorkArea.[Ch]: (show, destroySplash): methods removed.
13630
13631         WorkArea.C: rework code so that it's an amalgam of the codes before and
13632         after the splash screen was moved to WorkArea.
13633
13634 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * lyxrc.C (read):
13637         * vspace.C (inPixels):
13638         (lyx_advance):
13639         * kbmap.C (bind):
13640         * buffer.C (insertStringAsLines):
13641         (asciiParagraph): fix types to be large enough
13642
13643         * lyxlex_pimpl.h: change member status from short to int
13644
13645         * layout.h: fix type of endlabeltype
13646
13647         * kbmap.C (bind):
13648         * kbsequence.C (parse): change return type to string::size_type
13649
13650         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13651         variable
13652
13653         * Bullet.C (bulletSize):
13654         (bulletEntry): do not use short ints as parameters
13655
13656         * BufferView2.C (insertLyXFile): change a char to an int.
13657
13658         * WorkArea.C (WorkArea): remove unneeded floats in computation
13659
13660 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13661
13662         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13663
13664         * paragraph.C (asString): Do not ignore newline/hfill chars when
13665         copying to the clipboard.
13666
13667 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13670         after a multi-line inset.
13671
13672 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * paragraph.C (validate): Set NeedLyXFootnoteCode
13675
13676 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13677
13678         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13679         and decrease-error to decrease.
13680
13681 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13684         it more readable (should be equivalent)
13685
13686 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13687
13688         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13689
13690 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13693         of a cursor (row, etc.) after a character has been deleted
13694         (deleteEmptyParagraphMechanism): call the method above on _all_
13695         cursors held by the LyXText when a double space has been
13696         detected/deleted.
13697
13698 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13701         pixmap.
13702         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13703
13704         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13705         background. Use greyOut() and the new show() methods to toggle between
13706         the foreground and background. Add code to remove the splash after
13707         its initial showing.
13708
13709         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13710         (create_forms): no longer call Dialogs::showSplash.
13711
13712 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * .cvsignore: add version_info.h
13715
13716 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13717
13718         * version_info.h.in: new file
13719
13720         * Makefile.am: add version_info.h.in
13721
13722         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13723         version_info.h instead of VERSION_INFO
13724
13725 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13726
13727         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13728         The ERT inset now returns string().
13729
13730 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * lyxtext.h, text.C (selectNextWord): renamed as
13733         selectNextWordToSpellcheck.
13734
13735         * text.C (selectNextWordToSpellcheck): Modified to not select
13736         words inside an ERT inset.
13737
13738 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * lyx_cb.C (MenuLayoutSave): change a bit the question
13741
13742         * sp_base.h: include <sys/types.h>
13743
13744 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13745
13746         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13747
13748 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13749
13750         * several files: fix typos in user-visible strings
13751
13752 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13753
13754         * text2.C (pasteSelection): do not set the selection, since it
13755         will be cleared later. Actually, the intent was to fix the way the
13756         selection was set, but I figured rmoving the code was just as good.
13757
13758 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13759
13760         * FontLoader.C (available): Check if font is available without
13761         loading the font.
13762
13763 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13764
13765         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13766
13767 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * lyxrc.[Ch]: added display_graphics variable and associated code.
13770
13771 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13772
13773         * bufferparams.C (hasClassDefaults): new method. Returns true if
13774         the buffer parameters correspond to known class defaults
13775
13776 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * XFormsView.C (show): set minimum size to the main window.
13779
13780 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * text2.C (copySelection):
13783         (cutSelection):
13784         * lyxfind.C (LyXReplace):
13785         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13786         LyXText::selectionAsString.
13787
13788         * paragraph.C (asString): add "label" argument to the second form
13789
13790         * text2.C (selectionAsString): add "label" argument and pass it to
13791         Paragraph::asString.
13792
13793 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * lyx_main.C (commandLineHelp): remove version information
13796
13797 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13798
13799         * lyx_main.C: add -version commandline option
13800
13801 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * paragraph.h: make the optional constructor arg required instead.
13804         some modifications to other files because of this.
13805
13806         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13807
13808         * lyxserver.C (C_LyXComm_callback): make it static
13809
13810         * lyx_main.C (error_handler): make it static
13811
13812         * lyx_gui.C (LyX_XErrHandler): make it static
13813
13814         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13815
13816         * WorkArea.C: make the extern "C" methods static.
13817
13818         * Makefile.am (lyx_LDADD): simplify
13819
13820 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13823         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13824
13825         * LyXAction.C (init):
13826         * lyxfunc.C (dispatch): associated code removal.
13827
13828 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * lyxfont.h (isSymbolFont): shut off warning
13831
13832         * text.C (setHeightOfRow):
13833         (getVisibleRow): fix crash with empty paragraphs which have a
13834         bottom line
13835
13836 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13837
13838         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13839         code.
13840
13841 2001-09-04  José Matos  <jamatos@fep.up.pt>
13842         * buffer.C
13843         * buffer.h
13844         * tabular.C (docbook): rename docBook method to docbook.
13845
13846 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * Makefile.am: add dependencies to main.o.
13849
13850 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13851
13852         * FontLoader.C (available): Return false if !lyxrc.use_gui
13853
13854 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13855
13856         * FontInfo.C (query):
13857         * converter.C (view):
13858         * importer.C (Import):
13859         * exporter.C (Export): Can not -> cannot.
13860
13861 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * BufferView_pimpl.C: allow to create index inset even if
13864           string is empty
13865
13866 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * buffer.C (getLists): replace boost::tie code with an explicit pair
13869         as boost::tie can break some compilers.
13870
13871         * iterators.h: Added a std:: declaration to the return type of
13872         ParIterator::size.
13873
13874 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13877           case.
13878
13879 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13880
13881         * iterators.[Ch]: New files. Provide paragraph iterators.
13882
13883         * buffer.C (changeLanguage): Use paragraph iterators.
13884         (isMultiLingual): ditto
13885
13886         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13887
13888 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * FontLoader.C: Support for cmr font.
13891
13892 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13893
13894         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13895         (available): New method.
13896
13897         * FontInfo.C (getFontname): Use scalable fonts even when
13898         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13899         found.
13900
13901 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * converter.C (Formats::view): reverted! Incorrect fix.
13904
13905 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * converter.C (Formats::view): only output the -paper option
13908         if the dvi viewer is xdvi, thereby fixing bug #233429.
13909
13910 2001-08-23  Herbert Voss  <voss@perce>
13911
13912         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13913
13914 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * Spacing.h (Spacing): Set space to Default on in the default
13917         constructor.
13918
13919 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * vc-backend.h (RCS::versionString): add RCS to version
13922         (CVS::versionString): add CVS to version
13923
13924         * vc-backend.C (scanMaster): do not add CVS to version.
13925         (scanMaster): do not add RCS to version
13926
13927         * lyxvc.C (versionString): new method
13928
13929         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13930
13931 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * Spacing.C (set): initialize fval
13934
13935 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13936
13937         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13938         " or \.
13939
13940 2001-08-16  Juergen Vigna  <jug@sad.it>
13941
13942         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13943
13944 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * BufferView_pimpl.C:
13947         * figureForm.C:
13948         * lyxtext.h:
13949         * text2.C: setParagraph takes linespacing now
13950
13951 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * LyxAction.C: add internal LFUN_CITATION_INSERT
13954
13955         * LyXView.C: actually apply fix
13956
13957         * bufferlist.C: fix open non-existent file
13958
13959         * lyxfind.C: fix indentation
13960
13961         * lyxfunc.C: remove unneeded assert, fix typo
13962
13963 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * MenuBackend.C: use "Floatname List"
13966
13967 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13970         when converting LaTeX layout to insetERT.
13971         Generate a non-collapsed float when reading old float
13972
13973 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13976         ERT insets.
13977
13978 2001-08-13  Juergen Vigna  <jug@sad.it>
13979
13980         * text.C (fill): return 0 instead of 20 as this seems to be the more
13981         correct value.
13982
13983 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13984
13985         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13986         lyxrc.font_norm.
13987
13988 2001-08-13  Juergen Vigna  <jug@sad.it>
13989
13990         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13991         casesensitive off.
13992         (SearchBackward): comment out the unlocking of the inset_owner this
13993         should not be needed!
13994
13995 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13996
13997         * Many files: Remove inherit_language, and add latex_language
13998
13999         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14000         collapsible insets.
14001
14002 2001-08-10  Juergen Vigna  <jug@sad.it>
14003
14004         * text.C (prepareToPrint): fixed hfill-width in draw!
14005
14006         * BufferView2.C (selectLastWord): save the selection cursor as this
14007         now is cleared in the function LyXText::clearSelection!
14008
14009 2001-08-08  Juergen Vigna  <jug@sad.it>
14010
14011         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14012         BACKSPACE type functions.
14013
14014         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14015         is only cutted from the document but not put in the cut-buffer, where
14016         still the old stuff should be.
14017
14018         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14019
14020         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14021
14022         * tabular.C (SetWidthOfCell): fixed special case where the width
14023         was not updated!
14024         (LeftLine): handle '|' in align_special.
14025         (RightLine): ditto
14026         (LeftAlreadyDrawed): ditto
14027         (SetWidthOfCell): ditto
14028
14029 2001-08-07  Juergen Vigna  <jug@sad.it>
14030
14031         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14032
14033 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14034
14035         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14036         * lyxlex.[hC]: ditto
14037
14038 2001-08-06  Juergen Vigna  <jug@sad.it>
14039
14040         * text.C (getVisibleRow): fix up row clearing a bit.
14041
14042 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * minibuffer.C: make sure the X server sees the changes in the input.
14045
14046 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * paragraph.C (getFont): split into...
14049         (getLabelFont): this
14050         (getLayoutFont): and this
14051         * paragraph_pimpl.C (realizeFont): calling this
14052
14053         * text2.C (getFont): split into...
14054         (getLayoutFont): this
14055         (getLabelFont): and this
14056         (realizeFont): all three calling this
14057
14058         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14059         files where used.
14060
14061 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14062
14063         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14064
14065 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14066
14067         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14068         layouts from the Quote inset insertion.
14069
14070 2001-08-03  Juergen Vigna  <jug@sad.it>
14071
14072         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14073
14074         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14075         only if status not is already CHANGED_IN_DRAW (second level).
14076
14077         * text.C (draw): don't set the need_break_row when inside an
14078         InsetText LyXText.
14079
14080 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * buffer.C (parseSingleLyXformat2Token): handle more latex
14083         conversion cases.
14084
14085         * bufferview_funcs.[hC]: change function names to
14086         begin with small char, adjust other files.
14087
14088 2001-08-02  André Pönitz <poenitz@gmx.net>
14089
14090         * lyxfunc.C:
14091         BufferView_pimpl.C: remove broken special code for math-greek
14092
14093 2001-08-02  Juergen Vigna  <jug@sad.it>
14094
14095         * BufferView_pimpl.C (update): redone this function so that we
14096         update the text again if there was a CHANGE_IN_DRAW.
14097
14098         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14099         (drawFromTo): added a new internal bool which is used by draw() and
14100         redraw() function.
14101         (general): some cursor drawing problems fixed.
14102
14103 2001-08-01  Juergen Vigna  <jug@sad.it>
14104
14105         * lyxfind.C (LyXFind): fixed
14106         (SearchForward): ditto
14107         (SearchBackward): ditto
14108
14109         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14110         spurius drawing of the cursor in the main area.
14111
14112         * text2.C (status): small fix which could lead to a segfault!
14113         (clearSelection): remove unneeded BufferView param.
14114
14115 2001-08-01  André Pönitz <poenitz@gmx.net>
14116
14117         * lyxfunc.C: small change due to changed mathed interface
14118
14119 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14122
14123 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14124
14125         * lyxfunc.c: fail gracefully if file doesn't exist
14126
14127         * LyXSendto.C:
14128         * buffer.C:
14129         * lyxfunc.C:
14130         * BufferView_pimpl.C: IsDirWriteable() proto changed
14131
14132         * LyXView.C: fix updateWindowTitle() to store the last title
14133
14134 2001-07-31  Juergen Vigna  <jug@sad.it>
14135
14136         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14137         the font (wrong since using of Paragraph::highestFontInRange).
14138
14139         * paragraph.C (highestFontInRange): added a default_size parameter.
14140
14141         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14142         (setHeightOfRow): reformat
14143
14144 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14145
14146         * converter.[hC] + affected files: move to (inital-char)lowercase
14147         function names.
14148
14149         * ParagraphParameters.C (ParagraphParameters): remove commented code
14150
14151         * PainterBase.[Ch]: remove commented code
14152
14153         * LaTeXFeatures.h: add "bool floats" for float.sty
14154
14155         * LaTeXFeatures.C (LaTeXFeatures): init floats
14156         (require): handle float
14157         (getPackages): do it with floats
14158
14159 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * BufferView_pimpl.C (Dispatch): improve handling of
14162         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14163
14164         * commandtags.h: #include lyxfont.h here temporarily to avoid
14165         keybinding bug.
14166
14167         * bufferlist.h: include LString.h here.
14168
14169 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * text2.C (getStringToIndex): new method.
14172
14173 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14174
14175         * *: Reduced header file dependencies all over.
14176
14177 2001-07-30  Baruch Even  <baruch@lyx.org>
14178
14179         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14180
14181 2001-07-29  Baruch Even  <baruch@lyx.org>
14182
14183         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14184
14185 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * ParameterStruct.h (endif): add a default constructor to make
14188         sure that all variables is initialized.
14189
14190         * ParagraphParameters.C (ParagraphParameters): adjust
14191
14192 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14193
14194         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14195         index; also, check that there is something to index, and that it
14196         does not span over several paragraphs.
14197         (doubleClick): use WHOLE_WORD_STRICT for double click.
14198
14199         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14200
14201         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14202         scheme.
14203
14204 2001-07-26  Baruch Even  <baruch@lyx.org>
14205
14206         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14207         an InsetFig figure, backwards compatible reading of old figure code.
14208
14209 2001-07-27  Juergen Vigna  <jug@sad.it>
14210
14211         * text2.C: font.realize function adaption.
14212
14213         * text.C (draw): add a warnings lyxerr text if needed.
14214
14215         * layout.C: font.realize function adaption.
14216
14217         * language.C: add inherit_language and implement it's handlings
14218
14219         * bufferview_funcs.C (StyleReset): remove language parameter from
14220         font creation (should be language_inherit now).
14221
14222         * bufferparams.C (writeFile): handle ignore_language.
14223
14224         * paragraph.C (getFontSettings): the language has to be resolved
14225         otherwise we have problems in LyXFont!
14226
14227         * lyxfont.C (lyxWriteChanges): added document_language parameter
14228         (update): removed unneeded language parameter
14229
14230         * paragraph.C (validate): fixed wrong output of color-package when
14231         using interface colors for certain fonts in certain environments,
14232         which should not seen as that on the final output.
14233
14234 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * BufferView_pimpl.C:
14237         * Thesaurus.h:
14238         * Thesaurus.C:
14239         * Makefile.am:
14240         * commandtags.h:
14241         * LyXAction.C: add thesaurus support
14242
14243         * lyxfind.h:
14244         * lyxfind.C: add "once" parameter, for thesaurus, to not
14245           move to the next match
14246
14247 2001-07-26  Juergen Vigna  <jug@sad.it>
14248
14249         * lyxfont.C (realize): honor ignore_language too!
14250         (resolved): ditto.
14251
14252         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14253
14254         * text.C (draw): one place more for ignore_language to not draw
14255         itself!
14256
14257 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14260
14261 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14264         the minipage conversion problem.
14265
14266 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14267
14268         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14269         insert an inset.
14270
14271 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14272
14273         * BufferView.h: don't forward declare WorkArea
14274
14275         * BufferView.C: don't include WorkArea.h
14276
14277 2001-07-25  André Pönitz <poenitz@gmx.net>
14278
14279         * commandtags.h:
14280         * LyXAction.C:
14281         * lyxfunc.C:  new LFUN 'math-space'
14282
14283         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14284
14285 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * text2.C (toggleInset): call open/close
14288
14289 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * lyxfunc.C (dispatch): add debug for the disabled case
14292
14293         * font.C (buttonText): make similar to rectText
14294
14295         * buffer.C (readInset): comment out parsing of insetlist and
14296         insttheorem
14297
14298         * PainterBase.C (rectText): small correction
14299
14300         * BufferView_pimpl.C: comment out insettheorem and insetlist
14301         * LyXAction.C: ditto
14302         * commandtags.h: ditto
14303
14304 2001-07-24  Juergen Vigna  <jug@sad.it>
14305
14306         * text.C (draw): honor the ignore_language.
14307
14308         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14309
14310 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14313         char inset.
14314
14315 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14316
14317         * lyxtext.h: remove unused (and unimplemented) methods
14318
14319 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14320
14321         * text.C (getVisibleRow): honor background color
14322
14323         * PainterBase.h:
14324         * Painter.h: remove default color argument for fillRectangle
14325
14326         * text.C (backgroundColor): new method
14327
14328 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * text.C (getVisibleRow): adjust
14331
14332         * font.[Ch] (rectText): new method, metrics
14333         (buttonText): new method, metrics
14334
14335         * PainterBase.[hC]: make rectText and buttonText always draw and take
14336         fewer paramteres.
14337
14338 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14339
14340         * ToolbarDefaults.C (read):
14341         * MenuBackend.C (read): allow escaping in all strings
14342
14343         * BufferView_pimpl.C (insertAndEditInset): new method.
14344         (Dispatch): use insertAndEditInset whenever appropriate.
14345
14346         * BufferView_pimpl.C (insertNote): removed
14347
14348         * BufferView_pimpl.C (smartQuote): new method, moved from
14349         BufferView; if an insetquote cannot be inserted, insert a '"'
14350         character instead.
14351
14352         * BufferView2.C: remove insertCorrectQuote();
14353
14354         * lyxfunc.C (getStatus): Add support for all remaingin
14355         inset-insert lfuns.
14356
14357         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14358
14359         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14360         command (necessary to pass " as parameter of self-insert.
14361
14362         * text.C (selectWordWhenUnderCursor):
14363         (selectWord): add word_location parameter
14364         (selectWordWhenUnderCursor): same + remove special code for word
14365         boundary.
14366         (selectNextWord): use kind() to guess type of insetspecialchar,
14367         not latex().
14368
14369         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14370         (insertErtContents): create ert insets as collapsed.
14371         (readInset): better compatibility code for Info inset.
14372
14373 2001-07-20  Juergen Vigna  <jug@sad.it>
14374
14375         * lyxfunc.C (dispatch): use always LyXFind now!
14376
14377         * text2.C (init): add a reinit flag so that the LyXText can be
14378         reinited instead of deleted and reallocated (used in InsetText).
14379
14380         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14381
14382         * text.C: ditto
14383
14384         * text2.C: ditto
14385
14386 2001-07-18  Juergen Vigna  <jug@sad.it>
14387
14388         * text.C (selectNextWord): handle insets inside inset by calling
14389         always the bv->text functions so that we can go up the_locking_inset!
14390
14391         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14392         in strange locations when inside an inset!
14393
14394         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14395         handling to include insets.
14396
14397         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14398
14399 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * LyXAction.C (init):
14402         * commandtags.h:
14403         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14404         LIGATURE_BREAK, since the name is so stupid.
14405
14406 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14409         InsetInfos.
14410
14411         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14412
14413         * sp_form.[Ch]: remove.
14414
14415         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14416
14417         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14418         InsetInfo.
14419
14420         * src/buffer.C (readInset): ditto.
14421
14422 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14423
14424         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14425         menuSeparator(), endOfSentenceDot(), ldots() and
14426         hyphenationPoint(), which are therefore removed.
14427         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14428
14429         * LyXAction.C (init):
14430         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14431
14432         * paragraph.C (getWord): removed.
14433
14434         * BufferView_pimpl.C (Dispatch): use last word or selection for
14435         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14436
14437         * lyx_main.C (queryUserLyXDir): do not ask before creating
14438         user_dir, except if it has been named explicitely.
14439
14440 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14441
14442         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14443         a document of zero size.
14444
14445 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14446
14447         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14448         approriately in the c-tor and in require().
14449         (getPackages): output the appropriate LaTeX for natbib support.
14450
14451         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14452         variables "use_natbib" and "use_numerical_citations" when reading the
14453         LyX file.
14454         (readInset): read the various natbib cite commands.
14455         (validate): white-space change.
14456
14457         * bufferparams.[Ch]: new variables "bool use_natbib" and
14458         "bool use_numerical_citations".
14459         (writeFile): output them in the LyX file.
14460
14461 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14462
14463         * lyxfunc.C (getStatus): add support for all the inset insertion
14464         commands.
14465
14466         * text2.C (insertInset):
14467         * paragraph.C (insetAllowed):
14468         * BufferView_pimpl.C (insertInset): update to take in account the
14469         renaming of insertInsetAllowed
14470
14471         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14472
14473         * text2.C (getInset): new method. returns inset at cursor position.
14474
14475         * BufferView_pimpl.C (Dispatch): changes because of this.
14476
14477         * LyXAction.C (init): rename open-stuff to inset-toggle.
14478
14479         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14480
14481         * text2.C (toggleInset): renamed from openStuff; use
14482         Inset::open().
14483
14484 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14485
14486         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14487
14488         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14489
14490 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14491
14492         * buffer.C (readLyXformat2): Add filename to the error dialog
14493
14494 2001-07-18  Juergen Vigna  <jug@sad.it>
14495
14496         * tabular.C (GetCellNumber): put an assert here instead of the check!
14497
14498 2001-07-17  Juergen Vigna  <jug@sad.it>
14499
14500         * BufferView_pimpl.C (toggleSelection): adapted too.
14501
14502         * text.C (selectNextWord): adapted for use with insets.
14503         (selectSelectedWord): ditto
14504
14505 2001-07-17  Juergen Vigna  <jug@sad.it>
14506
14507         * sp_spell.C (PSpell): fix initialitation order.
14508
14509 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * paragraph.C: spacing
14512
14513 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14514
14515         * sp_spell.C: repair language selection for pspell
14516
14517 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * lyxfunc.h: change more methods to begin with lower char.
14520
14521 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14524         for unknown layouts.
14525
14526 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14527
14528         * buffer.C (readLyXformat2): Generate an error dialog if there are
14529         unknown layouts.
14530
14531 2001-07-16  Juergen Vigna  <jug@sad.it>
14532
14533         * sp_spell.C: always compile ISpell part.
14534
14535         * lyxrc.C: added use_pspell entry and it's handling.
14536
14537 2001-07-13  Juergen Vigna  <jug@sad.it>
14538
14539         * sp_spell.C: removed double includes.
14540
14541 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14542
14543         Consistent use of Lsstream.h:
14544         * Lsstream.h: added using std::stringstream for consistencies sake.
14545
14546         * buffer.C: removed using std::stringstream
14547
14548         * lyxfont.C (stateText):
14549         * paragraph.C (asString):
14550         * text.C (selectNextWord, selectSelectedWord):
14551         * text2.C (setCounter):
14552         * vspace.C (asString, asLatexString):
14553         std::ostringstream -> ostringstream.
14554
14555 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14556
14557         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14558         * commandtags.h: add LFUN_HELP_ABOUTLYX
14559         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14560
14561 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14562
14563         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14564         cursorToggle()
14565         * lyx_gui_misc.C: remove spellchecker
14566         * lyxfunc.C: showSpellchecker
14567         * sp_base.h: added
14568         * sp_ispell.h: added
14569         * sp_pspell.h: added
14570         * sp_spell.C: added
14571         * sp_form.[Ch]: removed
14572         * spellchecker.[Ch]: removed
14573
14574 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14575
14576         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14577         is set.
14578         (simpleTeXSpecialChars): Simply print the input character without
14579         any special translation if pass_thru is set.
14580
14581         * layout.h: Added bool pass_thru to layout class for being able to
14582         implement pass through of a paragraph for Literate Programming.
14583
14584         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14585         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14586         * layout.C (Read): add "passthru" to list of layout tags and add
14587         code to set the pass_thru boolean when it is read.
14588
14589 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * trans_decl.h: remove allowed from KmodInfo
14592
14593         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14594         remove allowed code
14595         (Load): adjust
14596
14597         * paragraph_pimpl.C (erase): use boost::prior
14598
14599         * Painter.C (text): use data() instead of c_str() when length is
14600         also provided.
14601         * WorkArea.C (putClipboard): ditto
14602         * font.h (width): ditto
14603
14604         * BufferView2.C: use it-> instead of (*it). for iterators
14605         * texrow.C: ditto
14606         * paragraph_pimpl.C: ditto
14607         * paragraph.C: ditto
14608         * minibuffer.C: ditto
14609         * language.C: ditto
14610         * kbmap.C: ditto
14611         * encoding.C: ditto
14612         * counters.C: ditto
14613         * converter.C: ditto
14614         * chset.C: ditto
14615         * Variables.C: ditto
14616         * TextCache.C: ditto
14617         * MenuBackend.C: ditto
14618         * LyXAction.C: ditto
14619         * LColor.C: ditto
14620         * FloatList.C: ditto
14621         * DepTable.C: ditto
14622         * ColorHandler.C (LyXColorHandler): ditto
14623
14624 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14625
14626         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14627
14628         * text2.C (openStuff): reintroduce this method (which had been
14629         nuked in NEW_INSETS frenzy).
14630
14631         * lyxfunc.C (Dispatch): when an action has not been handled, use
14632         its name in the error message, not its number.
14633
14634         * paragraph.C (inInset): change method name to begin with lowercase.
14635
14636         * undo_funcs.C:
14637         * text2.C: updates because of this.
14638
14639 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * ToolbarDefaults.C (add): add spaces in error message
14642
14643 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14646         (readLyXformat2): rename return_par to first_par, use lyxlex's
14647         pushToken and remove the manual push handling.
14648         (parseSingleLyXformat2Token): add another ert comp. variable:
14649         in_tabular, rename return_par to first_par. handle newlines better
14650
14651 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14654
14655 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * text2.C (getParFromID): removed
14658
14659         * buffer.C (getParFromID): new method moved form lyxtext.
14660         * BufferView2.C (insertErrors): adjust
14661         (setCursorFromRow): adjust
14662         * BufferView_pimpl.C (restorePosition): adjust
14663         * lyxfunc.C (Dispatch): adjust
14664         * undo_funcs.C (textUndo): adjust
14665         (textRedo): adjust
14666         (textHandleUndo): adjust
14667         (textHandleUndo): adjust
14668
14669 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14670
14671         * buffer.C: up' the LYX_FORMAT
14672
14673         * lyxfont.h: turn NO_LATEX on as default
14674
14675         * buffer.C (insertErtContents): new methods of tex style compability.
14676         (parseSingleLyXformat2Token): use it several places.
14677         * tabular.C (OldFormatRead): and here
14678
14679 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * text2.C: remove some commented code.
14682         reindent file.
14683
14684         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14685         * trans.C: changes because of the above.
14686
14687 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14688
14689         * text2.C (setCounter): Fix counters bug with bibliography layout.
14690
14691 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14692
14693         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14694         own member functions
14695         (simpleTeXSpecialChars): ditto
14696
14697 2001-07-06  Juergen Vigna  <jug@sad.it>
14698
14699         * a lot of files: changed the access to LyXText::status and the
14700         call of undo-functions.
14701
14702         * undo.[Ch]: added a inset_id to the undo informations.
14703
14704         * undo_funcs.[Ch]: added and moved here all undo functions.
14705
14706         * lyxtext.h: give the status enum a weight, made status_ a private
14707         variable and made accessor functions for it, removed the whole bunch
14708         of undo-functions as they are now in their own file, make some
14709         functions publically available. Added function ownerParagraph with
14710         int parameter.
14711
14712         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14713         made InInset() a const function, added getParFromID() function.
14714
14715         * buffer.[Ch]: added const version for inset_iterator functions,
14716         added getInsetFromID() function.
14717
14718         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14719         changed undo functions for new version.
14720
14721 2001-07-05  Juergen Vigna  <jug@sad.it>
14722
14723         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14724         unknow mechanism does not call the proper constructor but only this
14725         one also if I request the other!?
14726
14727 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14730
14731         * text2.C (LyXText): use initialization lists.
14732
14733         * lyxtext.h (Selection): initialize set_ and mark_
14734         (init): remove method
14735
14736 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14739
14740 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * screen.[Ch]: change method names to begin with lowercase
14743
14744         * BufferView_pimpl.C (updateScrollbar): simplify further and
14745         hopefully make it a bit faster.
14746
14747 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14750         calling directly xforms functions.
14751
14752         * Painter.C (Painter):
14753         * lyx_cb.C (MenuWrite):
14754         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14755         fl_display.
14756
14757         * lyx_gui.C: remove bogus guiruntime extern declaration.
14758
14759 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14760
14761         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14762         in NEW_INSETS
14763         (redoDrawingOfParagraph): ditto
14764         (redoParagraphs): ditto
14765         (cutSelection): don't create a object for CutAndPaste use the
14766         static method directly
14767         (pasteSelection): ditto
14768
14769         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14770         LyXview (+ rename)
14771
14772 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * modifications to some other files because of this.
14775
14776         * Makefile.am (lyx_SOURCES): add XFormsView
14777
14778         * XFormsView.[Ch]: new files
14779
14780         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14781         the main window. Move the gui dependent stuff to XFormsView
14782
14783 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14784
14785         * tabular.C (GetCellInset): update cur_cell also in the row/col
14786         version of this function.
14787
14788         * lyxfunc.C: no need to include figure_form.h here.
14789
14790         * FontLoader.h:
14791         * lyxfunc.h:
14792         * lyxscreen.h:
14793         * text2.C:
14794         * lyxvc.C: no need to include forms.h here.
14795
14796 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14799
14800         * lyxfunc.C (Dispatch):
14801         * Spacing.C (set):
14802         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14803         constructor argument.
14804
14805 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * paragraph.C (Paragraph): dont't clear, and just set layout.
14808         (makeSameLayout): use params's copy contructor.
14809
14810         * ParagraphParameters.[Ch] (makeSame): delete method
14811
14812 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14813
14814         * Variables.[Ch]: fix indentation, rename set to isSet
14815
14816 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * lyxfunc.C (Dispatch): fix typo
14819
14820 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14823         upper_bound.
14824
14825         * bufferlist.C: include assert.h for emergencyWrite().
14826
14827 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14830           give up at last (bug #425202) !
14831
14832 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14833
14834         * lyx_gui_misc.C:
14835         * sp_form.h:
14836         * sp_form.C:
14837         * spellchecker.h:
14838         * spellchecker.C: strip spellchecker options and bring up
14839           preferences tab instead
14840
14841 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14844         the istringstream constructor
14845
14846 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * paragraph.C (getLayout): fix return value
14849
14850         * paragraph.h: do not declare getLayout as inline.
14851
14852         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14853
14854 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * lyxcursor.h (operator<): new func
14857         (operator>): new func
14858         (operator>=): new func
14859         (operator<=): new func
14860
14861         * text.C (changeCase): use selection.start and selection.end
14862         (changeRegionCase): require from to be <= to. Require par to be a
14863         valid paragraph.
14864
14865         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14866
14867 2001-06-27  Juergen Vigna  <jug@sad.it>
14868
14869         * text.C (cursorLeftOneWord): changed to return the cursor and added
14870         overlay with BufferView * parameter which calls this one.
14871         (getWord): added
14872         (selectWord): use new getWord function.
14873         (changeCase): renamed from changeWordCase as and extended to work
14874         also on selections.
14875
14876         * lyxtext.h: added enum word_location
14877
14878         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14879         changeCase as this operates now also on selections.
14880
14881 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14882
14883         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14884
14885         * many files: send debug output to Debug::INFO instead of
14886         Debug::ANY.
14887
14888         * converter.C (View):
14889         (Convert):
14890         (Move): send debug output to Debug::FILES instead of console.
14891
14892 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14893
14894         * lyxfunc.C (getStatus): use func_status
14895
14896         * func_status.h: new header, describing the results of
14897         LyXFunc::getStatus;
14898
14899         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14900         LFUN_MATH_HALIGN.
14901
14902 2001-06-25  The LyX Project  <jug@sad.it>
14903
14904         * buffer.C (sgmlOpenTag):
14905         (sgmlCloseTag):
14906         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14907
14908 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * text2.C: remove some dead code
14911
14912         * tabular.C (GetCellInset): store the last cell checked (gotten)
14913
14914         * tabular.h: add the helper for the speedup
14915
14916         * lyxtext.h: remove some dead code
14917
14918 2001-06-26  The LyX Project  <Asger>
14919
14920         * paragraph.C: Change export to LaTeX of alignment to
14921         \begin{center} and family for better roundtrip work with reLyX.
14922
14923         * Tune the math drawing a bit.
14924
14925 2001-06-25  The LyX Project  <Asger>
14926
14927         * LColor.C (LColor): New color for math background. New color
14928         for buttons.
14929
14930 2001-06-25  The LyX Project  <jug@sad.it>
14931
14932         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14933
14934         * lyxfunc.C (Open):
14935         * bufferlist.C (newFile): do not restrict to files ending with
14936         .lyx
14937
14938         * BufferView_pimpl.C (MenuInsertLyXFile):
14939
14940 2001-06-24  The LyX Project  <jug@sad.it>
14941
14942         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14943         of compare_no_case
14944
14945 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * lyxtext.h: rename most methods to begin with a small char.
14948         Lots of changes because of this.
14949
14950         * paragraph.C (Paragraph): do not call fitToSize
14951         (erase): call Pimpl::erase
14952         (insertChar): call Pimpl::insertChar
14953         (insertInset): call Pipl::insertInset
14954         (breakParagraph): do not call fitToSize
14955         (breakParagraphConservative): do not call fitToSize
14956         (fitToSize): remove method
14957
14958         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14959
14960 2001-06-24  The LyX Project  <Asger>
14961
14962         * Fix Qt compilation^2
14963
14964 2001-06-24  The LyX Project  <jug@sad.it>
14965
14966         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14967         depthHook(getDepth()-1).
14968
14969         * paragraph.h:
14970         * ParagraphParameters.h:
14971         * ParameterStruct.h: change type of depth to unsigned int ==
14972         depth_type. Many adaptations to other files before of that.
14973
14974 2001-06-24  The LyX Project  <Asger>
14975
14976         * Fix Qt compilation.
14977
14978 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * paragraph.h: renamed several methods to begin with small letter.
14981         several changes to many parts of the code because of this.
14982
14983 2001-06-23  The LyX Project  <jug@sad.it>
14984
14985         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14986         rewritten to discard all double spaces when KeepEmpty is off
14987         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14988         to only handle newlines but not fiddle with spaces and friends.
14989
14990         * lyxfunc.C (MenuNew): when doing 'new from template', use
14991         template_path as default directory
14992
14993 2001-06-23  The LyX Project  <Asger>
14994
14995         * Clean-up of header file includes all over
14996         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14997
14998 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14999
15000         * paragraph.h: renamed from lyxparagraph.h
15001
15002 2001-06-23  Asger  <lyx@violet.home.sad.it>
15003
15004         * Buffer.h: Removed Buffer::resize
15005         * BufferList.h: Removed BufferList::resize
15006         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15007         the document lazily when we change the width, or the font settings.
15008
15009 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15012
15013 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * buffer.h: remove out of date comment
15016
15017 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyxscreen.h:
15020         * screen.C: fix "theoretical" GC leak
15021
15022 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * LaTeX.C (scanAuxFile):
15025         (deplog): remove trailing \r when reading stream (useful under
15026         win32)
15027
15028 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15029
15030         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15031         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15032         and BufferView::theLockingInset(Inset*), so should use them and not
15033         access bv_->text->the_locking_inset directly.
15034
15035         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15036
15037 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15038
15039         * Makefile.am:
15040         * tex-defs.h: remove old unused file
15041
15042 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * BufferView_pimpl.C: fix typo, remove minibuffer message
15045           when buffer has loaded
15046
15047 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15048
15049         * lyxfunc.C (Dispatch): use stringstream
15050         (MenuNew): use stringstream
15051         (Open): use stringstream
15052
15053         * importer.C (Import): use stringstream
15054
15055         * bufferview_funcs.C (CurrentState): use stringstream
15056
15057         * LaTeX.C (run): use stringstream
15058
15059         * BufferView_pimpl.C (savePosition): use stringstream
15060         (restorePosition): use stringstream
15061         (MenuInsertLyXFile): use stringstream
15062
15063 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15064
15065         * BufferView.C:
15066         * Bullet.C:
15067         * ColorHandler.C:
15068         * FontInfo.C:
15069         * FontLoader.C:
15070         * LColor.C:
15071         * LaTeXFeatures.C:
15072         * Painter.C:
15073         * gettext.C:
15074         * lyx_gui_misc.C:
15075         * lyxserver.C:
15076         * vspace.C: removed // -*- C++ -*- as first line.
15077
15078         * lyxfind.h:
15079         * version.h: added // -*- C++ -*- as first line.
15080
15081 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15082
15083         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15084
15085         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15086         of string
15087
15088 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15091         of floats.
15092
15093 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * gettext.C: include LString.h even when --disable-nls is on.
15096
15097 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15098
15099         * converter.h (Get): changed argument type from int to
15100         FormatList::size_type to avoid unnecessary conversion.
15101
15102         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15103         before using it.
15104
15105 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15106
15107         * gettext.h: include LString.h even when --disable-nls is on.
15108
15109 2001-06-07  Juergen Vigna  <jug@sad.it>
15110
15111         * text.C (BreakAgain): subst spaces with tabs.
15112
15113         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15114         (resizeInsetsLyXText): set force on resizeLyXText.
15115
15116 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15117
15118         * gettext.h (gettext_init):
15119         (locale_init): use a real definition instead of a macro
15120
15121 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15122
15123         * Bufferview_pimpl.C:
15124         * LColor.h:
15125         * LColor.C: further lcolor tidies
15126
15127 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * BufferView_pimpl.C (updateScrollbar): simplify.
15130
15131         * BufferView2.C: don't include insets/insetinfo.h, change
15132         prototype for insertInset and call the Pimpl version. let
15133         updateInset call Pimpl version.
15134
15135         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15136         gotoInset to BufferView::Pimpl
15137
15138 2001-06-01  Juergen Vigna  <jug@sad.it>
15139
15140         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15141         inside a LockingInset (is the update needed at all?).
15142
15143 2001-05-31  Juergen Vigna  <jug@sad.it>
15144
15145         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15146         here not the old one otherwise how should we compare it afterwards
15147         if it's the same!
15148
15149 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * lyxfont.C:
15152         * tabular.C:
15153         * tabular-old.C:
15154         * FontInfo.C: bring C functions into global namespace when
15155         necessary
15156
15157 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * LString.h: make sure config.h has been loaded before LString.h.
15160
15161         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15162         (one for each char read by EatLine!).
15163
15164         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15165         variables.
15166
15167 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15170         to the same as the par we break from
15171
15172 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15173
15174         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15175
15176         * MenuBackend.C (expand): also create menu entries for wide
15177         versions of the floats.
15178
15179         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15180
15181         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15182
15183         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15184         frontends/Makefile.am
15185
15186         * text2.C: adjust
15187         * text.C: adjust
15188
15189
15190         * tabular.C (getTokenValue): add std::
15191
15192         * tabular-old.C (getTokenValue): add std::
15193         (getTokenValue): ditto
15194         (getTokenValue): ditto
15195
15196         * screen.C (ToggleSelection): adjust
15197
15198         * lyxtext.h: put selection cursors inside a Selection struct.
15199
15200         * lyxfunc.C (moveCursorUpdate): adjust
15201
15202         * lyxfont.C (latexWriteStartChanges): add std::
15203
15204         * lyxfind.C: adjust
15205
15206         * font.h: delete with(char const *, LyXFont const &)
15207
15208         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15209
15210         * FontInfo.C (getFontname): add std::
15211
15212         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15213         (workAreaButtonPress): adjust
15214         (tripleClick): adjust
15215         (update): adjust
15216         (moveCursorUpdate): adjust
15217         (Dispatch): adjust
15218
15219         * BufferView2.C (gotoInset): adjust
15220
15221 2001-05-30  Juergen Vigna  <jug@sad.it>
15222
15223         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15224         to check pspell I add this as default as I now have new pspell
15225         libraries and they seem to use this.
15226
15227 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * text2.C (CutSelection): make the cursor valid before the call to
15230         ClearSelection.
15231
15232 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15235         relied on 0 terminated strings and other horrors. Bug found due to
15236         the new assert in lyxstring!
15237
15238         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15239         KP_ keys.
15240
15241 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15244         to latinkeys.bind.
15245
15246         * lyxfunc.C (processKeySym): change method of getting to the
15247         self-insert char.
15248
15249         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15250         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15251         * BufferView_pimpl.[Ch]: here as private methods.
15252
15253 2001-05-28  Juergen Vigna  <jug@sad.it>
15254
15255         * text.C (SetHeightOfRow): added the update() call again as it is
15256         needed to initialize inset dimensions!
15257
15258 2001-05-16  Juergen Vigna  <jug@sad.it>
15259
15260         * text2.C (SetCharFont): Add new function with BufferView * and
15261         bool toggleall parameters for setting insets internal fonts.
15262         (SetFont): Freeze the undo as we may change fonts in Insets and
15263         all this change should be inside only one Undo!
15264
15265         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15266         setting font's in insets as for them we have the SetFont function!
15267
15268 2001-05-15  Juergen Vigna  <jug@sad.it>
15269
15270         * text2.C (ClearSelection): to be sure we REALLY don't have any
15271         selection anymore!
15272
15273         * tabular.C (TeXCellPreamble): fixed the left border problem for
15274         multicolumn cells.
15275
15276 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15277
15278         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15279         dependancy file
15280
15281 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15282
15283         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15284         LFUN_BREAKPARAGRAPH.
15285
15286         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15287         help test to "internal only", similar for LFUN_INSERT_URL
15288
15289         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15290         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15291         auto_region_delete and deadkeys.
15292
15293 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15294
15295         * LColor.h:
15296         * LColor.C: remove some dead entries, tidy a little
15297
15298 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15301         commented code.
15302         (Dispatch): implement LFUN_ESCAPE
15303
15304         * commandtags.h: add LFUN_ESCAPE
15305
15306         * LyXAction.C (init): add entry for LFUN_ESCAPE
15307
15308         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15309         Remove commented code.
15310         (insertNote): moved here
15311         (open_new_inset): moved here
15312
15313         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15314         BufferView_pimpl
15315
15316 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * kbmap.C (findbinding): clean it up and make it work correctly.
15319
15320         * lyx_main.C (init): do not pass argc and argv as parameters
15321
15322 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15323
15324         * buffer.C: fix path for OS/2 & Win32
15325
15326         * lyx_gui.C:
15327         * lyx_main:
15328         * lyx_main.C: Added os:: class.
15329
15330         * os2_defines.h: update
15331
15332 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15335         better by trying again with reduced state.
15336
15337 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * lyxrc.C (read): print error about invalid key sequence only when
15340         debugging (because not all latinX keysyms are known to some X
15341         servers)
15342
15343         * kbsequence.C (getiso): add a few std:: qualifiers
15344         (getiso): comment out extra return statement.
15345
15346 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15347
15348         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15349         handling.
15350         (Dispatch): enhance the accent inset a bit. (not perfect)
15351
15352 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15353
15354         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15355
15356 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * bufferlist.C (emergencyWrite): fix assert() call
15359
15360 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15361
15362         * text.C (InsertChar): Added trivial patch to only send the "you
15363         can not do multiple spaces this way" message once during a
15364         session.
15365
15366 2001-05-08  Baruch Even  <baruch@lyx.org>
15367
15368         * Makefile.am: Changed order of libraries to get LyX to link properly
15369         with the gnome frontend.
15370
15371 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * LaTeXFeatures.h: add a std:: qualifier
15374
15375 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * paragraph.C (String): use stringstream
15378
15379 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15380
15381         * paragraph.C (writeFile): remove footflag arg
15382
15383         * buffer.C (makeLaTeXFile): use stringstream
15384         (latexParagraphs): remove footnot gurba
15385
15386         * LaTeXFeatures.C (getPackages): use stringstream
15387         (getMacros): likewise
15388         (getTClassPreamble): likewise
15389         (getFloatDefinitions): new method
15390
15391         * paragraph.C (writeFile): reindent
15392         (Erase): reindent
15393
15394         * WorkArea.h: revert the xpos + etc changes.
15395
15396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15397
15398         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15399
15400         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15401         (pasteSelection): likewise
15402         * text2.C (CreateUndo): likewise
15403
15404 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * minibuffer.C (peek_event): temporarily reduce the functionality
15407         of the minibuffer (to allow args on lfuns)
15408
15409         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15410         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15411
15412         * buffer.C (readInset): add compability reading of old float
15413         lists, add reading of new style float list.
15414         (readInset): avoid reevaluation of inscmd.getCmdName()
15415         (getLists): reindent
15416
15417         * MenuBackend.C (MenuItem): implement parsing of
15418         md_floatlistinsert and md_floatinsert.
15419         (expand::LastFiles): move initalizaton of iterators out of loop,
15420         avoid reevaluation.
15421         (expand::Documents): introduce typdedef vector<string> Strings,
15422         and use it.
15423         (expand::ExportFormats): introduce typedef vector<Format const *>
15424         Formats, and use it.
15425         (expand): implement FloatListInsert and FloatInsert.
15426
15427         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15428         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15429         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15430
15431         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15432         handling.
15433         (Dispatch::LFUN_FLOAT_LIST): implement
15434
15435 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15436
15437         * LaTeX.C (run): Fix problem with --export code.
15438
15439 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15440
15441         * BufferView.[Ch] (workarea): removed.
15442         (getClipboard) new method; wrapper for workarea()->getClipboard()
15443
15444         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15445         bug.
15446
15447         * WorkArea.h (width, height, xpos, ypos): These methods all
15448         returned the dimensions of the work_area sub-area of WorkArea,
15449         resulting in a position error if the WorkArea were resized. Now
15450         return the dimensions of the entire WorkArea.
15451
15452         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15453
15454 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * LaTeX.C (deplog): correct the syntax of regex reg1
15457
15458 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15459
15460         * undo.C: remove !NEW_INSETS cruft
15461
15462 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15463
15464         * text2.C: remove !NEW_INSETS cruft
15465
15466         * text.C: remove !NEW_INSETS cruft
15467
15468         * tabular.C: remove !NEW_INSETS cruft
15469
15470         * spellchecker.C: remove !NEW_INSETS cruft
15471
15472         * lyxtext.h: remove !NEW_INSETS cruft
15473
15474         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15475
15476         * lyxfunc.C: remove !NEW_INSETS cruft
15477
15478         * lyxfind.C: remove !NEW_INSETS cruft
15479
15480         * lyx_cb.C: remove !NEW_INSETS cruft
15481
15482         * figureForm.C: remove  !NEW_INSETS cruft
15483
15484         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15485
15486         * buffer.[Ch]: remove !NEW_INSETS cruft
15487
15488         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15489
15490         * CutAndPaste.C: remove !NEW_INSETS cruft
15491
15492         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15493
15494         * BufferView2.C: remove !NEW_INSETS cruft
15495
15496         * BufferView.h: remove !NEW_INSETS cruft
15497
15498 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * Lsstream.h: include LString.h before the sstream headers to
15501         fix problem with gcc 2.95.3 and lyxstring
15502
15503 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * lyx_main.C: add using directives when needed for C functions
15506         declared in std:: namespace.
15507
15508 2001-04-27  Juergen Vigna  <jug@sad.it>
15509
15510         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15511         (SetHeightOfRow): comment out the update call should not be needed!
15512
15513 2001-04-13  Juergen Vigna  <jug@sad.it>
15514
15515         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15516         (LyXTabular): tried to minimize operator= operations (and realized
15517         hopfully Lars wish).
15518
15519 2001-04-27  Juergen Vigna  <jug@sad.it>
15520
15521         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15522
15523 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15526
15527         * buffer.C (readInset): hack to make listof algorithm work
15528
15529         * BufferView_pimpl.C: hack to make listof algorithm work
15530
15531 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * LyXAction.C: removed all !NEW_INSETS cruft
15534         (init): moved lfun_item in method
15535
15536         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15537
15538 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * BufferView2.C (theLockingInset): white space.
15541
15542 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * minibuffer.C: include <iostream>
15545
15546         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15547
15548         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15549
15550         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15551
15552         * text.[Ch] (TransposeChars): new method
15553
15554 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * call message directly through LyXView instead of through LyXFunc
15557         * BufferView2.C: adjust
15558         * BufferView_pimpl.C: adjust
15559         * FontLoader.C: adjust
15560         * buffer.C: adjust
15561         * bufferview_funcs.C: adjust
15562         * converter.C: adjust
15563         * figureForm.C: adjust
15564         * importer.C: adjust
15565         * lyx_cb.C: adjust
15566         * lyx_gui_misc.C: adjust
15567         * lyxfunc.C: adjust
15568         * lyxvc.C: adjust
15569         * text2.C: adjust
15570         + more files in subdirs
15571
15572         * lyxparagraph.h (size): move up int file
15573         (GetLayout): ditto
15574
15575         * adjust all uses of Assert to lyx::Assert.
15576
15577         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15578         lyxfunctional in namespace lyx
15579         * layout.C (hasLayout): ditto
15580         (GetLayout): ditto
15581         (GetLayout): ditto
15582         (delete_layout): ditto
15583         (NumberOfClass): ditto
15584         * converter.C (GetFormat): ditto
15585         (GetNumber): ditto
15586         (Add): ditto
15587         (Delete): ditto
15588         (SetViewer): ditto
15589         * bufferlist.C (getFileNames): ditto
15590         (emergencyWriteAll): ditto
15591         (exists): ditto
15592         (getBuffer): ditto
15593         * MenuBackend.C (hasSubmenu): ditto
15594         (hasMenu): ditto
15595         (getMenu): ditto
15596         * BufferView_pimpl.C (getInsetByCode): ditto
15597
15598 2001-04-18  Juergen Vigna  <jug@sad.it>
15599
15600         * vspace.C (asLatexString): fixed the 100% problem.
15601
15602 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * lyxfunc.C (Dispatch):
15605         * minibuffer.C:
15606         * minibuffer.h: add a few std:: qualifiers
15607
15608 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15609
15610         * minibuffer.[Ch]: reimplement so that commands is initiated and
15611         run from lyxfunc, simplified som handling, and made the completion
15612         and history code for complete. wip.
15613
15614         * lyxfunc.C (processKeySym): call message
15615         (miniDispatch): new temporary method
15616         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15617         (LFUN_MESSAGE): implement
15618         (LFUN_MESSAGE_PUSH): implement
15619         (LFUN_MESSAGE_POP): implement
15620         (initMiniBuffer): the initial/defualt minibuffer message.
15621
15622         * lyxfont.[Ch]: inline some more getters
15623
15624         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15625
15626         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15627
15628         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15629         (AutoSave): use LFUN_MESSAGE
15630         (Reconfigure): ditto
15631
15632         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15633
15634         * figureForm.C: use LFUN_MESSAGE
15635
15636         * converter.C (runLaTeX): use LFUN_MESSAGE
15637
15638         * bufferview_funcs.C: use LFUN_MESSAGE
15639         (Melt): ditto
15640         (changeDepth): ditto
15641
15642         * bufferparams.h: use boost::
15643
15644         * bufferlist.h: inherit privately from noncopyable
15645
15646         * bufferlist.C (loadLyXFile): remove some commented code.
15647
15648         * buffer.C (runChktex): use LFUN_MESSAGE
15649
15650         * ShareContainer.h: inherit privately from noncopyable
15651
15652         * ParagraphParameters.[hC] (depth): inline it.
15653
15654         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15655         methods.
15656         (message): new method
15657         (messagePush): ditto
15658         (messagePop): ditto
15659         (show): init minibuffer
15660         (showState): direct call
15661
15662         * LaTeX.[Ch]: inherit privately from noncopyable
15663         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15664         instead of WriteStatus.
15665
15666         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15667
15668         * BufferView_pimpl.C (buffer): don't init minibuffer
15669         (workAreaButtonPress): use LFUN_MESSAGE
15670         (workAreaButtonRelease): ditto
15671         (savePosition): ditto
15672         (restorePosition): ditto
15673         (MenuInsertLyXFile): ditto
15674         (workAreaExpose): don't init minibuffer
15675         (update): remove commented code, simplify
15676
15677         * BufferView2.C (openStuff): use LFUN_MESSAGE
15678         (toggleFloat): ditto
15679         (menuUndo): ditto
15680         (menuRedo): ditto
15681         (copyEnvironment): ditto
15682         (pasteEnvironment): ditto
15683         (copy): ditto
15684         (cut): ditto
15685         (paste): ditto
15686         (gotoInset): ditto
15687         (updateInset): remove some commented code
15688
15689         * lastfiles.h: inherit privately from noncopyable
15690         * layout.h: ditto
15691         * lyx_gui.h: ditto
15692         * lyx_main.h: ditto
15693         * lyxlex.h: ditto
15694         * lyxlex_pimpl.h: ditto
15695
15696         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15697         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15698         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15699
15700         * LyXAction.h: inherit privately from noncopyable, add methods
15701         func_begin, func_end, returning iterators to the func map.
15702
15703         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15704         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15705         (func_begin): new method
15706         (func_end): new method
15707
15708         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15709         and not)
15710         (copySelection): ditto
15711         (pasteSelection): ditto
15712
15713         * BufferView.C: whitespace change
15714         * BufferView.h: inherit privately from noncopyable
15715
15716 2001-04-16  Allan Rae  <rae@lyx.org>
15717
15718         * tabular-old.C (l_getline):
15719         * spellchecker.C (sc_check_word):
15720         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15721         an unrecognised preprocessor directive.  So ensure they're wrapped.
15722
15723 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15724
15725         * src/exporter.C (Export): Give an error message when path to file
15726         contains spaces.
15727
15728 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * LaTeX.C (deplog): Always check that foundfile exists.
15731
15732 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * lyx_main.h:
15735         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15736
15737 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * tabular.[Ch] (getLabelList): implement new method
15740
15741         * minibuffer.h: comment ouf setTiimer
15742
15743         * minibuffer.C (ExecutingCB): constify res
15744         (peek_event): constify s
15745         (Set): constify ntext
15746         (Init): constify nicename
15747
15748         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15749
15750         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15751         (savePosition): use two params to Minibuffer::Set
15752         (restorePosition): ditto
15753
15754 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * lyx_main.C: include language.h
15757
15758         * Makefile.am (lyx_main.o): add language.h
15759
15760 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * exporter.C:
15763         * paragraph.C:
15764         * screen.C:
15765         * tabular.C:
15766         * CutAndPaste.C: include gettext.h
15767
15768         * lyxfont.h: remove old hack with ON and OFF.
15769
15770         * lyxparagraph.h:
15771         * lyxfont.h: do not include language.h...
15772
15773         * BufferView2.C:
15774         * LaTeXFeatures.C:
15775         * Painter.C:
15776         * bufferview_funcs.C:
15777         * font.C:
15778         * lyxfont.C:
15779         * text.C:
15780         * text2.C:
15781         * trans_mgr.C:
15782         * paragraph.C: ... but do it here instead
15783
15784 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15787
15788         * tabular.C: small reformat
15789
15790         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15791         NEW_INSETS version
15792         (GetChar): ditto
15793         (BreakParagraph): ditto
15794         (SetOnlyLayout): ditto
15795         (SetLayout): ditto
15796
15797         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15798         with one arg less.
15799
15800         * lastfiles.C: removed most using decl, add std:: where needed
15801
15802         * buffer.C: ws changes
15803
15804         * MenuBackend.C (class compare_format): put into anon namespace
15805         (expand): constify label, names, action, action2
15806         (expand):
15807
15808         * text.C (SingleWidth): constify font
15809         (IsBoundary): constify rtl2
15810         (GetVisibleRow): constify ww
15811
15812         * LaTeX.C (deplog): constify logfile
15813
15814         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15815         start_x, end_x
15816         (workAreaExpose): constify widthChange, heightChange
15817
15818         * lyxrow.C (par): moved
15819         (height): moved
15820         (next): moved
15821         * lyxrow.h: as inlines here
15822
15823         * lyxfont.h (shape): moved from lyxfont.C
15824         (emph): moved from lyxfont.C
15825
15826         * lyxfont.C (LyXFont): use initialization list for all
15827         constructors
15828         (shape): move to lyxfont.h as inline
15829         (emph): move to lyxfont.h as inline
15830
15831
15832 2001-04-04  Juergen Vigna  <jug@sad.it>
15833
15834         * vspace.C: had to include stdio.h for use of sscanf
15835
15836 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * BufferView.h:
15839         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15840         independent of xforms.
15841
15842 2001-04-02  Juergen Vigna  <jug@sad.it>
15843
15844         * spellchecker.C: fixed namespace placing!
15845
15846 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15849         the LyXParagraph * is 0.
15850
15851 2001-03-29  Juergen Vigna  <jug@sad.it>
15852
15853         * vspace.C: added support for %, c%, p%, l%.
15854         (stringFromUnit): added helper function.
15855         (asLatexString): changed to give right results for the %-values.
15856
15857         * buffer.C: convert the widthp in a width%.
15858
15859 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15860
15861         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15862         figureForm.[Ch].
15863
15864         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15865         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15866
15867         * lyx_cb.[Ch]: see above.
15868
15869         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15870         form1.[Ch].
15871
15872         * form1.[Ch]:
15873         * lyx.[Ch]: replaced by figure_form.[Ch].
15874
15875         * lyx_gui.C:
15876         * lyx_gui_misc.C:
15877         * lyxfunc.C: changed headers associated with above changes.
15878
15879 2001-03-27  Juergen Vigna  <jug@sad.it>
15880
15881         * BufferView_pimpl.C: set the temporary cursor right!
15882
15883 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15884
15885         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15886
15887 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15888
15889         * LString.h: removed "using std::getline"!
15890
15891         * BufferView_pimpl.C (Dispatch): changes due to changes in
15892         InsetInclude::Params.
15893
15894         * buffer.C (tag_name): removed redundant break statements as they were
15895         producing lots of warnings with my compiler.
15896
15897 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15898
15899         * LString.h: add "using std::getline" when using the real <string>.
15900
15901 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15902
15903         * buffer.C: removed bitset usage.
15904         PAR_TAG moved to an anonymous name space.
15905         (tag_name): new funtion, also in the anonymous namespace.
15906         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15907         (makeDocBookFile): clean code. Completed transition from string arrays
15908         to string vectors.
15909         (SimpleDocBookOnePar): code clean.
15910
15911 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15912
15913         * tabular.C: add some comments.
15914
15915 2001-03-22  Juergen Vigna  <jug@sad.it>
15916
15917         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15918         compatibility read a bit and fixed bug with minipage in different
15919         depth.
15920
15921 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15922
15923         * buffer.C (pop_tag): removed.
15924         (push_tag): removed.
15925         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15926         array replaced with vector. Added support for CDATA sections.
15927         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15928         at any nest level.
15929         (makeDocBookFile): XML conformant declaration of CDATA section,
15930         fixed bug related to <emphasis> in the first paragraph char.
15931         (sgmlOpenTag): exclude empty tags.
15932         (sgmlCloseTag): ditto.
15933
15934         * buffer.h (pop_tag): removed.
15935         (push_tag): removed.
15936
15937 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15938
15939         * language.h (Languages): added size_type and size().
15940
15941 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15942
15943         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15944         response on compability reading of minipages. One probliem is that
15945         the old usage of minipages was «flertydig»
15946
15947         * several files here and in subdirs: don't use static at file
15948         scope use anon namespaces instead.
15949
15950 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15951
15952         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15953         LaTeX output. This is necessary for Literate document
15954         processing.
15955
15956 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15957
15958         * buffer.C: insert hfill when needed.
15959
15960         * tabular.C (l_getline): use string::erase, small whitespace change.
15961
15962         * BufferView_pimpl.C: try the anon namespace.
15963         * WorkArea.C: ditto
15964
15965 2001-03-16  Juergen Vigna  <jug@sad.it>
15966
15967         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15968         otherwise it won't open options-dialogs.
15969
15970         * buffer.C: honor pextraWidth(p) on converting minipages.
15971
15972         * tabular.C (l_getline): changed the functions to strip trailing \r.
15973
15974 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15975
15976         * BufferView_pimpl.C:
15977         * minibuffer..C: added "using SigC::slot" declaration.
15978
15979 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15980
15981         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15982
15983         * text2.C: ditto
15984
15985         * text.C: ditto
15986
15987         * paragraph.C: ditto
15988
15989         * lyxtext.h: NO_PEXTRA
15990
15991         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15992
15993         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15994         * ParameterStruct.h: ditto
15995         * ParagraphParameters.h: ditto
15996         * lyxparagraph.h: ditto
15997
15998 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15999
16000         * buffer.C: add compability for minipage alignment.
16001         (latexParagraphs): remove unwanted pextra check.
16002
16003         * several files: remove CXX_WORKING_NAMESPACES
16004
16005         * buffer.C (pop_tag): tie is in namespace boost
16006
16007         * BufferView.h: noncopyable is in namespace boost
16008         * lyxlex.h: ditto
16009         * lyx_main.h: ditto
16010         * lyx_gui.h: ditto
16011         * layout.h: ditto
16012         * lastfiles.h: ditto
16013         * bufferlist.h: ditto
16014         * ShareContainer.h: ditto
16015         * LyXView.h: ditto
16016         * LyXAction.h: ditto
16017         * LaTeX.h: ditto
16018
16019 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16020
16021         * Merging changes from BRANCH_MVC back into HEAD.
16022
16023         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16024
16025 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16026
16027         * BufferView_pimpl.C: change from intl.C
16028
16029         * combox.h:
16030         * combox.C:
16031         * Makefile.am: move combox.*
16032
16033         * form1.h:
16034         * form1.C:
16035         * lyx_gui.C:
16036         * intl.h:
16037         * intl.C: remove dialog (covered by prefs)
16038
16039 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * lyxfunc.C (Dispatch): removed redundant break statement.
16042
16043 2001-03-14  Juergen Vigna  <jug@sad.it>
16044
16045         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16046
16047 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16048
16049         * buffer.C: add hack to fix compability reading of minipages.
16050
16051 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16052
16053         * buffer.C (getLists): Cleanup.
16054
16055 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16056
16057         * lyxfont.C (update): don't honor toggleall on font size.
16058
16059 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16060
16061         * bmtable.c:
16062         * bmtable.h:
16063         * Makefile.am: moved to frontends/xforms/
16064
16065         * lyx_gui_misc.C:
16066         * lyxfunc.C:
16067         * BufferView_pimpl.C: changes for moved mathpanel
16068
16069 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16070
16071         * gettext.h: fix gettext_init() in --disable-nls
16072
16073 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16074
16075         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16076
16077 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * lyx.C:
16080         * lyx.h: strip external form
16081
16082 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16083
16084         * BufferView_pimpl.C: add comment, destroySplash()
16085
16086 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16087
16088         * BufferView_pimpl.C:
16089         * LyXAction.C:
16090         * buffer.C:
16091         * commandtags.h:
16092         * lyxfunc.C: use re-worked insetinclude
16093
16094 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16095
16096         * buffer.C: add using std::stringstream.
16097
16098         * lyx_cb.C: readd using std::ios.
16099
16100         * buffer.C: add using std::map.
16101
16102         * BufferView_pimpl.C: add using std::vector.
16103
16104         * ShareContainer.h: add std:: to swap.
16105
16106         * buffer.h: add some typedefs
16107         * buffer.C (getLists): use them
16108         (getLists): renamed from getTocList.
16109         add a counter for the different float types and use it in the
16110         generated string.
16111         (getLists): use the same counter for the NEW_INSETS and the "non"
16112         NEW_INSETS
16113
16114         * lyx_cb.h: remove unused items, includes, using etc.
16115
16116         * ShareContainer.h: remove some commented code, add more comments
16117         and "documentation".
16118
16119 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16120
16121         * buffer.C (getTocList): make the list also when NEW_INSETS is
16122         defined.
16123
16124         * buffer.h: remove TocType
16125
16126         * buffer.C (getTocList): change to return a map<string,
16127         vector<TocItem> >, implement for dynamic number of list.
16128
16129         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16130         * text2.C (PasteSelection): adjust
16131         * CutAndPaste.C (pasteSelection): adjust
16132
16133         * FloatList.C (FloatList): update from the new_insets branch.
16134         * Floating.[Ch]: ditto
16135         * LaTeXFeatures.C: ditto
16136         * buffer.C: ditto
16137         * lyxlex_pimpl.C: ditto
16138
16139         * paragraph.C (Last): remove when NEW_INSETS is defined.
16140
16141         * other file: changes because of the above.
16142
16143 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16144
16145         * lyxparagraph.h: rename next to next_, previous to previous_,
16146         make them private for NEW_INSETS. Rename Next() to next(),
16147         Previous() to previous().
16148
16149         * other files: changes because of the above.
16150
16151 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16152
16153         * BufferView.h:
16154         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16155         problem.
16156
16157 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16158
16159         * main.C (main): pass lyx_localedir to gettext_init().
16160
16161         * gettext.h: remove locale_init and gettext_init macros
16162
16163         * gettext.C (locale_init): new function
16164         (gettext_init): new function
16165
16166         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16167         setlocale().
16168
16169 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16170
16171         * Moved credits to frontends:
16172         * credits.[Ch]: removed
16173         * credits_form.[Ch]: removed
16174         * lyx_gui_misc.C: remove credits stuff
16175         * Makefile.am:
16176
16177 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16178
16179         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16180
16181         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16182         unneeded destructor.
16183
16184         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16185         a standalone pointer again.
16186
16187         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16188
16189 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16190
16191         * Makefile.am:
16192         * filedlg.h:
16193         * filedlg.C:
16194         * LyXAction.C:
16195         * ToolbarDefaults.C:
16196         * bufferlist.C:
16197         * commandtags.h:
16198         * form1.C:
16199         * form1.h:
16200         * lyx_cb.C:
16201         * lyx_cb.h:
16202         * lyxfunc.h:
16203         * lyxfunc.C:
16204         * BufferView_pimpl.C: use new file dialog in GUII
16205
16206         * lyx_cb.h:
16207         * lyx_cb.C: remove LayoutsCB to Toolbar
16208
16209 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * ShareContainer.h (get): add std:: qualifier
16212
16213 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * ShareContainer.h: define a proper ShareContainer::value_type
16216         type (and use typename to please compaq cxx)
16217
16218 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16219
16220         * lyxparagraph.h: move serveral local vars to
16221         ParameterStruct/ParagraphParameters., use ShareContainer in
16222         FontTable., make vars in FontTable private and add getter and
16223         setter.
16224
16225         * paragraph.C: changes because of the above.
16226
16227         * lyxfont.h: remove copy constructor and copy assignment. (the
16228         default ones is ok), move number inside FontBits. move inlines to
16229         lyxfont.C
16230
16231         * lyxfont.C: add number to initializaton of statics, move several
16232         inlines here. constify several local vars. some whitespace
16233         cleanup. Dont hide outerscope variables.
16234
16235         * Spacing.h: add two new constructors to match the set methods.
16236
16237         * ShareContainer.h: new file, will perhaps be moved to support
16238
16239         * ParameterStruct.h: new file
16240
16241         * ParagraphParameters.h: new file
16242
16243         * ParagraphParameters.C: new file
16244
16245         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16246         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16247
16248         * BufferView_pimpl.C: ParagraphParameter changes.
16249         * buffer.C: Likewise.
16250         * bufferview_funcs.C: Likewise.
16251         * text.C: Likewise.
16252         * text2.C: Likewise.
16253
16254 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxfind.C (LyXReplace): do not redefine default argument in
16257         implementation.
16258         (IsStringInText): ditto
16259         (SearchForward): ditto
16260         (SearchBackward): ditto
16261
16262 2001-03-06  Juergen Vigna  <jug@sad.it>
16263
16264         * lyxfind.C (IsStringInText): put parentes around expressions.
16265
16266 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16267
16268         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16269
16270 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16271
16272         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16273
16274         * stl_string_fwd.h: add comment
16275
16276         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16277
16278         * tabular.h:
16279         * tabular.C: remove unused DocBook methods
16280
16281         * intl.C:
16282         * language.C:
16283         * paragraph.C:
16284         * buffer.C:
16285         killed DO_USE_DEFAULT_LANGUAGE
16286
16287 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * lyx_gui.C: do not include language.h.
16290
16291         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16292         arguments in function implementation.
16293
16294 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16295
16296         * BufferView_pimpl.C: add <ctime>
16297
16298 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16299
16300         * BufferView_pimpl.C: add using std::find_if
16301
16302 2001-02-27  José Matos  <jamatos@fep.up.pt>
16303
16304         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16305         by OnlyPath.
16306
16307 2001-02-11  José Matos  <jamatos@fep.up.pt>
16308
16309         * buffer.C (makeDocBookFile): command styles now have a parameter as
16310         "title" by default.
16311
16312 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16313
16314         * layout_forms.[Ch]: removed
16315         * lyx_cb.[Ch]: out character
16316         * lyx_gui.C: out character
16317         * lyx_gui_misc.C: out character
16318         * bufferview_funcs.C: : out character,
16319         added toggleall as parameter in ToggleAndShow
16320
16321 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16322
16323         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16324
16325         * text2.C (SetCurrentFont): Disable number property at boundary.
16326
16327 2001-02-26  Juergen Vigna  <jug@sad.it>
16328
16329         * lyxfunc.C (getStatus): added a string argument override function so
16330         that this is correctly called from LyXFunc::Dispatch if it contains a
16331         do_not_use_argument which is used!
16332         (Dispatch): added check for "custom" export and call appropriate func.
16333
16334 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16335
16336         * lyxrc.C: Add language_command_local, language_use_babel and
16337         language_global_options.
16338
16339         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16340
16341         * buffer.C (makeLaTeXFile): Use language_use_babel and
16342         language_global_options.
16343
16344 2001-02-23  Juergen Vigna  <jug@sad.it>
16345
16346         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16347         which works with LyXText and putted it inside BufferView. Here now we
16348         only call for that part the BufferView::Dispatch() function.
16349
16350         * BufferView.C (Dispatch): added.
16351
16352         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16353         functions which needs to use a LyXText over from LyXFunc.
16354         (MenuInsertLyXFile): added
16355         (getInsetByCode): added
16356         (moveCursorUpdate): added
16357         (static TEXT): added
16358
16359 2001-02-22  Juergen Vigna  <jug@sad.it>
16360
16361         * BufferView_pimpl.C (update): call a status update to see if LyXText
16362         needs it.
16363
16364 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16365
16366         * vc-backend.C (revert): implement for CVS
16367         (getLog): implement for CVS
16368
16369 2001-02-20  Juergen Vigna  <jug@sad.it>
16370
16371         * text2.C (ClearSelection): added BufferView param for inset_owner call
16372
16373         * lyxfunc.C (TEXT): added this function and use it instead of
16374         directly owner->view()-text of getLyXText().
16375
16376 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16377
16378         * src/layout_forms.C: out preamble
16379         * src/layout_forms.h: out preamble
16380         * src/lyx_cb.C: out preamble
16381         * src/lyx_cb.h: out preamble
16382         * src/lyx_gui.C: out preamble
16383         * src/lyx_gui_misc.C: out preamble
16384         * src/lyxfunc.C: connect with guii preamble
16385
16386 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16387
16388         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16389
16390 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16391
16392         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16393         whether to run bibtex.
16394
16395 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16396
16397         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16398
16399 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16400
16401         * Makefile.am (lyx_SOURCES): removed bibforms.h
16402
16403         * vspace.h: doxygen
16404
16405         * text.C (GetVisibleRow): make several local vars const
16406
16407         * tabular.C: small cleanup.
16408
16409         * lyxserver.C (callback): use compare instead of strncmp
16410
16411         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16412         inlines to after class or to paragraph.C
16413
16414         * lyxfont.h: remove friend operator!=
16415
16416         * converter.h: move friend bool operator< to non friend and after
16417         class def.
16418
16419         * combox.h: small cleanup
16420
16421         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16422         to inlines after class def.
16423
16424         * buffer.C (pop_tag): use string operations instead of strcmp
16425
16426         * bmtable.c: doxygen, small cleanup
16427
16428         * LaTeX.h: remove friend operator==
16429
16430 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16431
16432         * screen.C:
16433         * lyxrc.[Ch]:
16434         * lyxfunc.C:
16435         * lyxfont.[Ch]:
16436         * lyx_cb.C:
16437         * intl.[Ch]:
16438         * commandtags.h:
16439         * buffer.C:
16440         * WorkArea.[Ch]:
16441         * LyXAction.C:
16442         * BufferView_pimpl.C:
16443         * BufferView.[Ch]: remove cruft
16444
16445 2001-02-14  Juergen Vigna  <jug@sad.it>
16446
16447         * lyxfunc.C: removed #if 0 unused code
16448
16449         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16450
16451         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16452
16453         * text2.C (SetSelection): added a BufferView * parameter
16454
16455 2001-02-13  Juergen Vigna  <jug@sad.it>
16456
16457         * lyxfunc.C (Dispatch): fixed protected blank problem.
16458         * BufferView2.C (protectedBlank): added LyxText * parameter.
16459
16460         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16461         (AppendColumn): same as above for column_info.
16462
16463         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16464         (moveCursorUpdate): use a LyXText param for support of InsetText.
16465
16466         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16467         (tripleClick): ditto
16468
16469         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16470
16471         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16472
16473         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16474
16475         * text2.C (SetSelection): set correct update status if inset_owner
16476         (ToggleFree): ditto
16477
16478 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16479
16480         * tabular.C: remove some commented code.
16481
16482 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16483
16484         * BufferView_pimpl.C: call hideSplash()
16485
16486         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16487
16488         * include_form.h:
16489         * bibforms.h: remove
16490
16491         * lyxfunc.C:
16492         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16493           add LFUN_CHILD_CREATE
16494
16495         * counters.h: fix tiny typo
16496
16497         * lyx_cb.C:
16498         * lyx.h:
16499         * lyx_gui.C:
16500         * lyx.C: move splash to frontends/xforms/
16501
16502         * lyx_gui_misc.C: move Include and Bibform to frontends
16503
16504         * lyxvc.h: clarify comment
16505
16506         * vspace.C: tiny housekeeping
16507
16508 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16509
16510         * text.C (PrepareToPrint): RTL Fix.
16511
16512         * paragraph.C (GetUChar): New method.
16513         (String):  Use GetUChar.
16514
16515         * buffer.C (asciiParagraph): Use GetUChar.
16516
16517 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16520
16521 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * buffer.h:
16524         * buffer.C: rename to getLogName(), handle
16525           build log / latex log nicely
16526
16527 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16528
16529         * MenuBackend.C:
16530         * MenuBackend.h: remove support for reference menuitem type.
16531
16532 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16533
16534         * BufferView_pimpl.C: housekeeping
16535         * BufferView_pimpl.h:
16536         * LyXView.h:
16537         * Makefile.am:
16538         * Timeout.C:
16539         * Timeout.h:
16540         * minibuffer.h: move Timeout GUI-I
16541
16542 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * lyxrc.C (read): Update converters data-structures.
16545
16546 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16547
16548         * LaTeX.h (operator!=): add operator != for Aux_Info
16549
16550 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16551
16552         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16553
16554         * LaTeXLog.C: deleted, useful code moved to Buffer
16555
16556         * buffer.h:
16557         * buffer.C: new function getLatexLogName()
16558
16559         * lyx_gui_misc.C:
16560         * lyx_gui.C:
16561         * lyxvc.C:
16562         * lyxvc.h:
16563         * lyxfunc.C: use frontends for LaTeX and VC logs
16564
16565 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16566
16567         * LaTeX.h: yet another std:: that Allan forgot.
16568
16569         * Variables.C (set): renamed from isset(), because this clashes
16570         with some HP-UX macros (grr).
16571
16572 2001-02-06  Allan Rae  <rae@lyx.org>
16573
16574         * LaTeX.h: Another bug fix.  Missing std:: this time.
16575
16576 2001-02-04  Allan Rae  <rae@lyx.org>
16577
16578         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16579         floats problem. I've left it commented out because it's not quite
16580         correct.  It should also test that the current object is a table or
16581         figure inset.  But I haven't gotten around to figuring out how to do
16582         that.  I *think* it'll be something like: "table" == inset.type()
16583
16584         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16585         bool.
16586
16587 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16588
16589         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16590         all the citation/databases/styles in the auxilary file.
16591         (run): Rerun latex if there was a babel language error.
16592
16593 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * text.C (Backspace): Preserve the font when changing newline char
16596         with a space.
16597         (BreakParagraph): If the cursor is before a space, delete the space.
16598
16599         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16600
16601 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16604         new argument (code).
16605         (ChangeCitationsIfUnique): New method.
16606
16607         * paragraph.C (GetPositionOfInset): Handle bibkey.
16608
16609 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * BufferView_pimpl.h: change type of Position::par_pos to
16612         LyXParagraph::size_type.
16613
16614 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * BufferView_pimpl.C (savePosition, restorePosition): Write
16617         messages to minibuffer.
16618
16619 2001-01-28  José Matos  <jamatos@fep.up.pt>
16620
16621         * buffer.C (makeDocBookFile): adds support for document language.
16622         A silly restriction on the name of LatexCommand types where removed.
16623         Added support for CDATA sections, allows to chars unescaped, used
16624         among others in code, to avoid escape < and >.
16625
16626 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16627
16628         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16629         saved positions instrad of a stack. Furthermore, a position is
16630         stored using paragraph id/paragraph position.
16631
16632         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16633         Remove LFUN_REF_BACK.
16634
16635 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * converter.C (dvipdfm_options): New method.
16638
16639 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16640
16641         * vspace.C (isValidLength): Fix for empty input string.
16642
16643 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16644
16645         * LyXAction.C (init): change description of LFUN_FIGURE to
16646         "Insert Graphics"
16647
16648 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16649
16650         * LaTeX.C: add using directive
16651
16652 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * MenuBackend.C (expand): Fix the sorting of the formats.
16655
16656 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16657
16658         * lyx_main.C: tiny error message fix
16659
16660 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16661
16662         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16663         calling fl_initialize(). This fixes the problem with ',' as
16664         decimal separator in text files.
16665
16666 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16667
16668         * trans.C (process): Fix the keymap bug.
16669
16670 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16671
16672         * LaTeX.C (scanAuxFiles): New method. Provides support for
16673         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16674         (scanLogFile) Scan for "run BibTeX" messages.
16675
16676         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16677         OT1 font encoding. Also, load the aecompl package if the ae
16678         package is loaded.
16679
16680         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16681
16682 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16683
16684         * texrow.C (increasePos): turn two error messages into debug
16685         messages.
16686
16687 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16688
16689         * LaTeX.C (scanAux): Handle the \@input macro.
16690         (runBibTeX): Use scanAux().
16691
16692         * language.C (latex_options_): New field.
16693
16694         * LaTeXFeatures.C (getMacros): Add language macros.
16695
16696         * buffer.C (makeLaTeXFile): Small fix.
16697
16698 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16699
16700         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16701
16702         * text2.C: add a using directive.
16703
16704 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16705
16706         * BufferView2.C:
16707         * lyx_gui_misc.h:
16708         * lyxfr1.C:
16709         * lyxfunc.C: kill LyXBell.
16710
16711 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16712
16713         * text.C (IsBoundary): Remove the error message
16714
16715         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16716
16717         * lyxrc.C (setDefaults): Correct initialization value for
16718         font_norm_type.
16719
16720 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16721
16722         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16723         gotoError().
16724
16725         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16726         and GotoNextNote().
16727
16728         * src/LyXAction.C: Added reference-next.
16729
16730         * text.C (InsertChar): Use contains instead of strchr.
16731
16732         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16733
16734 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16735
16736         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16737         alignment commands (when needed).
16738
16739         * text.C (InsertChar): Add ':' to number separator chars.